* lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
2
3 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add
4 cleveref macros.
5
6 * lisp/textmodes/reftex-parse.el
7 (reftex-locate-bibliography-files): Accept options for
8 bibliography commands.
9 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
10 Add addbibresource. Basic Biblatex support.
11
12 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13
14 * net/tramp-gvfs.el (top):
15 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
16 when loading package. (Bug#14447)
17
18 2013-05-23 Glenn Morris <rgm@gnu.org>
19
20 * progmodes/js.el: No need to load comint when compiling.
21 (ring-insert, comint-send-string, comint-send-input)
22 (comint-last-input-end, ido-chop): Declare.
23
24 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
25 * vc/ediff-mult.el: Adjust requires.
26 (ediff-directories-internal, ediff-directory-revisions-internal)
27 (ediff-patch-file-internal): Declare.
28 * vc/ediff-ptch.el: Adjust requires.
29 (ediff-use-last-dir, ediff-buffers-internal): Declare.
30 (ediff-find-file): Autoload.
31 * vc/ediff-util.el: No need to load ediff when compiling.
32 (ediff-regions-internal): Declare.
33 * vc/ediff-wind.el: Adjust requires.
34 (ediff-compute-toolbar-width): Define when compiling.
35 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
36 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
37 (dired-get-filename, dired-get-marked-files)
38 (ediff-last-dir-patch, ediff-patch-default-directory)
39 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
40 (ediff-patch-buffer-internal): Declare.
41
42 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
43 (ispell-process, ispell-buffer-local-words, lm-summary)
44 (lm-section-start, lm-section-end): Declare.
45 (checkdoc-ispell-init): Simplify.
46
47 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
48 (he-string-member, he-reset-string, he-substitute-string): Declare.
49
50 * eshell/em-ls.el: Adjust requires.
51 (eshell-glob-regexp): Declare.
52 * eshell/em-tramp.el: Adjust requires.
53 (eshell-parse-command): Autoload.
54 * eshell/em-xtra.el: Adjust requires.
55 (eshell-parse-command): Autoload.
56 * eshell/esh-ext.el: Adjust requires.
57 (eshell-parse-command, eshell-close-handles): Autoload.
58 * eshell/esh-io.el: Adjust requires.
59 (eshell-output-filter): Autoload.
60 * eshell/esh-util.el: No need to load tramp when compiling.
61 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
62 Declare.
63 (eshell-parse-ange-ls): Require ange-ftp and tramp.
64 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
65 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
66 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
67 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
68 * eshell/esh-opt.el, eshell/esh-proc.el:
69 * eshell/esh-var.el: Adjust requires.
70 * eshell/eshell.el: Do not require esh-util twice.
71 (eshell-add-input-to-history): Declare.
72 (eshell-command): Check history module is active before using it.
73
74 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
75
76 2013-05-22 Leo Liu <sdl.web@gmail.com>
77
78 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
79
80 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
81
82 * autorevert.el (auto-revert-notify-add-watch)
83 (auto-revert-notify-handler): Add `attrib' for the inotify case,
84 it indicates changes in file modification time.
85
86 2013-05-22 Glenn Morris <rgm@gnu.org>
87
88 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
89 Always delete the autoloaded function from the noruntime and
90 unresolved functions lists.
91
92 * allout.el: No need to load epa, epg, overlay when compiling.
93 (epg-context-set-passphrase-callback, epg-list-keys)
94 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
95 (epg-key-user-id-list): Declare.
96
97 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
98 (viper-set-parsing-style-toggling-macro)
99 (viper-set-emacs-state-searchstyle-macros):
100 Use called-interactively-p on Emacs.
101 (viper-looking-back): Make it an obsolete alias. Update callers.
102 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
103 Use looking-back rather than viper-looking-back.
104 (viper-tmp-insert-at-eob, viper-enlarge-region)
105 (viper-read-string-with-history, viper-register-to-point)
106 (viper-append-to-register, viper-change-state-to-vi)
107 (viper-backward-char-carefully, viper-forward-char-carefully)
108 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
109 (viper-change-state-to-emacs): Declare.
110 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
111 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
112 * emulation/viper-mous.el: Do not load viper-cmd.
113 (viper-backward-char-carefully, viper-forward-char-carefully)
114 (viper-forward-word, viper-adjust-window): Declare.
115
116 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
117
118 * progmodes/idlw-help.el (idlwave-help-fontify):
119 Use called-interactively-p.
120
121 * term/w32console.el (w32-get-console-codepage)
122 (w32-get-console-output-codepage): Declare.
123
124 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
125 Remove unnecessary declarations.
126 (dframe-message): Doc fix.
127
128 * info.el (dframe-select-attached-frame, dframe-current-frame):
129 Declare.
130
131 * speedbar.el (speedbar-message): Make it an obsolete alias.
132 Update all callers.
133 (speedbar-with-attached-buffer)
134 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
135 (speedbar-with-writable): Use backquote.
136 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
137 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
138 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
139 rather than speedbar- aliases.
140 * mail/rmail.el: Load dframe rather than speedbar when compiling.
141 (speedbar-make-specialized-keymap, speedbar-insert-button)
142 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
143 (speedbar-do-function-pointer): Declare.
144 (rmail-speedbar-button, rmail-speedbar-find-file)
145 (rmail-speedbar-move-message):
146 Use dframe-with-attached-buffer rather than speedbar- alias.
147 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
148 (dframe-message, speedbar-make-specialized-keymap)
149 (speedbar-add-expansion-list, speedbar-mode-functions-list)
150 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
151 (speedbar-insert-button, dframe-select-attached-frame)
152 (dframe-maybee-jump-to-attached-frame)
153 (speedbar-change-initial-expansion-list)
154 (speedbar-previously-used-expansion-list-name): Declare.
155 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
156 Use dframe-message, dframe-with-attached-buffer rather than
157 speedbar- aliases.
158 (gud-sentinel): Silence compiler.
159 * progmodes/vhdl-mode.el (speedbar-refresh)
160 (speedbar-do-function-pointer, speedbar-add-supported-extension)
161 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
162 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
163 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
164 (speedbar-file-lists, speedbar-make-tag-line)
165 (speedbar-line-directory, speedbar-goto-this-file)
166 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
167 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
168 (speedbar-make-button, speedbar-reset-scanners)
169 (speedbar-files-item-info, speedbar-line-text)
170 (speedbar-find-file-in-frame, speedbar-set-timer)
171 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
172 (speedbar-with-writable): Do not (re)define it.
173 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
174 rather than speedbar- alias.
175
176 2013-05-21 Leo Liu <sdl.web@gmail.com>
177
178 * progmodes/octave.el (octave-mode-menu): Update and re-organize
179 menu items.
180 (octave-mode): Tweak fill-nobreak-predicate.
181 (inferior-octave-startup): Check process to avoid infinite loop.
182 (inferior-octave): Pop to buffer first to show abornmal process
183 exit information.
184
185 2013-05-21 Glenn Morris <rgm@gnu.org>
186
187 * printing.el (pr-menu-bar): Define when compiling.
188
189 2013-05-21 Leo Liu <sdl.web@gmail.com>
190
191 * progmodes/octave.el (octave-auto-fill): Remove.
192 (octave-indent-new-comment-line): Improve.
193 (octave-mode): Use auto fill mode through
194 comment-line-break-function and fill-nobreak-predicate
195 (octave-goto-function-definition): Support DEFUN_DLD.
196 (octave-beginning-of-defun): Small Tweak
197 (octave-help): Show parent directory.
198
199 2013-05-21 Glenn Morris <rgm@gnu.org>
200
201 * files.el (dired-unmark):
202 * progmodes/gud.el (gdb-input): Update declarations.
203
204 * calculator.el (electric, ehelp): No need to load when compiling.
205 (Electric-command-loop, electric-describe-mode): Declare.
206
207 * doc-view.el (doc-view-current-converter-processes): Move before use.
208
209 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
210 Move MODE-set-explicitly definition before use.
211
212 * international/mule-diag.el (mule-diag):
213 Don't use obsolete window-system-version.
214
215 * mail/feedmail.el (smtpmail): No need to load when compiling.
216 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
217
218 * mail/mail-utils.el (rfc822): No need to load when compiling.
219 (rfc822-addresses): Autoload it.
220 (mail-strip-quoted-names): Trivial simplification.
221
222 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
223 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
224
225 * net/snmp-mode.el (tempo): Don't duplicate requires.
226
227 * progmodes/prolog.el (info): No need to load when compiling.
228 (comint): Require before shell requires it.
229 (Info-goto-node): Autoload it.
230 (Info-follow-nearest-node): Declare.
231 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
232
233 * textmodes/artist.el (picture-mode-exit): Declare.
234
235 * textmodes/reftex-parse.el (reftex-parse-from-file):
236 Trivial rewrite so the compiler can parse it better.
237
238 2013-05-20 Leo Liu <sdl.web@gmail.com>
239
240 * progmodes/octave.el (octave-help-mode-map)
241 (octave-help-mode-finish-hook): New variables.
242 (octave-help-mode, octave-help-mode-finish): New functions.
243 (octave-help): Use octave-help-mode.
244
245 2013-05-20 Glenn Morris <rgm@gnu.org>
246
247 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
248
249 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
250
251 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
252 start at point, so that expansion starting right after opening
253 slash in a regexp is recognized.
254 (ruby-syntax-before-regexp-re): New defvar, extracted from
255 ruby-syntax-propertize-function. Since the value of this regexp
256 is looked up at runtime now, we should be able to turn
257 `ruby-syntax-methods-before-regexp' into a defcustom later.
258 (ruby-syntax-propertize-function): Split regexp matching into two
259 parts, for opening and closing slashes. That allows us to skip
260 over string interpolations and support multiline regexps.
261 Don't call `ruby-syntax-propertize-expansions', instead use another rule
262 for them, which calls `ruby-syntax-propertize-expansion'.
263 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
264 call to `ruby-syntax-propertize-function'.
265 (ruby-syntax-propertize-expansion): Extracted from
266 `ruby-syntax-propertize-expansions'. Handles one expansion.
267 (ruby-syntax-propertize-percent-literal): Leave point right after
268 the percent symbol, so that the expression expansion rule can
269 propertize the contents.
270 (ruby-syntax-propertize-heredoc): Leave point at bol following the
271 heredoc openers.
272 (ruby-syntax-propertize-expansions): Remove.
273
274 2013-05-18 Juri Linkov <juri@jurta.org>
275
276 * man.el (Man-default-man-entry): Remove `-' from the end
277 of the default value. (Bug#14400)
278
279 2013-05-18 Glenn Morris <rgm@gnu.org>
280
281 * comint.el (comint-password-prompt-regexp):
282 Allow "password for XXX" where XXX contains colons (eg https://...).
283
284 2013-05-18 Leo Liu <sdl.web@gmail.com>
285
286 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
287 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
288 (octave-source-directories): Don't check process.
289 (octave-source-directories, octave-find-definition): Doc fix.
290
291 2013-05-18 Glenn Morris <rgm@gnu.org>
292
293 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
294 Remove backspace/delete bindings. (Bug#14392)
295
296 * cus-dep.el (custom-make-dependencies): Sort the output.
297 (custom-versions-load-alist): Convert comment to doc.
298
299 2013-05-17 Leo Liu <sdl.web@gmail.com>
300
301 * newcomment.el (comment-search-backward): Stricter in finding
302 comment start. (Bug#14303)
303
304 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
305 (octave-comment-start-skip): Properly anchored.
306
307 2013-05-17 Leo Liu <sdl.web@gmail.com>
308
309 * emacs-lisp/smie.el (smie-highlight-matching-block-mode): Clean
310 up when turned off. (Bug#14395)
311 (smie--highlight-matching-block-overlay): No longer buffer-local.
312 (smie-highlight-matching-block): Adjust.
313
314 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
315
316 Doc string fix for "nanoseconds" (Bug#14406).
317 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
318 Fix doc string typo that had "nanoseconds" instead of "microseconds".
319
320 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
321
322 * calc/calc-units.el (math-extract-units): Preserve powers
323 of units.
324
325 2013-05-17 Leo Liu <sdl.web@gmail.com>
326
327 * subr.el (delete-consecutive-dups): New function.
328 * ido.el (ido-set-matches-1): Use it.
329 * progmodes/octave.el (inferior-octave-completion-table): Use it.
330 * ido.el (ido-remove-consecutive-dups): Remove.
331
332 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
333
334 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
335 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
336 regexp-opt's `words'.
337
338 2013-05-16 Leo Liu <sdl.web@gmail.com>
339
340 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
341 (smie--highlight-matching-block-overlay)
342 (smie--highlight-matching-block-lastpos)
343 (smie--highlight-matching-block-timer): New variables.
344 (smie-highlight-matching-block): New function.
345 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
346 (smie-setup): Conditionally enable smie-blink-matching-open.
347
348 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
349
350 Sync with upstream verilog-mode r840.
351 * progmodes/verilog-mode.el (verilog-mode-version)
352 (verilog-mode-release-date): Update.
353 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
354 (verilog-sig-tieoff): Fix string error on
355 AUTORESET with colon define, bug594. Reported by Andrew Hou.
356 (verilog-read-decls): Fix parameters confusing
357 AUTOINST interfaces, bug565. Reported by Leith Johnson.
358
359 2013-05-16 Eli Zaretskii <eliz@gnu.org>
360
361 * subr.el (reveal-filename): New function.
362
363 * loadup.el: Compute Emacs executable versions on MS-Windows,
364 where executables have the .exe extension. Add a hard link
365 emacs-XX.YY.ZZ.exe on MS-Windows.
366
367 * Makefile.in (XARGS_LIMIT): New variable.
368 (custom-deps, finder-data, autoloads)
369 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
370 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
371 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
372 (compile-main): Limit xargs according to $(XARGS_LIMIT).
373
374 2013-05-16 Leo Liu <sdl.web@gmail.com>
375
376 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
377 (octave-mode-menu, octave-mode-map): Remove its uses.
378
379 2013-05-16 Reto Zimmermann <reto@gnu.org>
380
381 Sync with upstream vhdl mode v3.34.2.
382 * progmodes/vhdl-mode.el: Use `push' throughout.
383 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
384 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
385 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
386 (vhdl-actual-generic-name): New option to derive actual generic name.
387 (vhdl-port-paste-signals): Replace formal by actual generics.
388 (vhdl-beautify): New name for old group vhdl-align. Update users.
389 (vhdl-beautify-options): New option.
390 (vhdl-last-input-event): New compat alias. Use throughout.
391 (vhdl-goto-line): Replace user level function `goto-line'.
392 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
393 vhdl-fix-statement-buffer.
394 (vhdl-create-mode-menu): Add some entries.
395 (vhdl-align-region-groups): Respect vhdl-beautify-options.
396 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
397 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
398 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
399 to force statements on one line.
400 (vhdl-remove-trailing-spaces-region):
401 New, split from vhdl-remove-trailing-spaces.
402 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
403 Respect vhdl-beautify-options.
404 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
405 (vhdl-update-sensitivity-list): Not add with index if exists without.
406 Not include array index with signal. Ignore keywords in comments.
407 (vhdl-get-visible-signals): Regexp tweaks.
408 (vhdl-template-component-inst): Handle empty library.
409 (vhdl-template-type): Add template for 'enum' type.
410 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
411 Use vhdl-replace-string.
412 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
413 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
414 (vhdl-speedbar-initialize): Update for above name change.
415 (vhdl-compose-wire-components): Fix in handling of constants.
416 (vhdl-error-regexp-emacs-alist): New variable.
417 (vhdl-error-regexp-add-emacs): New function;
418 adds support for new compile.el (Emacs 22+)
419 (vhdl-generate-makefile-1): Change target order for single lib. units.
420 Allow use of absolute file names.
421
422 2013-05-16 Leo Liu <sdl.web@gmail.com>
423
424 * simple.el (prog-indent-sexp): Indent enclosing defun.
425
426 2013-05-15 Glenn Morris <rgm@gnu.org>
427
428 * cus-start.el (show-trailing-whitespace): Move to editing basics.
429 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
430 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
431 (whitespace-highlight): Move to whitespace group.
432
433 * comint.el (comint-source):
434 * pcmpl-linux.el (pcmpl-linux):
435 * shell.el (shell-faces):
436 * eshell/esh-opt.el (eshell-opt):
437 * international/ccl.el (ccl): Remove empty custom groups.
438
439 * completion.el (dynamic-completion-mode):
440 * jit-lock.el (jit-lock-debug-mode):
441 * minibuffer.el (completion-in-region-mode):
442 * type-break.el (type-break-mode-line-message-mode)
443 (type-break-query-mode):
444 * emulation/tpu-edt.el (tpu-edt-mode):
445 * progmodes/subword.el (global-subword-mode, global-superword-mode):
446 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
447 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
448
449 * term/xterm.el (xterm): Change parent group to terminals.
450
451 * master.el (master): Remove empty custom group.
452 (master-mode): Remove unused :group argument.
453 * textmodes/refill.el (refill): Remove empty custom group.
454 (refill-mode): Remove unused :group argument.
455
456 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
457
458 * cus-dep.el: Provide a feature.
459 (custom-make-dependencies): Ignore dotfiles (dir-locals).
460 Don't mistakenly ignore files whose basenames match a basename
461 from preloaded-file-list (eg cedet/ede/simple.el).
462 Add a fallback method for getting :group.
463
464 2013-05-15 Juri Linkov <juri@jurta.org>
465
466 * isearch.el (isearch-char-by-name): Rename from
467 `isearch-insert-char-by-name'. Doc fix.
468 (isearch-forward): Mention `isearch-char-by-name' in
469 the docstring. (Bug#13348)
470
471 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
472 `exit-minibuffer' instead of
473 `isearch-nonincremental-exit-minibuffer'.
474 (isearch-edit-string): Remove mention of
475 `isearch-nonincremental-exit-minibuffer' from docstring.
476 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
477 (isearch-forward-exit-minibuffer)
478 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
479
480 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
481
482 * loadup.el: Just use unversioned DOC.
483
484 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
485 literals as extending to EOB.
486 (nxml-last-fontify-end): Remove unused variable.
487 (nxml-after-change1): Use with-silent-modifications.
488 (nxml-extend-after-change-region): Simplify.
489 (nxml-extend-after-change-region1): Remove function.
490 (nxml-after-change1): Don't adjust for dependent regions.
491 (nxml-fontify-matcher): Simplify.
492 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
493 (xmltok-add-dependent): Remove function.
494 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
495 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
496 (xmltok-scan-prolog-after-processing-instruction-open): Treat
497 unclosed <[[, <?, comment, and other literals as extending to EOB.
498 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
499 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
500 Remove functions.
501 (rng-do-some-validation-1): Don't mark dependent regions.
502 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
503 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
504 (nxml-clear-dependent-regions): Remove functions.
505 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
506 (nxml-ensure-scan-up-to-date):
507 Don't clear&mark dependent regions.
508
509 2013-05-15 Leo Liu <sdl.web@gmail.com>
510
511 * progmodes/octave.el (octave-goto-function-definition):
512 Improve and fix callers.
513
514 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
517 the setter (bug#14387).
518
519 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
520 surrounding group (bug#14402).
521
522 2013-05-14 Juri Linkov <juri@jurta.org>
523
524 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
525 (Bug#14390)
526
527 2013-05-14 Glenn Morris <rgm@gnu.org>
528
529 * progmodes/f90.el (f90-imenu-generic-expression):
530 Fix typo in 2013-05-08 change. (Bug#14402)
531
532 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
533
534 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
535 Remove signals for which replies are never received.
536
537 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
538
539 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
540 (gdb-handler-alist, gdb-handler-number): Remove variables.
541 (gdb-handler-list): New variable.
542 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
543 (gdb-pending-handler-p, gdb-handle-reply)
544 (gdb-remove-all-pending-triggers): New functions.
545 (gdb-discard-unordered-replies): New defcustom.
546 (gdb-handler): New defstruct.
547 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
548 instead of gdb-pending-triggers. Update docstring.
549 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
550 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
551 (gdb-var-update-handler, def-gdb-auto-update-trigger)
552 (def-gdb-auto-update-handler, gdb-get-changed-registers)
553 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
554 (gdb-frame-handler): Pending triggers are now automatically managed.
555 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
556 Remove argument.
557 (gdb-input): Automatically handles pending triggers. Update docstring.
558 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
559 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
560 Update comments.
561 (gdb-done-or-error): Now use gdb-handle-reply.
562
563 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
564
565 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
566 gdb-debug-log.
567
568 2013-05-14 Glenn Morris <rgm@gnu.org>
569
570 * subr.el (user-emacs-directory-warning): New option.
571 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
572
573 2013-05-14 Leo Liu <sdl.web@gmail.com>
574
575 * progmodes/octave.el (octave-font-lock-keywords): Fix error
576 during redisplay.
577 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
578 (octave-font-lock-texinfo-comment): Fix invalid search bound
579 error: wrong side of point.
580
581 2013-05-14 Glenn Morris <rgm@gnu.org>
582
583 * progmodes/flymake.el (flymake-xml-program): New option.
584 (flymake-xml-init): Use it.
585
586 * term/xterm.el: Provide a feature.
587
588 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
589
590 2013-05-13 Glenn Morris <rgm@gnu.org>
591
592 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
593 Add compat aliases as a hack workaround. (Bug#14384)
594
595 2013-05-13 Leo Liu <sdl.web@gmail.com>
596
597 * progmodes/octave.el (octave-indent-comment): Fix indentation for
598 ###, and %!.
599 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
600 C-M-q.
601 (octave-comment-start-skip): Include %!.
602 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
603
604 2013-05-12 Leo Liu <sdl.web@gmail.com>
605
606 * progmodes/octave.el (inferior-octave-startup): Store the value
607 of __octave_srcdir__ for octave-source-directories.
608 (inferior-octave-check-process): New function refactored out of
609 inferior-octave-send-list-and-digest.
610 (octave-source-directories)
611 (octave-find-definition-filename-function): New variables.
612 (octave-source-directories)
613 (octave-find-definition-default-filename): New functions.
614 (octave-find-definition): Improve to find functions implemented in C++.
615
616 2013-05-12 Glenn Morris <rgm@gnu.org>
617
618 * calendar/diary-lib.el (diary-outlook-format-1):
619 Don't include dayname in the output. (Bug#14349)
620
621 2013-05-11 Glenn Morris <rgm@gnu.org>
622
623 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
624
625 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
626 Treat cc-provide like provide.
627
628 2013-05-11 Kevin Ryde <user42@zip.com.au>
629
630 * cus-dep.el (custom-make-dependencies):
631 Use generated-autoload-load-name for the sake of files such
632 such cedet/semantic/bovine/c.el, where the base file name
633 is not in load-path. (Bug#5277)
634
635 2013-05-11 Glenn Morris <rgm@gnu.org>
636
637 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
638 Provide features.
639
640 2013-05-11 Leo Liu <sdl.web@gmail.com>
641
642 * progmodes/octave.el (octave-indent-comment): Improve.
643 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
644 (octave-eldoc-function-signatures, octave-eldoc-function):
645 New functions.
646 (octave-mode, inferior-octave-mode): Add eldoc support.
647
648 2013-05-11 Richard Stallman <rms@gnu.org>
649
650 * epa.el (epa-decrypt-file): Take output file name as argument
651 and read it using `interactive'.
652
653 2013-05-11 Leo Liu <sdl.web@gmail.com>
654
655 * progmodes/octave.el (octave-beginning-of-line)
656 (octave-end-of-line): Check before using up-list because it jumps
657 out of more syntactic contructs since moving to smie.
658 (octave-indent-comment): New function.
659 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
660 (octave-begin-keywords, octave-end-keywords)
661 (octave-reserved-words, octave-smie-bnf-table)
662 (octave-smie-rules): Add new keywords from Octave 3.6.4.
663
664 2013-05-11 Glenn Morris <rgm@gnu.org>
665
666 * faces.el (internal-face-x-get-resource):
667 * frame.el (ns-display-monitor-attributes-list):
668 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
669
670 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
671
672 * calc/calc-menu.el: Make it loadable in isolation.
673
674 * net/eudcb-bbdb.el: Make it loadable without bbdb.
675 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
676 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
677 (eudc-bbdb-query-internal): Require 'bbdb.
678
679 * lpr.el (lpr-headers-switches):
680 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
681
682 * progmodes/sql.el (sql-login-params): Fix and improve :type.
683
684 * emulation/edt-mapper.el: In batch mode, error rather than hang.
685
686 * term.el (term-set-escape-char): Make it idempotent.
687
688 2013-05-10 Leo Liu <sdl.web@gmail.com>
689
690 * progmodes/octave.el (inferior-octave-completion-table):
691 No longer a function and all uses changed. Use cache to speed up
692 completion due to bug#11906.
693 (octave-beginning-of-defun): Re-write to be more general.
694
695 2013-05-10 Glenn Morris <rgm@gnu.org>
696
697 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
698
699 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
700
701 * comint.el (comint-redirect-send-command-to-process): Use :around
702 rather than :override for comint-redirect-filter.
703 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
704 Call it instead of comint-redirect-original-filter-function (which
705 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
706
707 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
708
709 * frame.el (display-monitor-attributes-list): Add NS case.
710 (ns-display-monitor-attributes-list): Declare.
711
712 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
713
714 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
715
716 2013-05-09 Glenn Morris <rgm@gnu.org>
717
718 * international/fontset.el (vertical-centering-font-regexp):
719 Set standard-value.
720
721 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
722
723 * bookmark.el (bookmark-search-delay):
724 * cus-start.el (vertical-centering-font-regexp):
725 * ps-mule.el (ps-mule-font-info-database-default):
726 * ps-print.el (ps-default-fg, ps-default-bg):
727 * type-break.el (type-break-good-break-interval):
728 * whitespace.el (whitespace-indentation-regexp)
729 (whitespace-space-after-tab-regexp):
730 * emacs-lisp/testcover.el (testcover-1value-functions)
731 (testcover-noreturn-functions, testcover-progn-functions)
732 (testcover-prog1-functions):
733 * emulation/viper-init.el (viper-emacs-state-cursor-color):
734 * eshell/em-glob.el (eshell-glob-translate-alist):
735 * play/tetris.el (tetris-tty-colors):
736 * progmodes/cpp.el (cpp-face-default-list):
737 * progmodes/flymake.el (flymake-allowed-file-name-masks):
738 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
739 (idlwave-help-browser-generic-args):
740 * progmodes/make-mode.el (makefile-special-targets-list):
741 * progmodes/python.el (python-shell-virtualenv-path):
742 * progmodes/verilog-mode.el (verilog-active-low-regexp)
743 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
744 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
745 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
746 * textmodes/reftex-vars.el (reftex-format-label-function):
747 * textmodes/remember.el (remember-diary-file): Fix custom types.
748
749 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
750 Add :version.
751
752 2013-05-09 Leo Liu <sdl.web@gmail.com>
753
754 * progmodes/octave.el (inferior-octave-completion-at-point):
755 Restore file completion. (Bug#14300)
756 (inferior-octave-startup): Fix incorrect highlighting for the
757 first prompt.
758
759 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * progmodes/ruby-mode.el: First cut at SMIE support.
762 (ruby-use-smie): New var.
763 (ruby-smie-grammar): New constant.
764 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
765 (ruby-smie--forward-token, ruby-smie--backward-token)
766 (ruby-smie-rules): New functions.
767 (ruby-mode-variables): Setup SMIE if applicable.
768
769 2013-05-08 Eli Zaretskii <eliz@gnu.org>
770
771 * simple.el (line-move-visual): Signal beginning/end of buffer
772 only if vertical-motion moved less than it was requested. Avoids
773 silly incorrect error messages when there are display strings with
774 multiple newlines at EOL.
775
776 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
779 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
780 (prolog-char-quote-workaround):
781 * progmodes/cperl-mode.el (cperl-under-as-char):
782 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
783 Mark as obsolete.
784 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
785 their declaration.
786 (vhdl-mode-syntax-table-init): Remove.
787
788 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
789 last change.
790
791 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
792 syntax for "_".
793 (ld-script-font-lock-keywords):
794 Change regexps to use things like \_< and \_>.
795
796 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
797 Change all regexps to use things like \_< and \_>.
798
799 * progmodes/autoconf.el (autoconf-definition-regexp)
800 (autoconf-font-lock-keywords, autoconf-current-defun-function):
801 Handle a _ with symbol syntax.
802 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
803
804 * progmodes/ada-mode.el (ada-mode-abbrev-table):
805 Consolidate declaration.
806 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
807 the declaration.
808 (ada-create-syntax-table): Remove.
809 (ada-capitalize-word): Don't mess with the syntax of "_" since it
810 already has the right syntax nowadays.
811 (ada-goto-next-word): Don't change the syntax of "_".
812
813 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
814 with-wrapper-hook.
815
816 2013-05-08 Sam Steingold <sds@gnu.org>
817
818 * thingatpt.el (thing-at-point): Accept optional second argument
819 NO-PROPERTIES to strip the text properties from the return value.
820 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
821 to `thing-at-point' instead of stripping the properties ourselves.
822 Also, when `thing-at-point' fails to find a url, prepend "http://"
823 to the filename at point on the assumption that the user is
824 pointing at something like gnu.org/gnu.
825
826 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
827
828 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
829 * faces.el (crm-separator):
830 Silence byte-compiler.
831
832 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
833 (tool-bar-map): Remove unneeded defvars.
834
835 2013-05-08 Leo Liu <sdl.web@gmail.com>
836
837 Re-work a fix for bug#10994 based on Le Wang's patch.
838 * ido.el (ido-remove-consecutive-dups): New helper.
839 (ido-completing-read): Use it.
840 (ido-chop): Revert fix for bug#10994.
841
842 2013-05-08 Adam Spiers <emacs@adamspiers.org>
843
844 * cus-edit.el (custom-save-variables):
845 Pretty-print long values. (Bug#14187)
846
847 2013-05-08 Glenn Morris <rgm@gnu.org>
848
849 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
850 (m4-mode-syntax-table): Init in the defvar.
851 (m4-mode-abbrev-table): Let define-derived-mode define it.
852
853 2013-05-08 Tom Tromey <tromey@redhat.com>
854
855 * progmodes/m4-mode.el (m4-mode-syntax-table):
856 Do not treat "_" as word constituent. (Bug#14167)
857
858 2013-05-07 Glenn Morris <rgm@gnu.org>
859
860 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
861 Remove explicit eshell-isearch-cancel-map.
862
863 * progmodes/f90.el (f90-smart-end-names): New option.
864 (f90-smart-end): Doc fix.
865 (f90-end-block-optional-name): New constant.
866 (f90-block-match): Respect f90-smart-end-names.
867
868 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * progmodes/octave.el (octave-smie-forward-token): Be more careful
871 about implicit semi-colons (bug#14218).
872
873 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
874
875 * frame.el (display-monitor-attributes-list)
876 (frame-monitor-attributes): New functions.
877
878 2013-05-06 Leo Liu <sdl.web@gmail.com>
879
880 * progmodes/octave.el (octave-syntax-propertize-function): Change
881 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
882 (octave-font-lock-keywords): Use octave-operator-regexp.
883 (octave-completion-at-point): Rename from
884 octave-completion-at-point-function.
885 (inferior-octave-directory-tracker): Robustify.
886 (octave-text-functions): Remove and fix its uses. No such things
887 any more.
888
889 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * emacs-lisp/trace.el (trace--display-buffer): New function.
892 (trace-make-advice): Use it.
893
894 2013-05-06 Juri Linkov <juri@jurta.org>
895
896 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
897 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
898 Doc fix.
899 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
900 in the help string. (Bug#12985)
901
902 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
903
904 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
905
906 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * progmodes/perl-mode.el: Add support for here documents.
909 (perl-syntax-propertize-function): Match here-doc markers.
910 (perl-syntax-propertize-special-constructs): Find their end.
911 (perl-imenu-generic-expression): Use [:alnum:].
912
913 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
914 (advice--add-function): Refresh the advice if already present
915 (bug#14317).
916
917 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
918
919 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
920
921 2013-05-06 Glenn Morris <rgm@gnu.org>
922
923 * w32-fns.el (w32-charset-info-alist): Declare.
924
925 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
926 of its defcustom properties.
927 (eshell-cmpl-initialize): No need to load pcomplete.
928
929 * generic-x.el: No need to require comint when compiling.
930
931 * net/eudc-export.el: Make it loadable without bbdb.
932 (top-level): Use require rather than load-library.
933 (eudc-create-bbdb-record, eudc-bbdbify-phone)
934 (eudc-batch-export-records-to-bbdb)
935 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
936 Require bbdb.
937
938 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
941 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
942 some tweaks, instead.
943
944 2013-05-05 Leo Liu <sdl.web@gmail.com>
945
946 * progmodes/octave.el (octave-font-lock-keywords)
947 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
948 (inferior-octave-send-list-and-digest): Improve error message.
949 (octave-mode, inferior-octave-mode): Use setq-local.
950 (octave-help): Set info-lookup-mode.
951
952 2013-05-05 Richard Stallman <rms@gnu.org>
953
954 * vc/compare-w.el (compare-windows-whitespace):
955 Treat no-break space as whitespace.
956
957 * mail/rmailsum.el (rmail-summary-rmail-update):
958 Detect empty summary and don't change selected message.
959 (rmail-summary-goto-msg): Likewise.
960
961 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
962 Doc fixes, rename args.
963
964 2013-05-05 Alan Mackenzie <acm@muc.de>
965
966 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
967
968 2013-05-05 Juri Linkov <juri@jurta.org>
969
970 * info.el (Info-read-subfile): Use (point-min) instead of (point)
971 to not add the length of the summary segment to the return value.
972 (Bug#14125)
973
974 2013-05-05 Leo Liu <sdl.web@gmail.com>
975
976 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
977 (inferior-octave-output-filter): Remove.
978 (octave-send-region, inferior-octave-startup): Fix callers.
979 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
980 (octave-binary-file-extensions): New user variable.
981 (octave-find-definition): Confirm if opening binary files.
982 (octave-help-file): Use octave-find-definition to get the binary
983 confirmation.
984 (octave-help): Adjust for octave-help-file change.
985
986 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
989 Merge the two entries that handle function definitions.
990 (pascal--syntax-propertize): New const.
991 (pascal-mode): Use it. Use setq-local.
992
993 2013-05-04 Glenn Morris <rgm@gnu.org>
994
995 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
996 (diary-from-outlook): Respect diary-from-outlook-function.
997
998 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
999
1000 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1001 Move the declaration from C.
1002 (read-minibuffer, eval-minibuffer): Move from C.
1003 (completion-setup-function): Avoid minibuffer-completion-contents.
1004
1005 2013-05-03 Leo Liu <sdl.web@gmail.com>
1006
1007 * progmodes/octave.el (octave-font-lock-keywords): Do not
1008 dehighlight 'end' in comments or strings.
1009 (octave-completing-read, octave-goto-function-definition):
1010 New helpers.
1011 (octave-help-buffer): New user variable.
1012 (octave-help-file, octave-help-function): New button types.
1013 (octave-help): New command and bind it to C-h ;.
1014 (octave-find-definition): New command and bind it to M-.
1015 (user-error): Alias to error if not defined.
1016
1017 2013-05-02 Leo Liu <sdl.web@gmail.com>
1018
1019 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1020 for \. (bug#14332)
1021 (octave-font-lock-keywords): Include [ and {.
1022
1023 2013-05-02 Leo Liu <sdl.web@gmail.com>
1024
1025 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1026 (inferior-octave): Remove calling comint-mode and return the buffer.
1027 (inferior-octave-startup): Cosmetic changes.
1028
1029 2013-05-02 Leo Liu <sdl.web@gmail.com>
1030
1031 * progmodes/octave.el (octave-syntax-propertize-function):
1032 Include the case when ' is at line beginning. (Bug#14336)
1033
1034 2013-05-02 Glenn Morris <rgm@gnu.org>
1035
1036 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1037 * desktop.el (vc-dir-mode): Just autoload it here.
1038
1039 2013-05-02 Alan Mackenzie <acm@muc.de>
1040
1041 Eliminate variable c-standard-font-lock-fontify-region-function.
1042 * progmodes/cc-mode.el
1043 (c-standard-font-lock-fontify-region-function): Remove.
1044 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1045
1046 2013-05-01 Leo Liu <sdl.web@gmail.com>
1047
1048 * progmodes/octave.el: Compatible with older emacs-24 releases.
1049 (inferior-octave-has-built-in-variables): Remove. Built-in
1050 variables were removed from Octave in 2007.
1051 (inferior-octave-startup): Fix uses.
1052 (comint-line-beginning-position): Remove compatibility code for
1053 emacs 21.
1054
1055 2013-05-01 Juri Linkov <juri@jurta.org>
1056
1057 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1058
1059 2013-05-01 Juri Linkov <juri@jurta.org>
1060
1061 * comint.el (comint-previous-matching-input): Don't print message
1062 "History item: %d" when `isearch-mode' is active.
1063 (comint-history-isearch-message): Print message "History item: %d"
1064 when `comint-input-ring-index' is not empty and this function is
1065 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1066
1067 2013-05-01 Leo Liu <sdl.web@gmail.com>
1068
1069 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1070 definitions. Use completion-at-point to insert keywords.
1071 (octave-abbrev-start): Remove.
1072 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1073
1074 2013-04-30 Leo Liu <sdl.web@gmail.com>
1075
1076 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1077 change.
1078
1079 2013-04-30 Alan Mackenzie <acm@muc.de>
1080
1081 Handle arbitrarily long C++ member initialisation lists.
1082 * progmodes/cc-engine.el (c-back-over-member-initializers):
1083 new function.
1084 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1085 (most) member init lists.
1086
1087 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1088
1089 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1090 variable.
1091
1092 2013-04-30 Leo Liu <sdl.web@gmail.com>
1093
1094 * progmodes/octave.el (octave-variables): Remove. No builtin
1095 variables any more. All converted to functions.
1096 (octave-font-lock-keywords, octave-completion-at-point-function):
1097 Fix uses.
1098 (octave-font-lock-texinfo-comment): New user variable.
1099 (octave-texinfo-font-lock-keywords): New variable for texinfo
1100 comment block.
1101 (octave-function-comment-block): New face.
1102 (octave-font-lock-texinfo-comment): New function.
1103 (octave-mode): Font lock texinfo comment block.
1104
1105 2013-04-29 Leo Liu <sdl.web@gmail.com>
1106
1107 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1108 indexing expression.
1109 (octave-continuation-string): Do not use \.
1110 (inferior-octave-complete-impossible): Remove.
1111 (inferior-octave-completion-table)
1112 (inferior-octave-completion-at-point): Remove its uses.
1113 (inferior-octave-startup): completion_matches was introduced to
1114 Octave in 1996 so safe to assume it.
1115 (octave-function-file-comment): Improve to follow how Octave does it.
1116 (octave-update-function-file-comment): Tweak.
1117
1118 2013-04-29 Leo Liu <sdl.web@gmail.com>
1119
1120 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1121 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1122 (octave-function-file-comment): Fix typo.
1123 (octave-sync-function-file-names): Use read-char-choice.
1124
1125 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1126
1127 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1128 to t for the less important warnings.
1129
1130 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1131
1132 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1133
1134 2013-04-27 Glenn Morris <rgm@gnu.org>
1135
1136 * vc/log-view.el (log-view-current-entry):
1137 Treat "---" separator lines as part of the following rev. (Bug#14169)
1138
1139 2013-04-27 Juri Linkov <juri@jurta.org>
1140
1141 * subr.el (read-number): Doc fix about using it by interactive
1142 code letter `n'. (Bug#14254)
1143
1144 2013-04-27 Juri Linkov <juri@jurta.org>
1145
1146 * desktop.el (desktop-auto-save-timeout): New option.
1147 (desktop-file-checksum): New variable.
1148 (desktop-save): Add optional arg `auto-save' and don't auto-save
1149 if nothing changed.
1150 (desktop-auto-save-timer): New variable.
1151 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1152 (after-init-hook): Call `desktop-auto-save-set-timer'.
1153 Suggested by Reuben Thomas <rrt@sc3d.org> in
1154 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1155
1156 2013-04-27 Leo Liu <sdl.web@gmail.com>
1157
1158 * progmodes/octave.el (octave-function-file-p)
1159 (octave-skip-comment-forward, octave-function-file-comment)
1160 (octave-update-function-file-comment): New functions.
1161 (octave-mode-map): Bind C-c ; to
1162 octave-update-function-file-comment.
1163 (octave-mode-menu): Add octave-update-function-file-comment.
1164 (octave-mode, inferior-octave-mode): Fix doc-string.
1165 (octave-insert-defun): Conform to Octave's coding convention.
1166 (Bug#14285)
1167
1168 * files.el (basic-save-buffer): Don't let errors in
1169 before-save-hook prevent saving buffer.
1170
1171 2013-04-20 Roland Winkler <winkler@gnu.org>
1172
1173 * faces.el (read-face-name): Use completing-read if arg multiple
1174 is nil.
1175
1176 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1177
1178 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1179 displayed, move point to after the totals line.
1180 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1181 for the details.
1182
1183 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1186 Add current dir to the load-path.
1187 (package-generate-autoloads): Don't rely on
1188 autoload-ensure-default-file.
1189
1190 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1191
1192 * textmodes/remember.el (remember-store-in-files): Document that
1193 the file name format is passed to `format-time-string'.
1194
1195 2013-04-26 Leo Liu <sdl.web@gmail.com>
1196
1197 * progmodes/octave.el (octave-sync-function-file-names): New function.
1198 (octave-mode): Use it in before-save-hook.
1199
1200 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1201
1202 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1203 (bug#14274).
1204
1205 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1206 \n and comment, even if it's not an implicit ; (bug#14218).
1207
1208 2013-04-26 Glenn Morris <rgm@gnu.org>
1209
1210 * subr.el (read-number): Once more use `read' rather than
1211 `string-to-number', to trap non-numeric input. (Bug#14254)
1212
1213 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1214
1215 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1216 Use `syntax-multiline' text property consistently instead of
1217 `font-lock-multiline'. (bug#14237).
1218
1219 2013-04-26 Glenn Morris <rgm@gnu.org>
1220
1221 * emacs-lisp/shadow.el (list-load-path-shadows):
1222 No longer necessary to check for duplicate simple.el, since
1223 2012-07-07 change to init_lread to not include installation lisp
1224 directories in load-path when running uninstalled. (Bug#14270)
1225
1226 2013-04-26 Leo Liu <sdl.web@gmail.com>
1227
1228 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1229 (octave-mode, inferior-octave-mode): Use setq-local.
1230 (octave-not-in-string-or-comment-p): Rename to
1231 octave-in-string-or-comment-p.
1232 (octave-in-comment-p, octave-in-string-p)
1233 (octave-in-string-or-comment-p): Replace defsubst with defun.
1234
1235 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1236
1237 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1238
1239 2013-04-25 Bastien Guerry <bzg@gnu.org>
1240
1241 * textmodes/remember.el (remember-data-directory)
1242 (remember-directory-file-name-format): Fix custom types.
1243
1244 2013-04-25 Leo Liu <sdl.web@gmail.com>
1245
1246 * progmodes/octave.el (octave-completion-at-point-function):
1247 Make use of inferior octave process.
1248 (octave-initialize-completions): Remove.
1249 (inferior-octave-completion-table): New function.
1250 (inferior-octave-completion-at-point): Use it.
1251 (octave-completion-alist): Remove.
1252
1253 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1254
1255 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1256 (opascal-mode-syntax-table): New var.
1257 (opascal-literal-kind, opascal-is-literal-end)
1258 (opascal-literal-token-at): Rewrite.
1259 (opascal--literal-start-re, opascal-font-lock-keywords)
1260 (opascal--syntax-propertize): New constants.
1261 (opascal-font-lock-defaults): Adjust.
1262 (opascal-mode): Use them. Set comment-<foo> variables as well.
1263 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1264 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1265 (delphi-other-face, opascal-other-face): Remove face variables.
1266 (opascal-save-state): Remove macro.
1267 (opascal-fontifying-progress-step): Remove constant.
1268 (opascal--ignore-changes): Remove var.
1269 (opascal-set-token-property, opascal-parse-next-literal)
1270 (opascal-is-stable-literal, opascal-complete-literal)
1271 (opascal-is-literal-start, opascal-face-of)
1272 (opascal-parse-region, opascal-parse-region-until-stable)
1273 (opascal-fontify-region, opascal-after-change)
1274 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1275 (opascal-debug-parse-region, opascal-debug-parse-window)
1276 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1277 (opascal-debug-fontify-buffer): Remove.
1278 (opascal-debug-mode-map): Adjust accordingly.
1279
1280 2013-04-25 Leo Liu <sdl.web@gmail.com>
1281
1282 Merge octave-mod.el and octave-inf.el into octave.el with some
1283 cleanups.
1284 * progmodes/octave.el: New file renamed from octave-mod.el.
1285 * progmodes/octave-inf.el: Merged into octave.el.
1286 * progmodes/octave-mod.el: Renamed to octave.el.
1287
1288 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1289
1290 * textmodes/reftex-vars.el
1291 (reftex-label-ignored-macros-and-environments): New defcustom.
1292
1293 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1294
1295 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1298 (smie-indent-keyword): Improve the check to ensure that the next
1299 comment is really on the same line.
1300 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1301
1302 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1303 semi-colons if the line is not otherwise empty (bug#14218).
1304
1305 2013-04-25 Glenn Morris <rgm@gnu.org>
1306
1307 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1308
1309 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1310
1311 * progmodes/opascal.el (opascal-set-token-property): Rename from
1312 opascal-set-text-properties and only set `token' (bug#14134).
1313 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1314 (opascal-literal-text-properties): Remove.
1315 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1316 Adjust callers.
1317
1318 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1319
1320 * textmodes/remember.el (remember-handler-functions): Add an
1321 option for a new handler `remember-store-in-files'.
1322 (remember-data-directory, remember-directory-file-name-format):
1323 New options.
1324 (remember-store-in-files): New function to store remember notes
1325 as separate files within a directory.
1326
1327 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1328
1329 * progmodes/compile.el (compilation-next-error-function):
1330 Pass "formats" to compilation-find-file (bug#11777).
1331
1332 2013-04-24 Glenn Morris <rgm@gnu.org>
1333
1334 * vc/vc-bzr.el (vc-bzr-print-log):
1335 * vc/vc-hg.el (vc-hg-print-log):
1336 * vc/vc-svn.el (vc-svn-print-log):
1337 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1338
1339 * vc/vc-bzr.el (vc-bzr-print-log):
1340 * vc/vc-cvs.el (vc-cvs-print-log):
1341 * vc/vc-git.el (vc-git-print-log):
1342 * vc/vc-hg.el (vc-hg-print-log):
1343 * vc/vc-mtn.el (vc-mtn-print-log):
1344 * vc/vc-rcs.el (vc-rcs-print-log):
1345 * vc/vc-sccs.el (vc-sccs-print-log):
1346 * vc/vc-svn.el (vc-svn-print-log):
1347 * vc/vc.el (vc-print-log-internal): Doc fixes.
1348
1349 2013-04-23 Glenn Morris <rgm@gnu.org>
1350
1351 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1352 Remove venerable code attempting to avoid substitute-command-keys.
1353
1354 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1355
1356 * textmodes/reftex-vars.el (reftex-label-regexps):
1357 Call `reftex-compile-variables' after changes to this variable.
1358
1359 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1362 Use lexical-binding.
1363 (jit-lock-force-redisplay): Use markers, check buffer's continued
1364 existence and beware narrowed buffers.
1365 (jit-lock-fontify-now): Adjust call accordingly.
1366
1367 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1370 to avoid misleading the user.
1371
1372 2013-04-22 Leo Liu <sdl.web@gmail.com>
1373
1374 * info-look.el: Prefer latex2e.info. (Bug#14240)
1375
1376 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1377
1378 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1379
1380 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1381 * net/tramp.el (tramp-call-process): ... here
1382 (tramp-set-completion-function, tramp-parse-putty):
1383 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1384 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1385 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1386 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1387 (tramp-call-local-coding-command): Use `tramp-call-process'
1388 instead of `tramp-compat-call-process'.
1389
1390 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1391 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1392 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1393 (tramp-find-inline-compress): Improve traces.
1394 (tramp-maybe-send-script): Check for Perl binary.
1395 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1396
1397 2013-04-22 Daiki Ueno <ueno@gnu.org>
1398
1399 * epg.el (epg-context-pinentry-mode): New function.
1400 (epg-context-set-pinentry-mode): New function.
1401 (epg--start): Pass --pinentry-mode option to gpg command.
1402
1403 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1404
1405 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1406 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1407 `completion-at-point'. (Bug#13774)
1408
1409 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1410 default key binding for `describe-distribution' has been moved to
1411 `C-h C-o'. (Bug#13970)
1412
1413 2013-04-21 Glenn Morris <rgm@gnu.org>
1414
1415 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1416 Add doc strings.
1417 (vc-print-log): Clarify interactive prompt.
1418
1419 2013-04-20 Glenn Morris <rgm@gnu.org>
1420
1421 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1422 No longer include timestamp etc information.
1423
1424 2013-04-20 Roland Winkler <winkler@gnu.org>
1425
1426 * faces.el (read-face-name): Bug fix, return just one face if arg
1427 multiple is nil. (Bug#14209)
1428
1429 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1432 (remove-function): Autoload.
1433
1434 * comint.el (comint-redirect-original-filter-function): Remove.
1435 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1436 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1437 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1438 * progmodes/prolog.el (prolog-consult-compile):
1439 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1440 Use add/remove-function instead.
1441 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1442 (gud-tooltip-process-output, gud-tooltip-tips):
1443 Use add/remove-function instead.
1444 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1445 (scheme-interaction-mode, exit-scheme-interaction-mode):
1446 Use add/remove-function instead.
1447
1448 * vc/vc-dispatcher.el: Use lexical-binding.
1449 (vc--process-sentinel): Rename from vc-process-sentinel.
1450 Change last arg to be the code to run. Don't use vc-previous-sentinel
1451 and vc-sentinel-commands any more.
1452 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1453 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1454
1455 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1456
1457 * progmodes/sh-script.el (sh-imenu-generic-expression):
1458 Handle function names with a single character. (Bug#14111)
1459
1460 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1461
1462 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1463 for subroutines defined in an eval (bug#14182).
1464
1465 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1466
1467 * bookmark.el (bookmark-completing-read): Improve handling of empty
1468 string (bug#14176).
1469
1470 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1471
1472 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1473
1474 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1475
1476 New faster Imenu implementation (bug#14058).
1477 * progmodes/python.el:
1478 (python-imenu-prev-index-position):
1479 (python-imenu-format-item-label-function)
1480 (python-imenu-format-parent-item-label-function)
1481 (python-imenu-format-parent-item-jump-label-function):
1482 New vars.
1483 (python-imenu-format-item-label)
1484 (python-imenu-format-parent-item-label)
1485 (python-imenu-format-parent-item-jump-label)
1486 (python-imenu--put-parent, python-imenu--build-tree)
1487 (python-imenu-create-index, python-imenu-create-flat-index)
1488 (python-util-popn): New functions.
1489 (python-mode): Set imenu-create-index-function to
1490 python-imenu-create-index.
1491
1492 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1493
1494 * winner.el (winner-active-region): Use region-active-p, activate-mark
1495 and deactivate-mark (bug#14225).
1496
1497 * simple.el (deactivate-mark): Don't inline it.
1498
1499 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1500
1501 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1502
1503 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1504
1505 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1506 file extensions from the archive-mode entry in order to prefer
1507 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1508
1509 2013-04-18 Leo Liu <sdl.web@gmail.com>
1510
1511 * bindings.el (help-event-list): Add ?\?.
1512
1513 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1514
1515 * subr.el (with-wrapper-hook): Declare obsolete.
1516 * simple.el (filter-buffer-substring-function): New hook.
1517 (filter-buffer-substring): Use it.
1518 (filter-buffer-substring-functions): Mark obsolete.
1519 * minibuffer.el (completion-in-region-function): New hook.
1520 (completion-in-region): Use it.
1521 (completion-in-region-functions): Mark obsolete.
1522 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1523 * abbrev.el (abbrev-expand-function): New hook.
1524 (expand-abbrev): Use it.
1525 (abbrev-expand-functions): Mark obsolete.
1526 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1527 and :filter-return.
1528
1529 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1530
1531 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1532 and do not care about match data.
1533
1534 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1535
1536 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1537 completion tables when completing error conditions and
1538 `declare' arguments.
1539 (lisp-complete-symbol, field-complete): Mark as obsolete.
1540 (check-parens): Unmatched parens are user errors.
1541 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1542
1543 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1544
1545 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1546 command changed buffer (ie. `flyspell-pre-buffer' is not current
1547 buffer), which prevents making decisions based on invalid value of
1548 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1549 cause an error when `flyspell-pre-point' was nil after switching
1550 buffers.
1551 (flyspell-post-command-hook): No longer needs to change buffers when
1552 checking pre-word. While at it remove unnecessary progn.
1553
1554 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1555
1556 * textmodes/ispell.el (ispell-add-per-file-word-list):
1557 Fix `flyspell-correct-word-before-point' error when accepting
1558 words and `coment-padding' is an integer by using
1559 `comment-normalize-vars' (Bug #14214).
1560
1561 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1562
1563 New defun movement commands.
1564 * progmodes/python.el (python-nav--syntactically)
1565 (python-nav--forward-defun, python-nav-backward-defun)
1566 (python-nav-forward-defun): New functions.
1567
1568 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1569
1570 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1571 (python-syntax-context): Use named compiler-macro for backwards
1572 compatibility with Emacs 24.x.
1573
1574 2013-04-17 Leo Liu <sdl.web@gmail.com>
1575
1576 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1577 octave-hide-process-buffer.
1578
1579 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1582 (bug#14216).
1583
1584 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1585
1586 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1587 Fix adjustment of offset when receiving incomplete responses from GDB
1588 (bug#14129).
1589
1590 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1593 python-mode-abbrev-table.
1594 (python-skeleton-define): Adjust accordingly.
1595 (python-mode-abbrev-table): New table that inherits from it so that
1596 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1597
1598 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1599 (abbrev-symbol): Use it.
1600 (abbrev--before-point): Use it since we already handle inheritance.
1601
1602 2013-04-16 Leo Liu <sdl.web@gmail.com>
1603
1604 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1605 binding to info-lookup-symbol.
1606
1607 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1608
1609 * minibuffer.el (completion--twq-all):
1610 * term/ns-win.el (ns-initialize-window-system):
1611 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1612
1613 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1614
1615 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1616 global bindings.
1617
1618 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1619
1620 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1621
1622 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1623 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1624 to nil.
1625 (ruby-end-of-defun): Remove the unused arg, change the docstring
1626 to reflect that this function is only used as the value of
1627 `end-of-defun-function'.
1628 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1629 to reflect an earlier change that beginning/end-of-defun functions
1630 jump between methods in a class definition, as well as top-level
1631 functions.
1632
1633 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1634
1635 * minibuffer.el (minibuffer-complete): Don't just scroll
1636 a *Completions* that's been iconified.
1637 (minibuffer-force-complete): Make sure repetitions do cycle when going
1638 through completion-in-region -> minibuffer-complete.
1639
1640 2013-04-15 Alan Mackenzie <acm@muc.de>
1641
1642 Correct the placement of c-cpp-delimiters when there're #s not at
1643 col 0.
1644
1645 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1646 place a submatch around the #.
1647 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1648 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1649 on the #, not BOL.
1650
1651 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1654 (advice--member-p): New arg `name'.
1655 (advice--add-function, advice-member-p): Use it (bug#14202).
1656
1657 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1658
1659 Reformulate java imenu-generic-expression.
1660 The old expression contained ill formed regexps.
1661
1662 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1663 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1664 (cc-imenu-java-method-arg-regexp): New defconsts.
1665 (cc-imenu-java-build-type-args-regex): New defun.
1666 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1667 handling of spaces in the regexp.
1668
1669 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1670
1671 * textmodes/ispell.el (ispell-command-loop): Remove
1672 flyspell highlight of a word when ispell accepts it (bug #14178).
1673
1674 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1675
1676 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1677 uses code from the previous `ange-ftp-run-real-handler'.
1678 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1679 only in case that function exist. This is needed for proper
1680 unloading of Tramp.
1681
1682 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1683
1684 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1685
1686 * textmodes/reftex.el (reftex-compile-variables): Use it.
1687
1688 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * files.el (normal-mode): Only use default major-mode if no other mode
1691 was specified.
1692
1693 * emacs-lisp/trace.el (trace-values): New function.
1694
1695 * files.el: Allow : in local variables (bug#14089).
1696 (hack-local-variable-regexp): New var.
1697 (hack-local-variables-prop-line, hack-local-variables): Use it.
1698
1699 2013-04-13 Roland Winkler <winkler@gnu.org>
1700
1701 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1702 data before it gets modified by bibtex-beginning-of-entry.
1703
1704 2013-04-13 Roland Winkler <winkler@gnu.org>
1705
1706 * textmodes/bibtex.el (bibtex-url): Doc fix.
1707
1708 2013-04-13 Roland Winkler <winkler@gnu.org>
1709
1710 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1711 does not visit a BibTeX file, exclude it from the list of buffers
1712 returned by bibtex-initialize.
1713
1714 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1715
1716 * window.el (split-window): Remove interactive form, since as a
1717 command this function is a special case of split-window-below.
1718 Correct doc string.
1719
1720 2013-04-12 Roland Winkler <winkler@gnu.org>
1721
1722 * faces.el (read-face-name): Do not override value of arg default.
1723 Allow single faces and strings as default values. Remove those
1724 elements from return value that are not faces.
1725 (describe-face): Simplify.
1726 (face-at-point): New optional args thing and multiple so that this
1727 function can provide the same functionality previously provided by
1728 read-face-name.
1729 (make-face-bold, make-face-unbold, make-face-italic)
1730 (make-face-unitalic, make-face-bold-italic, invert-face)
1731 (modify-face, read-face-and-attribute): Use face-at-point.
1732
1733 * cus-edit.el (customize-face, customize-face-other-window)
1734 * cus-theme.el (custom-theme-add-face)
1735 * face-remap.el (buffer-face-set)
1736 * facemenu.el (facemenu-set-face): Use face-at-point.
1737
1738 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1739
1740 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1741
1742 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1743
1744 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1745 off leading { and trailing } from field values.
1746
1747 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1748
1749 * emacs-lisp/timer.el (timer--check): New function.
1750 (timer--time, timer-set-function, timer-event-handler): Use it.
1751 (timer-set-idle-time): Simplify.
1752 (timer--activate): CSE.
1753 (timer-event-handler): Give more info in error message.
1754 (internal-timer-start-idle): New function, moved from C.
1755
1756 * mpc.el (mpc-proc): Add `restart' argument.
1757 (mpc-proc-cmd): Use it.
1758 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1759 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1760 less often.
1761
1762 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1763
1764 * progmodes/sh-script.el: Implement `sh-mode' own
1765 `add-log-current-defun-function' (bug#14112).
1766 (sh-current-defun-name): New function.
1767 (sh-mode): Use the function.
1768
1769 2013-04-09 Bastien Guerry <bzg@gnu.org>
1770
1771 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1772
1773 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1776
1777 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1778 timer (bug#14156).
1779
1780 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1781
1782 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1783 declaration.
1784
1785 2013-04-07 Leo Liu <sdl.web@gmail.com>
1786
1787 * pcmpl-x.el: New file.
1788
1789 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1790
1791 Do not set x-display-name until X connection is established.
1792 This is needed to prevent from weird situation described at
1793 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1794 * frame.el (make-frame): Set x-display-name after call to
1795 window system initialization function, not before.
1796 * term/x-win.el (x-initialize-window-system): Add optional
1797 display argument and use it.
1798 * term/w32-win.el (w32-initialize-window-system):
1799 * term/ns-win.el (ns-initialize-window-system):
1800 * term/pc-win.el (msdos-initialize-window-system):
1801 Add compatible optional display argument.
1802
1803 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1804
1805 * files.el (normal-backup-enable-predicate): On MS-Windows and
1806 MS-DOS compare truenames of temporary-file-directory and of the
1807 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1808 don't fail comparison by compare-strings. Also, compare file
1809 names case-insensitively on MS-Windows and MS-DOS.
1810
1811 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1812
1813 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1814 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1815
1816 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1817
1818 * whitespace.el (whitespace-color-on, whitespace-color-off):
1819 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1820
1821 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1822
1823 * ispell.el (ispell-set-spellchecker-params):
1824 Really set `ispell-args' for all equivs.
1825
1826 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * ido.el (ido-completions): Use extra elements of ido-decorations
1829 (bug#14143).
1830 (ido-decorations): Update docstring.
1831
1832 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1833
1834 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1835 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1836 nil during initialization, in order not to miss changes since the
1837 file was opened. (Bug#14140)
1838
1839 2013-04-05 Leo Liu <sdl.web@gmail.com>
1840
1841 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1842
1843 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1844
1845 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1846
1847 2013-04-04 Glenn Morris <rgm@gnu.org>
1848
1849 * electric.el (electric-pair-inhibit-predicate): Add :version.
1850
1851 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1854 when a package is required several times (bug#14082).
1855
1856 2013-04-04 Roland Winkler <winkler@gnu.org>
1857
1858 * faces.el (read-face-name): Behave as promised by the docstring.
1859 Assume that arg default is a list of faces.
1860 (describe-face): Call read-face-name with list of default faces.
1861
1862 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1863
1864 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1865 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1866 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1867 the header.
1868 (bookmark-exit-hook-internal): Save even if list is empty.
1869
1870 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1871
1872 * emacs-lisp/package.el (package-pinned-packages): New var.
1873 (package--add-to-archive-contents): Obey it (bug#14118).
1874
1875 2013-04-03 Alan Mackenzie <acm@muc.de>
1876
1877 Handle `parse-partial-sexp' landing inside a comment opener
1878 (Bug#13244). Also adapt to the new values of element 7 of a parse
1879 state.
1880
1881 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1882 parameter `not-in-delimiter'. Handle being inside comment opener.
1883 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1884 character in case we're typing a '*' after a '/'.
1885 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1886 instead by passing the parameter to c-state-pp-to-literal.
1887
1888 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1889 for elt. 7 of a parse state.
1890
1891 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1892
1893 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1894 * international/latin1-disp.el, international/mule-util.el:
1895 * language/cyril-util.el, language/european.el, language/ind-util.el:
1896 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1897 * language/tibetan.el, language/viet-util.el:
1898 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1899
1900 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1901
1902 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1903 (electric-pair-post-self-insert-function): Use it.
1904 (electric-pair-default-inhibit): New function, extracted from
1905 electric-pair-post-self-insert-function.
1906
1907 2013-03-31 Roland Winkler <winkler@gnu.org>
1908
1909 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1910
1911 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1912
1913 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1914
1915 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
1916
1917 Un-indent after "pass" and "return" statements (Bug#13888)
1918 * progmodes/python.el (python-indent-block-enders): New var.
1919 (python-indent-calculate-indentation): Use it.
1920
1921 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1922
1923 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1924 defun. Defining it as defalias could introduce too eager
1925 byte-compiler optimization. (Bug#14030)
1926
1927 2013-03-30 Chong Yidong <cyd@gnu.org>
1928
1929 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1930
1931 2013-03-30 Leo Liu <sdl.web@gmail.com>
1932
1933 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1934 (kmacro-execute-from-register): Pass the keyboard macro to
1935 kmacro-call-macro or repeating won't work correctly.
1936
1937 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1938
1939 * progmodes/subword.el: Back to using `forward-symbol'.
1940
1941 * subr.el (forward-whitespace, forward-symbol)
1942 (forward-same-syntax): Move from thingatpt.el.
1943
1944 2013-03-29 Leo Liu <sdl.web@gmail.com>
1945
1946 * kmacro.el (kmacro-to-register): New command.
1947 (kmacro-execute-from-register): New function.
1948 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1949
1950 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1951
1952 * mpc.el: Use defvar-local and setq-local.
1953 (mpc--proc-connect): Connection failures are not bugs.
1954 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1955 (mpc-volume-map): Bind to the up-events.
1956
1957 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1958
1959 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1960 instead of `forward-symbol'.
1961
1962 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1963
1964 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1965 (edebug--recursive-edit): Use it.
1966 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1967 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1968
1969 2013-03-28 Leo Liu <sdl.web@gmail.com>
1970
1971 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1972
1973 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1974
1975 * facemenu.el (list-colors-callback): New defvar.
1976 (list-colors-redisplay): New function.
1977 (list-colors-display): Install list-colors-redisplay as the
1978 revert-buffer-function. (Bug#14063)
1979
1980 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1981
1982 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1983 and suffixes don't overlap (bug#14061).
1984
1985 * case-table.el: Use lexical-binding.
1986 (case-table-get-table): New function.
1987 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1988
1989 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1990
1991 * progmodes/subword.el: Add `superword-mode' to do word motion
1992 over symbol_words (parallels and leverages `subword-mode' which
1993 does word motion inside MixedCaseWords).
1994
1995 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1996
1997 * eshell/em-unix.el: Move su and sudo to...
1998 * eshell/em-tramp.el: ...Eshell tramp module.
1999
2000 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2001
2002 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2003 Change return value to be a sexp. Delay `get-buffer' to after
2004 restoring the desktop (bug#13951).
2005
2006 2013-03-26 Leo Liu <sdl.web@gmail.com>
2007
2008 * register.el: Move semantic tag handling back to
2009 cedet/semantic/senator.el. (Bug#14052)
2010
2011 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2014 into the prompt either (bug#13963).
2015
2016 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2017
2018 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2019 part of "(error-foo)".
2020
2021 2013-03-24 Juri Linkov <juri@jurta.org>
2022
2023 * replace.el (list-matching-lines-prefix-face): New defcustom.
2024 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2025 `occur-engine' if `face-differs-from-default-p' returns t.
2026 (occur-engine): Add `,' inside backquote construct to evaluate
2027 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2028 Pass `prefix-face' to the functions `occur-context-lines' and
2029 `occur-engine-add-prefix'.
2030 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2031 `prefix-face' and propertize the prefix with `prefix-face'.
2032 (Bug#14017)
2033
2034 2013-03-24 Leo Liu <sdl.web@gmail.com>
2035
2036 * nxml/rng-valid.el (rng-validate-while-idle)
2037 (rng-validate-quick-while-idle): Guard against deleted buffer.
2038 (Bug#13999)
2039
2040 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2041 is the last entry in kill-buffer-hook.
2042
2043 * files.el (kill-buffer-hook): Doc fix.
2044
2045 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2048 Make it safe-local.
2049
2050 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2051
2052 2013-03-23 Leo Liu <sdl.web@gmail.com>
2053
2054 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2055 Remove.
2056
2057 * nxml/rng-valid.el (rng-validate-mode)
2058 (rng-after-change-function, rng-do-some-validation):
2059 * nxml/rng-maint.el (rng-validate-buffer):
2060 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2061 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2062 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2063 (nxml-extend-after-change-region): Use with-silent-modifications.
2064
2065 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2066 timer-idle-list.
2067
2068 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2069 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2070 timer-idle-list. (Bug#13999)
2071
2072 2013-03-23 Juri Linkov <juri@jurta.org>
2073
2074 * info.el (info-index-match): New face.
2075 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2076 main pattern and add text properties with the new face to matches
2077 in index entries relative to the beginning of the index entry.
2078 (Bug#14015)
2079
2080 2013-03-21 Eric Ludlam <zappo@gnu.org>
2081
2082 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2083 Inhibit read only while inserting objects.
2084
2085 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2086
2087 * progmodes/cfengine.el: Update docs to mention
2088 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2089 symbol motion. Remove "_" from the word syntax.
2090
2091 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2092
2093 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2094 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2095
2096 2013-03-20 Juri Linkov <juri@jurta.org>
2097
2098 * info.el (Info-next-reference-or-link)
2099 (Info-prev-reference-or-link): New functions.
2100 (Info-next-reference, Info-prev-reference): Use them.
2101 (Info-try-follow-nearest-node): Handle footnote navigation.
2102 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2103
2104 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2105
2106 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2107 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2108
2109 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2110
2111 Suppress unnecessary non-ASCII chatter during build process.
2112 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2113 (batch-skkdic-convert): Suppress most of the chatter.
2114 It's not needed so much now that machines are faster,
2115 and its non-ASCII component was confusing; see Dmitry Gutov in
2116 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2117
2118 2013-03-20 Leo Liu <sdl.web@gmail.com>
2119
2120 * ido.el (ido-chop): Fix bug#10994.
2121
2122 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2123
2124 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2125 Remove vars.
2126 (whitespace-color-on, whitespace-color-off):
2127 Use `font-lock-fontify-buffer' (Bug#13817).
2128
2129 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2132 remapping in mode-line.
2133 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2134
2135 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2136
2137 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2138 value for `whitespace-line' face (Bug#13875).
2139 (whitespace-font-lock-keywords): Change description.
2140 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2141 the constructed keywords instead.
2142 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2143
2144 2013-03-19 Leo Liu <sdl.web@gmail.com>
2145
2146 * progmodes/compile.el (compilation-display-error): New command.
2147 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2148 C-o. (Bug#13992)
2149
2150 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2151
2152 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2153
2154 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2155
2156 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2157
2158 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2159
2160 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2161
2162 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2163 * net/tramp-gvfs.el (top):
2164 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2165 (tramp-handle-shell-command): Use it.
2166 (tramp-dissect-file-name): Raise an error when hostname is a
2167 method name, and neither method nor user is specified.
2168
2169 * net/trampver.el: Update release number.
2170
2171 2013-03-18 Leo Liu <sdl.web@gmail.com>
2172
2173 Make sure eldoc can be turned off properly.
2174 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2175 eldoc-mode.
2176 (eldoc-display-message-p): Revert last change.
2177 (eldoc-display-message-no-interference-p)
2178 (eldoc-print-current-symbol-info): Tweak.
2179
2180 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2181
2182 * doc-view.el (doc-view-new-window-function): Check the new window
2183 overlay's display property instead the char property of the
2184 buffer's first char. Use `with-selected-window' instead of
2185 `save-window-excursion' with `select-window'.
2186 (doc-view-document->bitmap): Check the current doc-view overlay's
2187 display property instead the char property of the buffer's first char.
2188
2189 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2190
2191 Automate the build of ja-dic.el (Bug#13984).
2192 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2193 from the input, rather than assume that it's been done for us by the
2194 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2195 the current date into a ja-dic.el comment, as that complicates
2196 regression testing.
2197
2198 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2199
2200 * whitespace.el: Fix double evaluation.
2201 (whitespace-space, whitespace-hspace, whitespace-tab)
2202 (whitespace-newline, whitespace-trailing, whitespace-line)
2203 (whitespace-space-before-tab, whitespace-indentation)
2204 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2205 obsolete defvars.
2206 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2207 (whitespace-color-on): Use a single font-lock-add-keywords call.
2208 Fix double-evaluation of face variables.
2209
2210 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2211
2212 * net/tramp-adb.el (tramp-adb-parse-device-names):
2213 Use `start-process' instead of `call-process'. Otherwise, the
2214 function might be blocked under MS Windows. (Bug#13299)
2215
2216 2013-03-17 Leo Liu <sdl.web@gmail.com>
2217
2218 Extend eldoc to display info in the mode-line. (Bug#13978)
2219 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2220 (eldoc-mode-line-string): New variable.
2221 (eldoc-minibuffer-message): New function.
2222 (eldoc-message-function): New variable.
2223 (eldoc-message): Use it.
2224 (eldoc-display-message-p)
2225 (eldoc-display-message-no-interference-p):
2226 Support eldoc-post-insert-mode.
2227
2228 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2229 (eval-expression): Run it.
2230
2231 2013-03-17 Roland Winkler <winkler@gnu.org>
2232
2233 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2234 strings in the list of return values.
2235
2236 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2237
2238 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2239 radix before checking for HMS forms.
2240
2241 2013-03-16 Leo Liu <sdl.web@gmail.com>
2242
2243 * progmodes/scheme.el: Add indentation and font-locking for λ.
2244 (Bug#13975)
2245
2246 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2247
2248 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2249 token before point (bug#13942).
2250
2251 2013-03-16 Leo Liu <sdl.web@gmail.com>
2252
2253 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2254
2255 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2256
2257 * startup.el (command-line-normalize-file-name): Fix handling of
2258 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2259 <xfq.free@gmail.com> in
2260 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2261
2262 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2263
2264 Sync with Tramp 2.2.7.
2265
2266 * net/trampver.el: Update release number.
2267
2268 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2269
2270 * doc-view.el Fix bug#13887.
2271 (doc-view-insert-image): Don't modify overlay associated to
2272 non-live windows, and implement horizontal centering of image in
2273 case it's smaller than the window.
2274 (doc-view-new-window-function): Force redisplay of new windows on
2275 doc-view buffers.
2276
2277 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2278
2279 * saveplace.el (save-place-alist-to-file): Don't sort
2280 `save-place-alist', just pretty-print it (bug#13882).
2281
2282 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2283
2284 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2285 whether `default-file-name-coding-system' is bound. It isn't in
2286 XEmacs.
2287
2288 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2291 backquotes for `obsolete' (bug#13929).
2292
2293 * international/mule.el (find-auto-coding): Include file name in
2294 obsolescence warning (bug#13922).
2295
2296 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2297
2298 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2299 for CFEngine 3-specific indentation.
2300 (cfengine3-indent-line): Use it. Fix up category regex.
2301 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2302
2303 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * type-break.el (type-break-file-name):
2306 * textmodes/remember.el (remember-data-file):
2307 * strokes.el (strokes-file):
2308 * shadowfile.el (shadow-initialize):
2309 * saveplace.el (save-place-file):
2310 * ps-bdf.el (bdf-cache-file):
2311 * progmodes/idlwave.el (idlwave-config-directory):
2312 * net/quickurl.el (quickurl-url-file):
2313 * international/kkc.el (kkc-init-file-name):
2314 * ido.el (ido-save-directory-list-file):
2315 * emulation/viper.el (viper-custom-file-name):
2316 * emulation/vip.el (vip-startup-file):
2317 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2318 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2319
2320 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2321
2322 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2323 * language/thai-word.el: Switch to UTF-8.
2324
2325 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2328
2329 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2330
2331 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2332 Use with-current-buffer and don't move point.
2333 (net-utils-run-simple): Remove useless code.
2334 (net-utils-remove-ctl-m): Remove unused custom.
2335
2336 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2337
2338 * international/characters.el (glyphless-set-char-table-range): New fun.
2339 (update-glyphless-char-display): Use it (bug#13744).
2340
2341 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2342
2343 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2344 namespaces in the syntax, indent closer for hanging brace
2345 correctly, allow single-quote delimited 'strings', and make
2346 `cfengine3-mode' the default.
2347
2348 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2349
2350 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2351 Use lexical-binding. Fix up docstring according to conventions.
2352 (gdbmi-debug-mode): New var.
2353 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2354 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2355 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2356 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2357 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2358 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2359 (gdbmi-bnf-incomplete-record-result): New functions.
2360 (gdb-car<): Remove function.
2361 (gdbmi-record-list): Remove variable.
2362 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2363 (gdbmi-bnf-result-state-configs): New const.
2364 (gud-gdbmi-marker-filter): Rewrite.
2365 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2366 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2367 Add `token' argument.
2368 (gdb-done, gdb-error): New functions.
2369 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2370
2371 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * term/xterm.el (xterm--report-background-handler): Don't burp
2374 upon timeout.
2375 (xterm--version-handler): Extract from terminal-init-xterm.
2376 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2377 Allow multiple handlers.
2378 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2379
2380 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2381 (xterm--report-background-handler, xterm--query): New functions.
2382 (terminal-init-xterm): Use them.
2383
2384 2013-03-11 Michael R. Mauger <michael@mauger.com>
2385
2386 * progmodes/sql.el Version 3.2
2387 Please note that my address changed to <michael@mauger.com>;
2388 the <mmaug@yahoo.com> address remains active.
2389 (sql-connection-alist): Updates documentation to fix bug#13715.
2390 (sql-connect): Handle missing `sql-connection-alist' correctly.
2391 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2392 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2393 property.
2394 (sql-default-value): New function.
2395 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2396 values were not used.
2397 (sql-rename-buffer): Make sure alternate buffer name has no text
2398 properties.
2399 (sql-input-sender, sql-execute-feature): Fetch variable with
2400 `buffer-local-value' rather than `with-current-buffer'.
2401 (sql-*): Use #' function syntax consistently.
2402 (sql-*): Use message/error/user-error consistently.
2403
2404 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * xt-mouse.el (xterm-mouse-event-read): Remove.
2407 (xterm-mouse--read-event-sequence-1000)
2408 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2409
2410 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2411
2412 * term/xterm.el (xterm-function-map): Support format used with
2413 formatOtherKeys=1 (bug#13839).
2414
2415 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2416 (with-no-warnings): Use `declare'.
2417
2418 * whitespace.el (whitespace-enable-predicate): New variable.
2419 (whitespace-enable-predicate): Use it.
2420
2421 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2422 (comint-output-filter, comint-update-fence):
2423 Use with-silent-modifications.
2424
2425 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2426
2427 * replace.el (occur-read-regexp-defaults-function): New var.
2428 (occur-read-regexp-defaults): New defun.
2429 (occur-read-primary-args): Propagate above change (bug#13892).
2430
2431 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2434
2435 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2436
2437 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2438
2439 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2440 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2441 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2442 New defconst.
2443 (tramp-gvfs-file-name-handler-alist) [directory-files]
2444 [directory-files-and-attributes, file-exists-p, file-modes]:
2445 Use Tramp default handler.
2446 [file-acl, file-selinux-context, process-file, set-file-acl]:
2447 [set-file-modes, set-file-selinux-context, shell-command]:
2448 [start-file-process]: Remove handler.
2449 [verify-visited-file-modtime]: New handler.
2450 (tramp-gvfs-dbus-string-to-byte-array)
2451 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2452 calls of `dbus-string-to-byte-array' and
2453 `tramp-gvfs-dbus-byte-array-to-string'.
2454 (tramp-gvfs-handle-copy-file)
2455 (tramp-gvfs-handle-delete-directory)
2456 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2457 (tramp-gvfs-handle-file-directory-p)
2458 (tramp-gvfs-handle-file-executable-p)
2459 (tramp-gvfs-handle-file-name-all-completions)
2460 (tramp-gvfs-handle-file-readable-p)
2461 (tramp-gvfs-handle-file-writable-p)
2462 (tramp-gvfs-handle-insert-directory)
2463 (tramp-gvfs-handle-insert-file-contents)
2464 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2465 (tramp-gvfs-handle-set-visited-file-modtime)
2466 (tramp-gvfs-handle-write-region): Rewrite.
2467 (tramp-gvfs-handle-file-acl)
2468 (tramp-gvfs-handle-file-selinux-context)
2469 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2470 (tramp-gvfs-handle-set-file-modes)
2471 (tramp-gvfs-handle-set-file-selinux-context)
2472 (tramp-gvfs-handle-shell-command)
2473 (tramp-gvfs-handle-start-file-process)
2474 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2475 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2476 over the symlinks. Fix user handling.
2477 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2478 of the D-Bus signals.
2479 (tramp-gvfs-connection-mounted-p): Handle different names of the
2480 D-Bus methods.
2481 (tramp-gvfs-mount-spec-entry): New defun.
2482 (tramp-gvfs-mount-spec): Use it.
2483 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2484 there is a share name. Handle different names of the D-Bus
2485 signals and methods. Set connection properties needed for
2486 `tramp-check-cached-permissions'.
2487 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2488 Return t or nil.
2489
2490 * net/tramp.el (tramp-backtrace): Move up.
2491 (tramp-error): Dump a backtrace into the debug buffer when
2492 `tramp-verbose > 9.
2493 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2494 (tramp-file-mode-permissions, tramp-get-local-uid)
2495 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2496 tramp-sh.el.
2497
2498 * net/tramp-sh.el (tramp-file-mode-type-map)
2499 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2500 (tramp-file-mode-permissions, tramp-get-local-uid)
2501 (tramp-get-local-gid): Move to tramp.el.
2502
2503 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2504
2505 Separate mouse-1-click-follows-link from mouse-drag-region.
2506 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2507 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2508 (mouse-drag-line, mouse-drag-track):
2509 Remove mouse-1-click-follows-link code.
2510 (mouse--remap-link-click-p): Remove.
2511
2512 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2513
2514 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2515 (hi-lock-read-regexp-defaults): New defun.
2516 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2517 (hi-lock-face-phrase-buffer): Propagate above change.
2518 Update docstring (bug#13892).
2519
2520 * subr.el (find-tag-default-as-regexp): New defun.
2521 * replace.el (read-regexp): Propagate above change.
2522
2523 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2524
2525 * calc/calc-units.el (calc-convert-units): Fix the way that default
2526 new units are stored.
2527
2528 2013-03-07 Matthias Meulien <orontee@gmail.com>
2529
2530 * bookmark.el: Define a face to highlight bookmark names in
2531 bookmark menu buffers, where the default is a bold face similarly
2532 to buffer names in buffer menu buffers.
2533 (bookmark-menu-bookmark): New face to highlight bookmark names.
2534 (bookmark-insert-location): Remove duplicated text property to
2535 conform to buffer list (see `list-buffers').
2536 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2537 `bookmark-menu-bookmark' to bookmark names.
2538
2539 2013-03-07 Matthias Meulien <orontee@gmail.com>
2540 Karl Fogel <kfogel@red-bean.com>
2541
2542 * bookmark.el: Display the bookmark list header similarly to the
2543 buffer list header (see `list-buffers'), where the default is now
2544 an immovable/immutable header line.
2545 (bookmark-bmenu-use-header-line): New variable.
2546 (bookmark-bmenu-inline-header-height): New name for
2547 `bookmark-bmenu-header-height', to avoid confusion with the code
2548 for the new immovable header. All references changed.
2549 (bookmark-bmenu-set-header): New function.
2550 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2551 Conditionalize header construction accordingly.
2552 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2553 the inline header height.
2554 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2555 Conditionalize the skipping of the inline header height.
2556
2557 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2558
2559 * progmodes/js.el (js--multi-line-declaration-indentation):
2560 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2561
2562 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2563
2564 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2565 Only propertize regexp when not inside a string (Bug#13885).
2566
2567 2013-03-06 Alan Mackenzie <acm@muc.de>
2568
2569 Correct the position of point in some line-up functions.
2570 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2571 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2572 point at column 0 rather than at a random place in the line.
2573
2574 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2575
2576 * net/tramp-compat.el (tramp-compat-delete-directory):
2577 Implement TRASH argument.
2578
2579 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2580
2581 Keep pre-existing highlighting in completion candidates (Bug#13250).
2582 * minibuffer.el (completions-first-difference): State that the
2583 face is "added" in the docstring.
2584 (completions-common-part): Same. And don't inherit from default.
2585 (completion-hilit-commonality): Prepend 'completions-common-part
2586 and 'completion-first-difference faces to the 'face property,
2587 instead of replacing the value(s).
2588 (completion--insert-strings): Same with 'completions-annotations face.
2589 (completion-hilit-commonality): Use 'face instead of
2590 'font-lock-face, because it gets priority if the completion
2591 strings already have 'face set.
2592
2593 2013-03-04 Alan Mackenzie <acm@muc.de>
2594
2595 Replace `last-command-event' by `last-command-char' in XEmacs.
2596 * progmodes/cc-defs.el (c-last-command-char): New macro.
2597 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2598 (c-semi&comma-no-newlines-before-nonblanks)
2599 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2600 in place of `last-command-event'.
2601 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2602 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2603 (c-electric-paren, c-electric-continued-statement): Use the new
2604 macro in place of `last-command-event'.
2605
2606 2013-03-04 Glenn Morris <rgm@gnu.org>
2607
2608 * files.el (inhibit-local-variables-regexps):
2609 Add .diff and .patch. (Bug#13862)
2610
2611 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2612
2613 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2614 whether the "su" command is available on the device.
2615
2616 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2617
2618 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2619 (tramp-adb-handle-process-file): Remove superfluous setting.
2620 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2621 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2622 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2623
2624 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2627 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2628 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2629 Use dict-key rather than dict-name for the error message.
2630
2631 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2632
2633 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2634 when reverting (bug#13831).
2635
2636 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2637
2638 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2639 Always expand affix-file before storing to protect against changed
2640 `default-directory'.
2641 (ispell-print-if-debug): Make sure message is printed at the end
2642 of the debug buffer.
2643
2644 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2645
2646 * net/tramp.el (tramp-obsolete-methods): New defconst.
2647 (tramp-warned-obsolete-methods): New defvar.
2648 (tramp-find-method): Check for obsolete methods. Map them to a
2649 replacement method if appropriate.
2650
2651 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2652 Remove methods.
2653 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2654 "ssh2" and "plink1".
2655
2656 2013-02-28 Dale Sedivec <dale@codefu.org>
2657
2658 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2659 Return valid syntax-table property value when converting
2660 quotes within text from string syntax to punctuation syntax (bug#13844).
2661
2662 2013-02-28 Juri Linkov <juri@jurta.org>
2663
2664 * dired-aux.el (dired-diff): If file at point is a backup file,
2665 use its original as the default value, and reverse the order
2666 of arguments to the `diff' call. Doc fix. (Bug#13772)
2667
2668 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2669
2670 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2671 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2672
2673 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2674
2675 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2676
2677 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2678 Ask hunspell about available and default dictionaries.
2679 (ispell-parse-hunspell-affix-file): Extract relevant info from
2680 hunspell affix file.
2681 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2682 `ispell-dictionary-alist' entry for given dictionary after info
2683 provided by `ispell-parse-hunspell-affix-file'.
2684 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2685 of parsed hunspell dicts and associated affix files.
2686 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2687 of parsed hunspell dicts and associated parameters.
2688 (ispell-set-spellchecker-params):
2689 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2690 previously done.
2691 (ispell-start-process):
2692 Call `ispell-hunspell-fill-dictionary-entry' for current
2693 dictionary if it is not initialized.
2694
2695 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2696
2697 * imenu.el: Comment nitpicks.
2698
2699 2013-02-28 Sam Steingold <sds@gnu.org>
2700
2701 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2702 See <http://stackoverflow.com/questions/14720205>.
2703
2704 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2705
2706 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2707 (net-utils-mode): Use it.
2708 (net-utils--revert-cmd): New var.
2709 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2710 (traceroute): Use net-utils-run-simple.
2711
2712 2013-02-28 Glenn Morris <rgm@gnu.org>
2713
2714 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2715
2716 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2717
2718 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2719 (doc-view-fallback-mode): Remove overlays here.
2720 (doc-view-toggle-display): Instead of here. Don't throw away
2721 image-mode-winprops-alist.
2722 (doc-view-goto-page): Don't mess with hscroll.
2723
2724 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2725
2726 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2727 &optional (bug#13819).
2728
2729 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2730
2731 * net/tramp-adb.el (tramp-adb-parse-device-names)
2732 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2733
2734 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2735
2736 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2737 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2738 defined. POSIX environments fall back to the "C" locale then and
2739 emit a warning, which shall be suppressed.
2740
2741 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2744 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2745
2746 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2747
2748 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2749
2750 2013-02-25 Juri Linkov <juri@jurta.org>
2751
2752 * replace.el (read-regexp): Let-bind `default' to the first
2753 element of `defaults' if it's a list, otherwise it should be
2754 a string or nil. Let-bind `suggestions' to `defaults' if it's
2755 a list, otherwise make a list with the string value. Doc fix.
2756 (Bug#13805)
2757
2758 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2759
2760 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2761 that match "\`\.#", to avoid compiling lock files, even if they
2762 are readable (as they are on MS-Windows).
2763
2764 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2765
2766 * files.el (basic-save-buffer): Remove redundant directory-creation.
2767
2768 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2769
2770 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2771 Add option to force `pi' to remain symbolic.
2772 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2773 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2774 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2775 derivatives, when necessary.
2776
2777 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2778
2779 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2780 (ps-mode-octal-region): Use string-make-unibyte.
2781
2782 2013-02-23 Glenn Morris <rgm@gnu.org>
2783
2784 * emulation/viper-cmd.el (viper-submit-report):
2785 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2786 * progmodes/vera-mode.el (vera-mode-help-address):
2787 * textmodes/artist.el (artist-maintainer-address):
2788 * textmodes/reftex.el (reftex-report-bug):
2789 * vc/ediff-util.el (ediff-submit-report):
2790 Add bug-gnu-emacs to bug report address.
2791
2792 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2793 Remove bug report entries.
2794 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2795
2796 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2797 (byte-compile-file, byte-compile-from-buffer):
2798 Use separate input/output buffers for each level of recursive
2799 byte-compile-file calls. (Bug#13787)
2800
2801 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2802
2803 * net/tramp.el (tramp-methods): Fix docstring.
2804 (tramp-ssh-controlmaster-options): Rename it from
2805 `tramp-ssh-controlmaster-template'. Return a string.
2806 (tramp-default-method): Adapt check for
2807 `tramp-ssh-controlmaster-options'.
2808
2809 * net/tramp-sh.el (tramp-methods):
2810 Replace `tramp-ssh-controlmaster-template' by "%c".
2811 (tramp-do-copy-or-rename-file-out-of-band)
2812 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2813 that it is applied for the first hop only.
2814
2815 2013-02-22 Juri Linkov <juri@jurta.org>
2816
2817 * isearch.el (isearch-lazy-highlight-new-loop):
2818 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2819 to `isearch-other-end' if it is not nil. (Bug#13402)
2820
2821 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2822 to `match-beg'.
2823
2824 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2825 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2826 and `isearch-error' to nil.
2827
2828 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2829
2830 * progmodes/python.el (python-info-current-defun):
2831 Enhance match-data cluttering prevention.
2832
2833 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2834
2835 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2836
2837 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2838 Handle multibyte file names.
2839
2840 2013-02-22 Glenn Morris <rgm@gnu.org>
2841
2842 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2843 (sgml-transformation-function): Give it a :set function.
2844 (sgml-tag): Doc fix.
2845
2846 * cmuscheme.el (scheme-buffer):
2847 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2848 * progmodes/tcl.el (inferior-tcl-buffer):
2849 * textmodes/tex-mode.el (tex-command): Doc fixes.
2850
2851 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2852
2853 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2854
2855 2013-02-21 Bastien Guerry <bzg@gnu.org>
2856
2857 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2858
2859 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2860
2861 * progmodes/python.el (python-info-current-defun):
2862 Enhance match-data cluttering prevention.
2863
2864 2013-02-21 Glenn Morris <rgm@gnu.org>
2865
2866 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2867 loaded while outline-regexp is let bound. (Bug#9584)
2868
2869 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2870
2871 * progmodes/python.el (python-info-current-defun): Fix failed
2872 defun name retrieval because of unwanted match-data cluttering.
2873
2874 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2875
2876 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2877 defconst. Apply independent check for ControlPersist.
2878
2879 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2880 temporarily, via "env".
2881
2882 2013-02-21 Glenn Morris <rgm@gnu.org>
2883
2884 * info.el (Info-enable-edit): Remove.
2885 (Info-edit): Disable it rather than using Info-enable.
2886 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2887 (Info-cease-edit): Make editing of Info files obsolete.
2888
2889 * informat.el (Info-tagify):
2890 Handle buffers not visiting files. (Bug#13763)
2891
2892 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2893
2894 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2895
2896 2013-02-21 Glenn Morris <rgm@gnu.org>
2897
2898 * files.el (basic-save-buffer): Move check for existing parent
2899 directory after hooks. (Bug#13773)
2900
2901 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2902
2903 * simple.el (command-execute): Move from C. Add obsolete check.
2904 (extended-command-history): Move from C.
2905
2906 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2907
2908 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2909 (jka-compr-mode-alist-additions): Handle .txz suffix for
2910 XZ-compressed tar archives (bug#13770).
2911
2912 2013-02-20 Bastien Guerry <bzg@gnu.org>
2913
2914 * outline.el (outline-regexp, outline-heading-end-regexp):
2915 Make variables, not options (bug#13731).
2916
2917 2013-02-20 Glenn Morris <rgm@gnu.org>
2918
2919 * image.el (image-current-frame): Change from variable to function.
2920 (image-show-frame): Rename from image-nth-frame. Update callers.
2921 * image-mode.el (image-multi-frame): New variable.
2922 (image-mode-map, image-mode, image-goto-frame):
2923 Use image-multi-frame rather than image-current-frame.
2924 (image-mode, image-goto-frame): Use image-current-frame as
2925 function rather than as variable.
2926
2927 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2928 * emacs-lisp/cl-macs.el (cl--make-type-test)
2929 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2930
2931 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2932
2933 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2934 (tramp-get-file-property, tramp-set-file-property)
2935 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2936 (tramp-flush-file-property, tramp-flush-directory-property):
2937 Rename argument to KEY.
2938 (tramp-flush-connection-property): Simplify a little bit.
2939 (tramp-connection-property-p): New defun.
2940 (top): Reapply saved values only if there isn't a corresponding
2941 entry in `tramp-connection-properties'.
2942
2943 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2944
2945 * progmodes/python.el (python-indent-context):
2946 Fix python-info-line-ends-backslash-p call.
2947 (python-info-line-ends-backslash-p)
2948 (python-info-beginning-of-backslash): Respect line-number argument.
2949 (python-info-current-line-comment-p):
2950 Fix behavior when not at beginning-of-line.
2951 (python-util-position): Remove function.
2952 (python-util-goto-line): New function.
2953
2954 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2955
2956 * eshell/em-unix.el (eshell/su): Require tramp.
2957 (eshell/sudo): Require tramp. Remove now unnecessary check.
2958
2959 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2960 `tramp-current-connection' in order to avoid an error when several
2961 commands are invoked in a short time in eshell and friends.
2962
2963 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 Cleanup some of EIEIO's namespace.
2966 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2967 Use it to define all the class-* and object-* field accessors (renamed
2968 to eieio--class-* and eieio--object-*). Update all uses.
2969 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2970 class-num-slots and object-num-slots.
2971 (eieio--check-type): New macro.
2972 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2973 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2974 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2975 (object-assoc-list-safe): Use it.
2976 (eieio-defclass): Tighten regexp.
2977 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2978 Remove unreachable code.
2979 (object-class-fast): Declare obsolete.
2980 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2981 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2982 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2983 Rename from class-name, object-name, object-set-name-string,
2984 object-class, object-class-name, class-parents, class-children,
2985 class-precedence-list, class-parent; with obsolete alias.
2986 (class-of, class-direct-superclasses, class-direct-subclasses):
2987 Declare obsolete.
2988 (eieio-defmethod): Use `memq'; remove unreachable code.
2989 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2990 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2991 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2992
2993 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2994
2995 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2996 commentary.
2997
2998 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2999
3000 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3001 Use font-lock-keyword-face for macros and special forms (bug#8345).
3002
3003 2013-02-17 Didier Verna <didier@didierverna.net>
3004
3005 * net/network-stream.el (network-stream-open-starttls):
3006 Check that response to the starttls-command is non-nil. (Bug#13706)
3007
3008 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3009
3010 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3011 Don't assume all identifier chars have syntax word.
3012 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3013 Remove bar-not-symbol. Adjust callers.
3014 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3015
3016 2013-02-17 Leo Liu <sdl.web@gmail.com>
3017
3018 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3019
3020 2013-02-17 Glenn Morris <rgm@gnu.org>
3021
3022 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3023
3024 * image-mode.el (image-mode-map): Add image-dired menu entry.
3025
3026 * image-dired.el (tumme): Make this alias obsolete.
3027
3028 2013-02-16 Glenn Morris <rgm@gnu.org>
3029
3030 * image.el (image-animated-types): Remove.
3031 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3032 (image-animated-p): Make obsolete alias.
3033 (image-animate, image-nth-frame, image-animate-timeout):
3034 Use image-multi-frame-p.
3035 (image-animate-timeout): If no delay, use image-default-frame-delay.
3036 * image-mode.el (image-mode, image-toggle-animation):
3037 Use image-multi-frame-p. (Bug#763, bug#10739)
3038 (image-mode): Adjust startup message for a multi-frame image.
3039
3040 * image-mode.el (image-mode-map): Give it a menu.
3041
3042 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3043
3044 * net/tramp-cache.el (tramp-connection-properties): New customer
3045 option.
3046 (tramp-get-connection-property): Use it.
3047
3048 * net/tramp-compat.el (top): Require 'trampver.
3049
3050 * net/tramp-sh.el (tramp-remote-process-environment):
3051 Set tramp-autoload cookie.
3052
3053 2013-02-16 Kevin Ryde <user42@zip.com.au>
3054
3055 * info-look.el (info-lookup-select-mode): If major-mode has no
3056 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3057
3058 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3059
3060 * replace.el (read-regexp): Tighten the regexp that matches tag.
3061 When tag is retrieved with `find-tag-default', use regexp that
3062 matches tag at point. Also update docstring (Bug#13687).
3063
3064 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3065
3066 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3067 add watch for the file, not its parent directory, since w32notify
3068 sets up the watch for the directory internally. (Bug#13725)
3069
3070 2013-02-16 Glenn Morris <rgm@gnu.org>
3071
3072 * image.el (image-default-frame-delay): New variable.
3073 (image-animated-p): Use image-default-frame-delay.
3074 (image-minimum-frame-delay): New constant.
3075 (image-animate-timeout): Use image-minimum-frame-delay.
3076
3077 * image.el (image-nth-frame): New, split from image-animate-timeout.
3078 (image-animate-timeout): Use image-nth-frame.
3079 * image-mode.el (image-goto-frame, image-next-frame)
3080 (image-previous-frame): New commands.
3081 (image-mode-map): Add new frame commands.
3082
3083 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3084
3085 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3086 If col-desc already has help-echo, use it. (Bug#13563)
3087
3088 2013-02-16 Glenn Morris <rgm@gnu.org>
3089
3090 * image.el (image-current-frame): New variable.
3091 (image-animate-timeout): Set image-current-frame.
3092 * image-mode.el (image-mode): For animated images,
3093 display a frame counter via mode-line-process.
3094
3095 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3096
3097 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3098
3099 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3100
3101 2013-02-15 Alan Mackenzie <acm@muc.de>
3102
3103 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3104 global minor mode has been enabled, call the minor mode function
3105 for a new buffer once only, after the major mode hook, whilst
3106 allowing that hook explicitly to disable the minor mode.
3107 (MODE-disable-in-buffer): New (generated) function.
3108 (disable-MODE): New (generated) buffer local variable.
3109
3110 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3111
3112 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3113 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3114 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3115 `ido-next-match' and `ido-prev-match' resply.
3116 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3117 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3118 `icomplete-backward-completions' (Bug#13708).
3119
3120 2013-02-15 Glenn Morris <rgm@gnu.org>
3121
3122 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3123
3124 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3127 (goto-address-fontify-region): Use them instead of narrowing, so
3128 syntax-ppss has access to the whole buffer.
3129
3130 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3131
3132 * progmodes/python.el: Explain how to restore "cc-mode"-like
3133 forward-sexp movement in header documentation (Bug#13642).
3134 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3135 comments and strings (GH bug 114).
3136
3137 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3138
3139 * progmodes/python.el (python-info-current-defun): Fix current
3140 defun detection (Bug#13618).
3141
3142 2013-02-15 Chong Yidong <cyd@gnu.org>
3143
3144 * xml.el (xml-parse-string): Fix typo in handling of bad character
3145 references.
3146
3147 2013-02-15 Glenn Morris <rgm@gnu.org>
3148
3149 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3150
3151 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3152
3153 * net/tramp.el (tramp-debug-message):
3154 Add `tramp-condition-case-unless-debug'.
3155 (tramp-debug-on-error): New defvar.
3156 (tramp-condition-case-unless-debug): New defun.
3157 (tramp-file-name-handler): Use it.
3158
3159 2013-02-14 Juri Linkov <juri@jurta.org>
3160
3161 * info.el (Info-isearch-filter): Treat non-nil values of
3162 `search-invisible' including its default value `open'
3163 like the value `t' to match hidden text. (Bug#13402)
3164
3165 2013-02-14 Glenn Morris <rgm@gnu.org>
3166
3167 * help-fns.el (find-lisp-object-file-name): Give special treatment
3168 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3169
3170 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3171
3172 * net/quickurl.el (quickurl-save-urls):
3173 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3174
3175 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3176
3177 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3178 depth for unfinished percent literal. Not using it in the caller.
3179 (ruby-move-to-block): Jump over multiline literals of all types,
3180 ignoring code-looking contents inside them.
3181 (ruby-add-log-current-method): Improve performance at the expense
3182 of accuracy. `ruby-block-contains-point' is relatively slow, so
3183 only use it for method and singleton class blocks.
3184
3185 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3186
3187 Use ControlMaster where applicable. (Bug#13677)
3188
3189 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3190 replacing `tramp-detect-ssh-controlmaster'.
3191 (tramp-default-method): Use it.
3192
3193 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3194 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3195 arguments.
3196 [scpc, rsyncc]: Remove methods.
3197 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3198 and "ssh2_old".
3199 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3200 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3201
3202 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3203
3204 * emacs-lisp/package.el (package--initialized): Move before first use.
3205
3206 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3207
3208 * icomplete.el (icomplete-hide-common-prefix): New user option.
3209 (icomplete-first-match): New face.
3210 (icomplete-completions): Correct handling of "complete but not
3211 unique" (Bug#12638).
3212
3213 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3214
3215 * descr-text.el (describe-char): Display the script (bug#13698).
3216
3217 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * tmm.el: Use lexical-binding and current-active-maps.
3220 (tmm-menubar): Use map-keymap and pcase.
3221 (tmm--completion-table): New function.
3222 (tmm-prompt): Use it to fix the menu order.
3223 (tmm-get-keybind): Use current-active-maps.
3224
3225 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3226
3227 Add dired-hide-details-mode. (Bug#6799)
3228
3229 * locate.el (locate-mode): Set parent mode property to dired-mode.
3230
3231 * find-dired.el (find-dired): Call dired-insert-set-properties on
3232 initial information line. Set process mark on end of buffer.
3233 (find-dired-sentinel):
3234 Call dired-insert-set-properties on summary.
3235
3236 * dired.el (dired-hide-details-hide-symlink-targets)
3237 (dired-hide-details-hide-information-lines): New options.
3238 (dired-insert-directory):
3239 Set properties after final treatment of output.
3240 (dired-insert-set-properties):
3241 Set dired-hide-details-* properties.
3242 (dired-mode-map): Bind dired-hide-details-mode.
3243 (dired-mode): Set buffer-invisibility-spec to a list.
3244 (dired-next-line): Skip hidden lines.
3245 (dired-previous-line): Use dired-next-line.
3246 (dired-hide-details-mode): New minor mode.
3247 (dired-hide-details-update-invisibility-spec): New function.
3248
3249 2013-02-13 Glenn Morris <rgm@gnu.org>
3250
3251 * play/yow.el: Move to obsolete/. (Bug#9384)
3252
3253 2013-02-13 Juri Linkov <juri@jurta.org>
3254
3255 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3256 to select `ediff-control-frame' and set input focus correctly on Xfce.
3257 (Bug#12218)
3258
3259 2013-02-13 Juri Linkov <juri@jurta.org>
3260
3261 * image-mode.el (image-mode-map):
3262 * doc-view.el (doc-view-mode-map):
3263 * vc/ediff-util.el (ediff-setup-keymap):
3264 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3265
3266 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3267
3268 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3269 performance. Instead of recalculating indentation fully for each
3270 line, sum up indentation depth based only on visited lines.
3271 (ruby-parse-partial): Increase the depth after "do" even when END
3272 is right after it.
3273 (ruby-parse-partial): When END is in the middle of a percent
3274 literal, increase the depth if the delimiter chars belong to the
3275 paren syntax class.
3276
3277 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3278
3279 * play/fortune.el (fortune-compile): Also make the compiled file
3280 if it does not exist at all, not just if it is old. (Bug#5338)
3281
3282 2013-02-13 Glenn Morris <rgm@gnu.org>
3283
3284 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3285
3286 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3287
3288 * lisp/emacs-lisp/package.el (package-menu-execute):
3289 Add optional noquery argument. (Bug#13625)
3290
3291 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3292
3293 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3294 if DIR exists and PARENTS is non-nil.
3295
3296 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3297
3298 * progmodes/js.el (js--multi-line-declaration-indentation):
3299 Silence byte-compiler warning.
3300
3301 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3302
3303 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3304
3305 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3306 only if it doesn't exist.
3307
3308 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3309 Set process marker.
3310
3311 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3312
3313 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3314 UserInstallation when calling soffice to work around LibreOffice
3315 bug 37531.
3316
3317 2013-02-12 Glenn Morris <rgm@gnu.org>
3318
3319 * files.el (basic-save-buffer):
3320 Offer to create a non-existing directory. (Bug#3016)
3321
3322 * calc/calc-graph.el (calc-graph-show-dumb):
3323 * calendar/calendar.el (calendar-mode-map):
3324 * cus-edit.el (custom-mode-map):
3325 * ehelp.el (electric-help-map):
3326 * emulation/vip.el (vip-mode-map):
3327 * epa.el (epa-key-list-mode-map):
3328 * info.el (Info-mode-map):
3329 * mail/rmail.el (rmail-mode-map):
3330 * mail/rmailsum.el (rmail-summary-mode-map):
3331 * man.el (Man-mode-map):
3332 * net/newst-plainview.el (newsticker-mode-map):
3333 * progmodes/cpp.el (cpp-edit-mode-map):
3334 * progmodes/grep.el (grep-mode-map):
3335 * progmodes/idlw-help.el (idlwave-help-mode-map):
3336 * simple.el (special-mode-map):
3337 * startup.el (splash-screen-keymap):
3338 * view.el (view-mode-map):
3339 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3340
3341 2013-02-11 Elias Pipping <pipping@lavabit.com>
3342
3343 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3344 (bug#13679).
3345
3346 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3347
3348 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3349
3350 2013-02-11 Glenn Morris <rgm@gnu.org>
3351
3352 * vc/diff.el (diff-use-labels): New variable.
3353 (diff-no-select): Use --label rather than -L, and first
3354 check that it is supported. (Bug#11067)
3355
3356 * files.el (enable-dir-local-variables): New variable.
3357 (hack-dir-local-variables): Respect enable-dir-local-variables.
3358 * tutorial.el (help-with-tutorial):
3359 Ignore directory-local variables. (Bug#11127)
3360
3361 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3362 (vc-svn-global-switches): ... to here. (Bug#13513)
3363
3364 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3365
3366 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3367 Handle "foo (bar, default: xxx): " prompts.
3368
3369 2013-02-10 Chong Yidong <cyd@gnu.org>
3370
3371 * files.el (basic-save-buffer-1): Do not set
3372 buffer-file-coding-system-explicit (Bug#4533).
3373
3374 * mail/emacsbug.el (report-emacs-bug): Change binding of
3375 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3376
3377 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3378
3379 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3380 * calc/calc-units.el (calc-convert-units): Use new variable.
3381
3382 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3383
3384 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3385
3386 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3387 buffer-file-type.
3388
3389 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3390 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3391 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3392 coding-system-for-write instead.
3393
3394 * jka-compr.el (jka-compr-write-region): Don't bind
3395 buffer-file-type.
3396
3397 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3398 buffer-file-type.
3399
3400 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3401 (insert-file-contents-literally): Remove reference to
3402 file-name-buffer-file-type-alist.
3403
3404 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3405 make-obsolete.
3406 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3407 (find-buffer-file-type-coding-system): Remove references to
3408 find-buffer-file-type-match, find-buffer-file-type, and
3409 buffer-file-type.
3410 Don't put find-buffer-file-type-coding-system into
3411 file-coding-system-alist.
3412 (find-file-binary, find-file-text): Bind coding-system-for-read
3413 instead of file-name-buffer-file-type-alist.
3414
3415 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3416
3417 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3418 converter (Bug#13622).
3419 (doc-view-unoconv-program): Make obsolete alias.
3420 (doc-view-odf->pdf-converter-program): New variable.
3421 (doc-view-odf->pdf-converter-function): New variable.
3422 (doc-view-mode-p): Use it.
3423 (doc-view-odf->pdf-converter-unoconv):
3424 Rename from `doc-view-odf->pdf-converter-unoconv'.
3425 (doc-view-odf->pdf-converter-soffice): New function.
3426 (doc-view-convert-current-doc):
3427 Use `doc-view-odf->pdf-converter-function'.
3428
3429 2013-02-09 Chong Yidong <cyd@gnu.org>
3430
3431 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3432 view-echo-area-messages (Bug#13340).
3433
3434 * help.el (view-echo-area-messages): Use display-buffer.
3435
3436 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3437 (Bug#13561).
3438
3439 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3442 Eval body right away, now that we do eager macroexpansion (bug#13605).
3443
3444 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3445 (fundamental-mode): Use run-mode-hooks.
3446
3447 * eshell/esh-proc.el (eshell/kill): Fix last change.
3448 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3449
3450 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3451
3452 * eshell/esh-proc.el (eshell/kill): Rewrite.
3453
3454 * eshell/em-ls.el (show-almost-all): Declare.
3455 (eshell-do-ls): Add support for -A argument.
3456
3457 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3458
3459 * icomplete.el (icomplete-forward-completions)
3460 (icomplete-backward-completions): Handle corner case (bug#13602).
3461
3462 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3463
3464 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3465 be nil. Handle this. (Bug#13636)
3466
3467 2013-02-07 Richard Stallman <rms@gnu.org>
3468
3469 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3470 `save-buffer-coding-system'.
3471
3472 2013-02-07 Alan Mackenzie <acm@muc.de>
3473
3474 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3475 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3476 (c-parse-state-get-strategy): Don't return 'BOD any more.
3477 (c-append-lower-brace-pair-to-state-cache):
3478 Extra parameter HERE instead of narrowing.
3479 Widen to top of buffer before searching backwards for a brace pair.
3480 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3481 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3482 Narrow to parameter HERE, in place of being called narrowed.
3483 (c-remove-stale-state-cache): Extra parameter HERE in place of
3484 narrowing. Check there's an open brace in the cache before
3485 searching for its match.
3486 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3487 (c-parse-state-1): Don't narrow here for 'forward strategy,
3488 instead passing extra parameter HERE to several functions.
3489 Remove 'BOD strategy.
3490
3491 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3492
3493 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3494 used to install the package.
3495
3496 2013-02-06 Glenn Morris <rgm@gnu.org>
3497
3498 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3499 if we can't get user input. (Bug#6567)
3500
3501 * startup.el (command-line): If simple.el is missing,
3502 test and warn about for some possible causes.
3503
3504 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3505
3506 * cus-start.el (all): Add ns-use-native-fullscreen.
3507
3508 2013-02-05 Glenn Morris <rgm@gnu.org>
3509
3510 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3511
3512 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3513 Fix directory creation in fallback case.
3514
3515 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3516
3517 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3518 (vc-update-change-log): Use dolist.
3519
3520 2013-02-04 Chong Yidong <cyd@gnu.org>
3521
3522 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3523 code from ffap.el.
3524 (thing-at-point-beginning-of-url-regexp): New var.
3525 (thing-at-point-uri-schemes): Update list of URI schemes.
3526 (thing-at-point-url-regexp): Variable deleted.
3527 (thing-at-point-markedup-url-regexp): Disallow newlines.
3528 (thing-at-point-newsgroup-regexp)
3529 (thing-at-point-newsgroup-heads)
3530 (thing-at-point-default-mail-uri-scheme): New variables.
3531 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3532 method to find the possible bounds of the URI at point.
3533 New optional argument to find ill-formed URIs.
3534 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3535 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3536 the scheme-adding heuristics from ffap-url-at-point.
3537 (thing-at-point--bounds-of-well-formed-url): New function.
3538 Do parens matching to decide whether to include parens in the URI
3539 (Bug#9153).
3540
3541 * ffap.el: Require thingatpt.
3542 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3543 All URI-valid characters are now recognized (Bug#5673).
3544 (ffap-string-at-point): Use use-region-p.
3545 (ffap-url-regexp): Extra character is handled by thing-at-point.
3546 (ffap-string-at-point-mode-alist): Allow parentheses.
3547 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3548 Convert to aliases; code moved to thingatpt.el.
3549 (ffap-gnus-hook): Use setq-local.
3550
3551 2013-02-04 Glenn Morris <rgm@gnu.org>
3552
3553 * emacs-lisp/ert.el (ert--explain-format-atom):
3554 Don't try to print non-characters as characters. (Bug#13543)
3555
3556 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3557
3558 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3559 (tramp-backtrace): New defun.
3560 (tramp-handle-insert-file-contents): Use `visit' when inserting
3561 the local copy.
3562
3563 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3564 Use `remote-file-name-inhibit-cache'.
3565
3566 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3567
3568 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3569 (bug#13614).
3570
3571 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3572 current-load-list (bug#13366).
3573
3574 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3575
3576 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3577 Identify g++ template instantiation trace. (Bug#12287)
3578 (compilation-mode-hook, compilation-start-hook)
3579 (compilation-window-height): Simplify docstrings. (Bug#13379)
3580
3581 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3582
3583 * mouse.el (mouse-drag-track): Always deactivate the mark before
3584 running the final event's command since that command is in charge of
3585 activating the mark if needed (bug#13523).
3586
3587 2013-02-02 Juri Linkov <juri@jurta.org>
3588
3589 * replace.el (perform-replace): Move let-bindings of isearch-*
3590 variables deeper to the loop that searches for the next match.
3591 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3592 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3593 (Bug#13579)
3594
3595 * isearch.el (isearch-search-fun-default): Check for null
3596 first element of isearch-cmds as a precaution when it's used
3597 with inactive isearch.
3598
3599 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3600
3601 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3602 error when buffer in question is narrowed so position 1 is out of
3603 visible part.
3604
3605 2013-02-02 Glenn Morris <rgm@gnu.org>
3606
3607 * textmodes/remember.el (remember-clipboard): Doc fix.
3608
3609 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3610
3611 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3612 properties (bug#13179).
3613
3614 2013-02-02 Juri Linkov <juri@jurta.org>
3615
3616 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3617 instead of hard-coded default face `match'. (Bug#9438)
3618
3619 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3620
3621 * vc/vc-arch.el (vc-arch-registered):
3622 * vc/vc-bzr.el (vc-bzr-registered):
3623 * vc/vc-cvs.el (vc-cvs-registered):
3624 * vc/vc-git.el (vc-git-registered):
3625 * vc/vc-hg.el (vc-hg-registered):
3626 * vc/vc-mtn.el (vc-mtn-registered):
3627 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3628 (Bug#13139)
3629
3630 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3631 prefix argument. (Bug#11656)
3632
3633 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3636
3637 2013-02-01 Glenn Morris <rgm@gnu.org>
3638
3639 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3640 if the backend is known not to support it.
3641
3642 * imenu.el (imenu-default-create-index-function):
3643 Tweak infinite loop test to check for forward motion as well as none.
3644
3645 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3646
3647 * net/soap-client.el (soap-invoke): Encode the string for
3648 `url-request-data' as UTF-8.
3649 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3650
3651 2013-02-01 Glenn Morris <rgm@gnu.org>
3652
3653 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3654
3655 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3656
3657 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3658
3659 * net/tramp.el (tramp-tramp-file-p): Comment check for
3660 `string-as-unibyte'. The function does not exist on XEmacs, and
3661 likely we need another approach.
3662
3663 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3664 `tramp-gw-*' variables are bound.
3665
3666 2013-01-31 Glenn Morris <rgm@gnu.org>
3667
3668 * files.el (basic-save-buffer-2): Choose coding system for
3669 writing the file before backing it up, to reduce delay between
3670 backing up and writing the new version. (Bug#13522)
3671
3672 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3673
3674 * simple.el (cycle-spacing): New command.
3675 (just-one-space): Use it.
3676
3677 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3680 (opascal-newline-always-indents): Remove custom.
3681 (opascal-tab, opascal-newline): Remove commands.
3682 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3683 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3684 (opascal-save-match-data): Remove, use save-match-data instead.
3685 (opascal-save-state): Use with-silent-modifications.
3686
3687 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3688 (bug#13585).
3689
3690 2013-01-30 Juri Linkov <juri@jurta.org>
3691
3692 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3693 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3694 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3695
3696 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3697
3698 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3699 column if we're just deleting the backslashes.
3700 (makefile-fill-paragraph): Use eolp.
3701
3702 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3703
3704 * autorevert.el (auto-revert-use-notify): Fix docstring.
3705
3706 2013-01-30 Leo Liu <sdl.web@gmail.com>
3707
3708 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3709
3710 2013-01-30 Glenn Morris <rgm@gnu.org>
3711
3712 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3713 unread-command-events twice in some cases. This tries to implement
3714 the 2012-07-26 changes in a different way. (Bug#13560)
3715
3716 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3717
3718 * progmodes/python.el
3719 (python-pdbtrack-comint-output-filter-function): Enhancements on
3720 stacktrace detection. (thanks @gnovak)
3721
3722 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3723
3724 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3725 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3726 Use defvar-local.
3727 (jit-lock-register): Use setq-local.
3728
3729 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3730
3731 * calc-units.el (math-default-units-table): Remove initial value.
3732 (calc-convert-units): Treat expressions where all the units cancel as
3733 if they didn't have units.
3734
3735 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3736
3737 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3738 (tramp-completion-reread-directory-timeout): Fix type.
3739 (tramp-connection-min-time-diff): New defcustom.
3740
3741 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3742
3743 2013-01-30 Glenn Morris <rgm@gnu.org>
3744
3745 * imenu.el (imenu-default-create-index-function):
3746 Put back a version of the infinite loop test removed 2013-01-23.
3747
3748 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3749
3750 * progmodes/python.el (python-shell-parse-command):
3751 Find python-shell-interpreter with modified environment.
3752
3753 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3754
3755 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3756
3757 2013-01-29 Alan Mackenzie <acm@muc.de>
3758
3759 Amend to fontify /regexp/s in actions correctly.
3760 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3761 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3762 are no longer included.
3763 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3764 What used to be these variables without "-line" in the name.
3765 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3766 (c-awk-non-arith-op-bra-re): Now also matches {.
3767 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3768 "return", and "case".
3769 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3770 by /.
3771 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3772 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3773
3774 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3775
3776 * autorevert.el (auto-revert-use-notify):
3777 Use `custom-initialize-default' for initialization. (Bug#13583)
3778
3779 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3780
3781 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3782 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3783 in `tramp-file-name-handler'.
3784 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3785 compatibility.
3786 (tramp-compute-multi-hops): Check, whether
3787 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3788
3789 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3792 (bug#13297).
3793
3794 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3795
3796 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3797 checks made superfluous by the \_< operator.
3798 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3799 temporarily) broken indentation.
3800 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3801 Highlight nested constants, too. \_< broke that.
3802
3803 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3804
3805 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3806 instead of "\\b".
3807
3808 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3809
3810 * autorevert.el (auto-revert-handler): Notifications which result
3811 from a saved file shall not be taken into account. (Bug#13557)
3812
3813 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3814
3815 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3816 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3817 (lisp-mode): Pass t for it. (Bug#13556)
3818
3819 2013-01-25 Alan Mackenzie <acm@muc.de>
3820
3821 AWK Mode: Fix indentation bug at top level. Bug #12274.
3822
3823 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3824 just before CASE 5D.
3825
3826 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3827
3828 * net/socks.el (socks-nslookup-host): Use string-to-number.
3829
3830 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3831
3832 * autorevert.el (auto-revert-remote-files)
3833 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3834 (auto-revert-notify-enabled, auto-revert-use-notify)
3835 (auto-revert-notify-watch-descriptor-hash-list)
3836 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3837 (auto-revert-notify-event-descriptor)
3838 (auto-revert-notify-event-action)
3839 (auto-revert-notify-event-file-name): Doc fix.
3840 (global-auto-revert-mode): Reorder checks.
3841 (auto-revert-notify-rm-watch): Respect changed values of
3842 `auto-revert-notify-watch-descriptor-hash-list'.
3843 (auto-revert-notify-add-watch): Check for
3844 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3845 `inotify-add-watch'. Watch `default-directory' instead of
3846 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3847 has a changed meaning now. (Bug#13540)
3848 (auto-revert-notify-handler): Change implementation wrt events
3849 returning from a directory.
3850 (auto-revert-handler): Reorder implementation for checks of remote
3851 files.
3852 (auto-revert-buffers): Fix parentheses error.
3853
3854 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3855
3856 * progmodes/python.el: Enhancements to header documentation about
3857 skeletons. (Bug#5716)
3858
3859 * imenu.el (imenu-default-create-index-function): Remove useless
3860 infinite loop check. (Bug#13438)
3861
3862 2013-01-25 Alan Mackenzie <acm@muc.de>
3863
3864 Fix a bug in the state cache mechanism. Refactor this a bit.
3865
3866 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3867 `cache-pos' element from the return value.
3868 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3869 buffer to enable proper searching from beyond HERE. Amend the
3870 test for detecting the sought brace pair. Amend the value written
3871 to the "brace desert cache" when the brace isn't found.
3872 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3873 and several other variables analogously.
3874 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3875 parameter to a locally calculated variable.
3876 (c-parse-state-1): Change the calling conventions to the two
3877 defuns involving `cache-pos'.
3878
3879 2013-01-25 Chong Yidong <cyd@gnu.org>
3880
3881 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3882
3883 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3884
3885 * paren.el (show-paren-function): Make sure to set 'priority and
3886 'face only if the overlay does exist.
3887
3888 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3889
3890 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3891
3892 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3893 basic attributes.
3894 (tramp-sh-handle-set-file-acl): Improve error checking.
3895
3896 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3897
3898 * doc-view.el (doc-view-display): Force mode line update until all
3899 document is converted. Suggested by Stefan Monnier (Bug#13164).
3900
3901 2013-01-23 Bastien Guerry <bzg@gnu.org>
3902
3903 * paren.el (show-paren-function): Make sure an overlay exists
3904 before trying to delete it. Also use `pos' as a position only
3905 when it is an integer.
3906
3907 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3908
3909 * play/gametree.el (gametree-break-line-here): Use point-marker.
3910
3911 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3912
3913 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3914 Mark descriptive parts with `display' property.
3915
3916 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3917
3918 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3919 New variable to map standard dict names to hunspell ones.
3920 (ispell-set-spellchecker-params): Make sure specific dict names
3921 are used for standard dicts with hunspell.
3922
3923 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3924
3925 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3926 chars for note (%N) and url (%U).
3927 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3928
3929 2013-01-21 Juri Linkov <juri@jurta.org>
3930
3931 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3932 in addition to existing separate binding `meta f10' in `global-map'.
3933 (Bug#13484)
3934
3935 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3936
3937 Improve XEmacs compatibility.
3938
3939 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3940
3941 * net/tramp-adb.el (top): Require `time-date'.
3942 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3943 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3944 Use `tramp-file-name-handler'.
3945 (tramp-adb-maybe-open-connection):
3946 Use `tramp-compat-set-process-query-on-exit-flag'.
3947
3948 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3949 Use `tramp-compat-funcall'.
3950
3951 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3952 `tramp-compat-funcall'.
3953
3954 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
3955
3956 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3957 reimplementation using "adb shell command ..." instead of running
3958 remote shell interactively.
3959
3960 2013-01-20 Glenn Morris <rgm@gnu.org>
3961
3962 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3963 Add native profiler menu entries.
3964
3965 * profiler.el (profiler-running-p): New function.
3966 (profiler-cpu-profile): Use profiler-running-p.
3967 (profiler-report-mode-map): Add some more menu entries.
3968
3969 2013-01-19 Glenn Morris <rgm@gnu.org>
3970
3971 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3972 fixes 2012-12-07 change. (Bug#13499)
3973
3974 2013-01-19 Leo Liu <sdl.web@gmail.com>
3975
3976 * dired.el (dired-get-marked-files): Prune erroneous values due to
3977 last change. (Bug#13152)
3978
3979 2013-01-19 Glenn Morris <rgm@gnu.org>
3980
3981 * progmodes/etags.el (tags-table-check-computed-list):
3982 Preserve point in tags buffer. (Bug#13412)
3983
3984 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3985
3986 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3987 Chong Yidong <cyd@gnu.org>
3988
3989 * image-mode.el (image-next-file, image-previous-file):
3990 New commands (Bug#8453).
3991 (image-mode-map): Bind them to n and p.
3992 (image-mode--images-in-directory): New helper function.
3993
3994 2013-01-19 Chong Yidong <cyd@gnu.org>
3995
3996 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3997 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3998 save and restore the old window configuration.
3999
4000 2013-01-18 Leo Liu <sdl.web@gmail.com>
4001
4002 * progmodes/js.el: Tweak autoload cookie for alias.
4003
4004 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4005
4006 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4007 buffer local, again. This was lost with the fix on 2013-01-12.
4008
4009 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4010
4011 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4012 order to support several eshell buffers in parallel.
4013
4014 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4015
4016 * autorevert.el (auto-revert-use-notify): In the :set function, do
4017 not modify `kill-buffer-hook'.
4018 (auto-revert-notify-rm-watch):
4019 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4020 (auto-revert-notify-add-watch): Do not call
4021 `auto-revert-notify-rm-watch', but add it to a buffer local
4022 `kill-buffer-hook'.
4023
4024 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4025
4026 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4027 call to `eval' rather than a backquoted lambda.
4028
4029 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4030
4031 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4032 to return an explicit nil.
4033 (advice--remove-function): Change accordingly.
4034
4035 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4036 the use of nadvice.el.
4037
4038 * progmodes/which-func.el (which-function): Silence imenu errors
4039 (bug#13433).
4040
4041 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4042
4043 * progmodes/sql.el (sql-imenu-generic-expression):
4044 (sql-mode-font-lock-object-name): Match schema qualified names.
4045 (sql-connect): Use string keys.
4046 (sql-product-interactive): Wait for interpreter prompt.
4047 (sql-comint-oracle): Set process coding based on NLS_LANG.
4048
4049 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4050
4051 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4052 (sql-interactive-remove-continuation-prompt):
4053 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4054
4055 2013-01-14 Leo Liu <sdl.web@gmail.com>
4056
4057 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4058 (Bug#13420)
4059
4060 2013-01-14 Glenn Morris <rgm@gnu.org>
4061
4062 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4063 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4064
4065 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4066
4067 * progmodes/python.el (python-nav-end-of-statement):
4068 Fix cornercase when handling multiline strings.
4069
4070 2013-01-13 Richard Stallman <rms@gnu.org>
4071
4072 * mail/sendmail.el (mail-position-on-field): Add doc string.
4073
4074 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4075 Get current message boundaries and pass them to
4076 message-forward-make-body-mime. Minor style changes.
4077
4078 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4079
4080 * cus-start.el (all): Avoid warnings about
4081 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4082
4083 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4084
4085 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4086
4087 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4088
4089 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4090 (jit-lock--debug-fontifying): New var.
4091 (jit-lock--debug-fontify): New function.
4092 * subr.el (condition-case-unless-debug): Don't prevent catching the
4093 error, just let the debbugger run.
4094 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4095 timer code and don't drop errors silently.
4096
4097 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4098
4099 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4100 `permanent-local' property.
4101 (auto-revert-notify-handler): Use `file-equal-p'.
4102
4103 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4104
4105 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4106 file notification by ACTION. For filtering by file name, compare
4107 only the non-directory part of the file name.
4108
4109 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4110
4111 * autorevert.el: Use cl-lib instead of cl.
4112
4113 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4114 (vc-bzr-checkin): Use it.
4115 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4116 will preserve match-data.
4117
4118 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4119
4120 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4121 (js--declaration-keyword-re): New var.
4122 (js--multi-line-declaration-indentation): New function.
4123 (js--proper-indentation): Use it.
4124
4125 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4126
4127 * calc/calc.el (calc-highlight-selections-with-faces)
4128 (calc-dispatch):
4129 * comint.el (comint-history-isearch-message):
4130 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4131 * ffap.el (ffap-string-at-point-region, ffap-next)
4132 (ffap-string-at-point, ffap-string-around)
4133 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4134 (ffap-literally):
4135 * font-lock.el (font-lock-keywords-alist)
4136 (font-lock-removed-keywords-alist):
4137 * help-mode.el (help-xref-symbol-regexp):
4138 * info.el (Info-find-emacs-command-nodes):
4139 * international/mule.el (add-to-coding-system-list):
4140 * isearch.el (isearch-message-function, isearch-fail-pos):
4141 * misearch.el (multi-isearch-next-buffer-function):
4142 * newcomment.el (comment-box):
4143 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4144 (pr-setting-database):
4145 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4146 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4147 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4148 (pike-font-lock-keywords-3):
4149 * progmodes/compile.el (compile):
4150 * progmodes/etags.el (tags-table-files)
4151 (tags-table-files-function, tags-included-tables-function):
4152 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4153 (gdb-restore-windows):
4154 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4155 (ps-n-up-filling-database):
4156 * server.el (server-buffer, server-log):
4157 * simple.el (newline, delete-backward-char, delete-forward-char)
4158 (minibuffer-history-isearch-message, kill-line, track-eol)
4159 (temporary-goal-column):
4160 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4161 (flyspell-default-deplacement-commands):
4162 * textmodes/ispell.el (ispell-accept-output):
4163 * textmodes/sgml-mode.el (html-tag-help):
4164 * vc/compare-w.el (compare-ignore-whitespace)
4165 (compare-ignore-case, compare-windows-dehighlight):
4166 * vc/diff.el (diff):
4167 * whitespace.el (whitespace-point)
4168 (whitespace-font-lock-refontify, whitespace-bob-marker)
4169 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4170
4171 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4172
4173 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4174 (auto-revert-notify-rm-watch): Ignore errors.
4175 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4176 inotify, and '(size last-write-time) for w32notify.
4177 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4178 watch fails - this is a fallback to the file modification check.
4179 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4180 (auto-revert-notify-event-action)
4181 (auto-revert-notify-event-file-name): New defuns.
4182 (auto-revert-notify-handler): Use them. Implement first
4183 plausibility checks.
4184 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4185
4186 2013-01-11 Julien Danjou <julien@danjou.info>
4187
4188 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4189 max are almost equal. Also return the correct value for V which is
4190 already between 0 and 1.
4191
4192 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4193
4194 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4195
4196 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4197
4198 * autorevert.el (auto-revert-notify-rm-watch)
4199 (auto-revert-notify-add-watch): Fix typos in w32notify function
4200 names.
4201
4202 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4203
4204 * autorevert.el (auto-revert-notify-enabled): Move up.
4205 (auto-revert-use-notify): New defcustom.
4206 (auto-revert-mode, global-auto-revert-mode)
4207 (auto-revert-notify-add-watch, auto-revert-handler)
4208 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4209 `auto-revert-notify-enabled'.
4210
4211 2013-01-10 Elias Pipping <pipping@exherbo.org>
4212
4213 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4214 * doc-view.el (doc-view-document->bitmap):
4215 Use doc-view-single-page-converter-function instead of
4216 single-page-converter arg; adjust callers.
4217
4218 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4219
4220 * progmodes/which-func.el (which-function): Understand Semantic's use
4221 of overlays in imenu--index-alist.
4222
4223 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4224
4225 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4226 (Man-man-k-use-anchor): New var.
4227 (Man-parse-man-k): New function.
4228 (Man-completion-table): Use it.
4229 (man): Flush the completion cache between uses.
4230
4231 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4232
4233 * autorevert.el: Add file watch support.
4234 (auto-revert-notify-enabled): New defconst.
4235 (auto-revert-notify-watch-descriptor-hash-list)
4236 (auto-revert-notify-watch-descriptor)
4237 (auto-revert-notify-modified-p): New defvars.
4238 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4239 (auto-revert-notify-handler): New defuns.
4240 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4241 when mode is disabled.
4242 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4243 (auto-revert-buffers): Add file watches for active buffers.
4244
4245 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4246
4247 * cus-start.el (toplevel): Only allow float values for
4248 scroll-up-aggressively and scroll-down-aggressively.
4249 Allow any number for line-spacing.
4250
4251 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4254 (doc-view-pdf->png-converter-function): Use mupdf if available.
4255 (doc-view-djvu->png-converter-function)
4256 (doc-view-ps->png-converter-function): Remove.
4257 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4258 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4259 (doc-view-already-converted-p): Adjust accordingly.
4260 (doc-view-mode-p): Simplify.
4261 (doc-view-enlarge): Use setq-local.
4262 (doc-view-pdf->png-converter-ghostscript)
4263 (doc-view-djvu->png-converter-ddjvu)
4264 (doc-view-pdf->png-converter-mupdf): Rework to call
4265 doc-view-start-process directly.
4266 (doc-view-pdf/ps->png): Simplify accordingly.
4267 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4268 (doc-view-document->bitmap): Rename from doc-view-document->png.
4269 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4270 (doc-view-set-slice-from-bounding-box): Fix completion table.
4271 (doc-view-mode): Use add-hook for after-revert-hook.
4272
4273 2013-01-10 Glenn Morris <rgm@gnu.org>
4274
4275 * emacs-lisp/authors.el (authors-ignored-files)
4276 (authors-valid-file-names, authors-renamed-files-alist):
4277 Add some more entries.
4278
4279 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4280
4281 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4282 `t' pseudo-window entry.
4283
4284 2013-01-10 Alan Mackenzie <acm@muc.de>
4285
4286 Fix bugs in the c-parse-state mechanism. Reuse some markers
4287 instead of continually generating new ones.
4288
4289 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4290 (c-state-old-cpp-end-marker): New variables.
4291 (c-append-lower-brace-pair-to-state-cache): Start a backward
4292 search for "}" definitively outside CPP constructs.
4293 (c-remove-stale-state-cache): Inform the caller of a need to
4294 search back for a brace pair in certain circumstances.
4295 (c-state-maybe-marker): New macro.
4296 (c-parse-state): Reuse markers when appropriate.
4297
4298 2013-01-10 Glenn Morris <rgm@gnu.org>
4299
4300 * simple.el (execute-extended-command): Doc fix.
4301 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4302
4303 2013-01-10 Chong Yidong <cyd@gnu.org>
4304
4305 * faces.el (read-face-name): Doc fix.
4306
4307 2013-01-10 Roland Winkler <winkler@gnu.org>
4308
4309 * emacs-lisp/crm.el: Allow any regexp for separators.
4310 (crm-default-separator): All spaces around the default comma separator.
4311 (crm--completion-command): New macro.
4312 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4313 (crm-complete-and-exit): Handle non-single-char separators.
4314
4315 2013-01-09 Elias Pipping <pipping@lavabit.com>
4316
4317 * doc-view.el: Add support for DjVu (bug#13164).
4318 (doc-view-djvu->png-converter-function): New config var.
4319 (doc-view-single-page-converter-function, doc-view--image-type)
4320 (doc-view--image-file-extension): New vars.
4321 (doc-view-mode): Initialize them.
4322 (doc-view-goto-page): Use them.
4323 (doc-view-mode-p): Add support for ddjvu.
4324 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4325 (doc-view-set-up-single-converter): New funs.
4326 (doc-view-pdf/ps->png): Extend for djvu.
4327 (doc-view-document->png): Rename from doc-view-pdf->png.
4328 (doc-view-convert-current-doc): Handle djvu.
4329 (doc-view-insert-image, doc-view-display)
4330 (doc-view-already-converted-p): Don't hardcode png.
4331 (doc-view-set-doc-type): Recognize djvu docs.
4332
4333 2013-01-09 Elias Pipping <pipping@lavabit.com>
4334
4335 * doc-view.el: Add support for mupdf converter (bug#13164).
4336 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4337 (doc-view-ps->png-converter-function): New config vars.
4338 (doc-view-pdf->png-converter-ghostscript)
4339 (doc-view-ps->png-converter-ghostscript)
4340 (doc-view-pdf->png-converter-mupdf): New functions.
4341 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4342
4343 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4344
4345 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4346 first in session cache: When `tramp-own-remote-path' is in
4347 `tramp-remote-path', the remote path is only set in the session
4348 cache.
4349
4350 2013-01-09 Glenn Morris <rgm@gnu.org>
4351
4352 * emacs-lisp/trace.el (trace-function-foreground)
4353 (trace-function-background): Doc fix.
4354
4355 2013-01-09 Juri Linkov <juri@jurta.org>
4356
4357 * international/mule-cmds.el (read-char-by-name): Move let-binding
4358 of completion-ignore-case around completing-read to fix regression
4359 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4360 `string-match-p' using the nil value of `case-fold-search' and
4361 `completion-ignore-case' in `completion-pcm--all-completions'.
4362 (Bug#12615).
4363
4364 2013-01-09 Glenn Morris <rgm@gnu.org>
4365
4366 * progmodes/compile.el (compilation-parse-errors):
4367 Fix typo. (Bug#13369)
4368
4369 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4370
4371 * comint.el (comint-send-input): Check size of buffer before
4372 waiting for process output, in case already accepted. (Bug#13290)
4373
4374 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4375
4376 Spelling fixes.
4377 * net/tramp-adb.el (tramp-adb-get-toolbox):
4378 Fix misspelling of 'unknown'.
4379
4380 2013-01-08 Juri Linkov <juri@jurta.org>
4381
4382 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4383 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4384 Use underline style wave on terminals that support it. (Bug#13000)
4385
4386 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4389 the predicate returns nil.
4390
4391 * simple.el: Use lexical-binding.
4392 (primitive-undo): Use pcase.
4393 (minibuffer-history-isearch-push-state): Use a closure.
4394
4395 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4396
4397 * simple.el (primitive-undo): Move from undo.c.
4398
4399 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4400
4401 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4402 (cvs-mode-remove-handled): Use it (bug#13380).
4403
4404 * emacs-lisp/nadvice.el (advice--tweak): New function.
4405 (advice--remove-function, advice--subst-main): Use it.
4406
4407 * emacs-lisp/advice.el: Update commentary.
4408
4409 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4410
4411 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4412 Remove spurious entry.
4413
4414 2013-01-08 Glenn Morris <rgm@gnu.org>
4415
4416 * net/tramp.el (tramp-default-host-alist): Add :version.
4417
4418 2013-01-08 Juri Linkov <juri@jurta.org>
4419
4420 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4421 single completion. (Bug#12456)
4422 (info--manual-names): Expand node completions into an explicit list
4423 before appending it to another list. Filter out internal buffers
4424 with the leading space in the buffer name. (Bug#10771)
4425
4426 2013-01-08 Juri Linkov <juri@jurta.org>
4427
4428 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4429 that defaults to the Top node.
4430 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4431 the short format (FILENAME) goes to the Top node.
4432 (Info-build-node-completions): Rename arg `file' to `filename'.
4433 (Bug#13365)
4434
4435 2013-01-07 Bastien Guerry <bzg@gnu.org>
4436
4437 * menu-bar.el (menu-bar-search-documentation-menu):
4438 Use `apropos-user-option' and fix the help message.
4439
4440 2013-01-07 Bastien Guerry <bzg@gnu.org>
4441
4442 * apropos.el (apropos-do-all): Update docstring.
4443 (apropos-user-option-button): New face.
4444 (apropos-user-option): Rename from `apropos-variable' and update
4445 docstring.
4446 (apropos-variable): Rewrite, now show all variables by default.
4447 (apropos-print): Mention "User option" instead of "Variable" when
4448 printing doc for user options. (Bug#13276)
4449
4450 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4451
4452 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4453 Handle filename correctly, when parsing "source -> target" symlink
4454 output.
4455 (tramp-adb-handle-set-file-times): New defun.
4456
4457 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4458
4459 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4460 advice list when the interactive-spec of ad-Advice-* changes.
4461
4462 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4463
4464 * wid-edit.el (widget-default-get): Work for inlined elements.
4465 (Bug#12670)
4466
4467 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4468
4469 * net/tramp.el (tramp-default-host-alist): New defcustom.
4470 (tramp-find-host): Use it.
4471 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4472 `eshell-directory-change-hook'.
4473
4474 * net/tramp-adb.el (top): Add adb specific entry in
4475 `tramp-default-host-alist'.
4476 (tramp-adb-file-name-host): Remove function.
4477 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4478 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4479
4480 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4481
4482 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4483
4484 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4485
4486 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4487
4488 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4489 consist of more than one digit.
4490 (tramp-adb-file-name-handler-alist):
4491 Use `tramp-handle-file-exists-p' consistently.
4492 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4493 (tramp-adb-handle-file-exists-p): Remove function.
4494 (tramp-adb-file-name-host): New defun.
4495 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4496 Use it.
4497 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4498
4499 2013-01-06 Chong Yidong <cyd@gnu.org>
4500
4501 * vc/vc.el (vc-next-action): Detect buffer modifications
4502 conflicting with locking VCS operation (Bug#11490).
4503
4504 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4505
4506 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4507
4508 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4509 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4510
4511 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4512
4513 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4514 parsing of ls output using regular expression (handle filenames
4515 with spaces). Use virtual device number.
4516 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4517 cleanup).
4518
4519 2013-01-04 Daiki Ueno <ueno@gnu.org>
4520
4521 * epg.el: Silence byte-compiler warnings.
4522 (epg--start): Use delete-char instead of delete-backward-char.
4523 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4524
4525 2013-01-04 Daiki Ueno <ueno@gnu.org>
4526
4527 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4528 Suggested by Eli Zaretskii <eliz@gnu.org>.
4529
4530 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4531
4532 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4533 non-negative integers. Otherwise, the default values are used.
4534 (tramp-convert-file-attributes): Convert uid and gid to integers.
4535
4536 2013-01-04 Glenn Morris <rgm@gnu.org>
4537
4538 * term.el (term-handle-colors-array): Ensure face attributes
4539 are fully specified, not nil. (Bug#13337)
4540
4541 * term.el (term-default-fg-color, term-default-bg-color):
4542 Fix custom type.
4543
4544 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4545 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4546 rather than 'jka-compr being loaded. (Bug#13338)
4547
4548 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4549
4550 * icomplete.el (icomplete-completions):
4551 Honor icomplete-prospects-height once more following
4552 2012-11-29 changes. (Bug#13224)
4553
4554 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4557 of called-interactively-p as well (bug#13237).
4558
4559 * view.el (view--enable, view--disable): Rename from view-mode-enable
4560 and view-mode-disable and assume it's called from view-mode.
4561 (view-mode-enable, view-mode-disable): Redefine as obsolete
4562 compatibility layer above view-mode.
4563 (view-mode-enter): Call `view-mode'.
4564
4565 * files.el (after-find-file): Call `view-mode'.
4566
4567 * doc-view.el (doc-view-scale-internally): New var.
4568 (doc-view-enlarge, doc-view-insert-image): Obey it.
4569
4570 2013-01-03 Daiki Ueno <ueno@gnu.org>
4571
4572 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4573 exist. (Bug#13344)
4574
4575 2013-01-03 Glenn Morris <rgm@gnu.org>
4576
4577 * mail/rmail.el (rmail-set-header-1): Ignore case.
4578 Handle multi-line headers. (Bug#13330)
4579
4580 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4581 Handle paragraph starting at beginning of buffer.
4582
4583 * subr.el (eval-after-load): Don't purecopy the form, so that it
4584 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4585
4586 * emacs-lisp/byte-run.el (defun): Place cl declarations
4587 after any interactive spec. (Bug#13265)
4588
4589 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4590
4591 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4592 defun. Don't check for DECL if DOCSTRING isn't a string.
4593 (defun): Likewise.
4594
4595 2013-01-02 Glenn Morris <rgm@gnu.org>
4596
4597 * eshell/em-cmpl.el (eshell-pcomplete):
4598 More thoroughly imitate pcomplete. (Bug#13293)
4599
4600 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4601 Return nil for empty path elements. (Bug#13296)
4602
4603 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4604
4605 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4606 order to improve efficiency (Based on Daniel Colascione's
4607 <dancol@dancol.org> patch). (Bug#13182)
4608
4609 2013-01-02 Glenn Morris <rgm@gnu.org>
4610
4611 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4612
4613 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4614
4615 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4616 neither DOCSTRING nor DECL was given. (Bug#13316)
4617
4618 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4619
4620 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4621 `error' call.
4622 (tramp-do-copy-or-rename-file): Ignore errors when calling
4623 `set-file-extended-attributes'.
4624
4625 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4626 Add handler for `file-acl'.
4627 (tramp-smb-handle-file-acl): New defun.
4628
4629 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4630
4631 * calc/README: Mention ISO 8601 week-numbering dates.
4632
4633 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4634
4635 * view.el (view-mode-enable): New argument run-view-mode-hook.
4636 Run view-mode-hook only when it's non-nil (Bug#13315).
4637 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4638 argument t.
4639
4640 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4641
4642 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4643 (No device connected, invalid device name). (Bug #13299)
4644
4645 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4646
4647 * window.el (window-resizable--p): Rename to window-resizable-p.
4648 (window-resize-no-error): New function.
4649
4650 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4651 broken in fix from 2012-12-28.
4652
4653 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4654
4655 * subr.el (special-form-p): Don't signal errors on undef aliases.
4656
4657 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4658
4659 * calc/calc-forms.el (math-parse-date): Try using
4660 `math-parse-iso-date' when it looks like it might be needed.
4661 Allow times of 24:00.
4662 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4663 of 24:00.
4664
4665 2012-12-30 Glenn Morris <rgm@gnu.org>
4666
4667 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4668 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4669 (rmail-summary-displayed, rmail-summary): Declare.
4670 (mairix-rmail-display): Just require rmail.
4671
4672 2012-12-30 Chong Yidong <cyd@gnu.org>
4673
4674 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4675 check for the tarball contents.
4676
4677 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4678
4679 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4680 tarfile content listings (Bug#13136).
4681
4682 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4683
4684 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4685 Insert the undecoded text of the message being forwarded. (Bug#9521)
4686
4687 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4688
4689 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4690 integers, if they are real numbers. (Bug#13282)
4691
4692 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4693 Return `t' on success.
4694
4695 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4696 Add handler for `set-file-selinux-context'.
4697
4698 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4701 (tramp-sh-handle-set-file-acl): Return `t' on success.
4702
4703 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4704
4705 * files.el (backup-buffer-copy, basic-save-buffer-2):
4706 If set-file-extended-attributes fails, fall back on set-file-modes
4707 instead of signaling an error. (Bug#13298)
4708 (basic-save-buffer): Likewise.
4709
4710 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4711
4712 * progmodes/python.el: Support other commands triggering
4713 python-indent-line so indentation cycling continues to work.
4714 (python-indent-trigger-commands): New defcustom.
4715 (python-indent-line): Use it.
4716
4717 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4718
4719 * progmodes/python.el (python-shell-send-region): Add blank lines
4720 for non sent code so backtraces remain correct.
4721
4722 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4723
4724 * progmodes/python.el: Remove cl dependency.
4725 (python-syntax-count-quotes): Replace incf call.
4726 (python-fill-string): Replace setf call.
4727
4728 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4729
4730 * info.el (info-other-window): New arg, for consistency with info.
4731
4732 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4733
4734 * mail/rmail.el (rmail-maybe-display-summary):
4735 Rewrite (Bug#13066).
4736
4737 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4738
4739 * epg.el (epg--start): Modify process-environment locally.
4740
4741 2012-12-28 Daiki Ueno <ueno@gnu.org>
4742
4743 * epg.el: Support pinentry-curses.
4744 Suggested by Werner Koch in
4745 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4746 (epg-agent-file, epg-agent-mtime): New variable.
4747 (epg--start): Record the modified time of gpg-agent socket file,
4748 to restore Emacs frame after pinentry-curses termination.
4749 (epg-wait-for-completion): Restore Emacs frame here.
4750
4751 2012-12-27 Juri Linkov <juri@jurta.org>
4752
4753 * info.el (Info-file-completions): New variable.
4754 (Info-read-node-name-1): Complete node names in the Info file
4755 when a file name is given. Call `Info-build-node-completions'
4756 with a file name.
4757 (Info-build-node-completions): Add new arg `file'. When it is
4758 non-nil, visit it in a temporary buffer and cache its completions in
4759 `Info-current-file-completions'. Move most of the function body to
4760 `Info-build-node-completions-1'.
4761 (Info-build-node-completions-1): New function with the body from
4762 `Info-build-node-completions'. (Bug#12456)
4763
4764 2012-12-27 Juri Linkov <juri@jurta.org>
4765
4766 * frame.el (frame-maximization-style): Remove user option.
4767 (cycle-frame-maximized): Remove function.
4768 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4769 (toggle-frame-fullscreen): New command bound to <f11> instead of
4770 `toggle-frame-maximized'.
4771 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4772
4773 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4774
4775 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4776
4777 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4778 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4779 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4780 for `file-accessible-directory-p'. (Bug#13275)
4781
4782 2012-12-27 Sam Steingold <sds@gnu.org>
4783
4784 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4785 continuations, see <http://stackoverflow.com/questions/3582436>.
4786
4787 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4788
4789 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4790 "module" and "def" to have indentation before them.
4791 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4792
4793 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4794
4795 2012-12-27 Alan Mackenzie <acm@muc.de>
4796
4797 Speed up fontification where there's large brace blocks.
4798 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4799 to a call of c-beginning-of-decl-1.
4800
4801 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4802
4803 * comint.el (comint-adjust-window-point): New function.
4804 (comint-postoutput-scroll-to-bottom):
4805 Call comint-adjust-window-point (Bug#13248).
4806
4807 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4808
4809 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4810 Rakefile regexp.
4811 (auto-mode-alist): Associate .gemspec files with ruby-mode
4812 (https://bugs.ruby-lang.org/issues/5453).
4813
4814 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4815
4816 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4817 Suppress coloring, if possible (required for BusyBox based systems like
4818 CyanogenMod).
4819 (tramp-adb-handle-file-attributes)
4820 (tramp-adb-handle-insert-directory)
4821 (tramp-adb-handle-file-name-all-completions): Use it.
4822 (tramp-adb-get-toolbox): New defun. Check for remote shell
4823 implementation (BusyBox or Toolbox).
4824
4825 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4826
4827 * startup.el (initial-buffer-choice): Allow function as value
4828 (Bug#13251).
4829 (command-line-1): Handle case where initial-buffer-choice
4830 specifies a function.
4831 * server.el (server-execute): Handle case where
4832 initial-buffer-choice specifies a function.
4833
4834 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4835
4836 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4837 its own function.
4838 (smtpmail-try-auth-methods): Forget the user name/password if the
4839 login is unsuccessful (bug#12424).
4840
4841 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4842
4843 * notifications.el (notifications-notify): Protect body with
4844 `with-demoted-errors'.
4845
4846 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4847 Check properties of remote device. Restart connection, if there is a
4848 change.
4849
4850 2012-12-21 Chong Yidong <cyd@gnu.org>
4851
4852 * sort.el (sort-subr): Doc fix (Bug#13056).
4853
4854 2012-12-21 Bastien Guerry <bzg@gnu.org>
4855
4856 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4857
4858 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4859
4860 * simple.el (process-file): Overwrite stderr file, if exists.
4861
4862 2012-12-21 Daiki Ueno <ueno@gnu.org>
4863
4864 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4865 (epg-error): Set `error-message' property.
4866
4867 2012-12-21 Chong Yidong <cyd@gnu.org>
4868
4869 * international/mule-cmds.el (read-char-by-name): Signal an error
4870 if the user does not supply a valid character (Bug#13177).
4871
4872 * simple.el (transpose-subr-1): Preserve marker positions by
4873 changing the insertion sequence (Bug#13122).
4874
4875 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4876
4877 * simple.el (kill-region): Deactivate mark even for empty regions
4878 (Bug#13169).
4879
4880 2012-12-21 Chong Yidong <cyd@gnu.org>
4881
4882 * help-fns.el (describe-variable): Make sure we get the right
4883 buffer name (Bug#13105). Suggested by Kelly Dean.
4884
4885 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4886
4887 * comint.el (comint-redirect-previous-input-string): New variable.
4888 (comint-redirect-setup, comint-redirect-cleanup)
4889 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4890 (comint-redirect-preoutput-filter): Fix verbose message.
4891
4892 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4893
4894 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4895 is too long for Tramp. See discussion in
4896 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4897
4898 * progmodes/compile.el (compilation-start): Remove line escape
4899 template.
4900
4901 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4902
4903 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4904 Adjust comment.
4905
4906 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4907
4908 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4909 following non-comment text (bug#13207).
4910 (lm-header-multiline): Continuation lines need to be indented more than
4911 the first line.
4912 (lm-homepage): New function.
4913 (lm-with-file): Don't be confused if narrowing is in effect.
4914
4915 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4918 very beginning of a hunk (e.g. killing the first line).
4919
4920 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4921
4922 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4923 and text properties from returned ACL string.
4924 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4925 for "setfacl" command.
4926
4927 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4928
4929 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4930 `tramp-cleanup-this-connection', when the process has died.
4931 (Bug#13151)
4932
4933 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4936
4937 2012-12-17 Kevin Ryde <user42@zip.com.au>
4938
4939 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4940
4941 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4942
4943 Add support for preserving ACL entries of files.
4944
4945 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4946 `set-file-acl' handlers.
4947
4948 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4949 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4950
4951 * net/tramp-compat.el (tramp-compat-copy-file):
4952 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4953
4954 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4955 Add `file-acl' and `set-file-acl' handlers.
4956 (tramp-gvfs-handle-copy-file):
4957 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4958 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4959 New defuns.
4960
4961 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4962 Add `file-acl' and `set-file-acl' handlers.
4963 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4964 (tramp-sh-handle-set-file-acl): New defuns.
4965 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4966 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4967
4968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4969 Add `file-acl' and `set-file-acl' handlers.
4970 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4971
4972 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4973
4974 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4975 use pop-to-buffer with NORECORD argument t. As buffer name, use
4976 *Metahelp* with a leading space (Bug#13190).
4977
4978 2012-12-16 Romain Francoise <romain@orebokech.com>
4979
4980 * files.el (file-extended-attributes)
4981 (set-file-extended-attributes): New functions.
4982 (backup-buffer): Use them to handle both SELinux context and ACL
4983 entries.
4984 (backup-buffer-copy): Work with an alist of extended attributes,
4985 rather than an SELinux context.
4986 (basic-save-buffer-2): Ditto.
4987
4988 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4989
4990 * battery.el (battery-bsd-apm): New function.
4991
4992 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4993
4994 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4995 standard date formats.
4996
4997 2012-12-15 Juri Linkov <juri@jurta.org>
4998
4999 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5000 `isearch-insert-char-by-name'.
5001 (with-isearch-suspended): New defmacro with body mostly from
5002 `isearch-edit-string' except the part that sets
5003 `isearch-new-string' and `isearch-new-message'.
5004 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5005 body that sets `isearch-new-string' and `isearch-new-message'.
5006 (isearch-insert-char-by-name): New command.
5007 * international/mule-cmds.el (read-char-by-name): Let-bind
5008 `enable-recursive-minibuffers' to t.
5009 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5010
5011 2012-12-15 Juri Linkov <juri@jurta.org>
5012
5013 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5014 (Bug#13175)
5015
5016 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5017
5018 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5019 the prompt. (Bug#13045)
5020
5021 2012-12-14 Glenn Morris <rgm@gnu.org>
5022
5023 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5024 Try to include filename in non-bytecomp warning. (Bug#13132)
5025
5026 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5027
5028 Fix permissions bugs with setgid directories etc. (Bug#13125)
5029 * files.el (backup-buffer): Don't rely on 9th output of
5030 file-attributes, as it's now a placeholder. Instead, use the new
5031 optional arg of file-ownership-preserved-p.
5032 (file-ownership-preserved-p): New optional arg GROUP.
5033 Fix mishandling of setuid directories that would cause this
5034 function to return t when it should have returned nil.
5035 Document what happens if the file does not exist, and when
5036 it's not known whether the ownership will be preserved.
5037 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5038 Likewise.
5039 (tramp-get-local-gid): Use group-gid for integer, as that's
5040 faster and more reliable.
5041
5042 2012-12-14 Julien Danjou <julien@danjou.info>
5043
5044 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5045 Update keywords list, data type and PL/pgSQL.
5046
5047 2012-12-14 Dave Abrahams <dave@boostpro.com>
5048
5049 * vc/ediff-util.el (ediff-buffer-type): New function.
5050 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5051 rather than taking it as as argument.
5052 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5053
5054 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5055
5056 * json.el: Add pretty-print option (bug#12634).
5057 (json-encoding-separator, json-encoding-default-indentation)
5058 (json--encoding-current-indentation, json-encoding-pretty-print)
5059 (json-encoding-lisp-style-closings): New vars.
5060 (json--with-indentation): New macro.
5061 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5062 (json-encode-array): Use it to obey json-encoding-pretty-print.
5063 (json-pretty-print-buffer, json-pretty-print): New commands.
5064
5065 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5066
5067 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5068 Extract `ruby-syntax-propertize-expansions'.
5069 (ruby-syntax-propertize-expansions): Only change syntax on
5070 certain string delimiters, to punctuation. This way the common
5071 functions like forward-word and thing-at-point still work.
5072 (ruby-match-expression-expansion): Improve readability.
5073 (ruby-block-contains-point): New function.
5074 (ruby-add-log-current-method): Handle several edge cases.
5075
5076 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5077
5078 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5079 unload-feature finishes even when aborting an ongoing edebug session.
5080 Also, do not worry about edebug-mode, unload-feature takes care of it.
5081
5082 2012-12-13 Andreas Schwab <schwab@suse.de>
5083
5084 * net/tls.el (tls-program): Update customize type.
5085
5086 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5087
5088 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5089 (edebug-setup-hook, cl-read-load-hooks): Use it.
5090 (edebug-unload-function): New function. (Bug#13163)
5091
5092 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5093
5094 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5095 Otherwise, there could be errors in autoloading. (Bug#13151)
5096
5097 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5098
5099 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5100 sequences.
5101
5102 2012-12-13 Alan Mackenzie <acm@muc.de>
5103
5104 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5105 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5106 around `forward-comment' not recognizing ^M as whitespace.
5107
5108 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5109
5110 * progmodes/python.el (python-skeleton-class)
5111 (python-skeleton-def): Do not add space after defun name.
5112
5113 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5116 (cl--symbol-function): Remove (now that funbound is like nil).
5117
5118 2012-12-12 Glenn Morris <rgm@gnu.org>
5119
5120 * button.el (button--area-button-p): Fix typo.
5121
5122 2012-12-12 Sam Steingold <sds@gnu.org>
5123
5124 * frame.el (frame-maximization-style): New user option.
5125 (toggle-frame-maximized): Toggle frame maximization according to
5126 `frame-maximization-style', bound to <f11>.
5127 (cycle-frame-maximized): Cycle between all maximization styles and
5128 non-maximized frame, bound to shift-<f11>.
5129
5130 2012-12-12 David Cadé <codename68@gmail.com>
5131
5132 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5133
5134 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5135
5136 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5137 (eieio-override-prin1): Don't quote kewords and booleans.
5138 (object-write) <eieio-default-superclass>: Don't put closing parens
5139 on new line, avoid needless empty lines, align values that are objects
5140 with the slot keyword (instead of beginning on the same line).
5141 (eieio-list-prin1): Align value with slot keyword; increase
5142 eieio-print-depth before printing members of the list.
5143
5144 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5145
5146 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5147 a display text-property.
5148 (report-emacs-bug-hook): Don't bother deleting it any more.
5149
5150 * hilit-chg.el (highlight-save-buffer-state): Delete.
5151 Use with-silent-modifications instead.
5152 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5153
5154 * button.el: Handle buttons in display text-properties.
5155 (button--area-button-p, button--area-button-string):
5156 Use (STRING . STRING-POS) representation instead of just STRING.
5157
5158 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5159
5160 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5161 subdirectory be skipped.
5162
5163 2012-12-11 Glenn Morris <rgm@gnu.org>
5164
5165 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5166
5167 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5168 Treat preprocessor lines embedded in continuations like comments.
5169 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5170
5171 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5172
5173 * calc/calc.el (calc-standard-date-formats): Add more date
5174 formats.
5175 * calc/calc-forms.el (math-parse-iso-date): New function.
5176 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5177 (math-parse-iso-date-validate): Add extra error checking.
5178 (calc-date-notation): Add ability to access new date formats.
5179
5180 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5181
5182 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5183 font-lock as well as when there's no text-property.
5184
5185 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5186
5187 * hi-lock.el: Refine the choice of default face.
5188 (hi-lock-keyword->face): New function. Use it wherever we used
5189 cadadadr instead.
5190 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5191 (hi-lock--last-face): Remove var.
5192 (hi-lock--unused-faces): New var to replace it.
5193 (hi-lock-read-face-name): Use/maintain it.
5194 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5195 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5196 if it has another face.
5197
5198 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5199
5200 * subr.el (w32notify-handle-event): New function.
5201 (inotify-handle-event): Doc fix.
5202
5203 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5204
5205 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5206
5207 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5208
5209 * simple.el (just-one-space): Doc fix.
5210
5211 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5212
5213 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5214
5215 2012-12-10 Le Wang <l26wang@gmail.com>
5216
5217 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5218 narrowed buffer (bug#12361).
5219
5220 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5221
5222 * vc/vc-hooks.el (vc-state): Doc fix.
5223
5224 2012-12-10 Glenn Morris <rgm@gnu.org>
5225
5226 * mail/rmail.el (rmail-maybe-display-summary):
5227 Preserve buffer, in case select-window changes it. (Bug#13066)
5228
5229 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5230
5231 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5232 cl-load-hook where they belong.
5233
5234 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5237
5238 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5239
5240 Parallelize byte compilation on MS-Windows.
5241 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5242 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5243 (WINS_BASIC): Define as concatenation of the above.
5244 (compile): Subdivide into 4 separate and independent jobs that can
5245 be run in parallel.
5246 (compile0-CMD, compile0-SH): New targets for compiling
5247 COMPILE_FIRST files, which are prerequisites for the rest of the
5248 byte-compilation.
5249 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5250 New targets for parallel compilation with cmd.exe.
5251 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5252 compiling under a Unixy shell.
5253
5254 2012-12-09 Chong Yidong <cyd@gnu.org>
5255
5256 * simple.el (set-mark-default-inactive): Delete this
5257 accidentally-introduced option.
5258 (set-mark-command, exchange-point-and-mark): Remove calls.
5259
5260 2012-12-09 Glenn Morris <rgm@gnu.org>
5261
5262 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5263 Respect a defcustom's :set function, if appropriate. (Bug#109)
5264 (eval-defun): Doc fix.
5265
5266 2012-12-08 Juri Linkov <juri@jurta.org>
5267
5268 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5269 (Info-fontify-node, Info-bookmark-make-record): Remove the
5270 file extension from Info-current-file (Bug#13016).
5271
5272 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5275 point, still provide some default.
5276 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5277 names, since we don't use it right now. Actually return the list.
5278 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5279
5280 2012-12-07 Chong Yidong <cyd@gnu.org>
5281
5282 * novice.el (disabled-command-function): Remove a spurious help
5283 xref (Bug#13043). Suggested by Kelly Dean.
5284
5285 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5286 syntax is specified (Bug#13025).
5287
5288 * info.el (Info-set-mode-line): Remove the file extension from
5289 Info-current-file if there is one (Bug#13016).
5290
5291 2012-12-07 Glenn Morris <rgm@gnu.org>
5292
5293 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5294 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5295 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5296 and rmail-mime-decoded. (Bug#9841)
5297
5298 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5299 (batch-unrmail, unrmail): Doc fixes.
5300 (unrmail): Respect unrmail-mbox-format.
5301 * mail/rmail.el (rmail-mbox-format): New option.
5302 (rmail-show-message-1): Respect rmail-mbox-format.
5303
5304 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5305
5306 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5307
5308 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5309
5310 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5311 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5312 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5313 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5314 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5315 (cl-progv): Don't rely on dynamic scoping to find the body.
5316 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5317 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5318 (cl-declaim): Use backquotes.
5319 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5320 Use "cl--" prefix for the object's tag.
5321
5322 * ses.el: Use advice-add/remove.
5323 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5324 (copy-region-as-kill, yank): Use advice-add.
5325 (ses-unload-function): Use advice-remove.
5326
5327 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5328
5329 * button.el: Make them work in header-lines (bug#12817).
5330 (button-map): Add bindings for header-line and mode-line use.
5331 (button-get, button-put, button-label): `button' may now be a string.
5332 (button-activate): Don't make it a defsubst.
5333 (button--area-button-p, button--area-button-string): New functions.
5334 (make-text-button): Fix the return value when `beg' was a string.
5335 (push-button): Handle the mode-line case.
5336
5337 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5340 (sql-signum): Remove. Use `cl-signum' instead.
5341 (sql-read-passwd): Remove; use read-passwd instread.
5342 (sql-get-login-ext): Use read-string.
5343 (sql-get-login): Use dolist and pcase.
5344 (sql--completion-table): Rename from sql-try-completion.
5345 Use complete-with-action.
5346 (sql-mode): Don't change abbrev-all-caps globally.
5347 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5348 (sql-postgres-completion-object): Initialize vars in their `let'.
5349 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5350 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5351 (sql-comint-interbase): Use a single append, without setq.
5352 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5353
5354 * hi-lock.el: Rework the default face and the serialize regexp code.
5355 (hi-lock--auto-select-face-defaults): Remove.
5356 (hi-lock-string-serialize-serial): Remove.
5357 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5358 make weak.
5359 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5360 equal string.
5361 (hi-lock-set-pattern): Adjust accordingly.
5362 (hi-lock--regexps-at-point): Simplify accordingly.
5363 (hi-lock--auto-select-face-defaults): Remove.
5364 (hi-lock--last-face): New var to replace it.
5365 (hi-lock-read-face-name): Rewrite (bug#11095).
5366 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5367
5368 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5369
5370 * net/tramp.el (tramp-replace-environment-variables):
5371 Hide compiler warning.
5372 (tramp-file-name-for-operation): Remove `executable-find',
5373 `start-process', `call-process' and `call-process-region'.
5374
5375 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5376
5377 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5378 compatibility.
5379
5380 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5381
5382 2012-12-06 Chong Yidong <cyd@gnu.org>
5383
5384 * ffap.el (ffap-replace-file-component): Fix typo.
5385
5386 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5387
5388 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5389 fix open-paren-like token test (bug#12785).
5390
5391 2012-12-06 Glenn Morris <rgm@gnu.org>
5392
5393 * mail/rmailsum.el (rmail-new-summary): Tweak for
5394 rmail-maybe-display-summary changing buffer. (Bug#13066)
5395
5396 2012-12-06 Juri Linkov <juri@jurta.org>
5397
5398 * info.el (Info-fontify-node): Don't hide the last newline.
5399 (Bug#12272)
5400
5401 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5402
5403 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5404 so as to enable message-read-from-minibuffer to expand mail aliases.
5405
5406 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5407
5408 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5409 the `intangible' property.
5410 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5411
5412 2012-12-05 Deniz Dogan <deniz@dogan.se>
5413
5414 * net/rcirc.el (rcirc-urls): Update documentation.
5415 (rcirc-condition-filter): New function.
5416 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5417 and exclude consecutive duplicate URLs (Bug#6082).
5418
5419 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5420
5421 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5422 Check return code of copy command.
5423
5424 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5425 Use group `tramp'. Add version.
5426
5427 2012-12-05 Chong Yidong <cyd@gnu.org>
5428
5429 * ffap.el (ffap-url-regexp): Don't require matching at front of
5430 string (Bug#4952).
5431 (ffap-url-p): If only a substring matches, return that.
5432 (ffap-url-at-point): Use the return value of ffap-url-p.
5433 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5434 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5435 (ffap-guess-file-name-at-point): Likewise.
5436 (ffap-replace-file-component): Fix typo.
5437
5438 * info.el (info-display-manual): Add existing Info buffers, whose
5439 files may not be in Info-directory-list, to the completion.
5440 (info--manual-names): New helper function.
5441
5442 2012-12-05 Glenn Morris <rgm@gnu.org>
5443
5444 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5445 New functions, for detecting and resolving conflicts. (Bug#10709)
5446
5447 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5448
5449 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5450 (hi-lock-auto-select-face-defaults): New buffer local variable.
5451 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5452 (hi-lock-unface-buffer): Prompt user with useful defaults.
5453 With prefix arg, unhighlight all hi-lock patterns in buffer.
5454
5455 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5456
5457 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5458
5459 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5460
5461 * Makefile.in (TRAMP_SRC):
5462 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5463
5464 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5465
5466 * net/tramp-adb.el: New package.
5467
5468 2012-12-04 Chong Yidong <cyd@gnu.org>
5469
5470 * terminal.el: Move to obsolete/.
5471
5472 * longlines.el: Move to obsolete/.
5473
5474 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5475 Remove code referring to longlines mode.
5476
5477 2012-12-03 Juri Linkov <juri@jurta.org>
5478
5479 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5480
5481 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5482
5483 * textmodes/ispell.el (ispell-init-process)
5484 (ispell-start-process, ispell-internal-change-dictionary):
5485 Make sure personal dictionary name is expanded after initial
5486 `default-directory' value. Use expanded strings for
5487 keep/restart checks and for value (Bug#13019).
5488
5489 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5490
5491 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5492
5493 2012-12-03 Leo Liu <sdl.web@gmail.com>
5494
5495 * files.el (dir-locals-read-from-file): Check file non-empty
5496 before reading. (Bug#13038)
5497
5498 2012-12-03 Glenn Morris <rgm@gnu.org>
5499
5500 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5501 Remove any version extension before checking filename. (Bug#13006)
5502 (jka-compr-compression-info-list): Belated :version bump.
5503
5504 2012-12-03 Chong Yidong <cyd@gnu.org>
5505
5506 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5507
5508 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5509 (buffer-menu): Doc fix (Bug#12294).
5510
5511 2012-12-03 Roland Winkler <winkler@gnu.org>
5512
5513 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5514 of diary-show-all-entries in the diary buffer (Bug#12994).
5515
5516 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5517
5518 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5519 "<STDIN>". This is binary safe.
5520
5521 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5522
5523 * calc/calc-forms.el (math-absolute-from-iso-dt)
5524 (math-date-to-iso-dt, math-parse-iso-date-validate)
5525 (math-iso-dt-to-date): New functions.
5526 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5527 (math-fd-isoweekday): New variables.
5528 (calc-date-notation, math-parse-standard-date, math-format-date)
5529 (math-format-date-part): Add support for more formatting codes.
5530
5531 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5532
5533 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5534 current buffer's file name when called interactively (Bug#12488).
5535
5536 2012-12-02 Juri Linkov <juri@jurta.org>
5537
5538 * info.el (info-display-manual): Don't clobber an existing Info
5539 buffer (Bug#10770). Add completion (Bug#10771).
5540
5541 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5542
5543 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5544 before using it for comparison (Bug#5297).
5545
5546 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5547
5548 * textmodes/css-mode.el (css-current-defun-name): New function.
5549 (css-mode): Use it.
5550
5551 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5552 (html-mode): Use it.
5553
5554 2012-12-01 Chong Yidong <cyd@gnu.org>
5555
5556 Modularize add-log-current-defun (Bug#2224).
5557 Suggested by Jari Aalto.
5558
5559 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5560 (add-log-current-defun): Move mode-specific code to other files.
5561 (add-log-lisp-like-modes, add-log-c-like-modes)
5562 (add-log-tex-like-modes): Variables deleted.
5563
5564 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5565 (lisp-mode-variables): Use it.
5566
5567 * progmodes/cc-mode.el (c-common-init):
5568 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5569 add-log-current-defun-function.
5570
5571 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5572 (m4-mode): Use it.
5573
5574 * progmodes/perl-mode.el (perl-current-defun-name): New.
5575 (perl-mode): Use it.
5576
5577 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5578 Use lisp-current-defun-name.
5579
5580 * textmodes/tex-mode.el (tex-current-defun-name): New.
5581 (tex-common-initialization): Use it.
5582
5583 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5584 (texinfo-mode): Use it.
5585
5586 2012-12-01 Chong Yidong <cyd@gnu.org>
5587
5588 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5589 * progmodes/autoconf.el (autoconf-mode):
5590 * progmodes/js.el (js-mode):
5591 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5592 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5593 * progmodes/perl-mode.el (perl-mode):
5594 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5595 * textmodes/css-mode.el (css-mode):
5596 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5597 (sgml-tags-invisible, sgml-guess-indent):
5598 * textmodes/tex-mode.el (tex-common-initialization)
5599 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5600 (doctex-mode, plain-tex-mode, latex-mode):
5601 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5602
5603 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5604
5605 * vc/vc-hg.el (vc-hg-next-revision):
5606 Ensure use of default "tip" output format. (Bug#6968)
5607
5608 2012-12-01 Kim F. Storm <storm@cua.dk>
5609
5610 * startup.el (fancy-startup-tail): Add a clickable link
5611 (Bug#2176).
5612
5613 2012-12-01 Chong Yidong <cyd@gnu.org>
5614
5615 * startup.el (fancy-startup-tail): Improve the message about
5616 auto-save files (Bug#2176).
5617
5618 * files.el (recover-session): Improve the descriptive message, and
5619 use substitute-command-keys.
5620
5621 2012-12-01 Glenn Morris <rgm@gnu.org>
5622
5623 * ido.el (ido-file-internal):
5624 Handle other-window, other-frame for dired. (Bug#13036)
5625
5626 2012-11-30 Glenn Morris <rgm@gnu.org>
5627
5628 * icomplete.el (icomplete-separator): Fix :version.
5629
5630 2012-11-30 Chong Yidong <cyd@gnu.org>
5631
5632 * shell.el (shell): For C-u M-x shell, use an inactive shell
5633 buffer as the default (Bug#1975).
5634 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5635 (shell-mode): Use them to reapply ansi colorization if Shell mode
5636 is re-enabled.
5637
5638 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5639
5640 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5641
5642 2012-11-30 Samuel Bronson <naesten@gmail.com>
5643
5644 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5645 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5646
5647 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5648
5649 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5650 by move-to-column (Bug#3234).
5651
5652 2012-11-30 Chong Yidong <cyd@gnu.org>
5653
5654 * longlines.el (longlines-wrap-line, longlines-encode-region):
5655 Preserve text properties (Bug#1425).
5656
5657 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5658
5659 * vc/vc.el (vc-register): Allow registering a file which is
5660 already registered with a different backend (Bug#10589).
5661
5662 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5663 Stefan Monnier <monnier@iro.umontreal.ca>
5664
5665 * icomplete.el: Change separator; add ido-style commands.
5666 (icomplete-show-key-bindings): Remove custom var.
5667 (icomplete-get-keys): Remove function.
5668 (icomplete-forward-completions, icomplete-backward-completions):
5669 New commands.
5670 (icomplete-minibuffer-map): New var.
5671 (icomplete-minibuffer-setup): Use it.
5672 (icomplete-exhibit): Don't delay if the list of completions is known.
5673 (icomplete-separator): New custom.
5674 (icomplete-completions): Use it.
5675 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5676 (minibuffer-force-complete-and-exit): New command.
5677 (minibuffer--complete-and-exit): New function extracted from
5678 minibuffer-complete-and-exit.
5679 (minibuffer-complete-and-exit): Use it.
5680
5681 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5682 error message when the file doesn't exist (bug#12974).
5683
5684 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5685
5686 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5687
5688 2012-11-29 Glenn Morris <rgm@gnu.org>
5689
5690 * files.el (hack-dir-local-variables): Warn if try to set
5691 coding via dir-locals, since it doesn't work. (Bug#7169)
5692
5693 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5694 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5695 Set buffer-local value of desktop-save-buffer.
5696 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5697 New functions.
5698 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5699 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5700
5701 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5702 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5703 Doc fix.
5704 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5705 Doc fixes.
5706
5707 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5708
5709 * calc/calc-forms.el (calc-date-notation): Fix regexp
5710 used to find time codes. Fix symbol for seconds.
5711
5712 2012-11-27 Glenn Morris <rgm@gnu.org>
5713
5714 * emacs-lisp/derived.el (derived-mode-make-docstring):
5715 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5716
5717 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5718
5719 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5720 lexically scoped variables (bug#13005).
5721
5722 2012-11-27 Glenn Morris <rgm@gnu.org>
5723
5724 * vc/vc-hooks.el (vc-mistrust-permissions):
5725 Default to t, to avoid data-loss. (Bug#11490)
5726
5727 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5728
5729 * progmodes/python.el (python-indent-guess-indent-offset):
5730 If indentation is guessed make python-indent-offset buffer-local.
5731
5732 Fix Imenu regression.
5733 * progmodes/python.el (python-nav-beginning-of-defun):
5734 Fix forward movement when statement(s) separates point from defun.
5735 (python-imenu-prev-index-position): New function.
5736
5737 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5738
5739 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5740
5741 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5742 Don't set buffer-file-type. Return nil. (Bug#12989)
5743
5744 2012-11-27 Glenn Morris <rgm@gnu.org>
5745
5746 * hippie-exp.el (hippie-expand-try-functions-list):
5747 Re-autoload it. (Bug#12982)
5748
5749 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5750
5751 * descr-text.el (describe-char-padded-string):
5752 Call internal-char-font only on GUI frames. (Bug#11964)
5753
5754 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5755
5756 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5757 and obsoletion message.
5758
5759 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5760
5761 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5762 the constructs to keep outside of the `cl-block' (bug#12977).
5763
5764 2012-11-27 Chong Yidong <cyd@gnu.org>
5765
5766 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5767 keep reading until we get the up-event anyway, in order to process
5768 the up-event for mouse-1-click-follows-link (Bug#12971).
5769
5770 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5771
5772 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5773 base function is not yet defined (bug#12965).
5774 (ad-activate-advised-definition): Use ad-compile-function.
5775 (ad-activate): Use cond.
5776
5777 2012-11-25 Leo Liu <sdl.web@gmail.com>
5778
5779 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5780 (Bug#12979)
5781
5782 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5783
5784 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5785 reftex-section-info-function in order to be compatible with
5786 Texinfo integration.
5787
5788 * textmodes/reftex.el (reftex-section-pre-regexp)
5789 (reftex-section-post-regexp, reftex-section-info-function):
5790 New variable.
5791 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5792 reftex-section-post-regexp, and reftex-section-info-function in order
5793 to be compatible with Texinfo integration.
5794
5795 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5796 use reftex-section-pre-regexp variable in order to be compatible with
5797 Texinfo integration.
5798
5799 2012-11-25 Chong Yidong <cyd@gnu.org>
5800
5801 * faces.el: Make face-spec-set more analogous to setq.
5802 (face-spec-set): Change the third arg to specify whether this
5803 function is being called via defface, customize, or a third party.
5804 Set the appropriate symbol properties. Clear the override spec if
5805 setting via Custom. Initialize face if necessary. (Bug#4988)
5806 (face-spec-recalc): Allow theme faces to completely replace the
5807 defface spec, in the same way as custom faces (Bug#8454).
5808
5809 * cus-face.el (custom-declare-face): Move face initialization to
5810 face-spec-set.
5811 (custom-theme-set-faces): Don't initialize the face name here, as
5812 that is now done in face-spec-set.
5813
5814 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5815 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5816 Simplify by using the new arg to face-spec-set.
5817
5818 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5819 reset face-override-spec too, and use custom-declare-face.
5820
5821 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5822
5823 * term/ns-win.el (ns-initialize-window-system): Move creation of
5824 fontsets here (Bug#11964).
5825
5826 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5827
5828 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5829 cell renaming.
5830
5831 2012-11-24 Chong Yidong <cyd@gnu.org>
5832
5833 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5834 obsolete.
5835
5836 * custom.el (custom-theme-set-variables): Use a topological sort
5837 for ordering by custom dependencies (Bug#12952).
5838 (custom--sort-vars, custom--sort-vars-1): New functions.
5839
5840 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5843 lexical-binding (bug#12938).
5844
5845 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5846
5847 * image-mode.el (image-transform-check-size): Use assertions only
5848 for images of type imagemagick.
5849
5850 Otherwise no error, image-transform-fit-to-{width,height} is
5851 silently ignored, as before. Doc fix.
5852
5853 2012-11-24 Chong Yidong <cyd@gnu.org>
5854
5855 * faces.el (color-defined-p): Doc fix (Bug#12853).
5856
5857 2012-11-24 Juri Linkov <juri@jurta.org>
5858
5859 * dired.el (dired-mark): Add optional arg `interactive'.
5860 Check for `use-region-p' if `interactive' is non-nil.
5861 (dired-unmark, dired-flag-file-deletion): Add optional arg
5862 `interactive'. Call `dired-mark' with the arg `interactive'.
5863 (Bug#10624)
5864
5865 * wdired.el: Revert 2012-10-17 change partly and replace it with
5866 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5867 (wdired-finish-edit): Add marks for new file names to
5868 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5869 after `revert-buffer'.
5870 (wdired-do-renames): Remove calls to `dired-remove-file',
5871 `dired-add-file', `dired-add-entry'. (Bug#11795)
5872
5873 2012-11-24 Alan Mackenzie <acm@muc.de>
5874
5875 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5876
5877 Fix bugs in the state cache. Enhance a debugging mechanism.
5878 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5879 "brace at column zero" strategy for C++.
5880 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5881 (c-parse-state-point): New variable.
5882 (c-record-parse-state-state): Record old parse state with
5883 `copy-tree'. Record previous value of point.
5884 (c-debug-parse-state-double-cons): New debugging function.
5885 (c-debug-parse-state): Call the above new function.
5886 (c-toggle-parse-state-debug): Output a confirmatory message.
5887
5888 * progmodes/cc-mode.el (c-before-change, c-after-change):
5889 Call c-invalidate-state-cache from `c-before-change' instead of
5890 `c-after-change'.
5891
5892 2012-11-23 Chong Yidong <cyd@gnu.org>
5893
5894 * find-cmd.el (find-constituents): Add executable, ipath,
5895 readable, samefile, writable, daystart, regextype (Bug#12856).
5896
5897 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5898
5899 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5900
5901 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5902
5903 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5904 definition. This fixes a bootstrap failure.
5905 (calc-gregorian-switch): In menu, put dates before regions.
5906 This is easier to follow, lines up better in the menu, and lets us
5907 coalesce regions that switch at the same time. Give country
5908 names, not "Vatican", as that's better for non-expert users.
5909 Use names that are stable between the date of switch and now, e.g.,
5910 Bohemia and Moravia (which existed then and now) and not
5911 Czechoslovakia (which didn't exist then and doesn't exist now).
5912 What is now the U.S. mostly did not switch at the same time as
5913 Britain, so omit the U.S. Correct spelling of "Britain".
5914 Catholic Switzerland was too much of a mess, so omit it.
5915
5916 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5917
5918 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5919 after the variable is changed.
5920
5921 2012-11-21 Daniel Colascione <dancol@dancol.org>
5922
5923 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5924 in SQL declarations for font-lock.
5925 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5926
5927 2012-11-21 Glenn Morris <rgm@gnu.org>
5928
5929 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5930 (face-italic-p): Add optional argument "inherit".
5931
5932 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5933 Remove -p suffix from names, for consistency with other set-face-*.
5934 (set-face-inverse-video): Fix interactive spec.
5935 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5936 * textmodes/table.el (table--update-cell-face):
5937 Use set-face-inverse-video rather than now obsolete alias.
5938
5939 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5940
5941 * simple.el (line-move): Don't call line-move-partial if
5942 scroll-conservatively is in effect. (Bug#12927)
5943
5944 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5945
5946 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5947 Fallback on completion-at-point rather than
5948 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5949 (eshell-cmpl-initialize): Setup completion-at-point.
5950
5951 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5952
5953 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5954
5955 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5956
5957 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5958 are remote, check out-of-band property for both.
5959
5960 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5961
5962 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5963 code rewrite.
5964
5965 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5966
5967 More minor time fixes.
5968 * calendar/time-date.el: Commentary fix.
5969 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5970 too much other code depends on (0 0) time stamps.
5971 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5972 Add a couple of FIXME comments.
5973
5974 Minor cleanup for times as lists of four integers.
5975 * files.el (dir-locals-directory-cache):
5976 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5977 Doc fixes.
5978 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5979 * ps-bdf.el (bdf-file-newer-than-time):
5980 Process four-integers time stamps, not two. Doc fixes.
5981
5982 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5983
5984 * uniquify.el (uniquify-managed): Use defvar-local.
5985 (rename-buffer, create-file-buffer): Advise with advice-add.
5986 (uniquify-unload-function): Unadvise accordingly.
5987
5988 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5989 (trace-buffer): Don't purecopy.
5990 (trace-entry-message, trace-exit-message): Add `context' arg.
5991 (trace--timer): New var.
5992 (trace-make-advice): Adjust for use in nadvice.
5993 Add `context' argument. Delay `display-buffer' via a timer.
5994 (trace-function-internal): Use advice-add.
5995 (trace--read-args): New function.
5996 (trace-function-foreground, trace-function-background): Use it.
5997 (trace-function): Rename to trace-function-foreground and redefine as
5998 an alias to that new name.
5999 (untrace-function, untrace-all): Adjust to the use of nadvice.
6000
6001 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6002
6003 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6004
6005 * subr.el (called-interactively-p-functions): New var.
6006 (internal--called-interactively-p--get-frame): New macro.
6007 (called-interactively-p, interactive-p): Rewrite in Lisp.
6008 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6009 (called-interactively-p-functions): Use it.
6010 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6011 (called-interactively-p-functions): Use it.
6012 * allout.el (allout-called-interactively-p): Don't assume
6013 called-interactively-p is a subr.
6014
6015 2012-11-20 Glenn Morris <rgm@gnu.org>
6016
6017 * profiler.el (profiler-report-mode-map): Add a menu.
6018 No need to bind `q' because we derive from special-mode.
6019 (profiler-report-find-entry): Handle calls from the menu-bar.
6020
6021 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6022
6023 * emacs-lisp/byte-run.el (defun-declarations-alist):
6024 Allow a compiler-macro to be a lambda expression.
6025
6026 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6027 eval-when-compile.
6028 (python-syntax-context): Add compiler-macro.
6029 (python-font-lock-keywords): Simplify with De Morgan.
6030
6031 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6032
6033 * files.el (load-file): Require match in minibuffer selection, as was
6034 the case in Emacs-20 before we changed the spec to allow .elc files
6035 (bug#12935).
6036
6037 * json.el: Don't require cl since we don't use it.
6038 * color.el: Don't require cl.
6039 (color-complement): `caddr' -> `nth 2'.
6040
6041 * calendar/time-date.el (time-to-seconds): De-obsolete.
6042
6043 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6044
6045 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6046 year numbers.
6047 (math-date-to-julian-dt): Adjust the initial approximation for the
6048 year to deal with the new definition of the DATE.
6049
6050 2012-11-19 Daniel Colascione <dancol@dancol.org>
6051
6052 * term/w32-win.el (cygwin-convert-path-from-windows):
6053 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6054
6055 2012-11-18 Chong Yidong <cyd@gnu.org>
6056
6057 * filecache.el (file-cache--read-list): New function.
6058 (file-cache-add-directory-list, file-cache-add-file-list)
6059 (file-cache-delete-file-list, file-cache-delete-directory-list):
6060 Use it to read a list of files or directories (Bug#12846).
6061 (file-cache-add-file, file-cache-add-directory)
6062 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6063 (file-cache-delete-directory): Print an message.
6064
6065 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6066
6067 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6068 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6069
6070 2012-11-18 Glenn Morris <rgm@gnu.org>
6071
6072 * image.el (insert-image, insert-sliced-image): Doc fix.
6073
6074 2012-11-18 Chong Yidong <cyd@gnu.org>
6075
6076 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6077 (Bug#12810).
6078
6079 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6080
6081 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6082 response when the target file is in a subdirectory (Bug#12757).
6083
6084 2012-11-18 Chong Yidong <cyd@gnu.org>
6085
6086 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6087
6088 2012-11-18 Glenn Morris <rgm@gnu.org>
6089
6090 * emacs-lisp/cl-lib.el (face-underline-p):
6091 Use set-face-underline rather than the alias set-face-underline-p.
6092
6093 * window.el (with-temp-buffer-window): Doc fix.
6094 * subr.el (with-output-to-temp-buffer):
6095 Add doc xref to with-temp-buffer-window.
6096
6097 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6098
6099 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6100 * calc/calc.el (math-format-date-cache): Declare.
6101
6102 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6103
6104 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6105 It also uses January 1, 1 AD as its day number 1.
6106 * calc/calc-forms.el (math-julian-date-beginning)
6107 (math-julian-date-beginning-int): Implement this.
6108
6109 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6110
6111 * descr-text.el (quail-find-key):
6112 * dired.el (desktop-file-name):
6113 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6114 * generic-x.el (comint-mode, comint-exec):
6115 * image-dired.el (widget-forward):
6116 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6117 (speedbar-change-expand-button-char)
6118 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6119 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6120 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6121 (widget-field-action, widget-value-set):
6122 * speedbar.el (imenu--make-index-alist):
6123 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6124 (ring-length, ring-insert):
6125 * vcursor.el (compare-windows-skip-whitespace):
6126 * woman.el (dired-get-filename):
6127 Declare functions.
6128
6129 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6130
6131 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6132
6133 * calc/calc.el (calc-gregorian-switch): New variable.
6134
6135 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6136 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6137 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6138 (math-leap-year-p): Add option to distinguish between Julian
6139 and Gregorian calendars.
6140 (math-day-number): Use `math-day-in-year' to do the computations.
6141 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6142 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6143 to do the computations.
6144 (math-date-to-dt): Use `math-date-to-julian-dt' and
6145 `math-date-to-gregorian-dt' to do the computations.
6146 (calcFunc-weekday, math-format-date-part): Use the new version of
6147 the DATE to determine the weekday.
6148 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6149 when necessary.
6150
6151 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6152
6153 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6154 Cygwin; otherwise use 'file:'. (Bug#12914)
6155 (cygwin-convert-path-from-windows): Declare, to avoid
6156 byte-compiler warnings.
6157
6158 2012-11-17 Andreas Politz <politza@fh-trier.de>
6159
6160 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6161 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6162 prefix and negative numeric prefix args (Bug#12795).
6163
6164 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6165
6166 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6167 Don't signal an error with a score that is too low to add to the
6168 list of top scores. (Bug#12779)
6169
6170 2012-11-17 Chong Yidong <cyd@gnu.org>
6171
6172 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6173
6174 * filecache.el (file-cache-add-file): Handle relative file name in
6175 the argument (Bug#12694).
6176
6177 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6178
6179 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6180
6181 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6184
6185 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6186
6187 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6188
6189 * window.el (enlarge-window, shrink-window): Don't mention return
6190 value in doc-string (Bug#12896).
6191 (window--display-buffer): Don't resize frames - it won't work
6192 with all window managers and defeat pop-up-frame-alist.
6193 (display-buffer-alist): In doc-string explain that CONDITION can
6194 be a function and which arguments are passed to it (Bug#12854).
6195 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6196 expressions (Bug#12854).
6197 (display-buffer): Pass ACTION argument to
6198 display-buffer-assq-regexp.
6199
6200 2012-11-16 Glenn Morris <rgm@gnu.org>
6201
6202 * window.el (fit-frame-to-buffer-bottom-margin)
6203 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6204
6205 * faces.el (face-underline-p): Use face-attribute-specified-or.
6206
6207 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6208
6209 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6210
6211 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6214
6215 2012-11-16 Glenn Morris <rgm@gnu.org>
6216
6217 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6218 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6219
6220 * faces.el (face-underline-p): Doc fix. Handle :underline being
6221 things other than `t' (a string, a list).
6222 (face-inverse-video-p): Doc fix.
6223 (set-face-underline): Rename it back from set-face-underline-p.
6224 Doc fix. Allow interactive input of values other than t.
6225 (read-face-attribute): Apply formatting to :underline,
6226 since like :box and :stipple it can take list values.
6227
6228 * term.el (ansi-term): Don't let C-x escape-char binding
6229 clobber the more standard C-c binding. (Bug#12842)
6230
6231 * subr.el (set-temporary-overlay-map): Doc fix.
6232
6233 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6234
6235 * window.el (record-window-buffer)
6236 (display-buffer-record-window): When copying the markers to
6237 window-point preserve window-point-insertion-type. (Bug#12588)
6238
6239 2012-11-16 Glenn Morris <rgm@gnu.org>
6240
6241 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6242 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6243 Use new names for hooks rather than obsolete aliases.
6244
6245 2012-11-15 Daniel Colascione <dancol@dancol.org>
6246
6247 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6248 prefix instead of "file:" so that when FILE-NAME begins with "//",
6249 as it does when the target file is on a network share, url-handler
6250 isn't confused.
6251
6252 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6255 a preactivated advice from an old advice.el; they're not compatible!
6256
6257 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6258
6259 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6260 Fix string-spec case.
6261
6262 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6263
6264 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6267 (advice--buffer-local-function-sample): New var.
6268 (advice--set-buffer-local, advice--buffer-local): New functions.
6269 (add-function, remove-function): Use them.
6270
6271 2012-11-15 Drew Adams <drew.adams@oracle.com>
6272
6273 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6274
6275 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6276
6277 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6278 potential binding of print-gensym to t, and prettify (back)quotes in
6279 case they appear in args's default values (bug#12884).
6280
6281 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6284 (advice-eval-interactive-spec): New function.
6285 (advice--make-interactive-form): Support around advice (bug#12844).
6286
6287 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6288
6289 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6290 more strict. Add docstring.
6291 (ruby-expression-expansion-re): Extract from
6292 `ruby-match-expression-expansion'.
6293 (ruby-syntax-propertize-function): After everything else, search
6294 for expansions in string literals, mark their insides as
6295 whitespace syntax and save match data for font-lock.
6296 (ruby-font-lock-keywords): Use the 2nd group from expression
6297 expansion matches.
6298 (ruby-match-expression-expansion): Use the match data saved to the
6299 text property in ruby-syntax-propertize-function.
6300
6301 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6304 (bug#12879).
6305
6306 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6307
6308 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6309 start/end keyword a bit harder. Works with different values of N.
6310 Add more comments.
6311 (ruby-end-of-block): Update accordingly.
6312
6313 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6314
6315 * woman.el (woman-file-name): Don't mess with unread-command-events
6316 (bug#12861).
6317
6318 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6319 Remove out of date self-require hack.
6320 (ad-do-advised-functions): Use simple `dolist'.
6321 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6322 (ad-advice-definition): Redefine as functions.
6323 (ad-advice-classes): Move before first use.
6324 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6325 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6326 (ad--defalias-fset): Remove functions.
6327 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6328 (ad-get-orig-definition): Rewrite.
6329 (ad-make-advised-definition-docstring): Change base docstring.
6330 (ad-real-orig-definition): Rewrite.
6331 (ad-map-arglists): Change name of called function.
6332 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6333 (ad-make-advised-definition): Simplify.
6334 (ad-assemble-advised-definition): Tweak for new calling context.
6335 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6336 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6337 function and call ad-activate if needed.
6338 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6339 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6340 (ad-compile-function): Compile ad-Advice-*.
6341 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6342 (ad-start-advice, ad-stop-advice): Remove.
6343
6344 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6345
6346 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6347 period before class method names, not after. Remove handling of
6348 one impossible case. Add comments.
6349
6350 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * emacs-lisp/advice.el: Remove support for freezing.
6353 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6354 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6355 Remove support for `freeze'.
6356
6357 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6358 override the default.
6359 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6360 cl--dotimes/dolist.
6361 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6362 `cl' is loaded.
6363
6364 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6365 from add-advice.
6366 (advice--strip-macro): New function.
6367 (advice--defalias-fset): Use them to handle macros.
6368 (advice-add): Use them.
6369 (advice-member-p): Correctly handle macros.
6370
6371 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6372
6373 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6374 Never font-lock the beginning of singleton class as heredoc.
6375
6376 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6377
6378 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6379
6380 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6381
6382 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6383 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6384 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6385
6386 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6387
6388 Fix end-of-defun misbehavior.
6389 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6390 python-beginning-of-defun-function. Handle nested defuns
6391 correctly.
6392 (python-nav-end-of-defun): Rename from
6393 python-end-of-defun-function. Ensure forward movement.
6394 (python-info-current-defun): Reimplement to work as intended
6395 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6396 parent defuns as soon as possible.
6397
6398 2012-11-13 Glenn Morris <rgm@gnu.org>
6399
6400 * progmodes/flymake.el (flymake-error-bitmap)
6401 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6402 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6403
6404 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6405
6406 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6407 backward, always stop at indentation. Reverts the change from
6408 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6409
6410 2012-11-13 Glenn Morris <rgm@gnu.org>
6411
6412 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6413 Add ibuffer-filter-by-derived-mode.
6414
6415 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6416 the same name shadowing each other.
6417
6418 * window.el (with-temp-buffer-window): Doc tweak.
6419
6420 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6421
6422 * help.el (temp-buffer-max-height):
6423 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6424 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6425
6426 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6427
6428 * emacs-lisp/nadvice.el: New package.
6429 * subr.el (special-form-p): New function.
6430 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6431 (elp-all-instrumented-list): Remove var.
6432 (elp-not-profilable): Remove elp-wrapper.
6433 (elp-profilable-p): Use autoloadp and special-form-p.
6434 (elp--advice-name): New const.
6435 (elp-instrument-function): Use advice-add.
6436 (elp--instrumented-p): New predicate.
6437 (elp-restore-function): Use advice-remove.
6438 (elp-restore-all, elp-reset-all): Use mapatoms.
6439 (elp-set-master): Use elp--instrumented-p.
6440 (elp--make-wrapper): Rename from elp-wrapper, return a function
6441 suitable for advice-add. Use cl-inf.
6442 (elp-results): Use mapatoms+elp--instrumented-p.
6443 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6444 (debug-function-list): Remove var.
6445 (debug): Rename arg, and then let-bind it explicitly inside.
6446 (debugger-setup-buffer): Rename arg.
6447 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6448 (debugger-frame-number): Adjust to new debug-on-entry setup.
6449 (debug--implement-debug-on-entry): Rename from
6450 implement-debug-on-entry, add argument.
6451 (debugger-special-form-p): Remove, use special-form-p instead.
6452 (debug-on-entry): Use advice-add.
6453 (debug--function-list): New function.
6454 (cancel-debug-on-entry): Use it, along with advice-remove.
6455 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6456 (debugger-list-functions): Use debug--function-list instead of
6457 debug-function-list.
6458 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6459 (ad-special-form-p): Remove, use special-form-p instead.
6460 (ad-set-advice-info): Use add-function and remove-function.
6461 (ad--defalias-fset): Adjust accordingly.
6462
6463 2012-11-10 Glenn Morris <rgm@gnu.org>
6464
6465 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6466 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6467 (report-emacs-bug-create-existing-bugs-buffer)
6468 (report-emacs-bug-parse-query-results)
6469 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6470
6471 * term.el (term-default-fg-color, term-default-bg-color):
6472 Make obsolete, rather than just saying "deprecated" in the doc.
6473
6474 * term.el (term): Rename from `term-face'.
6475 (term-current-face, ansi-term-color-vector)
6476 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6477 Update all users.
6478
6479 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6480
6481 * server.el (server-create-window-system-frame): Handle Nextstep
6482 specially (Bug#12780).
6483
6484 2012-11-10 Glenn Morris <rgm@gnu.org>
6485
6486 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6487 Unautoload, and make obsolete. (Bug#7449)
6488
6489 2012-11-10 Chong Yidong <cyd@gnu.org>
6490
6491 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6492 rename from diff-remove-trailing-whitespace (Bug#12831).
6493
6494 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6495
6496 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6497 miscompilation of trace.el.
6498
6499 2012-11-10 Glenn Morris <rgm@gnu.org>
6500
6501 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6502
6503 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6504
6505 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6506 (bug#12812).
6507
6508 2012-11-10 Chong Yidong <cyd@gnu.org>
6509
6510 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6511 a defcustom with an appropriate :set function.
6512 (minibuffer-default--in-prompt-regexps): New function.
6513
6514 2012-11-10 Glenn Morris <rgm@gnu.org>
6515
6516 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6517 (define-modify-macro): Doc fixes.
6518
6519 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6520 (gv-define-simple-setter): Update doc of `fix-return'.
6521
6522 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6525 twice when `fix-return' is set (bug#12813).
6526
6527 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6528 gv-define-simple-setter (bug#12812).
6529
6530 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6531 (bug#12756).
6532
6533 2012-11-10 Glenn Morris <rgm@gnu.org>
6534
6535 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6536
6537 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6538 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6539 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6540 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6541
6542 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6543
6544 2012-11-10 Leo Liu <sdl.web@gmail.com>
6545
6546 * ido.el (ido-set-matches-1): Improve flex matching performance by
6547 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6548
6549 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6550
6551 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6552 (ad--defalias-fset): New function.
6553 (ad-safe-fset): Remove.
6554 (ad-make-freeze-definition): Use cl-letf*.
6555
6556 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * subr.el (dolist): Don't bind VAR in RESULT.
6559
6560 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6561 (fset, documentation): Don't save real def since we don't advise.
6562 (ad-do-advised-functions): Remove problematic `result-form'.
6563 (ad-safe-fset): `ad-real-fset' => `fset'.
6564 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6565 uses CL's dolist internally.
6566 (ad-arglist): Remove unused arg `name'.
6567 (ad-docstring, ad-make-advised-docstring):
6568 `ad-real-documentation' => `documentation'.
6569 (warning-suppress-types): Declare.
6570 (ad-set-arguments): Simple CSE.
6571 (ad-recover-normality): Sanity check.
6572
6573 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6574 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6575
6576 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6577
6578 * ses.el: symbol to coordinate mapping is made by symbol property
6579 `ses-cell'. This means that the same mapping is done for all SES
6580 sheets. That is good enough for cells with standard A1 names, but
6581 not for named cell. So a hash map is added for the latter.
6582 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6583 (ses-sym-rowcol): Use hashmap for named cell.
6584 (ses-is-cell-sym-p): New defun.
6585 (ses-decode-cell-symbol): New defun.
6586 (ses-create-cell-variable): Add cell to hashmap when name is not
6587 A1-like.
6588 (ses-rename-cell): Check that cell new name is not already in
6589 spreadsheet with the use of ses-is-cell-sym-p
6590 (ses-rename-cell): Use hash map for named cells, but accept also
6591 renaming back to A1-like.
6592
6593 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 * emacs-lisp/advice.el: Use new dynamic docstrings.
6596 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6597 Use dynamic-docstring-function instead of ad-advice-info.
6598 (ad--make-advised-docstring): New function extracted from
6599 ad-make-advised-docstring.
6600 (ad-make-advised-docstring): Use it.
6601 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6602 from sql-help.
6603 (sql-help): Use it with dynamic-docstring-function.
6604
6605 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6606
6607 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * files.el (hack-one-local-variable--obsolete): New function.
6610 (hack-one-local-variable): Use it for obsolete settings.
6611
6612 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6613 the new name.
6614
6615 * progmodes/js.el (js--filling-paragraph): New var.
6616 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6617 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6618 less sneaky.
6619
6620 2012-11-08 Julien Danjou <julien@danjou.info>
6621
6622 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6623 `auto-mode-alist' (Bug#12835).
6624
6625 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6626
6627 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6628 (perl--prettify-symbols-alist): New const.
6629 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6630 New functions.
6631 (perl-font-lock-keywords-2): Use them.
6632 (perl-electric-noindent-p): New function.
6633 (perl-mode): Use it to set up electric-indent-mode.
6634 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6635 (perl-mode-map): Remove bindings for them.
6636 (perl-imenu-generic-expression, perl-outline-level):
6637 Match functions&packages in column>0.
6638
6639 * env.el (env--substitute-vars-regexp): New const.
6640 (substitute-env-vars): Use it. Add `only-defined' arg.
6641 * net/tramp.el (tramp-replace-environment-variables): Use it.
6642
6643 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6644 Byte-compile *before* eval in eval-and-compile.
6645 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6646 (byte-compile-file-form-autoload): Don't hide actual definition.
6647 (byte-compile-maybe-guarded): Accept `functionp' as well.
6648
6649 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6650
6651 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6652
6653 * notifications.el (notifications-get-server-information-method):
6654 New defconst.
6655 (notifications-get-capabilities): Fix docstring.
6656 (notifications-get-server-information): New defun.
6657
6658 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6659
6660 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6661 readability.
6662
6663 * textmodes/ispell.el: Experimental support for support debugging.
6664 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6665 buffer for ispell.
6666 (ispell-print-if-debug): New function to print stuff to
6667 `ispell-debug-buffer' if debugging is enabled.
6668 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6669 show some debugging info.
6670 (ispell-buffer-with-debug): New function that creates a debugging
6671 buffer and calls `ispell-buffer' with debugging enabled.
6672
6673 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6674 comment in autoconf mode. (Bug#12768)
6675
6676 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6677
6678 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6679 frame-first-window, frame-root-window, frame-selected-window,
6680 minibuffer-selected-window, minibuffer-window,
6681 window-absolute-pixel-edges, window-at, window-body-height,
6682 window-body-width, window-display-table, window-combination-limit,
6683 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6684 window-inside-edges, window-inside-pixel-edges, window-left-child,
6685 window-left-column, window-margins, window-next-buffers,
6686 window-next-sibling, window-new-normal, window-new-total,
6687 window-normal-size, window-parameter, window-parameters, window-parent,
6688 window-pixel-edges, window-point, window-prev-buffers,
6689 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6690 window-start, window-text-height, window-top-child, window-top-line,
6691 window-total-height, window-total-width and window-use-time to the list
6692 of functions without side-effects.
6693 (toplevel): Add window-valid-p to the list of error-free functions
6694 without side-effects.
6695
6696 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6697
6698 * textmodes/ispell.el (ispell-program-name):
6699 Update spellchecker parameters when customized.
6700
6701 2012-11-04 Glenn Morris <rgm@gnu.org>
6702
6703 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6704
6705 2012-11-04 Chong Yidong <cyd@gnu.org>
6706
6707 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6708 same-window-* variables.
6709
6710 2012-11-04 Juri Linkov <juri@jurta.org>
6711
6712 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6713 (isearch-describe-key, isearch-describe-mode): Use a display
6714 action instead of binding same-window-* variables (Bug#10040).
6715
6716 2012-11-03 Glenn Morris <rgm@gnu.org>
6717
6718 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6719 Rename handler properties back from cl-- to cl-. (Bug#12788)
6720
6721 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6722
6723 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6724
6725 * term/pc-win.el: Don't load term/internal from here.
6726
6727 * loadup.el: Load term/internal from here.
6728
6729 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6730
6731 * progmodes/python.el (inferior-python-mode): Fix hang in
6732 jit-lock (Bug#12645).
6733
6734 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6735
6736 * window.el (switch-to-visible-buffer)
6737 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6738
6739 2012-11-03 Glenn Morris <rgm@gnu.org>
6740
6741 * emacs-lisp/cl-lib.el (cl--random-time):
6742 Rename from cl-random-time. (Bug#12773)
6743 (cl--gensym-counter, cl--random-state): Update callers.
6744 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6745
6746 2012-11-03 Chong Yidong <cyd@gnu.org>
6747
6748 * cus-start.el: Make cursor-type customizable (Bug#11633).
6749
6750 2012-11-02 Glenn Morris <rgm@gnu.org>
6751
6752 * filecache.el: No need to load find-lisp when compiling.
6753 (find-lisp-find-files): Autoload it.
6754 (file-cache-add-directory-recursively): Don't require find-lisp.
6755
6756 * image.el (image-type-from-file-name): Trivial simplification.
6757
6758 * emacs-lisp/bytecomp.el (byte-compile-eval):
6759 Decouple "noruntime" and "cl-functions" warnings.
6760
6761 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6762
6763 * play/gomoku.el (gomoku-display-statistics): Update mode line
6764 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6765
6766 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6767
6768 * window.el (quit-restore-window): If the window has been
6769 created on an existing frame and ended up as the sole window on
6770 that frame, do not delete it (Bug#12764).
6771
6772 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6775 Rename from sh--inside-arithmetic-expression, handle more cases
6776 (bug#11263).
6777
6778 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6779 (sh-font-lock-open-heredoc): Use it (bug#12770).
6780
6781 2012-10-30 Glenn Morris <rgm@gnu.org>
6782
6783 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6784
6785 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6786
6787 2012-10-29 Chong Yidong <cyd@gnu.org>
6788
6789 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6790 function key is stored in a keyboard macro (Bug#4894).
6791
6792 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6793
6794 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6797 header comments".
6798 (diff-unified->context, diff-context->unified)
6799 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6800
6801 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6802
6803 * files.el (find-alternate-file): Only ask one question (bug#12487).
6804
6805 2012-10-29 Chong Yidong <cyd@gnu.org>
6806
6807 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6808 Suggested by Dan Nicolaescu (Bug#6326).
6809
6810 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6811
6812 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6813
6814 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6815
6816 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6817
6818 * face-remap.el (face-remap-add-relative): Handle the case where a
6819 face-remapping-alist entry is a cons cell (Bug#12762).
6820
6821 2012-10-29 Kevin Ryde <user42@zip.com.au>
6822
6823 * woman.el (woman-parse-numeric-value): Handle picas correctly
6824 (Bug#12639).
6825
6826 2012-10-29 Glenn Morris <rgm@gnu.org>
6827
6828 * emacs-lisp/cl.el (defsetf): Doc fix.
6829
6830 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6833 syntax to the matching opener, if any (bug#12547).
6834 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6835 matching open as a "case-(".
6836 (sh-smie-rc-grammar): Add a corresponding rule for it.
6837
6838 2012-10-28 Daniel Hackney <dan@haxney.org>
6839
6840 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6841 "PKGNAME-autoloads.el" in case we created it.
6842
6843 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6846 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6847 (completion--twq-all): Disable too-strict assertions.
6848
6849 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6850
6851 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6852
6853 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6854 text to match the real keybindings.
6855
6856 2012-10-27 Juri Linkov <juri@jurta.org>
6857
6858 * wdired.el (wdired-keep-marker-rename): New defcustom.
6859 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6860 (Bug#11795)
6861
6862 * dired.el (dired-keep-marker-rename): Add reference to
6863 `wdired-keep-marker-rename' in the docstring.
6864 Add default character value ?R to display initially in
6865 Customization UI instead of ?@.
6866
6867 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6868
6869 * window.el (display-buffer): In doc-string describe
6870 window-height and window-width alist entries.
6871
6872 * time.el (display-time-world): Restore fit-window-to-buffer
6873 behavior.
6874
6875 2012-10-27 Chong Yidong <cyd@gnu.org>
6876
6877 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6878
6879 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6880
6881 * minibuffer.el (completion-category-overrides): New completion
6882 category `bookmark' (bug#11131).
6883
6884 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6885
6886 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6887 Silence bogus compiler warnings for ad-do-it.
6888
6889 * bookmark.el (bookmark-completing-read): Set the completion category
6890 to `bookmark' (bug#11131).
6891
6892 2012-10-26 Bastien <bzg@altern.org>
6893 Stefan Monnier <monnier@iro.umontreal.ca>
6894
6895 * face-remap.el: Use lexical-binding.
6896 (text-scale-adjust): Improve docstring. Use itself for the temporary
6897 overlay-map bindings, so as to repeat the "Use..." message each time.
6898
6899 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * emacs-lisp/macroexp.el (macroexp--expand-all):
6902 Obey byte-compile-warning-enabled-p (bug#12486).
6903
6904 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6905 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6906
6907 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6908
6909 * mouse.el (mouse-drag-line): Move last form into preceding when
6910 clause (Bug#12731).
6911
6912 * help.el (resize-temp-buffer-window): Fix doc-string.
6913
6914 2012-10-25 David Engster <deng@randomsample.de>
6915
6916 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6917 Remove. This feature is already integrated in imenu.
6918
6919 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6920 always loaded. Require `speedbar' unconditionally.
6921
6922 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6925
6926 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6927
6928 * net/ldap.el (ldap-search-internal): The official ldif format starts
6929 with a "version: 1" header (bug#12724).
6930
6931 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6932 (bug#12721).
6933
6934 2012-10-25 Glenn Morris <rgm@gnu.org>
6935
6936 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6937
6938 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6939
6940 * minibuffer.el (minibuffer-force-complete): Use one more marker
6941 for the temporary-overlay-map command (bug#12619).
6942
6943 2012-10-24 Chong Yidong <cyd@gnu.org>
6944
6945 * time.el (display-time-world-mode): Derive from special-mode.
6946 (display-time-world): Use display-buffer (Bug#12708).
6947 (display-time-world-mode-map): Variable deleted.
6948 (display-time-world-display): Wrap the final delete-char inside
6949 inhibit-read-only.
6950
6951 2012-10-24 Chong Yidong <cyd@gnu.org>
6952
6953 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6954 Doc fix.
6955
6956 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6957
6958 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6959
6960 * minibuffer.el (completion--all-sorted-completions-location): New var.
6961 (completion--cache-all-sorted-completions)
6962 (completion--flush-all-sorted-completions): Use it.
6963 (completion-in-region, completion-in-region--postch)
6964 (completion-at-point, completion-help-at-point): Use markers in
6965 completion-in-region--data (bug#12619).
6966
6967 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * progmodes/compile.el (compilation-start): Try to handle common
6970 quoting of `cd' argument (bug#12640).
6971
6972 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6973 (bug#12671).
6974
6975 2012-10-23 Glenn Morris <rgm@gnu.org>
6976
6977 * progmodes/gud.el (gud-menu-map):
6978 Check gdb-active-process is bound. (Bug#12358)
6979
6980 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * repeat.el (repeat): Set real-this-command (bug#12232).
6983
6984 * htmlfontify.el (hfy-post-html-hook):
6985 * filesets.el (filesets-cache-fill-content-hook):
6986 * arc-mode.el (archive-extract-hook):
6987 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6988 * net/rcirc.el (rcirc-sentinel-functions)
6989 (rcirc-receive-message-functions, rcirc-activity-functions)
6990 (rcirc-print-functions):
6991 * net/dbus.el (dbus-event-error-functions):
6992 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6993 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6994 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6995 * term/sun.el (sun-raw-prefix-hooks):
6996 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6997
6998 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6999
7000 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7001 Set `tramp-chunksize' to 1. This improves the performance.
7002 (tramp-smb-wait-for-output): Add timeout to
7003 `tramp-accept-process-output' calls.
7004
7005 2012-10-23 Chong Yidong <cyd@gnu.org>
7006
7007 * faces.el (font-list-limit): Define as an obsolete variable.
7008
7009 * startup.el (command-line):
7010 * cus-start.el: Don't refer to font-list-limit.
7011
7012 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7013
7014 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * subr.el (internal-temp-output-buffer-show): Rename from
7017 temp-output-buffer-show, since previously compiled files expect this name.
7018
7019 2012-10-23 Glenn Morris <rgm@gnu.org>
7020
7021 * image.el (image-type-from-file-name): If multiple types match,
7022 return the first one that is supported. (Bug#9045)
7023
7024 2012-10-22 Glenn Morris <rgm@gnu.org>
7025
7026 * image.el (imagemagick-enabled-types): Doc fix.
7027
7028 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7029
7030 * progmodes/which-func.el (which-func-current): The hash-table may have
7031 an explicit nil (bug#12338).
7032
7033 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7034
7035 * electric.el (electric-pair-delete-selection-self-insert-function):
7036 Rename to electric-pair-will-use-region, return a boolean.
7037 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7038
7039 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7040 (delete-selection-pre-hook): Use use-region-p.
7041 (delete-selection-self-insert-function): Remove.
7042 (self-insert-command): Obey self-insert-uses-region-functions.
7043 (self-insert-iso): Revert to previous setting, since we don't actually
7044 know what that command does.
7045 (delete-selection-self-insert-hooks): Remove.
7046
7047 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7048
7049 * delsel.el (delete-selection-helper): New function, extracted from
7050 delete-selection-pre-hook.
7051 (delete-selection-pre-hook): Use it.
7052 (delete-selection-self-insert-function): New function.
7053 (delete-selection-self-insert-hooks): New hook.
7054 (self-insert-command, self-insert-iso): Use it.
7055 * electric.el (electric-pair-syntax): New function, extracted from
7056 electric-pair-post-self-insert-function.
7057 (electric-pair-post-self-insert-function): Use it.
7058 (electric-pair-delete-selection-self-insert-function): New function.
7059 (electric-pair-mode): Require delsel and setup
7060 delete-selection-self-insert-hooks (bug#11520).
7061
7062 2012-10-20 Chong Yidong <cyd@gnu.org>
7063
7064 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7065 no changes to show (Bug#12586).
7066
7067 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7068 list explicitly (Bug#12571).
7069
7070 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7071
7072 * progmodes/flymake.el (flymake-create-temp-inplace):
7073 Use file-truename.
7074
7075 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7076
7077 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7078
7079 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7080
7081 * calc/calc-units.el (math-extract-units): Properly extract powers
7082 of units.
7083
7084 2012-10-20 Daniel Colascione <dancol@dancol.org>
7085
7086 * frame.el (make-frame): Set x-display-name as we used to in order
7087 to unbreak creating an X11 frame from an Emacs daemon started
7088 without a display.
7089
7090 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7091
7092 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7093 the same completion-field (bug#12221).
7094
7095 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7096
7097 * emacs-lisp/debug.el (debug): Record height of debugger window
7098 also when debugger will be back (Bug#8789).
7099
7100 2012-10-18 Chong Yidong <cyd@gnu.org>
7101
7102 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7103 Convert to defcustom.
7104 (gdb-get-source-file): Don't bind pop-up-windows.
7105
7106 * progmodes/gud.el (gud-display-line): Don't specially re-use
7107 other frames for the gdb-mi case (Bug#12648).
7108
7109 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * emacs-lisp/advice.el: Clean up commentary a bit.
7112 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7113 (byte-code-function-p): Never redefine.
7114
7115 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7116
7117 2012-10-18 Glenn Morris <rgm@gnu.org>
7118
7119 * dired.el (dired-sort-toggle): Some ls implementations only allow
7120 a single option string. (Bug#12666)
7121
7122 * minibuffer.el (completion-cycle-threshold): Doc fix.
7123
7124 2012-10-17 Kenichi Handa <handa@gnu.org>
7125
7126 * international/mule.el (set-keyboard-coding-system):
7127 Recover input meta mode when the new coding system doesn not use 8-bit.
7128 Supply TERMINAL arg to set-input-meta-mode.
7129
7130 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7131
7132 * wdired.el (wdired-old-marks): New variable.
7133 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7134 (wdired-do-renames): Move point with renamed file and don't lose
7135 mark status (Bug#11795).
7136
7137 2012-10-16 Juri Linkov <juri@jurta.org>
7138
7139 * replace.el (query-replace-help): Mention multi-buffer replacement
7140 keys in the Help message. (Bug#12655)
7141
7142 2012-10-15 Chong Yidong <cyd@gnu.org>
7143
7144 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7145
7146 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7147
7148 * window.el (display-buffer): Doc fix.
7149
7150 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7151 Adjust the msft regexp to the output of Studio 2010, and move msft
7152 before edg-1. See the discussion on emacs-devel,
7153 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7154 for the details.
7155
7156 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7157
7158 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7159 (oset): Move uses of object-class-fast macro after its definition.
7160
7161 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7162
7163 2012-10-13 Chong Yidong <cyd@gnu.org>
7164
7165 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7166 enabled, re-enable it (Bug#11963).
7167
7168 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7169
7170 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7171 non-nil, restore window configuration (Bug#12623).
7172
7173 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * help-fns.el (describe-variable, describe-function-1):
7176 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7177
7178 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7179
7180 2012-10-12 Glenn Morris <rgm@gnu.org>
7181
7182 * mail/rmailsum.el (rmail-header-summary):
7183 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7184
7185 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7186
7187 * progmodes/python.el (python-mode-map):
7188 Replace subtitute-key-definition with proper command remapping.
7189 (python-nav--up-list): Fix behavior for blocks on the same level.
7190
7191 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7192
7193 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7194
7195 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7196 changes to the format of load-history.
7197
7198 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7199 completion-ignore-case in case that var is buffer-local (bug#12615).
7200
7201 2012-10-11 Kenichi Handa <handa@gnu.org>
7202
7203 * international/eucjp-ms.el: Re-generated.
7204
7205 2012-10-10 Kenichi Handa <handa@gnu.org>
7206
7207 * select.el (xselect--encode-string): If a coding is specified for
7208 selection, and that is compatible with COMPOUND_TEXT, use it.
7209
7210 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7211
7212 * window.el (switch-to-buffer-preserve-window-point): New option.
7213 (switch-to-buffer):
7214 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7215
7216 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7219 Don't document nil as a useful value (bug#12583).
7220
7221 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7222
7223 * net/tramp.el (tramp-debug-message):
7224 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7225 (with-tramp-progress-reporter): Rename from
7226 `tramp-with-progress-reporter'.
7227 (with-tramp-file-property, with-tramp-connection-property):
7228 Move from tramp-cache.el, rename from `with-file-property' and
7229 `with-connection-property', respectively.
7230
7231 * net/tramp-cache.el: Remove `with-file-property' and
7232 `with-connection-property'.
7233
7234 * net/tramp.el:
7235 * net/tramp-gvfs.el:
7236 * net/tramp-sh.el:
7237 * net/tramp-smb.el: Adapt callees.
7238
7239 * net/trampver.el: Update release number.
7240
7241 2012-10-09 Glenn Morris <rgm@gnu.org>
7242
7243 * w32-fns.el (set-message-beep):
7244 * term/w32-win.el (set-message-beep): Update declarations.
7245
7246 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7247
7248 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7249 (mode-line-widen, mode-line-input-method-map)
7250 (mode-line-coding-system-map, mode-line-remote)
7251 (mode-line-unbury-buffer, mode-line-bury-buffer)
7252 (mode-line-next-buffer, mode-line-previous-buffer):
7253 Replace save-selected-window+select-window => with-selected-window.
7254
7255 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7256 * progmodes/cc-vars.el (bq-process): Remove, unused.
7257
7258 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7259
7260 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7261
7262 Implemented `backward-up-list'-like navigation.
7263 * progmodes/python.el (python-nav-up-list)
7264 (python-nav-backward-up-list): New functions.
7265 (python-mode-map): Define substitute key for backward-up-list to
7266 python-nav-backward-up-list.
7267
7268 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7269
7270 * progmodes/python.el (python-fill-paragraph): Rename from
7271 python-fill-paragraph-function. Fixed fill-paragraph for
7272 decorators (Bug#12605).
7273
7274 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7275
7276 * progmodes/python.el (python-shell-output-filter): Handle extra
7277 carriage return in OSX (Bug#12409).
7278
7279 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7280
7281 Fix shell handling of unbalanced quotes and parens in output.
7282 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7283 (python-syntax-propertize-function): Use it.
7284 (python-shell-output-syntax-table): New var.
7285 (inferior-python-mode): Prevent unbalanced parens/quotes from
7286 previous output mess with current input context.
7287
7288 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7289
7290 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7291 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7292
7293 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7294
7295 * ffap.el (ffap-replace-file-component): Support Tramp file name
7296 syntax, not only ange-ftp's one.
7297
7298 2012-10-08 Glenn Morris <rgm@gnu.org>
7299
7300 * cus-start.el (message-log-max): Set :version.
7301
7302 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7303
7304 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7305
7306 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7307 the minibuffer window (Bug#10851).
7308
7309 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7310
7311 Enhancements on forward-sexp movement.
7312 * progmodes/python.el (python-nav-beginning-of-statement)
7313 (python-nav-end-of-statement): Return point-marker.
7314 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7315 (python-info-current-symbol)
7316 (python-info-statement-starts-block-p): Rename from
7317 python-info-beginning-of-block-p.
7318 (python-info-statement-ends-block-p): Rename from
7319 python-info-end-of-block-p.
7320 (python-info-beginning-of-statement-p)
7321 (python-info-end-of-statement-p)
7322 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7323 New functions.
7324
7325 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7328 frame-selected-windows.
7329
7330 2012-10-08 Daniel Colascione <dancol@dancol.org>
7331
7332 * battery.el (battery-status-function): Check for
7333 w32-battery-status itself, not system-time windows-nt.
7334
7335 * frame.el: Require cl-lib.
7336 (display-format-alist): New variable mapping frame types to
7337 functions that initialize them.
7338 (window-system-for-display): New function: interprets
7339 display-format-alist.
7340 (make-frame-on-display): Remove existing display-selection logic
7341 and just forward to make-frame, which will now DTRT.
7342 (make-frame): Restructure to use window-system-for-display to
7343 figure out how to create a frame on a given display.
7344 (display-mouse-p): Look for frame-type w32, not a particular
7345 system-type.
7346
7347 * loadup.el: Load w32 lisp code when we have the w32 feature.
7348
7349 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7350 system-type windows-nt.
7351
7352 * server.el (server-create-window-system-frame): Look for window
7353 type.
7354 (server-proces-filter): Only force a window system when windows-nt
7355 _and_ w32. Explain why.
7356
7357 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7358 of window systems we configure for the mode.
7359
7360 * startup.el (command-line): Mark window system is initialized
7361 after we've done it.
7362
7363 * common-win.el (x-select-text): Look for w32, not windows-nt.
7364
7365 * ns-win.el: Require cl-lib. Add ourselves to
7366 display-format-alist.
7367 (ns-initialize-window-system): Assert we're not initialized twice.
7368
7369 * w32-win.el: Enable lexical binding; require cl-lib; add
7370 ourselves to display-format-alist.
7371 (w32-handle-dropped-file): Convert incoming dropped files from
7372 Windows paths to Cygwin ones before passing them on to the rest of
7373 Emacs.
7374 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7375 (w32-initialize-window-system): Assert we're not initialized twice.
7376
7377 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7378 (x-initialize-window-system): Assert we're not initialized twice.
7379
7380 * w32-common-fns.el: New File.
7381 (w32-version, w32-using-nt, w32-get-clipboard-data)
7382 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7383 (w32-charset-info-alist, x-last-selected, text)
7384 (x-get-selection-value, x-selection-value): Move here.
7385
7386 * w32-fns.el: Require w32-common-fns.
7387 (w32-version, w32-using-nt, w32-get-clipboard-data)
7388 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7389 (w32-charset-info-alist, x-last-selected, text)
7390 (x-get-selection-value, x-selection-value): Move to
7391 w32-common-fns.
7392
7393 * w32-vars.el:
7394 (w32-allow-system-shell, w32-system-shells): Define only in
7395 non-cygwin case.
7396
7397 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7398
7399 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7400 (read-passwd): Remove a few more potential sources of leaks.
7401
7402 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7403
7404 * progmodes/python.el (inferior-python-mode)
7405 (python-shell-make-comint): Fix initialization of local
7406 variables copied from parent buffer.
7407
7408 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7409
7410 * term/ns-win.el (ns-read-file-name): Update declaration to match
7411 nsfns.m.
7412 (ns-respond-to-change-font): Change fontsize separately so we are sure
7413 it is set when font is acted upon.
7414
7415 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7416
7417 Enhancements to indentation.
7418 * progmodes/python.el (python-indent-context): Give priority to
7419 inside-string context. Make comments indentation markers.
7420 (python-indent-region): Do not mess with strings, unless it's the
7421 enclosing set of quotes.
7422
7423 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * window.el (internal--before-save-selected-window)
7426 (internal--after-save-selected-window): New functions extracted from
7427 save-selected-window. Make sure we return the `alist' we construct.
7428 (save-selected-window): Use them.
7429
7430 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7431 Use with-selected-window.
7432
7433 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7434 forms that define macros (bug#12593).
7435
7436 2012-10-07 Kenichi Handa <handa@gnu.org>
7437
7438 * international/mule-conf.el (compound-text-with-extensions):
7439 Add :mime-charset property as x-ctext.
7440
7441 2012-10-07 Stefan Merten <smerten@oekonux.de>
7442
7443 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7444 (rst-indent-literal-normal, rst-indent-literal-minimized)
7445 (rst-indent-comment): Correct :version tag.
7446 (rst-official-cvs-rev): Correct version string.
7447
7448 2012-10-07 Glenn Morris <rgm@gnu.org>
7449
7450 * mail/rmailmm.el (rmail-mime-process-multipart):
7451 Do not confuse a multipart message with an epilogue
7452 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7453
7454 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7455
7456 Fix shell output retrieval and comint-prompt-regexp init.
7457 * progmodes/python.el (inferior-python-mode):
7458 (python-shell-make-comint): Fix initialization of
7459 comint-prompt-regexp from copied file local variables.
7460 (python-shell-fetched-lines): Remove var.
7461 (python-shell-output-filter-in-progress): Rename from
7462 python-shell-fetch-lines-in-progress.
7463 (python-shell-output-filter-buffer): Rename from
7464 python-shell-fetch-lines-string.
7465 (python-shell-fetch-lines-filter): Delete function.
7466 (python-shell-output-filter): New function.
7467 (python-shell-send-string-no-output): Use them.
7468
7469 2012-10-07 Glenn Morris <rgm@gnu.org>
7470
7471 * hi-lock.el (hi-lock-process-phrase):
7472 Try to make it less fragile. (Bug#7161)
7473
7474 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7475
7476 2012-10-06 Glenn Morris <rgm@gnu.org>
7477
7478 * ehelp.el (electric-help-mode): Use help-mode rather than
7479 non-existent mode `help'.
7480 (electric-help-map): Use button-buffer-map. (Bug#10917)
7481
7482 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7483 (reftex-create-bibtex-footer): Fix custom types.
7484
7485 * progmodes/sh-script.el (sh-indent-after-continuation):
7486 Add explicit :group.
7487
7488 * textmodes/rst.el (rst-preferred-decorations)
7489 (rst-shift-basic-offset): Clarify obsolescence versions.
7490
7491 * profiler.el (profiler): Add missing group :version tag.
7492 * avoid.el (mouse-avoidance-banish-position):
7493 * proced.el (proced-renice-command):
7494 * calc/calc.el (calc-ensure-consistent-units):
7495 * calendar/icalendar.el (icalendar-import-format-uid):
7496 * net/tramp.el (tramp-save-ad-hoc-proxies):
7497 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7498 * progmodes/flymake.el (flymake-error-bitmap)
7499 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7500 * progmodes/sh-script.el (sh-indent-after-continuation):
7501 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7502 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7503 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7504 (vhdl-array-index-record-field-in-sensitivity-list)
7505 (vhdl-indent-comment-like-next-code-line):
7506 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7507 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7508 (reftex-cite-key-separator, reftex-create-bibtex-header)
7509 (reftex-create-bibtex-footer):
7510 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7511 (rst-indent-literal-normal, rst-indent-literal-minimized)
7512 (rst-indent-comment): Add missing custom :version tags.
7513
7514 * calendar/timeclock.el (timeclock-modeline-display):
7515 Add missing obsolete alias for renamed user option.
7516
7517 * strokes.el (strokes-modeline-string):
7518 * emulation/crisp.el (crisp-mode-modeline-string):
7519 * eshell/esh-mode.el (eshell-status-in-modeline):
7520 Aliases to defcustoms must come before the defcustom.
7521
7522 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7523 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7524 (cal-tex-cursor-week-monday): Doc fixes.
7525 (cal-tex-cursor-week2-summary): Doc fix.
7526 Rename from cal-tex-cursor-week-at-a-glance.
7527
7528 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7529 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7530
7531 * calendar/calendar.el (calendar-mode-map):
7532 Add cal-tex-cursor-week2-summary.
7533
7534 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7535
7536 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7537
7538 * subr.el (read-passwd-map): New var.
7539 (read-passwd): Use `read-string' again.
7540 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7541
7542 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7543
7544 * register.el (append-to-register, prepend-to-register):
7545 Deactivate mark, as does `copy-to-register' (bug#12389).
7546
7547 2012-10-06 Chong Yidong <cyd@gnu.org>
7548
7549 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7550
7551 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7552
7553 * international/characters.el: Fix simple mistake ((car chars) ->
7554 elt), delete duplicated code.
7555
7556 2012-10-06 Glenn Morris <rgm@gnu.org>
7557
7558 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7559
7560 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7561
7562 * color.el (color-hsl-to-rgb): Fix incorrect results for
7563 small and large hue values. (Bug#12559)
7564
7565 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7566
7567 Enhancements to docstring formatting when filling paragraphs.
7568 * progmodes/python.el (python-fill-docstring-style): Rename from
7569 python-fill-string-style. Added new style.
7570 (python-fill-string): Use new style. Better checks for
7571 docstrings.
7572
7573 2012-10-05 Glenn Morris <rgm@gnu.org>
7574
7575 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7576
7577 * color.el (color-name-to-rgb, color-rgb-to-hex)
7578 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7579 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7580 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7581 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7582
7583 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7584
7585 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7586
7587 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7588 to get the correct size across symlinks.
7589
7590 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7591
7592 2012-10-04 Juri Linkov <juri@jurta.org>
7593
7594 * replace.el (query-replace-interactive): Declare obsolete.
7595 (query-replace-read-from): Add the last incremental search string
7596 to the list of default values accessible via M-n.
7597 (map-query-replace-regexp): Use `read-regexp'.
7598 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7599 (map-query-replace-regexp, replace-string, replace-regexp):
7600 Fix docstrings to replace mentions of `query-replace-interactive'
7601 with alternatives. (Bug#12526)
7602
7603 2012-10-04 Juri Linkov <juri@jurta.org>
7604
7605 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7606 (dired-pop-to-buffer): Declare obsolete.
7607 (dired-mark-pop-up): Doc fix.
7608
7609 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7610
7611 Allow user to set docstring style for fill-paragraph.
7612 * progmodes/python.el
7613 (python-fill-comment-function, python-fill-string-function)
7614 (python-fill-decorator-function, python-fill-paren-function):
7615 Remove :safe for defcustoms.
7616 (python-fill-string-style): New defcustom
7617 (python-fill-paragraph-function): Enhance context detection.
7618 (python-fill-string): Honor python-fill-string-style settings.
7619
7620 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7621
7622 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7623 after setting its buffer (Bug#10805).
7624
7625 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7626
7627 Fix cornercase for string syntax.
7628 * progmodes/python.el (python-syntax-propertize-function):
7629 Simplify and enhance the regexp for unescaped quotes. Now it also
7630 matches quotes in weird situations like the single quote in
7631 "something\"'".
7632 (python-syntax-stringify): Simplify num-quotes detecting code.
7633
7634 2012-10-03 Glenn Morris <rgm@gnu.org>
7635
7636 * help-macro.el (three-step-help):
7637 Revert 2012-09-29 change. (Bug#12567)
7638
7639 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7640
7641 * menu-bar.el (kill-this-buffer): Don't do anything when
7642 `menu-frame' is not alive or visible (Bug#8184).
7643
7644 * emacs-lisp/debug.el (debug): When quitting the debugger window
7645 restore current buffer (Bug#12502).
7646
7647 2012-10-02 Chong Yidong <cyd@gnu.org>
7648
7649 * progmodes/hideif.el (hif-lookup, hif-defined):
7650 Handle semantic-c-takeover-hideif.
7651
7652 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7653
7654 Change sampling interval units from ms to ns.
7655 * profiler.el (profiler-sampling-interval): Change units
7656 from ms to ns, multiplying the default by 1000000 so that
7657 it remains 1 ms.
7658 (profiler-report-cpu-line-format): Give enough room for
7659 the maximum counters on 64-bit hosts.
7660 (profiler-report-render-calltree-1): Call them "CPU samples",
7661 not "Time (ms)", since they are not milliseconds now (and
7662 never really were).
7663
7664 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7665
7666 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7667 Fix querying BBDB for entries without a last name (Bug#11580).
7668
7669 2012-10-02 Chong Yidong <cyd@gnu.org>
7670
7671 * emacs-lisp/eieio.el: Restore Version header.
7672
7673 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7674
7675 * vc/diff-mode.el (diff--auto-refine-data): New var.
7676 (diff-hunk): Use it to delay refinement.
7677 (diff-mode): Remove overlays when we turn off font-lock.
7678
7679 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7680 (table-initialize-table-fixed-width-mode)
7681 (table-set-table-fixed-width-mode): Remove functions.
7682 (table-command-list): Move initialization into declaration.
7683 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7684 (table-with-cache-buffer): Use `declare'.
7685 (table-span-cell): Simplify via CSE.
7686 (table-fixed-width-mode): Use define-minor-mode.
7687 (table-call-interactively, table-funcall, table-apply): Remove.
7688 (table-function): New function, to replace them.
7689
7690 * bookmark.el (bookmark-search-pattern): Remove var.
7691 (bookmark-read-search-input): Remove function.
7692 (bookmark-bmenu-search): Reimplement using a minibuffer.
7693
7694 * faces.el (modeline): Remove obsolete face name.
7695
7696 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7697 and give a non-nil default value.
7698 (add-change-log-entry): Simplify accordingly.
7699
7700 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7701
7702 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7703 (vc-git-log-edit-toggle-amend): New function.
7704 (vc-git-log-edit-toggle-signoff): New function.
7705 (vc-git-log-edit-mode): New major mode.
7706 (vc-git-log-edit-mode-map): Keymap for it.
7707 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7708
7709 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7710 header names.
7711 (log-edit-toggle-header): New function.
7712 (log-edit-extract-headers): Accept function values in HEADERS alist.
7713
7714 2012-10-01 David Engster <deng@randomsample.de>
7715
7716 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7717 from symbol property and change message to be more consistent with
7718 Emacs proper.
7719 (eieio-describe-generic): Add filename for each implementation.
7720 Fix indices for generic and normal methods.
7721 (eieio-method-def, eieio-class-def): New buttons.
7722 (eieio-help-find-method-definition)
7723 (eieio-help-find-class-definition): New functions.
7724 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7725 class, constructor and method definitions.
7726
7727 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7728 information in symbol property.
7729 (scoped-class): Remove.
7730 (eieio-slot-name-index, call-next-method): Check if it is bound.
7731
7732 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7733
7734 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7735 (eieio-custom-mode): New major mode.
7736 (eieio-customize-object): Use it.
7737
7738 2012-10-01 Eric Ludlam <zappo@gnu.org>
7739
7740 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7741 specifying the expected class, and whether subclassing is allowed.
7742 (eieio-persistent-convert-list-to-object):
7743 (eieio-persistent-validate/fix-slot-value)
7744 (eieio-persistent-slot-type-is-class-p): New functions.
7745 (eieio-named::slot-missing): Doc fix.
7746
7747 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7748 Stop using unused publd variable.
7749
7750 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7751 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7752 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7753 (eieio-speedbar-handle-click): Do not specify a class for the
7754 method. Fixes method invocation order problems with EDE.
7755
7756 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7757
7758 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7759 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7760
7761 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7762
7763 * bookmark.el (bookmark-version-control): Give tags in the
7764 :type choices (Bug#12309), and improve doc string.
7765 (bookmark-write-file): Bind `print-circle' to `t' to allow
7766 circular custom bookmark types. (Bug#12503)
7767
7768 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7769
7770 Revert the FOLLOW-SYMLINKS change for file-attributes.
7771 * files.el (remote-file-name-inhibit-cache, after-find-file):
7772 * time.el (display-time-file-nonempty-p): Undo last change.
7773
7774 * profiler.el (profiler-sampling-interval): Change default back to 1.
7775 See Stefan Monnier in
7776 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7777
7778 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7779
7780 Shell output catching a la gud-gdb.
7781 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7782 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7783 New Vars.
7784 (python-shell-fetch-lines-filter): New function.
7785 (python-shell-send-string-no-output): Use them.
7786
7787 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7788
7789 * profiler.el (profiler-sampling-interval): Rename from
7790 profiler-sample-interval.
7791 (profiler-sampling-interval): Default to 10.
7792 (profiler-find-profile): New command (was profiler-find-log).
7793 (profiler-find-profile-other-window): New command.
7794 (profiler-find-profile-other-frame): New command.
7795 (profiler-profile): Introduce API-level data structure.
7796
7797 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7798
7799 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7800 * files.el (remote-file-name-inhibit-cache):
7801 * time.el (display-time-file-nonempty-p): Use it.
7802 * files.el (after-find-file): Don't chase links before calling
7803 file-exists-p, as file-exists-p already does the right thing.
7804
7805 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7806
7807 Merge from standalone RefTeX repository.
7808
7809 The following ChangeLog entries are shortened versions of the
7810 original ones with file paths adapted. A not so strongly edited
7811 version of the original ChangeLog can be found in the commit log.
7812
7813 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7814 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7815 Correctly handle new value type returned by `reftex-citation'.
7816
7817 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7818 that entries with whitespace at various places are found.
7819 Doc fix. Include entries that are cross-referenced from cited entries.
7820 Include @String definitions in the resulting bib file. Add header
7821 and footer defined in `reftex-create-bibtex-header' and
7822 `reftex-create-bibtex-footer'.
7823 (reftex-do-citation): Make it possible again to insert
7824 non-existent entries. Save match data when asking for optional
7825 arguments. Return all keys, not just the first one.
7826 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7827 all citations in the same line.
7828 (reftex-parse-bibtex-entry): Accept additional optional argument
7829 `raw' and keep quotes or braces if it is non-nil. Match fields
7830 containing hyphens besides word constituents.
7831 (reftex-get-string-refs): New function.
7832 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7833 and ask if it should be reread in case it did.
7834 (reftex-pop-to-bibtex-entry)
7835 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7836 entries with spaces or tabs in front of arguments.
7837 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7838 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7839 Match entries containing numbers and symbol constituents.
7840 (reftex-do-citation, reftex-figure-out-cite-format):
7841 Use `reftex-cite-key-separator'.
7842
7843 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7844 (reftex-mouse-view-crossref): Explain why point is set.
7845
7846 * textmodes/reftex-global.el: Whitespace changes.
7847
7848 * textmodes/reftex-index.el: Move provide statement to end of
7849 file.
7850 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7851 (reftex-index-visit-phrases-buffer): Set marker when visiting
7852 buffer. This allows for returning from the phrases file to the
7853 file one was just editing instead of the file where the last
7854 phrases was added from.
7855 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7856 punctuation syntax as it usually is not used as string quote in
7857 TeX-related modes and may occur unmatched. The change also
7858 prevents fontification of quoted content.
7859 (reftex-index-phrases-mode): Use it.
7860
7861 * textmodes/reftex-parse.el (reftex-parse-from-file):
7862 Move backward one char if a `\' was matched after a section macro.
7863 (reftex-parse-from-file): Use beginning of match instead of end as
7864 bound.
7865
7866 * textmodes/reftex-ref.el: Adapt creation of
7867 `reftex-<package>-<macro>' functions to new structure of
7868 `reftex-ref-style-alist'.
7869 (reftex-reference): Use `reftex-ref-style-list' function.
7870 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7871 reference macro if `reftex-ref-macro-prompt' is non-nil.
7872 (reftex-reference): Pass refstyle to `reftex-format-special'.
7873 Determine reference macro by looking at
7874 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7875 Use only one special format function.
7876 (reftex-varioref-vref, reftex-fancyref-fref)
7877 (reftex-fancyref-Fref): Remove definitions. The functions are now
7878 generated from `reftex-ref-style-alist'.
7879 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7880 Remove.
7881 (reftex-format-special): New function.
7882
7883 * textmodes/reftex-sel.el
7884 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7885 of `reftex-ref-style-alist'. Remove code for testing macro type.
7886 (reftex-select-toggle-varioref)
7887 (reftex-select-toggle-fancyref): Remove.
7888 (reftex-select-cycle-ref-style-internal)
7889 (reftex-select-cycle-ref-style-forward)
7890 (reftex-select-cycle-ref-style-backward): New functions.
7891 (reftex-select-label-map): Use `v' and `V' for general cycling
7892 through reference styles. Add `p' for switching between number
7893 and page reference types.
7894
7895 * textmodes/reftex-toc.el (reftex-re-enlarge):
7896 Call `enlarge-window' only if there is something to do because in Emacs
7897 the horizontal version throws an error even if the parameter is 0.
7898
7899 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7900 (reftex-plug-into-AUCTeX): Doc fix.
7901 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7902 string. Adapt to new name.
7903 (reftex-ref-style-alist): Change structure so that it is not
7904 possible to use multiple different package names within a style.
7905 Remove the symbols for symbols for macro type distinction.
7906 Add characters for macro selection.
7907 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7908 (reftex-create-bibtex-footer): New variables.
7909 (reftex-format-ref-function): Mention third argument of special
7910 format function.
7911 (reftex-ref-style-alist, reftex-ref-style-default-list):
7912 New variables.
7913 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7914 to new implementation. Mark as obsolete. Add compatibility code
7915 for honoring the variable values in case they are set.
7916 (reftex-cite-format-builtin, reftex-bibliography-commands):
7917 Add support for ConTeXt.
7918 (reftex-format-ref-function, reftex-format-cite-function):
7919 Fix custom type.
7920 (reftex-cite-key-separator): New variable.
7921
7922 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7923 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7924 `reftex-syntax-table' because parens have to retain their paren
7925 syntax in order for parsing of BibTeX entries like @book(...) to
7926 work.
7927 (reftex-in-comment): Do not error out if `comment-start-skip' is
7928 not set. Deal correctly with escaped comment characters.
7929 (reftex-tie-multifile-symbols): Add doc string.
7930 Initialize `reftex-ref-style-list'.
7931 (reftex-untie-multifile-symbols): Add doc string.
7932 (reftex-add-index-macros): Doc fix.
7933 (reftex-ref-style-activate, reftex-ref-style-toggle)
7934 (reftex-ref-style-list): New functions.
7935 (reftex-mode-menu): Use them. Adapt to new structure of
7936 `reftex-ref-style-alist'.
7937 (reftex-select-with-char): Kill the RefTeX Select buffer when
7938 done.
7939 (reftex-remove-if): New function.
7940 (reftex-erase-all-selection-and-index-buffers)
7941 (reftex-mode-menu): Reference styles are now computed from
7942 `reftex-ref-style-alist'. Fix typo.
7943 (reftex-report-bug): New function.
7944 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7945 algorithms with O(n log n). Introduce optional argument SORT (not
7946 yet used).
7947
7948 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7949
7950 Enhancements for triple-quote string syntax.
7951 * progmodes/python.el (python-syntax-propertize-function):
7952 Match both quote cases in one regexp.
7953 (python-syntax-stringify): Handle matches properly.
7954
7955 2012-09-30 Juri Linkov <juri@jurta.org>
7956
7957 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7958 to nil around the call to `insert' to prevent
7959 directory time modification by lock_file. (Bug#2295)
7960 * tar-mode.el (tar-summarize-buffer): Idem.
7961
7962 2012-09-30 Juri Linkov <juri@jurta.org>
7963
7964 * facemenu.el (list-colors-sort): Add option "Luminance".
7965 (list-colors-sort-key): Implement it.
7966
7967 * vc/diff-mode.el (diff-refine-removed):
7968 * vc/ediff-init.el (ediff-fine-diff-A):
7969 * vc/smerge-mode.el (smerge-refined-removed):
7970 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7971
7972 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7973
7974 * term/ns-win.el (x-file-dialog): New function.
7975
7976 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7977
7978 * ido.el (ido-max-directory-size): Default to nil; the current
7979 default is small for POSIX systems, and impractical on Windows 7
7980 now that lstat returns directory sizes for NTFS.
7981
7982 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7983
7984 In buffer display functions handle window-height/window-width
7985 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7986 * window.el (window--display-buffer): New argument ALIST.
7987 Obey window-height and window-width alist entries.
7988 (window--try-to-split-window): New argument ALIST.
7989 Bind window-combination-limit to t when the window's size shall be
7990 changed and window-combination-limit equals `window-size'.
7991 (display-buffer-in-atom-window)
7992 (display-buffer-in-major-side-window)
7993 (display-buffer-in-side-window, display-buffer-same-window)
7994 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7995 (display-buffer-pop-up-window, display-buffer-below-selected)
7996 (display-buffer-at-bottom, display-buffer-in-previous-window)
7997 (display-buffer-use-some-window): Adjust all callers of
7998 window--display-buffer and window--try-to-split-window.
7999 (fit-frame-to-buffer): New option.
8000 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8001 is non-nil.
8002 (display-buffer-in-major-side-window): Evaluate window-height /
8003 window-width alist entries.
8004
8005 * help.el (temp-buffer-resize-frames)
8006 (temp-buffer-resize-regexps): Remove options.
8007 (temp-buffer-resize-mode): Adjust doc-string.
8008 (resize-temp-buffer-window): Don't consult
8009 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8010 temp-buffer-resize-frames.
8011
8012 * dired.el (dired-mark-pop-up):
8013 Call display-buffer-below-selected with a fit-window-to-buffer alist
8014 entry.
8015
8016 2012-09-30 Chong Yidong <cyd@gnu.org>
8017
8018 * server.el (server-host): Document the security implications.
8019 (server-auth-key): Doc fix.
8020
8021 * startup.el (initial-buffer-choice): Doc fix.
8022
8023 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8024
8025 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8026 restriction change.
8027
8028 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8029
8030 * help-fns.el (help-fns--obsolete): Fix last change.
8031
8032 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8033
8034 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8035 (minor-mode-map-alist): Remove redundant code.
8036
8037 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8038 visited in a buffer.
8039 (cvs-insert-visited-file): New function.
8040 (find-file-hook): Use it.
8041
8042 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8043
8044 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8045 chose face.
8046 (log-edit-empty-buffer-p): Don't require a space after a header.
8047
8048 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8049
8050 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8051
8052 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8053 a proper minor-mode.
8054
8055 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8056
8057 2012-09-29 Glenn Morris <rgm@gnu.org>
8058
8059 * winner.el (winner-mode): Remove variable (let define-minor-mode
8060 handle it).
8061 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8062 Doc fixes.
8063 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8064 (winner-mode): Use define-minor-mode.
8065
8066 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8067 the full definition in loaddefs, rather than duplicating it.
8068
8069 * help-macro.el (three-step-help): No need to autoload defcustom.
8070
8071 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8072 (inferior-lisp-program, inferior-lisp-load-command)
8073 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8074 No need to autoload defcustoms.
8075
8076 * hippie-exp.el (hippie-expand-try-functions-list)
8077 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8078 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8079 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8080 (hippie-expand-only-buffers): No need to autoload defcustoms.
8081 * progmodes/vhdl-mode.el (vhdl-line-expand):
8082 Explicitly load hippie-exp, so it does not get autoloaded
8083 while hippie-expand-try-functions-list is let-bound.
8084
8085 2012-09-28 Glenn Morris <rgm@gnu.org>
8086
8087 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8088
8089 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8090 Only "cl.el" counts as cl these days.
8091
8092 2012-09-28 Juri Linkov <juri@jurta.org>
8093
8094 Display archive errors in the echo area instead of inserting
8095 to the file buffer.
8096
8097 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8098 to STDERR-TEST that can be a regexp matching a successful output.
8099 Create a temporary file and redirect stderr to it. Search for
8100 STDERR-TEST in the stderr output and display it in the echo area
8101 if no match is found.
8102 (archive-extract-by-file): New function like
8103 `archive-extract-by-stdout' but extracting archives to files
8104 and looking for successful matches in stdout. Function body is
8105 mostly copied from `archive-rar-extract'.
8106 (archive-rar-extract): Use `archive-extract-by-file'.
8107 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8108
8109 2012-09-28 Leo Liu <sdl.web@gmail.com>
8110
8111 * pcomplete.el (pcomplete-show-completions):
8112 Use minibuffer-message to make pcomplete usable in minibuffer.
8113
8114 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8115
8116 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8117
8118 * type-break.el: Use lexical-binding.
8119 (type-break-mode): Use define-minor-mode.
8120
8121 * emacs-lisp/pcase.el (pcase--mark-used): New.
8122 (pcase--u1): Use it (bug#12512).
8123
8124 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8125 in load-history with the right file name.
8126
8127 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8128
8129 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8130 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8131 (doc-view-get-bounding-box): Make bounding box slicing work for
8132 ODF and DVI documents.
8133
8134 2012-09-28 Glenn Morris <rgm@gnu.org>
8135
8136 * type-break.el (type-break-mode, type-break-interval)
8137 (type-break-good-rest-interval, type-break-keystroke-threshold):
8138 No need to autoload.
8139 (type-break-good-rest-interval, type-break-keystroke-threshold):
8140 Add :set-after.
8141
8142 2012-09-28 Chong Yidong <cyd@gnu.org>
8143
8144 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8145 Add :version tag.
8146
8147 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8150
8151 2012-09-27 Glenn Morris <rgm@gnu.org>
8152
8153 * faces.el (x-display-name): Declare (for without-x builds).
8154
8155 * linum.el (linum-format): Don't autoload it. Improve :type.
8156
8157 * progmodes/tcl.el: Don't require outline when compiling.
8158 (outline-regexp, outline-level): Declare.
8159 * textmodes/sgml-mode.el: Don't require outline when compiling.
8160 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8161
8162 * term.el (term-ansi-reset):
8163 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8164
8165 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8166 files for RCS and SCCS. (Bug#9781)
8167
8168 2012-09-27 Chong Yidong <cyd@gnu.org>
8169
8170 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8171 change; value should be t.
8172
8173 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * image-mode.el: Use lexical-binding.
8176 (image-mode-winprops): Use t to stand for the window of
8177 a buffer that's not displayed.
8178 * doc-view.el (doc-view-new-window-function): Handle the new
8179 t in winprops.
8180 (doc-view-enlarge): Make it a real nop if the size is not changed.
8181 (doc-view-display): Handle the case where the buffer is not (yet?)
8182 displayed in any window.
8183 (doc-view-saved-settings): New var.
8184 (doc-view-mode): Use it.
8185 (doc-view-fallback-mode): Set it.
8186
8187 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8188 Set lexical-binding.
8189 (minibuffer-eldef-shorten-default): New var.
8190 (minibuffer-default-in-prompt-regexps): Use it for new default.
8191 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8192
8193 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8194
8195 * international/uni-bidi.el:
8196 * international/uni-category.el:
8197 * international/uni-name.el:
8198 * international/uni-numeric.el: Regenerate.
8199
8200 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8201 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * profiler.el: New file.
8204
8205 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8208 (testcover-reinstrument): Simplify with CSE.
8209
8210 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8211
8212 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8213
8214 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8215
8216 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8217 (verilog-auto-input, verilog-auto-insert-lisp)
8218 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8219 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8220 (verilog-auto-unused, verilog-auto-wire)
8221 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8222 newline. Reported by Andrew Jones.
8223 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8224 Reported by Brad Dobbie.
8225 (verilog-batch-delete-trailing-whitespace):
8226 Create verilog-batch-delete-trailing-whitespace.
8227 Reported by Brad Dobbie.
8228 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8229 parameters from another module. Reported by Dan Katz.
8230 (verilog-auto, verilog-auto-assign-modport)
8231 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8232 AUTOINOUTMODPORT for UVM interface module shell generation.
8233 Reported by Brad Dobbie.
8234 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8235 standard behavior.
8236 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8237 Reported by Matt Martin.
8238
8239 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8240
8241 * window.el (window--resize-child-windows): When resizing child
8242 windows proportionally, process them in reverse order to
8243 preserve the "when splitting a window the new one gets the odd
8244 line" behavior.
8245 (window--resize-root-window-vertically): When resizing the
8246 minibuffer window try to affect only windows at the bottom of the
8247 frame. (Bug#12419)
8248
8249 2012-09-25 Chong Yidong <cyd@gnu.org>
8250
8251 * subr.el (declare): Doc fix.
8252
8253 * help-fns.el (help-fns--obsolete): Handle macros properly.
8254
8255 2012-09-25 Chong Yidong <cyd@gnu.org>
8256
8257 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8258 this function obsolete.
8259
8260 * calendar/cal-x.el (calendar-two-frame-setup)
8261 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8262 * calendar/calendar.el (american-calendar, european-calendar)
8263 (calendar-for-loop):
8264 * comint.el (comint-dynamic-simple-complete)
8265 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8266 * desktop.el (desktop-load-default):
8267 * dired-x.el (dired-omit-here-always)
8268 (dired-hack-local-variables, dired-default-directory):
8269 * emacs-lisp/derived.el (derived-mode-class):
8270 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8271 * emacs-lock.el (toggle-emacs-lock):
8272 * epa.el (epa-display-verify-result):
8273 * epg.el (epg-sign-keys, epg-start-sign-keys)
8274 (epg-passphrase-callback-function):
8275 * eshell/esh-util.el (eshell-for):
8276 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8277 (eshell-add-to-window-buffer-names):
8278 * files.el (locate-file-completion):
8279 * imenu.el (imenu-example--create-c-index)
8280 (imenu-example--create-lisp-index)
8281 (imenu-example--lisp-extract-index-name)
8282 (imenu-example--name-and-position):
8283 * international/mule-cmds.el (princ-list):
8284 * international/mule-diag.el (decode-codepage-char):
8285 * international/mule-util.el (detect-coding-with-priority):
8286 * iswitchb.el (iswitchb-read-buffer):
8287 * mail/mailalias.el (mail-complete):
8288 * mail/sendmail.el (mail-sent-via):
8289 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8290 (mouse-major-mode-menu):
8291 * password-cache.el (password-read-and-add):
8292 * pcomplete.el (pcomplete-parse-comint-arguments):
8293 * progmodes/sh-script.el (sh-maybe-here-document):
8294 * replace.el (query-replace-regexp-eval):
8295 * savehist.el (savehist-load):
8296 * simple.el (choose-completion-delete-max-match):
8297 * term.el (term-dynamic-simple-complete):
8298 * vc/ediff-init.el (ediff-check-version):
8299 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8300 * vc/vc.el (vc-diff-switches-list):
8301 * view.el (view-return-to-alist-update): Likewise.
8302
8303 * subr.el (eval-next-after-load, makehash, insert-string)
8304 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8305 mark obsolete.
8306 (mode-line-inverse-video): Variable deleted.
8307
8308 * international/mule-util.el (string-to-sequence): Remove.
8309
8310 * calendar/calendar.el (calendar-version):
8311 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8312 (icalendar-convert-diary-to-ical):
8313 * cus-edit.el (custom-mode):
8314 * ansi-color.el (ansi-color-unfontify-region):
8315 * international/latin1-disp.el (latin1-char-displayable-p):
8316 * progmodes/cwarn.el (turn-on-cwarn-mode):
8317 * progmodes/which-func.el (which-func-update-1):
8318 Use define-obsolete-function-alias.
8319
8320 * net/newst-backend.el (newsticker-cache-filename):
8321 * net/newst-treeview.el (newsticker-groups-filename):
8322 Fix incorrect obsolescence declaration.
8323
8324 * allout.el (allout-passphrase-hint-string): Likewise.
8325 (allout-init): Use a declare form to mark obsolete.
8326
8327 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8328 this applies to functions.
8329
8330 * iswitchb.el (iswitchb-read-buffer): Move code of
8331 iswitchb-define-mode-map here, and delete that obsolete function.
8332
8333 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8334 font-lock-reference-face.
8335
8336 2012-09-25 Glenn Morris <rgm@gnu.org>
8337
8338 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8339 Doc fixes.
8340
8341 * eshell/em-term.el (eshell-term-name):
8342 Default to term-term-name. (Bug#12485)
8343
8344 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8345
8346 * progmodes/python.el (python-shell-send-buffer): Better handling
8347 of "if __name__ == '__main__':" conditionals when sending the buffer.
8348
8349 2012-09-24 Glenn Morris <rgm@gnu.org>
8350
8351 * eshell/esh-cmd.el (eshell-find-alias-function):
8352 Tighten up file-name regexp. (Bug#12499)
8353
8354 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8355
8356 Enhancements for triple-quote string syntax.
8357 * progmodes/python.el (python-quote-syntax): Remove.
8358 (python-syntax-propertize-function): New value.
8359 (python-syntax-count-quotes, python-syntax-stringify):
8360 New functions.
8361
8362 2012-09-24 Chong Yidong <cyd@gnu.org>
8363
8364 * mail/supercite.el (sc-version): Remove obsolete function.
8365 (sc-describe): Don't mark as obsolete, since it is bound.
8366 (sc-submit-bug-report): Remove.
8367
8368 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8369 (cvs-commit-buffer-require-final-newline): Remove.
8370 (log-edit-require-final-newline)
8371 (log-edit-changelog-full-paragraphs): Default to t.
8372
8373 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8374 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8375 * vc/vc.el (vc-checkout-carefully): Likewise.
8376
8377 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8378 (emerge-version): Remove.
8379
8380 * progmodes/compile.el (compile-internal): Remove.
8381 (compilation-parse-errors-function): Fix typo.
8382
8383 * international/mule.el (set-char-table-default): Remove.
8384 (set-coding-priority, make-coding-system, generic-char-p)
8385 (charset-list, charset-bytes, charset-id): Use declare to mark
8386 functions as obsolete.
8387
8388 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8389 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8390 * vc/vc-hooks.el (vc-default-registered): Don't use
8391 vc-master-templates.
8392
8393 * font-lock.el (font-lock-reference-face):
8394 Use define-obsolete-variable-alias.
8395
8396 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8397 * calendar/calendar.el (calendar-font-lock-keywords):
8398 * calendar/diary-lib.el (diary-font-lock-keywords)
8399 (diary-fancy-font-lock-keywords):
8400 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8401 * textmodes/reftex-index.el (reftex-insert-index):
8402 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8403 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8404 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8405 * progmodes/prolog.el (prolog-font-lock-keywords):
8406 * progmodes/idlwave.el (idlwave-idl-keywords):
8407 * progmodes/ada-mode.el (ada-font-lock-keywords):
8408 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8409
8410 2012-09-24 Glenn Morris <rgm@gnu.org>
8411
8412 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8413
8414 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8415
8416 * progmodes/python.el (python-indent-line): More consistent cursor
8417 movement behavior.
8418
8419 2012-09-23 Stefan Merten <smerten@oekonux.de>
8420
8421 * textmodes/rst.el: Fix compiler warning.
8422
8423 2012-09-23 Roland Winkler <winkler@gnu.org>
8424
8425 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8426 Transcribe also LaTeX hyphenation.
8427 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8428 bibtex-reformat-previous-options.
8429
8430 2012-09-23 Roland Winkler <winkler@gnu.org>
8431
8432 * proced.el (proced-renice-command): New variable.
8433 (proced-marked-processes): New function.
8434 (proced-with-processes-buffer): New macro.
8435 (proced-send-signal): Use them.
8436 (proced-renice): New command bound to r.
8437
8438 2012-09-23 Roland Winkler <winkler@gnu.org>
8439
8440 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8441 ibuffer-saved-filter-groups has one element, shortcut the call of
8442 completing-read. (Bug#12331)
8443
8444 2012-09-23 Chong Yidong <cyd@gnu.org>
8445
8446 * bindings.el (mode-line-toggle-read-only):
8447 * bs.el (bs-toggle-readonly):
8448 * buff-menu.el (Buffer-menu-toggle-read-only):
8449 * dired.el (dired-toggle-read-only):
8450 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8451
8452 2012-09-23 Chong Yidong <cyd@gnu.org>
8453
8454 * image.el (image-type-available-p): Adapt to init-image-library
8455 argument changes.
8456
8457 2012-09-22 Juri Linkov <juri@jurta.org>
8458
8459 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8460 `dired-toggle-read-only'. (Bug#12462)
8461
8462 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8463
8464 * subr.el (temp-output-buffer-show): New function.
8465 (with-output-to-temp-buffer): Call temp-output-buffer-show
8466 instead of internal-temp-output-buffer-show.
8467
8468 2012-09-22 Chong Yidong <cyd@gnu.org>
8469
8470 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8471 (Bug#12462).
8472
8473 * repeat.el (repeat): Doc fix (Bug#12348).
8474
8475 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8476 (Bug#10909).
8477
8478 * simple.el (shell-command-on-region): Doc fix.
8479 (read-only-mode): Doc fix.
8480
8481 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8482
8483 * emacs-lisp/timer.el (run-with-idle-timer)
8484 (timer-activate-when-idle): Warn against reinvoking an idle timer
8485 from within its own timer action. (Bug#12447)
8486
8487 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8488
8489 * cus-start.el (window-combination-limit): Add new optional
8490 values.
8491 * window.el (temp-buffer-window-show)
8492 (window--try-to-split-window): Handle new values of
8493 window-combination-limit (Bug#1806).
8494 (split-window): Test window-combination-limit for t instead of
8495 non-nil.
8496 (display-buffer-at-bottom): New buffer display action function.
8497 * help.el (temp-buffer-resize-regexps): New option.
8498 (temp-buffer-resize-mode): Rewrite doc-string.
8499 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8500 Don't resize reused window. Suggested by Glenn Morris.
8501
8502 2012-09-22 Stefan Merten <smerten@oekonux.de>
8503
8504 * textmodes/rst.el: Revamp section title faces.
8505 (rst-official-version)
8506 (rst-package-emacs-version-alist): Sync with official version
8507 V1.4.0.
8508 (rst-faces-defaults, rst-set-level-default)
8509 (rst-level-face-max, rst-level-face-base-color)
8510 (rst-level-face-base-light, rst-level-face-format-light)
8511 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8512 (rst-adornment-faces-alist): Match new setup.
8513 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8514 (rst-level-5, rst-level-6): New faces.
8515
8516 2012-09-22 Chong Yidong <cyd@gnu.org>
8517
8518 * simple.el (undo): Handle indirect buffers (Bug#8207).
8519
8520 2012-09-21 Leo Liu <sdl.web@gmail.com>
8521
8522 IDO: Disable match re-ordering for buffer switching.
8523 * ido.el (ido-buffer-disable-smart-matches): New variable.
8524 (ido-set-matches-1): Use it. (Bug#2042)
8525
8526 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8527
8528 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8529 Fix 2011-05-17 change. (Bug#12418)
8530
8531 2012-09-21 Leo Liu <sdl.web@gmail.com>
8532
8533 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8534
8535 2012-09-21 Glenn Morris <rgm@gnu.org>
8536
8537 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8538 Be more robust about locating simple.el.
8539
8540 2012-09-21 Glenn Morris <rgm@gnu.org>
8541
8542 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8543
8544 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8545
8546 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8547
8548 2012-09-20 Juri Linkov <juri@jurta.org>
8549
8550 * replace.el (query-replace-read-from): Use `read-regexp' instead
8551 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8552 (occur-read-primary-args): Use `read-regexp' instead of
8553 `read-string'.
8554 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8555 `read-from-minibuffer'.
8556 * isearch.el (isearch-occur): Use `read-regexp' instead of
8557 `read-string'.
8558 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8559 `read-from-minibuffer'.
8560 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8561 of `read-string'. (Bug#7567)
8562
8563 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8564 and allow accepting a list of strings prepended to a list of
8565 standard default values. Doc fix. (Bug#12321)
8566
8567 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8568
8569 * replace.el (read-regexp): Don't add ": " when PROMPT already
8570 ends with a colon and space. (Bug#12321)
8571
8572 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8573
8574 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8575 error.
8576
8577 2012-09-20 Stefan Merten <smerten@oekonux.de>
8578
8579 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8580 Fixes feature request bug#11711.
8581 (rst-mode): Create `imenu-create-index-function'.
8582 (rst-get-stripped-line): Delete after refactoring.
8583 (rst-section-tree, rst-section-tree-rec)
8584 (rst-section-tree-point): Refactor and document properly.
8585 (rst-imenu-find-adornments-for-position)
8586 (rst-imenu-convert-cell, rst-imenu-create-index):
8587 New function.
8588
8589 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8590
8591 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8592 (macroexp--expand-all): Use it.
8593 (macroexp--funcall-and-return): Remove by folding it into its sole
8594 caller (macroexp--warn-and-return).
8595 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8596 Use macroexp--obsolete-warning.
8597
8598 * calc/calc.el: Fix last change by removing the whole chunk, since it
8599 was only needed back when Calc was not bundled.
8600
8601 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8602
8603 * emacs-lisp/debug.el (debug): Restore assignment to
8604 debugger-old-buffer removed on 2012-09-08.
8605
8606 2012-09-20 Juri Linkov <juri@jurta.org>
8607
8608 * dired-aux.el (dired-diff): Remove (require 'diff) since
8609 `diff-latest-backup-file' is now autoloaded.
8610
8611 2012-09-20 Chong Yidong <cyd@gnu.org>
8612
8613 * vc/diff.el (diff-latest-backup-file): Autoload.
8614
8615 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8616
8617 * calc/calc.el: Remove redundant autoload shape check.
8618 (sel-mode): Don't defvar.
8619 (calc-get-stack-element): Add `sel-mode' arg instead.
8620 (calc-top, calc-top-list): Pass it this additional argument.
8621 * calc/calc-store.el (calc-store-map):
8622 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8623 (calc-map-equation, calc-outer-product, calc-inner-product):
8624 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8625
8626 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8627
8628 2012-09-19 Juri Linkov <juri@jurta.org>
8629
8630 * dired-aux.el (dired-diff): Add (require 'diff) because
8631 `diff-latest-backup-file' is not autoloaded.
8632 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8633 of `dired-get-filename' to t to not report error when there is
8634 no default file on the current line.
8635
8636 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8639 macroexp--eval-if-compile.
8640 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8641 (macroexp--expand-all): Use them (bug#12371).
8642
8643 * doc-view.el (doc-view-guess-paper-size)
8644 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8645
8646 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8647
8648 New feature: set optimal slice from BoundingBox information.
8649 * doc-view.el (doc-view-mode-map): Add keybinding.
8650 (doc-view-menu): Add menu entry.
8651 (doc-view-set-slice): Adapt docstring.
8652 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8653 (doc-view-scale-bounding-box)
8654 (doc-view-set-slice-from-bounding-box): New functions.
8655 (doc-view-paper-sizes): New defvar.
8656
8657 2012-09-19 Glenn Morris <rgm@gnu.org>
8658
8659 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8660 (byte-compile-log-warning): Autoload. (Bug#12371)
8661
8662 * calendar/calendar.el (calendar-american-month-header)
8663 (calendar-european-month-header, calendar-iso-month-header)
8664 (calendar-month-header): New options.
8665 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8666 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8667
8668 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8669
8670 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8671
8672 2012-09-18 Juri Linkov <juri@jurta.org>
8673
8674 * dired-aux.el (dired-diff): Restore original functionality of
8675 getting the default value, but keep new feature of using the
8676 latest existing backup file (`diff-latest-backup-file').
8677
8678 2012-09-18 Juri Linkov <juri@jurta.org>
8679
8680 * dired.el (dired-mark): If the region is active in Transient Mark
8681 mode, mark all files in the active region. Doc fix.
8682 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8683 Doc fix. (Bug#10624)
8684
8685 2012-09-18 Juri Linkov <juri@jurta.org>
8686
8687 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8688 attributes for M-n are pulled from the file at point.
8689 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8690 Suggested by Drew Adams. (Bug#10624)
8691
8692 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8693
8694 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8695 whitespace after "end".
8696 (ruby-do-end-to-brace): Collapse block to one line if it fits
8697 within fill-column.
8698
8699 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8700
8701 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8702 value.
8703 (debug): Don't remove debugger window when debugger is expected
8704 to be back.
8705
8706 2012-09-18 Chong Yidong <cyd@gnu.org>
8707
8708 * custom.el (defface): Doc fix.
8709
8710 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8711
8712 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8713
8714 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8715 to initialize query-on-exit; then test that instead (bug#12288).
8716
8717 2012-09-17 Stefan Merten <smerten@oekonux.de>
8718
8719 * textmodes/rst.el: Add support for `testcover'.
8720 (rst-defcustom-testcover, rst-testcover-add-compose)
8721 (rst-testcover-add-1value): New functions.
8722 (rst-portable-mark-active-p): Replace by `use-region-p'.
8723 (rst-update-section, rst-classify-adornment)
8724 (rst-find-title-line): Mark `1value' forms.
8725 (rst-classify-adornment): Remove superfluous form.
8726 (rst-update-section, rst-get-adornments-around)
8727 (rst-adornment-complete-p, rst-get-next-adornment)
8728 (rst-adjust, rst-promote-region)
8729 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8730 (rst-find-pfx-in-region, rst-section-tree-rec)
8731 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8732 (rst-toc-node, rst-toc, rst-forward-section)
8733 (rst-iterate-leftmost-paragraphs)
8734 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8735 (rst-bullet-list-region)
8736 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8737 (rst-compile-find-conf, rst-compile)
8738 (rst-repeat-last-character): Fix style.
8739
8740 2012-09-17 Chong Yidong <cyd@gnu.org>
8741
8742 * comint.el (comint--complete-file-name-data): Don't add a space
8743 if the status is `sole'; that adds a gratuitous space in the
8744 completion-cycling case (Bug#12092).
8745
8746 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8747
8748 2012-09-17 Richard Stallman <rms@gnu.org>
8749
8750 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8751 only in the mime-shown mode, not in raw mode.
8752 (rmail-mime): Toggle off mime by displaying the message without
8753 mime processing. (Bug#12305)
8754
8755 * mail/rmail.el (rmail-retry-failure):
8756 Turn off mime processing first. (Bug#12037)
8757
8758 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8759
8760 2012-09-17 Chong Yidong <cyd@gnu.org>
8761
8762 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8763 (shell-dynamic-complete-functions): Convert to defcustom.
8764 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8765
8766 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8767 * comint.el (comint-prompt-read-only):
8768 * custom.el (defcustom):
8769 * hi-lock.el (hi-lock-mode):
8770 * ibuffer.el (ibuffer-formats):
8771 * ielm.el (ielm-prompt-read-only):
8772 * novice.el (disable-command):
8773 * saveplace.el (toggle-save-place):
8774 * speedbar.el (speedbar-supported-extension-expressions):
8775 * startup.el (auto-save-list-file-prefix, init-file-user)
8776 (after-init-hook, inhibit-startup-echo-area-message):
8777 * strokes.el (strokes-help):
8778 * time-stamp.el (time-stamp):
8779 * calendar/calendar.el (calendar, diary-file):
8780 * calendar/diary-lib.el (diary-mail-entries, diary)
8781 (diary-list-entries-hook):
8782 * calendar/holidays.el (holidays, calendar-holidays):
8783 * calendar/lunar.el (lunar-phases):
8784 * calendar/solar.el (sunrise-sunset):
8785 * emulation/edt.el (edt-load-keys):
8786 * emulation/viper.el (viper-mode):
8787 * eshell/em-alias.el (eshell-command-aliases-list):
8788 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8789 * international/ogonek.el (ogonek-information):
8790 * net/tramp-cmds.el (tramp-bug):
8791 * net/quickurl.el (quickurl-reread-hook-postfix):
8792 * play/decipher.el (decipher-font-lock-keywords):
8793 * progmodes/cc-styles.el (c-set-style):
8794 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8795 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8796 * progmodes/octave-mod.el (octave-mode):
8797 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8798 * progmodes/verilog-mode.el (verilog-read-defines):
8799 * textmodes/two-column.el (2C-mode): Likewise.
8800
8801 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8802
8803 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8804 that holds many addresses.
8805
8806 2012-09-16 Chong Yidong <cyd@gnu.org>
8807
8808 * align.el (align-areas): Call the indication function with
8809 positions instead of markers for arguments (Bug#12343).
8810
8811 * files.el (parse-colon-path): Use split-string (Bug#12351).
8812
8813 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8814 (display-buffer-function): Mark as obsolete.
8815
8816 * progmodes/compile.el (compilation-parse-errors): Accept list
8817 values similar to font-lock-keywords (Bug#12136).
8818 Suggested by Oleksandr Manzyuk.
8819 (compilation-error-regexp-alist): Doc fix.
8820
8821 2012-09-15 Glenn Morris <rgm@gnu.org>
8822
8823 * version.el (emacs-bzr-version-bzr): New function.
8824 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8825
8826 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8827 checkouts, check the parent dirstate matches the branch.
8828 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8829 empty string.
8830
8831 * version.el (emacs-bzr-version): Doc fix.
8832 (emacs-bzr-version-dirstate): New function.
8833 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8834 is local try and check that it matches the branch. If not, just
8835 use dirstate information. (Bug#12441)
8836
8837 2012-09-14 Juri Linkov <juri@jurta.org>
8838
8839 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8840 (Bug#12399)
8841
8842 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8843
8844 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8845
8846 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8847 Remove obsolete byte-compiler hack that tried to silence some warnings.
8848 (edebug-submit-bug-report): Remove.
8849 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8850 Remove aliases, use the un-prefixed name instead.
8851 (edebug-pop-to-buffer): Consider other frames.
8852 (edebug-original-read):: Make it more obvious that it's always defined.
8853 (edebug--make-form-data-entry, edebug--form-data-name)
8854 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8855 single-dashed name, and implement with cl-defstruct.
8856 (edebug-set-form-data-entry): Use the standard accessors.
8857 (edebug-make-top-form-data-entry): Use push.
8858 (edebug-no-match): Drop useless `funcall'.
8859 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8860 to functions.
8861 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8862 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8863 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8864 (easy-menu-define, with-custom-print): Remove redundant specs.
8865 (edebug-outside-overriding-local-map)
8866 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8867 (edebug--display): Bind unread-command-events directly to nil rather
8868 than binding it to unread-command-events and later setting it to nil.
8869 (edebug--display): Kill edebug-eval-buffer here...
8870 (edebug--recursive-edit): ...rather than here.
8871 Bind standard-output and standard-input.
8872 (edebug-eval): Check cl-macroexpand-all is fboundp.
8873 (edebug-temp-display-freq-count): Fix last change.
8874
8875 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8876 * subr.el (noreturn, 1value): Add `debug' spec.
8877 * emacs-lisp/advice.el: Require cl-lib.
8878 (ad-copy-tree): Remove, use copy-tree instead.
8879 (ad-dolist): Remove use dolist or cl-dolist instead.
8880 (ad-do-return): Remove, use cl-return instead.
8881 (defadvice): Add `debug' spec.
8882
8883 2012-09-13 Juri Linkov <juri@jurta.org>
8884
8885 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8886 (Bug#12399)
8887
8888 2012-09-13 Glenn Morris <rgm@gnu.org>
8889
8890 * calc/calc.el (math-compose-expr):
8891 * calc/calc-ext.el (math-compose-expr):
8892 * progmodes/cc-defs.el (cl-macroexpand-all):
8893 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8894 (cl-macroexpand-all): Update declarations.
8895
8896 * vc/vc.el: No need to require ediff.
8897 (ediff-load-version-control): Declare.
8898 (ediff-vc-internal): Fix declaration.
8899 (vc-version-ediff): Require ediff.
8900
8901 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8902
8903 Use a more backwards-compatible timer format (Bug#12430).
8904 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8905 being right after USECS, as that better supports old code that
8906 inadvisedly looked directly at the timer vector.
8907
8908 2012-09-13 Kenichi Handa <handa@gnu.org>
8909
8910 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8911 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8912 `coding-priority' property of these language environment.
8913
8914 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8915
8916 Fix glitches caused by addition of psec to timers (Bug#12430).
8917 * image.el (image-animate-timer):
8918 * time.el (display-time-world-timer):
8919 Use timer--function and timer--args rather than raw access to
8920 timer vector.
8921
8922 2012-09-13 Glenn Morris <rgm@gnu.org>
8923
8924 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8925 If not compiling a file, try using load-file-name.
8926
8927 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8930 Fix last change.
8931 (edebug-update-eval-list): Use `push'.
8932
8933 * emacs-lisp/edebug.el: Use lexical-binding.
8934 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8935 Mark unused args with underscore.
8936 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8937 (edebug-form-data): Use defvar-local.
8938 (edebug-make-before-and-after-form, edebug-make-after-form):
8939 Use backquote.
8940 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8941 Not dynamically scoped any more.
8942 (edebug--enter-trace): Add arguments `function' and `args'.
8943 Rename from edebug-enter-trace.
8944 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8945 (edebug--update-coverage): Add `after-index' and `value' args.
8946 Rename from edebug-update-coverage.
8947 (edebug-slow-after): Call it accordingly.
8948 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8949 edebug-recursive-edit.
8950 (edebug--display): Call it accordingly. Add args `value',
8951 `offset-index', and `arg-mode'. Rename from edebug-display.
8952 (edebug-debugger, edebug): Call it accordingly.
8953 (edebug-eval-display-list): Use dolist.
8954
8955 2012-09-12 Juri Linkov <juri@jurta.org>
8956
8957 * info.el (Info-search): Don't check for isearch-mode and
8958 isearch-regexp before let-binding search-spaces-regexp to
8959 Info-search-whitespace-regexp.
8960 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8961 search-whitespace-regexp if isearch-lax-whitespace or
8962 isearch-regexp-lax-whitespace is non-nil.
8963 (Info-mode): Don't set local variable search-whitespace-regexp.
8964 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8965
8966 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8969 (debugger-env-macro): Remove support for unread-command-char.
8970
8971 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8972 the temporary map re-appearing on emulation-mode-map-alists.
8973
8974 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8975 since 22.1.
8976
8977 * ehelp.el (with-electric-help): Accept functions in
8978 electric-help-form-to-execute.
8979 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8980 And replace unread-command-char -> unread-command-events.
8981
8982 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8983
8984 Sync with Tramp 2.2.6.
8985
8986 * net/tramp.el (tramp-accept-process-output): Don't use
8987 JUST-THIS-ONE in the XEmacs case.
8988
8989 * net/trampver.el: Update release number.
8990
8991 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8992
8993 * emacs-lisp/debug.el (debugger-previous-window-height):
8994 New variable.
8995 (debug): When debugger-jumping-flag is non-nil try to restore
8996 height of debugger window. (Bug#8789)
8997
8998 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9001 overriding-local-map and pre/post-command-hook here.
9002 (edebug-recursive-edit): Do it here instead (bug#12345).
9003 (edebug-outside-unread-command-char): Remove all uses of
9004 unread-command-char.
9005
9006 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9007 inhibit-debugger is bound instead.
9008
9009 2012-09-11 Bastien Guerry <bzg@gnu.org>
9010
9011 * subr.el (set-temporary-overlay-map): Add a docstring.
9012 (Bug#12346)
9013
9014 2012-09-11 Bastien Guerry <bzg@gnu.org>
9015
9016 * minibuffer.el (completion-table-subvert): Fix docstring.
9017 (Bug#12347)
9018
9019 2012-09-11 Bastien Guerry <bzg@gnu.org>
9020
9021 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9022
9023 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9024
9025 * progmodes/sql.el: Version 3.1
9026 (sql-db2-escape-newlines): New variable.
9027 (sql-escape-newlines-filter): Use it.
9028
9029 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9030
9031 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9032
9033 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9034
9035 * vc/diff-mode.el (diff-mode-menu):
9036 Bind diff-remove-trailing-whitespace.
9037
9038 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9039
9040 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9041 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9042 (emacs-lisp-byte-code-mode): New functions.
9043 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9044 (eval-defun-2): Remove bogus interactive spec.
9045 (lisp-indent-line): Remove redundant whole-exp code, now done in
9046 indent-according-to-mode.
9047 (save-match-data): Remove redundant indent data.
9048
9049 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9050 Use `declare'.
9051
9052 2012-09-09 Juri Linkov <juri@jurta.org>
9053
9054 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9055 (replace-lax-whitespace, query-replace-regexp)
9056 (query-replace-regexp-eval, replace-regexp): Doc fix.
9057 (perform-replace, replace-highlight): Let-bind
9058 isearch-lax-whitespace to replace-lax-whitespace and
9059 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9060
9061 * isearch.el (isearch-query-replace): Let-bind
9062 replace-lax-whitespace to isearch-lax-whitespace and
9063 replace-regexp-lax-whitespace to
9064 isearch-regexp-lax-whitespace. (Bug#10885)
9065
9066 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9067
9068 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9069
9070 2012-09-09 Alan Mackenzie <acm@muc.de>
9071
9072 * progmodes/cc-engine.el (c-state-cache-init):
9073 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9074 (c-record-parse-state-state):
9075 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9076
9077 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9078
9079 * register.el (register-separator): Rename from
9080 separator-register. All uses changed. Doc fix.
9081 (register): Fix version.
9082
9083 2012-09-09 Chong Yidong <cyd@gnu.org>
9084
9085 * replace.el (query-replace-map): Bind four new symbols for
9086 requesting window scrolling.
9087
9088 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9089 query-replace-map (Bug#8948).
9090
9091 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9092
9093 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9094 since they are now in query-replace-map.
9095
9096 * window.el (scroll-other-window-down): Make the arg optional.
9097
9098 2012-09-09 Chong Yidong <cyd@gnu.org>
9099
9100 * files.el (hack-local-variables-confirm): Use quit-window to kill
9101 the *Local Variables* buffer.
9102
9103 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9104
9105 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9106 not just expect to be at its beginning. Adjust callees.
9107 Succeed when do-end block has no space before the pipe character.
9108 (ruby-brace-to-do-end): When the original block is one-liner,
9109 convert to multiline. Reindent the result.
9110
9111 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9112
9113 * register.el (register): New group.
9114 (separator-register): New user option.
9115 (increment-register): Route it to `append-to-register', if
9116 register contains text. Implication is that `C-x r +' can now be
9117 used for appending to a text register (bug#12217).
9118 (append-to-register, prepend-to-register): Add separator based on
9119 `separator-register'.
9120
9121 2012-09-08 Alan Mackenzie <acm@muc.de>
9122
9123 AWK Mode: make auto-newline work when there's "==" in the pattern.
9124 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9125 correctly.
9126 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9127 Test more rigorously for "=" token.
9128
9129 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9130
9131 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9132 Only fail when reached LIMIT.
9133
9134 2012-09-08 Chong Yidong <cyd@gnu.org>
9135
9136 * dired.el (dired-mode-map): Don't bind M-=.
9137
9138 * dired-aux.el (dired-diff): Use backup file as default.
9139
9140 2012-09-08 Drew Adams <drew.adams@oracle.com>
9141
9142 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9143
9144 2012-09-08 Chong Yidong <cyd@gnu.org>
9145
9146 * subr.el (syntax-after, syntax-class): Doc fix.
9147
9148 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9149
9150 * window.el (display-buffer-in-previous-window): New buffer
9151 display action function.
9152
9153 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9154 (debugger-previous-window): New variable.
9155 (debug): Rewrite using display-buffer-in-previous-window,
9156 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9157
9158 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9159
9160 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9161
9162 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9163
9164 * progmodes/python.el (python-shell-send-string):
9165 When default-directory is remote, create temp file on remote
9166 filesystem.
9167 (python-shell-send-file): When file is remote, pass local view of
9168 file paths to remote Python interpreter. (Bug#12340)
9169
9170 2012-09-07 Chong Yidong <cyd@gnu.org>
9171
9172 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9173
9174 * files.el (after-find-file): Don't fail on a read-only buffer if
9175 require-final-newline is `visit' or `visit-save' (Bug#11156).
9176
9177 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9178
9179 * userlock.el (ask-user-about-supersession-threat):
9180 Use read-char-choice (Bug#12093).
9181
9182 2012-09-07 Chong Yidong <cyd@gnu.org>
9183
9184 * subr.el (buffer-narrowed-p): New function.
9185
9186 * ses.el (ses-widen):
9187 * simple.el (count-words--buffer-message):
9188 * net/browse-url.el (browse-url-of-buffer): Use it.
9189
9190 * simple.el (count-words-region): Don't signal an error if there
9191 is a non-nil prefix arg and the mark is not set.
9192
9193 * help.el (describe-key-briefly): Allow the message to be seen
9194 when invoked from the minibuffer (Bug#7014).
9195
9196 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9197
9198 * progmodes/ruby-mode.el (ruby-end-of-defun)
9199 (ruby-beginning-of-defun): Simplify, allow indentation before
9200 block beginning and end keywords.
9201 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9202 (ruby-end-of-defun): Expect that the point is at the beginning of
9203 the defun.
9204
9205 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9208 (bug#12367).
9209 (cl--make-usage-args): Strip _ from argument names.
9210
9211 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9212
9213 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9214 obsolete alias speedbar-key-map.
9215 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9216 (vhdl-index-menu-init): Don't use obsolete variable
9217 font-lock-maximum-size.
9218
9219 2012-09-06 Chong Yidong <cyd@gnu.org>
9220
9221 * frame.el (window-system-version): Mark as obsolete.
9222
9223 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9224 of obsolete variable speedbar-key-map.
9225
9226 2012-09-06 Juri Linkov <juri@jurta.org>
9227
9228 * replace.el (replace-lax-whitespace): New defcustom.
9229 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9230 (replace-string, replace-regexp): Mention it in docstrings.
9231 (perform-replace, replace-highlight): Let-bind
9232 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9233 to the values of replace-lax-whitespace and regexp-flag.
9234 Don't let-bind search-whitespace-regexp. (Bug#10885)
9235
9236 * isearch.el (isearch-query-replace): Let-bind
9237 replace-lax-whitespace instead of let-binding
9238 replace-search-function and replace-re-search-function.
9239 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9240 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9241 (isearch-toggle-symbol): Set isearch-regexp to nil
9242 in isearch-word mode (like in isearch-toggle-word).
9243
9244 2012-09-06 Juri Linkov <juri@jurta.org>
9245
9246 * replace.el (replace-search-function)
9247 (replace-re-search-function): Set default values to nil.
9248 (perform-replace): Let-bind isearch-related variables based on
9249 replace-related values, call `isearch-search-fun' and let-bind
9250 the result to `search-function'. Remove code that sets
9251 `search-function' and `search-string' separately for
9252 `delimited-flag'.
9253 (replace-highlight): Add new argument `delimited-flag' and
9254 rename other arguments to the names used in `perform-replace'.
9255 Let-bind `isearch-word' to the argument `delimited-flag'.
9256 (Bug#10885, bug#10887)
9257
9258 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9259
9260 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9261 ruby-beginning-of-indent, simplify, allow all keywords to have
9262 indentation before them.
9263 (ruby-beginning-of-indent): Adjust for above. Search until the
9264 found point is not inside a string or comment.
9265 (ruby-font-lock-keywords): Allow symbols to start with "@"
9266 character, give them higher priority than variables.
9267 (ruby-syntax-propertize-function)
9268 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9269 matchers. Expression expansions are not comments when inside a
9270 string, and there comment syntax status is irrelevant.
9271 (ruby-match-expression-expansion): New function. Check that
9272 expression expansion is inside a string, and it's not escaped.
9273 (ruby-font-lock-keywords): Use it.
9274
9275 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9276
9277 * help.el (temp-buffer-max-height): New default value.
9278 (temp-buffer-resize-frames): New option.
9279 (resize-temp-buffer-window): Optionally resize frame.
9280
9281 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9282 (fit-frame-to-buffer): New function.
9283
9284 2012-09-05 Glenn Morris <rgm@gnu.org>
9285
9286 * emulation/cua-rect.el (cua--init-rectangles):
9287 * textmodes/picture.el (picture-mode-map):
9288 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9289 like forward-char and backward-char. (Bug#12317)
9290
9291 2012-09-05 Leo Liu <sdl.web@gmail.com>
9292
9293 * progmodes/flymake.el (flymake-warning-re): New variable.
9294 (flymake-parse-line): Use it.
9295
9296 2012-09-05 Glenn Morris <rgm@gnu.org>
9297
9298 * calendar/holidays.el (holiday-christian-holidays):
9299 Rename an entry. (Bug#12289)
9300
9301 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9302
9303 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9304 (bug#12222).
9305
9306 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9307
9308 * loadup.el: Load macroexp. Remove hack.
9309 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9310 (macroexp--expand-all): Use it to get better warnings.
9311 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9312 (internal-macroexpand-for-load): New functions.
9313 (macroexp--pending-eager-loads): New var.
9314 (emacs-startup-hook): New hack to replace one in loadup.el.
9315 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9316 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9317 (cl-psetf): Simplify.
9318 (cl-defstruct): Add indent rule.
9319
9320 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9321
9322 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9323 over `user-mail-address' for the SMTP MAIL FROM envelope.
9324 (smtpmail-via-smtp): Ditto.
9325
9326 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9327
9328 * progmodes/ruby-mode.el: Clean up keybindings.
9329 (ruby-mode-map): Don't bind ruby-electric-brace,
9330 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9331 backward-kill-word, reindent-then-newline-and-indent.
9332 (ruby-mark-defun): Remove.
9333 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9334 (ruby-mode): Set local beginning-of-defun-function and
9335 end-of-defun-function values.
9336
9337 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9338
9339 * window.el (temp-buffer-window-setup-hook)
9340 (temp-buffer-window-show-hook): New hooks.
9341 (temp-buffer-window-setup, temp-buffer-window-show)
9342 (with-temp-buffer-window): New functions.
9343 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9344 (special-display-popup-frame): Make sure the window used shows BUFFER.
9345
9346 * help.el (temp-buffer-resize-mode): Fix doc-string.
9347 (resize-temp-buffer-window): New optional argument WINDOW.
9348
9349 * files.el (recover-file, save-buffers-kill-emacs):
9350 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9351
9352 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9353
9354 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9355 remote definition of `default-directory', ensure we can connect.
9356
9357 2012-09-02 Juri Linkov <juri@jurta.org>
9358
9359 Toggle whitespace matching mode with M-s SPC.
9360 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9361
9362 * isearch.el (search-whitespace-regexp): Doc fix.
9363 Remove cons cell customization.
9364 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9365 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9366 New variables.
9367 (isearch-forward, isearch-forward-regexp): Doc fix.
9368 (isearch-toggle-lax-whitespace): New command.
9369 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9370 (re-search-forward-lax-whitespace)
9371 (re-search-backward-lax-whitespace): New functions.
9372 (isearch-whitespace-regexp): Remove function.
9373 (isearch-query-replace): Let-bind replace-search-function and
9374 replace-re-search-function.
9375 (isearch-occur): Let-bind search-spaces-regexp according to the
9376 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9377 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9378 condition for C-q SPC.
9379 (isearch-search-fun-default): Use new functions mentioned above.
9380 (isearch-search-forward, isearch-search-backward): Remove functions.
9381 (isearch-search): Don't let-bind search-spaces-regexp.
9382 (isearch-lazy-highlight-space-regexp): Remove variable.
9383 (isearch-lazy-highlight-lax-whitespace)
9384 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9385 (isearch-lazy-highlight-new-loop): Use them.
9386 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9387
9388 2012-09-02 Chong Yidong <cyd@gnu.org>
9389
9390 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9391
9392 2012-09-02 Glenn Morris <rgm@gnu.org>
9393
9394 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9395
9396 2012-09-01 Glenn Morris <rgm@gnu.org>
9397
9398 * term.el: Tidy up menu definitions.
9399 (term-mode-map): Use easymenu for In/Out, Complete menus.
9400 (term-pager-break-map): Initialize in the defvar.
9401 (term-terminal-menu, term-signals-menu): Define with easymenu.
9402 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9403 (term-pager-menu): New, extracted from term-process-pager.
9404 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9405 (term-update-mode-line): Propertize line/char and page items.
9406 (term-process-pager): Move keymap initialization elsewhere.
9407
9408 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9409
9410 * window.el (switch-to-prev-buffer): Handle additional values of
9411 BURY-OR-KILL argument. Don't switch in minibuffer window.
9412 (switch-to-next-buffer): Don't switch in minibuffer window.
9413 (quit-restore-window): New function based on quit-window.
9414 Handle additional values of former KILL argument.
9415 (quit-window): Call quit-restore-window with appropriate
9416 interpretation of KILL argument.
9417 (display-buffer-below-selected): New buffer display action
9418 function.
9419
9420 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9421
9422 * minibuffer.el (completion-at-point-functions): Complete docstring
9423 (bug#12254).
9424
9425 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9426
9427 Better seed support for (random).
9428 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9429 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9430 * play/mpuz.el, play/tetris.el, play/zone.el:
9431 * calc/calc-comb.el (math-init-random-base):
9432 * play/blackbox.el (bb-init-board):
9433 * play/life.el (life):
9434 * server.el (server-use-tcp):
9435 * type-break.el (type-break):
9436 Remove unnecessary call to (random t).
9437 * net/sasl.el (sasl-unique-id-function):
9438 Change (random t) to (random), now that the latter is more random.
9439 * play/life.el (life-initialized): Remove no-longer-needed var.
9440
9441 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9442
9443 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9444 Consider frame's buffer predicate when choosing the buffer.
9445 (Bug#12081)
9446
9447 2012-08-30 Richard Stallman <rms@gnu.org>
9448
9449 * simple.el (special-mode-map): Delete binding for `z'.
9450
9451 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9452
9453 * progmodes/compile.el (compilation-always-kill): Doc fix.
9454
9455 2012-08-30 Chong Yidong <cyd@gnu.org>
9456
9457 * window.el (display-buffer-reuse-frames): Make the obsolescence
9458 message more informative.
9459
9460 2012-08-30 Glenn Morris <rgm@gnu.org>
9461
9462 * paren.el (show-paren-delay):
9463 Add a :set function. Doc fix. (Bug#12297)
9464
9465 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9466
9467 * progmodes/compile.el (compilation-always-kill): New var.
9468 (compilation-start): Use it.
9469
9470 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9471
9472 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9473 * files.el (read-only-mode): Move to simple.el.
9474
9475 * files.el (read-only-mode): New minor mode.
9476 (toggle-read-only): Use it and mark obsolete.
9477 (find-file--read-only):
9478 * vc/vc.el (vc-next-action, vc-checkout):
9479 * vc/vc-cvs.el (vc-cvs-checkout):
9480 * obsolete/vc-mcvs.el (vc-mcvs-update):
9481 * ffap.el (ffap--toggle-read-only): Update callers.
9482
9483 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9484
9485 * eshell/esh-ext.el (eshell-external-command): Do not examine
9486 remote shell scripts.
9487 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9488
9489 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9490 "/usr/local/sbin".
9491
9492 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9493
9494 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9495
9496 2012-08-28 Leo Liu <sdl.web@gmail.com>
9497
9498 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9499 completion-at-point. (Bug#12220)
9500
9501 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9502
9503 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9504
9505 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9508 be buffer-local; add delete-trailing-whitespace (bug#12259).
9509
9510 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9511
9512 * progmodes/hideif.el (hif-compress-define-list):
9513 Fix typo. (Bug#11951)
9514
9515 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9516
9517 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9518 buffer local setting.
9519
9520 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9521 rcirc-encode-coding-system.
9522
9523 2012-08-28 Leo Liu <sdl.web@gmail.com>
9524
9525 * net/rcirc.el (rcirc-split-message): New function.
9526 (rcirc-send-message): Use it. (Bug#12051)
9527
9528 2012-08-28 Juri Linkov <juri@jurta.org>
9529
9530 * info.el (Info-fontify-node): Hide empty lines at the end of
9531 the node. (Bug#12272)
9532
9533 2012-08-27 Drew Adams <drew.adams@oracle.com>
9534
9535 * dired.el (dired-pop-to-buffer): Make window start at beginning
9536 of buffer (Bug#12281).
9537
9538 2012-08-26 Chong Yidong <cyd@gnu.org>
9539
9540 * window.el (special-display-regexps, special-display-frame-alist)
9541 (special-display-buffer-names, special-display-function)
9542 (display-buffer-reuse-frames): Mark as obsolete.
9543
9544 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9545
9546 * help.el (help-print-return-message): Don't treat
9547 display-buffer-reuse-frames specially.
9548
9549 2012-08-26 Chong Yidong <cyd@gnu.org>
9550
9551 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9552 New variable, replacing gdb-frame-parameters.
9553 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9554 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9555 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9556 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9557 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9558 the functions directly with gdb-display-buffer-other-frame-action.
9559 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9560 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9561 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9562 (gdb-display-registers-buffer): Define directly.
9563 (def-gdb-display-buffer): Macro deleted.
9564 (gdb-display-buffer): Remove second and third args, callers don't
9565 use them. Defer to the default display-buffer behavior, apart
9566 from making windows dedicated.
9567 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9568
9569 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9570
9571 * window.el (display-buffer-pop-up-frame): Handle a
9572 pop-up-frame-parameters alist entry.
9573 (display-buffer): Document it.
9574
9575 2012-08-26 Chong Yidong <cyd@gnu.org>
9576
9577 * isearch.el (search-whitespace-regexp): Make string and nil
9578 values apply to both ordinary and regexp search. Allow a cons
9579 cell value to distinguish between the two.
9580 (isearch-whitespace-regexp, isearch-search-forward)
9581 (isearch-search-backward): New functions.
9582 (isearch-occur, isearch-search-fun-default, isearch-search)
9583 (isearch-lazy-highlight-new-loop): Use them.
9584 (isearch-forward, isearch-forward-regexp): Doc fix.
9585
9586 2012-08-26 Chong Yidong <cyd@gnu.org>
9587
9588 * faces.el (help-argument-name): Always inherit from italic
9589 (Bug#12213).
9590
9591 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9592
9593 * window.el (window--even-window-heights): Even heights when
9594 WINDOW and the selected window form a vertical combination.
9595 (display-buffer-use-some-window): Provide that window used gets
9596 sized back by quit-window. (Bug#11880) and (Bug#12091)
9597
9598 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9599
9600 Fix file time stamp problem with bzr and CVS (Bug#12001).
9601 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9602 in the file's time stamp, since the version control system loses
9603 that information.
9604
9605 2012-08-22 Juri Linkov <juri@jurta.org>
9606
9607 * info.el (Info-fontify-node): Hide the suffix of the
9608 Info file name in the header line. (Bug#12187)
9609
9610 2012-08-22 Glenn Morris <rgm@gnu.org>
9611
9612 * calendar/cal-tex.el (cal-tex-weekly-common):
9613 Restore leading blank page.
9614
9615 2012-08-22 Le Wang <l26wang@gmail.com>
9616
9617 * misc.el (forward-to-word, backward-to-word): Activate or extend
9618 the region under `shift-select-mode'. (Bug#12231)
9619
9620 2012-08-22 Bastien Guerry <bzg@gnu.org>
9621
9622 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9623 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9624 gives details on why the space is never needed.
9625
9626 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (walk-window-tree, window-with-parameter):
9629 New optional argument MINIBUF to control whether these functions
9630 should run on the minibuffer window.
9631 (window-at-side-list): Don't operate on minibuffer window.
9632 (window-in-direction): Simplify and rewrite doc-string.
9633 (window--size-ignore): Rename to window--size-ignore-p.
9634 Update callers.
9635 (display-buffer-in-atom-window, window--major-non-side-window)
9636 (window--major-side-window, display-buffer-in-major-side-window)
9637 (delete-side-window, display-buffer-in-side-window):
9638 New functions.
9639 (window--side-check, window-deletable-p, delete-window)
9640 (delete-other-windows, split-window): Handle side windows and
9641 atomic windows appropriately.
9642 (window--display-buffer): Call display-buffer-record-window also
9643 when the window buffer did not change.
9644
9645 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9646
9647 * help-fns.el (help-fns--key-bindings):
9648 Abbreviate non-symbol remap targets. (Bug#12174)
9649
9650 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9651
9652 * dired.el (dired-mark-remembered): Don't clobber point.
9653 (Bug#11795)
9654
9655 2012-08-22 Glenn Morris <rgm@gnu.org>
9656
9657 * progmodes/bug-reference.el (bug-reference): New custom group.
9658 (bug-reference-bug-regexp): Make it a defcustom.
9659
9660 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9661
9662 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9663 (js-paren-indent-offset, js-square-indent-offset)
9664 (js-curly-indent-offset): Add :safe (Bug#12257).
9665
9666 2012-08-22 Edward O'Connor <hober0@gmail.com>
9667
9668 * json.el (json-key-format): Add error properties.
9669 (json-encode-key): New function.
9670 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9671 Use json-encode-key.
9672
9673 2012-08-22 Glenn Morris <rgm@gnu.org>
9674
9675 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9676 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9677 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9678 Update for above change.
9679
9680 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9681
9682 * cus-face.el (custom-face-attributes): Fix customize type for the
9683 :underline attribute. (Bug#11805)
9684
9685 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9686
9687 * window.el (window-point-1, set-window-point-1): Remove.
9688 (window-in-direction, record-window-buffer)
9689 (set-window-buffer-start-and-point, split-window-below)
9690 (window--state-get-1, display-buffer-record-window):
9691 Replace calls to window-point-1 and set-window-point-1 by calls to
9692 window-point and set-window-point respectively.
9693
9694 2012-08-21 Glenn Morris <rgm@gnu.org>
9695
9696 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9697 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9698 Use it.
9699
9700 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9701 (cal-tex-shortday): New function.
9702 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9703 (cal-tex-cursor-filofax-daily): Use the above.
9704
9705 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9706 New functions.
9707 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9708 (cal-tex-cursor-filofax-week): Use them.
9709
9710 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9711 New constants.
9712 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9713 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9714
9715 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9716 (cal-tex-end-document): Don't rely on buffer name.
9717
9718 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9719 Use cal-tex-vspace.
9720 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9721 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9722 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9723 Use cal-tex-arg.
9724
9725 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9726 (cal-tex-cursor-week, cal-tex-cursor-week2)
9727 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9728 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9729 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9730 (cal-tex-insert-preamble, cal-tex-b-document)
9731 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9732 Improve cal-tex-cmd usage.
9733
9734 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9735 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9736 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9737 (cal-tex-weekly-paper): New function.
9738 (cal-tex-cursor-week, cal-tex-cursor-week2)
9739 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9740 (cal-tex-cursor-day): Use it.
9741
9742 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9743 (cal-tex-cursor-filofax-week): Remove leading blank page.
9744
9745 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9746 Add autoload cookie. For now at least, don't use color, since
9747 no other cal-tex function does.
9748
9749 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9750 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9751 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9752
9753 2012-08-21 Juri Linkov <juri@jurta.org>
9754
9755 * info.el (Info-file-attributes): New variable.
9756 (info-insert-file-contents): Add file attributes to
9757 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9758 `Info-toc-nodes' when previous modtime of the Info file is less
9759 than new modtime.
9760 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9761 of info.el. (Bug#12230)
9762
9763 2012-08-20 Glenn Morris <rgm@gnu.org>
9764
9765 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9766 * calendar/holidays.el (calendar-holiday-list):
9767 Report errors with display-warning rather than beep'n'sleep.
9768
9769 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9770
9771 * net/tramp.el (tramp-accept-process-output): Accept only output
9772 from PROC. Otherwise, process filters and sentinels might be
9773 confused. (Bug#12145)
9774
9775 2012-08-20 Chong Yidong <cyd@gnu.org>
9776
9777 * descr-text.el (describe-text-properties-1): Use overlays-in to
9778 report on empty overlays (Bug#3322).
9779
9780 2012-08-20 Glenn Morris <rgm@gnu.org>
9781
9782 * mail/rmailout.el (rmail-output-read-file-name):
9783 Trap and report errors in rmail-output-file-alist elements.
9784
9785 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9786 since most non-font-lock faces are not also variables).
9787
9788 2012-08-20 Edward Reingold <reingold@iit.edu>
9789
9790 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9791 New function. (Bug12160)
9792
9793 2012-08-19 Glenn Morris <rgm@gnu.org>
9794
9795 * mail/rmailout.el (rmail-output-read-file-name):
9796 Fix previous change (when the alist is nil or does not match).
9797
9798 2012-08-19 Chong Yidong <cyd@gnu.org>
9799
9800 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9801 (Bug#12228).
9802
9803 2012-08-18 Chong Yidong <cyd@gnu.org>
9804
9805 * simple.el (yank-handled-properties): New defcustom.
9806 (yank-excluded-properties): Add font-lock-face and category.
9807 (yank): Doc fix.
9808
9809 * subr.el (remove-yank-excluded-properties):
9810 Obey yank-handled-properties. The special handling of font-lock-face
9811 and category is now done this way, instead of being hard-coded.
9812 (insert-for-yank-1): Remove font-lock-face handling.
9813 (yank-handle-font-lock-face-property)
9814 (yank-handle-category-property): New function.
9815
9816 2012-08-17 Glenn Morris <rgm@gnu.org>
9817
9818 * mail/rmailout.el (rmail-output-read-file-name):
9819 Check rmail-output-file-alist against the full message body
9820 in the correct rmail buffer. (Bug#12214)
9821
9822 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9823
9824 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9825 Eliminate superfluous prompt. (Bug#12203)
9826
9827 2012-08-17 Chong Yidong <cyd@gnu.org>
9828
9829 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9830 font spec, set the font directly (Bug#3228).
9831
9832 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9833
9834 * window.el (delete-window): Fix last fix.
9835
9836 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9837
9838 * window.el (window-valid-p): Move to window.c.
9839 (window-child, window-child-count, window-last-child)
9840 (window-normalize-window, window-combined-p)
9841 (window-combinations, window-atom-root, window-min-size)
9842 (window-sizable, window-sizable-p, window-size-fixed-p)
9843 (window-min-delta, window-max-delta, window--resizable)
9844 (window--resizable-p, window-resizable, window-total-size)
9845 (window-full-height-p, window-full-width-p, window-body-size)
9846 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9847 (minimize-window, window-deletable-p, delete-window)
9848 (delete-other-windows, set-window-buffer-start-and-point)
9849 (next-buffer, previous-buffer, split-window, balance-windows-2)
9850 (set-window-text-height, window-buffer-height)
9851 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9852 (truncated-partial-width-window-p): Minor code adjustments.
9853 In doc-strings state whether the argument window has to denote a
9854 live, valid or any window.
9855
9856 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9857
9858 * progmodes/subword.el (subword-forward-function)
9859 (subword-backward-function, subword-forward-regexp)
9860 (subword-backward-regexp): New variables.
9861 (subword-forward, subword-forward-internal, subword-backward-internal):
9862 Use new variables, eg so that different "word" definitions
9863 can be easily used. (Bug#11411)
9864
9865 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9866
9867 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9868 for composite selectors.
9869 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9870 operation just because we can't find a previous revision.
9871
9872 2012-08-15 Chong Yidong <cyd@gnu.org>
9873
9874 * frame.el (set-frame-font): Accept font objects.
9875
9876 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9877
9878 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9879
9880 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9881
9882 * man.el (Man-overstrike-face, Man-underline-face)
9883 (Man-reverse-face): Remove variables.
9884 (Man-overstrike, Man-underline, Man-reverse): New faces.
9885 (Man-fontify-manpage): Use them instead of the variables.
9886 (Man-cleanup-manpage): Comment change.
9887 (Man-ansi-color-map): New variable.
9888 (Man-fontify-manpage): Use it.
9889 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9890
9891 Implement ANSI SGR parameters 22-27 (bug#12146).
9892 * ansi-color.el (ansi-colors): Doc fix.
9893 (ansi-color-context, ansi-color-context-region): Doc fix.
9894 (ansi-color--find-face): New function.
9895 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9896 Rename the local variable `face' to `codes' since it is now a list of
9897 ansi codes. Doc fix.
9898 (ansi-color-get-face): Remove.
9899 (ansi-color-parse-sequence): New function, derived from
9900 ansi-color-get-face.
9901 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9902 codes 22-27.
9903
9904 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9905
9906 * subr.el (read-passwd): Allow use from a minibuffer.
9907
9908 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9909
9910 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9911 inside comments and strings as identifiers.
9912
9913 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9914 expression to evaluate. This allows to evaluate expressions with
9915 embedded whitespace.
9916 (gud-tooltip-tips): Add a blank before the newline in the
9917 message-box text, for the benefit of message-box emulation on
9918 MS-Windows.
9919
9920 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9921 messages from GDB, pop them up in a tooltip to give feedback to
9922 user.
9923 (gdb-tooltip-print-1): Quote the expression to evaluate.
9924 This allows to evaluate expressions with embedded whitespace.
9925 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9926 if the TTY name is nil or empty (which happens when communicating
9927 with the inferior via pipes, e.g. on MS-Windows).
9928 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9929 don't send that to the GUD buffer.
9930
9931 2012-08-14 Glenn Morris <rgm@gnu.org>
9932
9933 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9934 Optimize away setq-default with no args, as for setq. (Bug#12195)
9935
9936 2012-08-14 Chong Yidong <cyd@gnu.org>
9937
9938 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9939
9940 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9941 (Bug#12085).
9942
9943 2012-08-14 Glenn Morris <rgm@gnu.org>
9944
9945 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9946
9947 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9948
9949 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9950 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9951 Use cached shell name.
9952
9953 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9954
9955 * progmodes/python.el (python-shell-send-string):
9956 (python-shell-send-setup-code): Do not use `format' with `message'.
9957
9958 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9959
9960 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9961 (ruby-percent-literal-beg-re): New constant.
9962 (ruby-syntax-general-delimiters-goto-beg): Rename to
9963 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9964 (ruby-syntax-propertize-general-delimiters): Rename to
9965 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9966 popular term. Adjust comments everywhere.
9967 (ruby-syntax-propertize-percent-literal): Only propertize when not
9968 inside a simple string or comment. When the literal is unclosed,
9969 leave the text after it unpropertized.
9970 (ruby-syntax-methods-before-regexp): New constant.
9971 (ruby-syntax-propertize-function): Use it to recognize regexps.
9972 Don't look at the text after regexp, just use the whitelist.
9973
9974 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9975
9976 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9977 non-nil always load the compiled file if it exists. (Bug#12197)
9978
9979 2012-08-14 Chong Yidong <cyd@gnu.org>
9980
9981 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9982 (hi-lock-set-pattern): When deciding whether to use font lock or
9983 overlays, look at font-lock-mode instead of font-lock-fontified
9984 (Bug#12168).
9985 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9986 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9987
9988 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9989
9990 * subr.el (internal--after-with-selected-window): Fix typo
9991 (Bug#12193).
9992
9993 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9994
9995 Use `completion-table-dynamic' for completion functions.
9996 * progmodes/python.el
9997 (python-shell-completion--do-completion-at-point)
9998 (python-shell-completion--get-completions):
9999 Remove functions.
10000 (python-shell-completion-complete-at-point): New function.
10001 (python-completion-complete-at-point): Use it.
10002
10003 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10004
10005 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10006 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10007
10008 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10009
10010 * subr.el (function-get): Refine `autoload' arg so it can also
10011 autoload functions for gv.el (bug#12191).
10012 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10013 autoloads macros.
10014
10015 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10016 Prefer pcase-let over destructuring-bind.
10017 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10018 Also, remove whitespace as we go, rather than after accumulating the
10019 various places.
10020
10021 * subr.el (internal--before-with-selected-window)
10022 (internal--after-with-selected-window): Fix typo seleted->selected.
10023 (with-selected-window): Adjust callers.
10024 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10025
10026 2012-08-13 Bastien Guerry <bzg@gnu.org>
10027
10028 * window.el (special-display-popup-frame): Minor docstring
10029 enhancement. (Bug#12172)
10030
10031 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10032
10033 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10034 type 1-6.
10035 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10036 extended headers.
10037
10038 * files.el (hack-local-variables-filter): Remove useless eval.
10039
10040 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10041
10042 * subr.el (with-selected-window): Fix last change.
10043
10044 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * subr.el (internal--before-with-seleted-window)
10047 (internal--after-with-seleted-window): New functions.
10048 (with-selected-window): Use them, to replace dependency on
10049 tty-top-frame.
10050
10051 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10052
10053 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10054 binding for `newline'.
10055 (ruby-move-to-block): When moving backward, stop at block opening,
10056 not indentation.
10057 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10058 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10059 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10060 `ruby-toggle-block'.
10061
10062 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * ibuffer.el (ibuffer-do-toggle-read-only):
10065 * dired.el (dired-toggle-read-only):
10066 * buff-menu.el (Buffer-menu-toggle-read-only):
10067 * bindings.el (mode-line-toggle-read-only):
10068 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10069
10070 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10071
10072 * descr-text.el (describe-char): Put the overlays over the
10073 "displayed as" character.
10074
10075 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10076
10077 * calc/calc-units.el (math-default-units-table): Give an
10078 initial value.
10079 (math-put-default-units): Add options to put composite units and
10080 unit systems in the default units table.
10081 (calc-convert-units): Send composite units to
10082 `math-put-default-units' when appropriate.
10083
10084 2012-08-11 Glenn Morris <rgm@gnu.org>
10085
10086 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10087
10088 * tutorial.el (help-with-tutorial):
10089 * emacs-lisp/copyright.el (copyright-update-directory):
10090 * emacs-lisp/autoload.el (autoload-find-generated-file)
10091 (autoload-find-file): Disable local eval: (for insurance).
10092
10093 * files.el (hack-local-variables-filter): If an eval: form is not
10094 known to be safe, and enable-local-variables is :safe, then ignore
10095 the form totally, as is done for non-eval forms. (Bug#12155)
10096 This is CVE-2012-3479.
10097
10098 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10101 (rx-form): Simplify.
10102
10103 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10104
10105 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10106 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10107 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10108 (ruby-syntax-propertize-function): Adjust for changes in
10109 `ruby-syntax-propertize-heredoc'.
10110
10111 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10112
10113 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10114 binding (use `M-;' instead).
10115 (ruby-singleton-class-p): New function.
10116 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10117
10118 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10119
10120 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10121
10122 2012-08-10 Chong Yidong <cyd@gnu.org>
10123
10124 * progmodes/python.el (python-shell-get-process-name): Don't mess
10125 with same-window-buffer-names.
10126
10127 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10128 (eshell-remove-from-window-buffer-names): Make obsolete.
10129 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10130 (eshell): Just use pop-to-buffer-same-window instead.
10131
10132 2012-08-10 Chong Yidong <cyd@gnu.org>
10133
10134 * bindings.el: Bind M-= back to count-words-region.
10135
10136 * simple.el (count-words-region): Accept a prefix arg for acting
10137 on the entire buffer.
10138 (count-words--buffer-message): New helper function.
10139
10140 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10143 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10144 (event-start, event-end): Use posn-at-point to return a more
10145 informative posn.
10146 (posnp): New function.
10147 * mouse.el (popup-menu-normalize-position): Use it.
10148
10149 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10150
10151 * mouse.el (popup-menu-normalize-position): New function.
10152 (popup-menu): Use `popup-menu-normalize-position' to normalize
10153 the form for POSITION argument.
10154
10155 * term/x-win.el (x-menu-bar-open):
10156 Use the value returend from (posn-at-point) as position
10157 passed to `popup-menu'.
10158
10159 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10160
10161 * calc/calccomp.el (math-compose-expr): Add extra argument
10162 indicating that parentheses should be put around products in
10163 denominators. Give multiplication precedence over division during
10164 composition.
10165
10166 2012-08-09 Chong Yidong <cyd@gnu.org>
10167
10168 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10169 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10170 (Man-untabify-command, manual-program): Convert to defcustom
10171 (Bug#10429).
10172
10173 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10174
10175 * descr-text.el (describe-char): Don't insert extra newlines
10176 (Bug#10127).
10177
10178 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10179 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10180
10181 * align.el (align-region): Delete temporary markers (Bug#10047).
10182 Plus some code cleanups.
10183
10184 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10185
10186 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10187 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10188 (python-shell-internal-last-output): Use make-local-variable
10189 instead of make-variable-buffer-local.
10190
10191 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10192
10193 * progmodes/python.el: Enhancements to forward-sexp.
10194 (python-nav-forward-sexp): Rename from
10195 python-nav-forward-sexp-function.
10196 (python-nav--forward-sexp, python-nav--backward-sexp):
10197 New functions.
10198
10199 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10200
10201 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10202 modes and simplification modes.
10203
10204 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * delsel.el (delete-selection-pre-hook): Don't propagate the
10207 file-supersession signals (bug#12161).
10208
10209 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10212 (cl-map-extents): Add compatibility aliases (bug#12135).
10213
10214 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10215
10216 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10217 tests by `ignore-error'.
10218 (tramp-find-shell): Open also a new shell, when cache is already
10219 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10220
10221 2012-08-08 Juri Linkov <juri@jurta.org>
10222
10223 * bookmark.el: Add `defaults' property to the bookmark record.
10224 (bookmark-current-buffer): Doc fix.
10225 (bookmark-make-record): Add `defaults' property with default values
10226 to the bookmark record.
10227 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10228 with `bookmark-insert-current-bookmark'.
10229 (bookmark-set): Get `defaults' property from the bookmark record
10230 and use it in `read-from-minibuffer'.
10231 (bookmark-insert-current-bookmark): Remove function.
10232
10233 * info.el (Info-bookmark-make-record): Add `defaults' property
10234 with values of canonical Info node name, the current Info file
10235 name and the current Info node name. (Bug#12107)
10236
10237 2012-08-08 Juri Linkov <juri@jurta.org>
10238
10239 * files.el (basic-save-buffer): Use `buffer-name' as the default
10240 of `read-file-name' when buffer is not visiting a file (bug#12128).
10241
10242 2012-08-08 Juri Linkov <juri@jurta.org>
10243
10244 * info.el (Info-isearch-search): Doc fix.
10245 (Info-search): Change search-failed message from "initial node" to
10246 "end of node" (bug#12078).
10247 (Info-isearch-search): Change `isearch-string-state' to
10248 `isearch--state-string'.
10249
10250 2012-08-08 Glenn Morris <rgm@gnu.org>
10251
10252 * language/persian.el: Remove file.
10253 * language/misc-lang.el: Move unique part of persian.el here.
10254 * loadup.el: Remove language/persian.
10255
10256 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10257
10258 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10259
10260 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10261
10262 * progmodes/python.el: Fix defsubst warning.
10263 (python-syntax-context) Rename from python-info-ppss-context.
10264 (python-syntax-context-type): Rename from
10265 python-info-ppss-context-type.
10266 (python-syntax-comment-or-string-p): Rename from
10267 python-info-ppss-comment-or-string-p.
10268
10269 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10270
10271 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10272
10273 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10274
10275 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10276 a defcustom that is quoted with backquote.
10277
10278 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10279 Fix handling of interactive spec when the body uses return.
10280 (math-do-arg-check, math-define-function-body): Use backquote forms.
10281 * calc/calc-ext.el (math-defcache): Likewise.
10282 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10283 * allout.el (allout-new-exposure): Likewise.
10284 * calc/calcalg2.el (math-tracing-integral): Likewise.
10285 * info.el (Info-last-menu-item): Likewise.
10286 * emulation/vip.el (vip-loop): Likewise.
10287 * textmodes/artist.el (artist-funcall): Likewise.
10288 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10289 Construct menu-item directly.
10290
10291 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10292 Don't declare.
10293
10294 2012-08-07 Chong Yidong <cyd@gnu.org>
10295
10296 * simple.el (deactivate-mark): Preserve text properties when
10297 saving the primary selection (Bug#8384).
10298
10299 2012-08-07 Kevin Ryde <user42@zip.com.au>
10300
10301 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10302 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10303 and continue processing (Bug#12110).
10304
10305 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10308 syntax-propertize-function (bug#10095).
10309
10310 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10311
10312 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10313 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10314 describe-function-1.
10315 (describe-function-1): Use them. Move compiler macro after sig.
10316 (help-fns--compiler-macro): Use function-get. Assume we're already in
10317 standard-output. Adjust layout to new call order.
10318
10319 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10320 re-binding a symbol that has a symbol-macro (bug#12119).
10321
10322 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10323
10324 * language/persian.el: New file. (Bug#11812)
10325 * loadup.el: Add language/persian.el.
10326
10327 2012-08-06 Chong Yidong <cyd@gnu.org>
10328
10329 * window.el (window--maybe-raise-frame): New function.
10330 (window--display-buffer): Split off from here.
10331 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10332 (display-buffer-pop-up-window, display-buffer-use-some-window):
10333 Obey an inhibit-switch-frame action alist entry.
10334 (display-buffer): Update doc.
10335
10336 * replace.el (occur-after-change-function): Avoid losing focus by
10337 using the inhibit-switch-frame display parameter (Bug#12139).
10338
10339 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10340
10341 Make internal shell process buffer names start with space.
10342 * progmodes/python.el (python-shell-make-comint): Add optional
10343 argument INTERNAL.
10344 (run-python-internal): Use it.
10345 (python-shell-internal-get-or-create-process): Check for new
10346 internal buffer names.
10347
10348 2012-08-06 Glenn Morris <rgm@gnu.org>
10349
10350 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10351 Do less getting and setting of environment variables.
10352
10353 2012-08-05 Chong Yidong <cyd@gnu.org>
10354
10355 * proced.el (proced): Add substitution string to docstring to
10356 trigger autoloading of the proced library on C-h f (Bug#1768).
10357
10358 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10359 Don't show defvars which have no second argument (Bug#8638).
10360
10361 * imenu.el (imenu-generic-expression): Move documentation here
10362 from imenu--generic-function.
10363 (imenu--generic-function): Refer to imenu-generic-expression.
10364
10365 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10366
10367 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10368 indentation declaration.
10369 (viper-loop): Add indentation declaration (Bug#7025).
10370
10371 2012-08-05 Chong Yidong <cyd@gnu.org>
10372
10373 * help-fns.el (describe-variable): Add hyperlink for
10374 directory-local variables files. Improve buffer-local and
10375 permanent-local reporting; suggested by MON KEY (Bug#6644).
10376
10377 * help-mode.el (help-dir-local-var-def): New button type.
10378
10379 * files.el (kill-buffer-hook): Provide a defvar.
10380
10381 2012-08-05 Glenn Morris <rgm@gnu.org>
10382
10383 * eshell/esh-ext.el (eshell/addpath):
10384 Also update eshell-path-env. (Bug#12013)
10385
10386 2012-08-05 Chong Yidong <cyd@gnu.org>
10387
10388 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10389
10390 * fringe.el (fringe-styles): Add docstring.
10391 (fringe--check-mode): New function.
10392 (set-fringe-mode, set-fringe-style): Use it.
10393 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10394
10395 * files.el (set-auto-mode): Fix invalid setq call.
10396
10397 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * isearch.el: Misc simplification; use defstruct.
10400 (isearch-mode-map): Dense maps now work like sparse ones.
10401 (isearch--state): New defstruct.
10402 (isearch-string-state, isearch-message-state, isearch-point-state)
10403 (isearch-success-state, isearch-forward-state)
10404 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10405 (isearch-wrapped-state, isearch-barrier-state)
10406 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10407 replaced by defstruct's accessors.
10408 (isearch--set-state): Rename from isearch-top-state and change
10409 calling convention.
10410 (isearch-push-state): Use new isearch--get-state.
10411 (isearch-toggle-word): Disable regexp when enabling word.
10412 (isearch-message-prefix): Remove unused arg _c-q-hack.
10413 (isearch-message-suffix): Remove unused arg _ellipsis.
10414
10415 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10416
10417 * simple.el (list-processes--refresh): For a server use :host or
10418 :local as the address.
10419 (list-processes): Doc fix.
10420
10421 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10422
10423 * lisp/mpc.el: Support password in host argument.
10424 (mpc--proc-connect): Parse and use new password element.
10425 Set mpc-proc variable instead of returning process.
10426 (mpc-proc): Adjust accordingly.
10427
10428 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10429
10430 * whitespace.el (whitespace-display-mappings): Use Unicode
10431 codepoints, instead of emacs-mule codepoints. See
10432 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10433 for the details.
10434
10435 * files.el (file-truename): Don't skip symlink-chasing part on
10436 windows-nt. Incorporate the resolution of 8+3 short aliases on
10437 Windows into the loop that recursively chases symlinks.
10438 Compare directory and its parent case-insensitively on MS-Windows and
10439 MS-DOS.
10440
10441 2012-08-03 Chong Yidong <cyd@gnu.org>
10442
10443 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10444
10445 * sort.el (sort-regexp-fields): Doc fix.
10446
10447 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10448
10449 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10450 labels regex position point at the expected place.
10451
10452 2012-08-03 MON KEY <monkey@sandpframing.com>
10453
10454 * net/imap.el (imap-interactive-login, imap-authenticate)
10455 (imap-mailbox-lsub, imap-mailbox-list)
10456 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10457 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10458 (imap-parse-response): Doc fix.
10459
10460 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10461
10462 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10463 if sexp scanning does not move point (Bug#5734).
10464
10465 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10466
10467 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10468 Add listings, minted, and ctable packages.
10469 (reftex-label-alist-builtin): Move listings, minted, and ctable
10470 entries before LaTeX.
10471 (reftex-label-alist): Docfix.
10472
10473 2012-08-02 Bastien Guerry <bzg@gnu.org>
10474
10475 * replace.el (occur): Fix docstring (bug#12122).
10476
10477 2012-08-02 Glenn Morris <rgm@gnu.org>
10478
10479 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10480
10481 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10482
10483 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10484 * international/mule-cmds.el: Create
10485 inactivate-current-input-method-function as an obsolete alias for
10486 deactivate-current-input-method-function. See Katsumi Yamaoka in
10487 <http://bugs.gnu.org/10150#46>.
10488
10489 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10490
10491 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10492 of nested `if's.
10493
10494 2012-08-01 Glenn Morris <rgm@gnu.org>
10495
10496 * progmodes/autoconf.el (autoconf-definition-regexp):
10497 Add AH_TEMPLATE, adjust submatch numbering.
10498 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10499 (autoconf-current-defun-function): Update for above change.
10500 (autoconf-current-defun-function): First skip to end of current word.
10501
10502 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10503
10504 * calendar/cal-html.el (cal-html-insert-agenda-days):
10505 Fix typo. (Bug#12018)
10506
10507 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10508
10509 Shell processes: enhancements to startup and CEDET compatibility.
10510 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10511 (python-shell-make-comint): accept-process-output at startup.
10512 (run-python-internal): Set inferior-python-mode-hook to nil.
10513 (python-shell-internal-get-or-create-process): call sit-for.
10514 (python-preoutput-result): Add obsolete alias.
10515 (python-shell-internal-send-string): Use it.
10516 (python-shell-send-setup-code): Remove call to
10517 accept-process-output.
10518
10519 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10520
10521 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10522 (Bug#12108)
10523
10524 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10525
10526 * calc-mode.el (calc-basic-simplification-mode): Rename from
10527 `calc-limited-simplification-mode'.
10528 (calc-alg-simplification-mode): New function.
10529 (calc-set-simplify-mode): Adjust message.
10530
10531 * calc.el (calc-set-mode-line): Adjust mode line display for
10532 basic simplification mode.
10533
10534 * calc-help.el (calc-m-prefix-help): Update help message.
10535
10536 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10537 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10538
10539 2012-07-31 Bastien Guerry <bzg@gnu.org>
10540
10541 * man.el (man): Fix comment. (bug#12101)
10542
10543 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10544
10545 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10546 Don't return a non-nil value when no suitable buffer was found.
10547
10548 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10549
10550 * progmodes/python.el (run-python-internal): Disable font lock for
10551 internal shells.
10552
10553 2012-07-30 Stefan Merten <smerten@oekonux.de>
10554
10555 * textmodes/rst.el: Silence `checkdoc-ispell'.
10556 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10557 (rst-official-version, rst-official-cvs-rev)
10558 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10559 (rst-mode-map): New key binding.
10560
10561 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10562
10563 Update .PHONY listings in makefiles.
10564 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10565 autoloads, update-subdirs, updates, bzr-update, update-authors,
10566 compile-onefile, compile-calc, backup-compiled-files,
10567 compile-after-backup, compile-one-process, mh-autoloads,
10568 bootstrap-clean, distclean, maintainer-clean.
10569
10570 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10571
10572 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10573 (calc-set-mode-line): Don't display "AlgSimp ".
10574
10575 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10576 (calc-lim-simplify-mode): New function.
10577 (calc-set-simplify-mode): Default to 'alg.
10578 (calc-default-simplify-mode): Make algebraic simplifications
10579 the default.
10580
10581 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10582 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10583
10584 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10585 indicate new simplification modes.
10586
10587 * calc/README: Mention new default simplification mode.
10588
10589 * calc/calc.el (math-normalize-error): New variable.
10590 (math-normalize): Set `math-normalize-error' to t
10591 when there's an error.
10592
10593 * calc/calc-alg.el (math-simplify): Don't simplify when
10594 `math-normalize' returns an error.
10595
10596 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10597
10598 * international/mule-cmds.el (set-locale-environment): Revert last
10599 change, since display-graphic-p returns nil when this function is
10600 called during startup. Instead...
10601
10602 * term/w32console.el (terminal-init-w32console): ...setup the
10603 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10604
10605 2012-07-29 Juri Linkov <juri@jurta.org>
10606
10607 * simple.el (goto-line): Don't display default line number in the
10608 prompt because it should be displayed by `read-number' (bug#9952).
10609 Add the current line number to the defaults of `goto-line' to
10610 allow its easier modification by users with `M-n' (bug#9201).
10611
10612 * subr.el (read-number): Support multiple default values like in
10613 other minibuffer reading functions. Replace `read' with
10614 `string-to-number' for consistency with `number-to-string'.
10615
10616 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10617
10618 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10619 * emulation/viper-init.el (viper-deactivate-input-method-action):
10620 Rename from viper-inactivate-input-method-action.
10621 (viper-deactivate-input-method):
10622 Rename from viper-inactivate-input-method.
10623 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10624 * international/mule-cmds.el (deactivate-input-method):
10625 Rename from inactivate-input-method.
10626 Also run input-method-deactivate-hook.
10627 (deactivate-current-input-method-function):
10628 Rename from inactivate-current-input-method-function.
10629 (input-method-deactivate-hook): New hook.
10630 (input-method-inactivate-hook): Mark obsolete.
10631 (inactivate-input-method): Mark obsolete.
10632
10633 * international/quail.el (quail-activate):
10634 Also run quail-deactivate-hook.
10635 (quail-deactivate): Rename from quail-inactivate.
10636 * international/robin.el (robin-activate):
10637 Also run robin-deactivate-hook.
10638 (robin-deactivate): Rename from robin-inactivate.
10639
10640 2012-07-29 Chong Yidong <cyd@gnu.org>
10641
10642 * simple.el (indicate-copied-region): New function.
10643 (kill-ring-save): Split off from here.
10644
10645 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10646 (kill-rectangle): Set deactivate-mark to t on read-only error.
10647
10648 * register.el (copy-to-register, copy-rectangle-to-register):
10649 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10650 (append-to-register, prepend-to-register): Call indicate-copied-region.
10651
10652 2012-07-29 Juri Linkov <juri@jurta.org>
10653
10654 * simple.el (async-shell-command-buffer): New defcustom.
10655 (shell-command): Use it. (Bug#4719)
10656
10657 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10658
10659 * international/mule-cmds.el (set-locale-environment): In a
10660 console session on MS-Windows, set up keyboard and terminal
10661 encoding from the OEM codepage, not the ANSI codepage.
10662 (Bug#12055)
10663
10664 2012-07-28 Chong Yidong <cyd@gnu.org>
10665
10666 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10667 gdb-get-location.
10668
10669 2012-07-28 Leo Liu <sdl.web@gmail.com>
10670
10671 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10672 the alist (bug#12029).
10673
10674 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10675
10676 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10677 (compile-always, compile-first)
10678 ($(lisp)/calendar/cal-loaddefs.el)
10679 ($(lisp)/calendar/diary-loaddefs.el)
10680 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10681 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10682 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10683 instead of on update-subdirs.
10684 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10685
10686 2012-07-28 Chong Yidong <cyd@gnu.org>
10687
10688 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10689 directory if vc-deduce-backend returns nil (Bug#7350).
10690
10691 * simple.el (delete-trailing-lines): New option.
10692 (delete-trailing-whitespace): Obey it (Bug#11879).
10693
10694 2012-07-28 David Engster <deng@randomsample.de>
10695
10696 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10697 Explanation of new 'symbol-qnames feature in doc-strings.
10698 (xml-maybe-do-ns): Return expanded names as plain symbols if
10699 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10700 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10701
10702 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10703
10704 Consistent completion in inferior python with emacs -nw.
10705 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10706 binding in inferior-python-mode-map with "\t".
10707 (python-shell-completion-complete-at-point)
10708 (python-completion-complete-at-point): Remove interactive spec.
10709
10710 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10711
10712 * calc/calccomp.el (math-compose-expr): Undo previous change.
10713
10714 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10715
10716 * progmodes/python.el (python-mode-map): Add keybinding for
10717 run-python.
10718 (python-shell-make-comint): Fix pop-to-buffer call.
10719 (run-python): Autoload. New arg SHOW.
10720 (python-shell-get-or-create-process): Do not pop python process
10721 buffer.
10722
10723 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10724
10725 * notifications.el (notifications-on-action-signal)
10726 (notifications-on-closed-signal): Use also the bus address for the map.
10727 (notifications-notify, notifications-close-notification)
10728 (notifications-get-capabilities): Add optional argument BUS.
10729
10730 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10731
10732 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10733 Add support for the lstlisting and minted environments, and for the
10734 ctable macro.
10735 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10736 labels written in keyvals syntax.
10737
10738 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10739
10740 * calc/calccomp.el (math-compose-expr): Use parentheses when
10741 there is a product in the denominator of a fraction.
10742
10743 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10744
10745 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10746 ($(lisp)/calendar/diary-loaddefs.el)
10747 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10748 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10749 Fixes failures in parallel bootstrap because subdirs.el is being
10750 rewritten while the autoload files are built at the same time,
10751 which needs to load subdirs.el.
10752
10753 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10754
10755 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10756 (mouse-drag-line): Don't exit tracking when a switch-frame or
10757 switch-window event occurs (Bug#12006).
10758
10759 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10760
10761 * mouse.el (popup-menu): Fix last change.
10762
10763 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 Autoload from Lisp with more care. Follow aliases when looking for
10766 function properties.
10767 * subr.el (autoloadp): New function.
10768 (symbol-file): Use it.
10769 (function-get): New function.
10770 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10771 autoload-do-load.
10772 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10773 (lisp-indent-function):
10774 * emacs-lisp/gv.el (gv-get):
10775 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10776 * emacs-lisp/byte-opt.el (byte-optimize-form):
10777 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10778 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10779 Use function-get.
10780 * emacs-lisp/cl.el: Don't propagate function properties any more.
10781
10782 * speedbar.el (speedbar-add-localized-speedbar-support):
10783 * emacs-lisp/disass.el (disassemble-internal):
10784 * desktop.el (desktop-load-file):
10785 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10786 (describe-function-1):
10787 * emacs-lisp/find-func.el (find-function-noselect):
10788 * emacs-lisp/elp.el (elp-instrument-function):
10789 * emacs-lisp/advice.el (ad-has-proper-definition):
10790 * apropos.el (apropos-safe-documentation, apropos-macrop):
10791 * emacs-lisp/debug.el (debug-on-entry):
10792 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10793 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10794 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10795
10796 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10797
10798 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10799 function, not an obsolete variable (Bug#12046).
10800
10801 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10802
10803 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10804
10805 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10806
10807 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10808 window only if it is still live (Bug#12034).
10809
10810 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10811
10812 * subr.el (redirect-frame-focus): Add advertised calling
10813 convention (Bug#12030).
10814
10815 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10816
10817 Prefer typical American spelling for "acknowledgment".
10818 * vc/add-log.el (change-log-acknowledgment): Rename from
10819 change-log-acknowledgement, with an alias for the old name.
10820
10821 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10822
10823 * calc-alg.el (math-simplify-divide): Don't cross multiply
10824 in an equation when the lhs is a variable.
10825
10826 2012-07-24 Julien Danjou <julien@danjou.info>
10827
10828 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10829 Remove, unused.
10830
10831 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10832
10833 * startup.el (command-line): Don't display an empty user name in
10834 the error message about non-existent home directory, when
10835 init-file-user was set to an empty string. See
10836 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10837 for the details and context.
10838
10839 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10840
10841 * ses.el (ses-cell-formula-aset): New macro.
10842 (ses-cell-references-aset): New macro.
10843 (ses-cell-p): New function.
10844 (ses-rename-cell): Do no longer rely on complex operations like
10845 ses-cell-set-formula or ses-set-cell to change the cell and handle
10846 the undo at the same time, but rather use lower level new macros
10847 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10848 the undo directly. Refresh the mode line.
10849
10850 2012-07-21 Leo Liu <sdl.web@gmail.com>
10851
10852 * progmodes/cc-cmds.el (c-defun-name):
10853 Use match-string-no-properties instead for consistency.
10854
10855 2012-07-20 Leo Liu <sdl.web@gmail.com>
10856
10857 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10858 (Bug#7879)
10859
10860 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10861
10862 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10863
10864 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10865 * progmodes/bug-reference.el, misearch.el: Provide themselves
10866 (bug#11915).
10867
10868 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10869 of narrowed buffer (bug#11966).
10870
10871 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10872
10873 * ses.el (ses-rename-cell): Set new name also in reference list of
10874 cells of which the renamed cell depends.
10875
10876 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10877
10878 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10879 to check whether menu-bar is shown or not. If not shown,
10880 show the menu-bar as a popup menu instead of using tmm.
10881 * mouse.el (popup-menu): Accept `point' as `position' argument.
10882
10883 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10884
10885 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10886 up inside string symbol literal (bug#11923).
10887
10888 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10889
10890 * startup.el (fancy-startup-text): Read the whole tutorial, not
10891 just its first 256 bytes. Prevents gibberish in display of the
10892 tutorial title.
10893
10894 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10895
10896 Drop idle buffer compaction due to an absence of the
10897 proved efficiency.
10898 * compact.el: Remove.
10899
10900 2012-07-19 Sam Steingold <sds@gnu.org>
10901
10902 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10903 vc-bzr-pull & vc-bzr-merge-branch.
10904 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10905 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10906 for consistency with compilation-error-regexp-alist.
10907 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10908 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10909 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10910 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10911
10912 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10913
10914 * emacs-lisp/chart.el: Use lexical-binding.
10915 (chart-emacs-storage): Don't hardcode the list of entries.
10916
10917 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10918
10919 Next round of tweaks caused by Fgarbage_collect changes.
10920 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10921
10922 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10923
10924 Compact buffers when idle.
10925 * compact.el: New file.
10926
10927 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * subr.el (eventp): Presume that if it looks vaguely like an event,
10930 it's an event (bug#10190).
10931
10932 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10933
10934 Enhancements to ppss related code (thanks Stefan).
10935 * progmodes/python.el (python-indent-context)
10936 (python-indent-calculate-indentation, python-indent-dedent-line)
10937 (python-indent-electric-colon, python-nav-forward-block)
10938 (python-mode-abbrev-table)
10939 (python-info-assignment-continuation-line-p): Simplify checks
10940 for ppss context.
10941 (python-info-continuation-line-p): Cleanup.
10942 (python-info-ppss-context): Do not catch 'quote.
10943 (python-info-ppss-context-type)
10944 (python-info-ppss-comment-or-string-p): Simplify.
10945
10946 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10947
10948 * progmodes/python.el: Enhancements to eldoc support.
10949 (python-info-current-symbol): New function.
10950 (python-eldoc-at-point): Use python-info-current-symbol.
10951 (python-info-current-defun): Fix cornercase on first defun scan.
10952 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10953 and signal error when no inferior python process is available.
10954
10955 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10956
10957 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10958 assume it's always t.
10959 (vc-git-registered): Remove caching, the function is only called
10960 once.
10961 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10962
10963 2012-07-18 Chong Yidong <cyd@gnu.org>
10964
10965 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10966
10967 * simple.el (count-words): Report on narrowing (Bug#9959).
10968
10969 * bindings.el: Bind M-= to count-words.
10970
10971 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10972
10973 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10974
10975 * progmodes/sh-script.el (sh-imenu-generic-expression):
10976 Capture a function with `function' keyword and without parentheses
10977 like "function FOO" (bug#11856).
10978
10979 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10980
10981 * window.el (split-window-sensibly): Make WINDOW argument
10982 optional.
10983
10984 2012-07-18 Chong Yidong <cyd@gnu.org>
10985
10986 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10987
10988 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10989 and make C-x 8 RET exit isearch (Bug#11439).
10990
10991 * international/iso-transl.el: Move isearch-mode-map key
10992 definitions to isearch.el.
10993
10994 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10997 (eieio-defclass): Use gv-define-setter when possible.
10998
10999 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11000
11001 Reflect recent changes in Fgarbage_collect.
11002 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11003 reflect new format of data returned by Fgarbage_collect.
11004
11005 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11006
11007 New utility functions + python-info-ppss-context fix (Bug#11910).
11008 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11009 (python-info-ppss-comment-or-string-p): New functions.
11010 (python-info-ppss-context): Small fix for string check.
11011
11012 2012-07-17 Juri Linkov <juri@jurta.org>
11013
11014 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11015 (dired-do-async-shell-command): Don't add `*' at the end of the
11016 command (Bug#11815).
11017 (dired-do-shell-command): Doc fix.
11018 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11019 Join the individual commands using either "&" or ";" as the
11020 separator depending on the values of these trailing characters.
11021 At the end re-add the trailing "&". (Bug#10598)
11022
11023 * simple.el (async-shell-command): Sync the interactive spec with
11024 `shell-command'. Doc fix.
11025 (shell-command): Doc fix.
11026
11027 2012-07-17 Juri Linkov <juri@jurta.org>
11028
11029 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11030
11031 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11032
11033 Final renames and doc fixes for movement commands (bug#11899).
11034 * progmodes/python.el (python-nav-beginning-of-statement):
11035 Rename from python-nav-statement-start.
11036 (python-nav-end-of-statement): Rename from
11037 python-nav-statement-end.
11038 (python-nav-beginning-of-block): Rename from
11039 python-nav-block-start.
11040 (python-nav-end-of-block): Rename from python-nav-block-end.
11041
11042 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11043
11044 * progmodes/python.el (python-shell-send-string-no-output):
11045 Allow accept-process-output to quit, keeping shell process ready for
11046 future interactions (Bug#11868).
11047
11048 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11049
11050 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11051
11052 * emacs-lisp/elint.el (elint-find-args-in-code):
11053 Use help-function-arglist, so as to handle lexical byte-code.
11054
11055 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11056 change (bug#11826).
11057
11058 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11059
11060 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11061 Avoid spuriously marking the buffer as modified because of c-is-sws.
11062
11063 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11064 as not-a-comment (bug#11946).
11065
11066 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11067 for uninterned vars.
11068
11069 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11070 Use read-event since we don't really want to read chars but bytes.
11071
11072 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11073 $$..$$ but also $..$ using regexps (bug#11953).
11074 Use tex-verbatim for \url and \path.
11075 (tex-font-lock-keywords): Define as defconst like the others.
11076 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11077
11078 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11079
11080 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11081 alias for insert-char.
11082
11083 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11084
11085 * progmodes/python.el: Simplified imenu implementation.
11086 (python-nav-jump-to-defun): Remove command.
11087 (python-mode-map): Use `imenu' instead.
11088 (python-nav-list-defun-positions-cache)
11089 (python-imenu-include-defun-type, python-imenu-make-tree)
11090 (python-imenu-subtree-root-label, python-imenu-index-alist):
11091 Remove vars.
11092 (python-nav-list-defun-positions, python-nav-read-defun)
11093 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11094 (python-imenu-make-tree, python-imenu-create-index):
11095 Remove functions.
11096 (python-mode): Update to interact with imenu by setting
11097 `imenu-extract-index-name-function' only.
11098
11099 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11100
11101 * progmodes/python.el: Enhancements to navigation commands.
11102 (python-nav-backward-sentence)
11103 (python-nav-forward-sentence): Remove.
11104 (python-nav-backward-statement, python-nav-forward-statement)
11105 (python-nav-statement-start, python-nav-statement-end)
11106 (python-nav-backward-block, python-nav-forward-block)
11107 (python-nav-block-start, python-nav-block-end)
11108 (python-nav-forward-sexp-function)
11109 (python-info-current-line-comment-p)
11110 (python-info-current-line-empty-p): New functions.
11111 (python-indent-context): Use `python-nav-statement-start'.
11112
11113 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11114
11115 * eshell/em-ls.el (eshell/ls): Use `apply'.
11116
11117 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11118 multi-hops, instead of Tramp internals.
11119
11120 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11121
11122 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11123 when F1 and F2 are located on different hosts.
11124
11125 2012-07-14 Chong Yidong <cyd@gnu.org>
11126
11127 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11128 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11129 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11130 (xterm-mouse--read-event-sequence-1000)
11131 (xterm-mouse--read-event-sequence-1006): New functions. For old
11132 mouse protocol, handle M-mouse-X events correctly.
11133 (xterm-mouse-event): New arg specifying mouse protocol.
11134 (turn-on-xterm-mouse-tracking-on-terminal)
11135 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11136 sequence to toggle extended coordinates on newer XTerms.
11137 This appears to be harmless on terminals which do not support this.
11138
11139 2012-07-14 Leo Liu <sdl.web@gmail.com>
11140
11141 Add fringe bitmap indicators for flymake. (Bug#11253)
11142 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11143 (flymake-make-overlay): New arg BITMAP.
11144 (flymake-error-bitmap, flymake-warning-bitmap)
11145 (flymake-fringe-indicator-position): New user variables.
11146
11147 * fringe.el: New bitmap exclamation-mark.
11148
11149 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11150
11151 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11152 also (Bug#7879).
11153
11154 2012-07-14 Chong Yidong <cyd@gnu.org>
11155
11156 * electric.el (electric-pair-post-self-insert-function): Fix pair
11157 insertion in empty-region case (Bug#11520).
11158
11159 2012-07-14 Chong Yidong <cyd@gnu.org>
11160
11161 * bindings.el: Consolidate ctl-x-r-map bindings.
11162 Bind copy-rectangle-as-kill to C-x r w.
11163
11164 * rect.el, register.el: Move bindings to bindings.el.
11165
11166 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11167
11168 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11169
11170 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11171
11172 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11173
11174 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11175
11176 * bindings.el (top): Use `mapc' instead of `mapcar'.
11177
11178 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11179
11180 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11181
11182 * progmodes/sql.el (sql-comint): Suppress the check for program on
11183 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11184 (Bug#11908)
11185
11186 2012-07-13 Chong Yidong <cyd@gnu.org>
11187
11188 * bindings.el: Assign a non-nil permanent-local property to
11189 per-buffer variables which lack a default value (Bug#11930).
11190
11191 * help-fns.el (describe-variable): In the "automatically becomes
11192 local" notice, take note of permanent-local variables.
11193
11194 2012-07-13 Chong Yidong <cyd@gnu.org>
11195
11196 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11197 to allow printing the message when called from Lisp.
11198
11199 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11200 Remove toggle-read-only.
11201
11202 * bs.el (bs-toggle-readonly):
11203 * buff-menu.el (Buffer-menu-toggle-read-only):
11204 Remove with-no-warnings around toggle-read-only.
11205
11206 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11207 Remove with-no-warnings around toggle-read-only.
11208 (ffap-read-only, ffap-read-only-other-window)
11209 (ffap-read-only-other-frame): Callers changed.
11210
11211 * help-mode.el: Don't require view package.
11212 (help-mode-finish): Set buffer-read-only instead of calling
11213 toggle-read-only.
11214
11215 * bindings.el (mode-line-toggle-read-only):
11216 * dired.el (dired-toggle-read-only):
11217 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11218 with non-nil second arg.
11219
11220 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11221 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11222 directly.
11223
11224 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11225
11226 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11227 not incf.
11228
11229 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 More CL cleanups and reduction of use of cl.el.
11232 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11233 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11234 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11235 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11236 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11237 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11238 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11239 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11240 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11241 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11242 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11243 * eshell/em-cmpl.el, eshell/em-banner.el:
11244 * calendar/parse-time.el: Use cl-lib.
11245 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11246 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11247 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11248 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11249 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11250 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11251 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11252 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11253 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11254 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11255 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11256 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11257 `lambda' rather than with `quote'.
11258 (eshell-do-opt): Adjust accordingly.
11259 (eshell-process-option): Simplify.
11260 * eshell/esh-var.el:
11261 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11262 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11263 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11264 to `pcase--dontcare'.
11265 * emacs-lisp/cl.el (labels): Mark obsolete.
11266 (cl--letf, letf): Move to cl-lib.
11267 (cl--letf*, letf*): Remove.
11268 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11269 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11270 (cl-progv): Rewrite.
11271 (cl--letf, cl-letf): Move from cl.el.
11272 (cl-letf*): New macro.
11273 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11274
11275 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11276
11277 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11278
11279 2012-07-11 Chong Yidong <cyd@gnu.org>
11280
11281 * vc/log-edit.el (log-edit-vc-backend): New variable.
11282 (log-edit): Doc fix.
11283
11284 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11285 argument of log-edit to set up all local variables.
11286 (vc-start-logentry): New optional arg specifying VC backend.
11287
11288 * vc/vc.el (vc-checkin): Use it.
11289 (vc-deduce-fileset): Handle Log Edit buffers.
11290 (vc-diff): Make first argument optional too.
11291
11292 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11293
11294 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11295
11296 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11297 command, just in case. The function is not needed anymore.
11298 (eshell-external-command): Do not call `eshell-remote-command'.
11299
11300 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 Reduce use of (require 'cl).
11303 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11304 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11305 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11306 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11307 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11308 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11309 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11310 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11311 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11312 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11313 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11314 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11315 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11316 (byte-compile-unfold-bcf, byte-compile-check-variable):
11317 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11318 (byte-compile-nilconstp):
11319 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11320 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11321
11322 * emacs-lisp/gv.el (cond): Make it a valid place.
11323 (if): Simplify slightly.
11324
11325 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11326 (pcase--self-quoting-p): New function.
11327 (pcase--u1): Use it.
11328
11329 2012-07-10 Glenn Morris <rgm@gnu.org>
11330
11331 * emacs-lisp/authors.el (authors-fixed-entries):
11332 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11333
11334 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11335
11336 Rename configure.in to configure.ac (Bug#11603).
11337 * emacs-lisp/authors.el (authors-canonical-file-name):
11338 * progmodes/autoconf.el (autoconf-mode):
11339 Prefer configure.ac to configure.in.
11340
11341 2012-07-08 Chong Yidong <cyd@gnu.org>
11342
11343 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11344 Implement the mouse-1-click-follows-link handling properly.
11345
11346 * info.el (Info-link-keymap): Use follow-link mechanism for
11347 header-line links (Bug#374).
11348
11349 * simple.el (deactivate-mark): Do not set the primary selection
11350 if another program has acquired it (Bug#11772).
11351
11352 2012-07-07 Kevin Ryde <user42@zip.com.au>
11353
11354 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11355 (woman-decode-region): Replace escaped-escapes without destroying
11356 bold or underline (Bug#11552).
11357 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11358
11359 2012-07-07 Chong Yidong <cyd@gnu.org>
11360
11361 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11362 (interprogram-cut-function, interprogram-paste-function):
11363 Mention that we typically mean the clipboard.
11364
11365 2012-07-06 Glenn Morris <rgm@gnu.org>
11366
11367 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11368
11369 * files.el (toggle-read-only): Restrict message to interactive use.
11370
11371 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11372
11373 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11374
11375 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11376
11377 2012-07-06 Glenn Morris <rgm@gnu.org>
11378
11379 * Makefile.in (compile-one-process): Rename from "recompile".
11380
11381 * Makefile.in (bzr-update): "compile" is the same as "recompile
11382 autoloads", but parallelizable, so use that instead.
11383
11384 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11385
11386 * window.el (quit-window): Always restore window height when
11387 it's saved in quit-restore parameter (Bug#11810).
11388
11389 2012-07-06 Glenn Morris <rgm@gnu.org>
11390
11391 * simple.el (kill-whole-line): Doc tweak.
11392
11393 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11394
11395 * files.el (file-relative-name): Compare file names
11396 case-insensitively if on MS-Windows or MS-DOS, or if
11397 read-file-name-completion-ignore-case is non-nil. Don't use
11398 case-fold-search for this purpose. (Bug#11827)
11399
11400 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11401
11402 * calendar/cal-dst.el (calendar-current-time-zone):
11403 Return calendar-current-time-zone-cache if non-nil.
11404
11405 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11406 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11407
11408 * calendar/cal-dst.el (calendar-current-time-zone):
11409 Return calendar-current-time-zone-cache if non-nil.
11410
11411 2012-07-06 Glenn Morris <rgm@gnu.org>
11412
11413 * Makefile.in (cvs-update): Remove old alias.
11414
11415 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11416
11417 Sync with Tramp 2.2.6-pre.
11418
11419 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11420 compatible declaration.
11421
11422 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11423 Protect `list-load-path-shadows' call.
11424
11425 * net/tramp-compat.el (top): Require packages, which aren't
11426 autoloaded anymore for XEmacs. Protect call of
11427 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11428 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11429 it hurts at least for SXEmacs.
11430 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11431 standard-value for `temporary-file-directory'.
11432
11433 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11434 Redirect stderr to /dev/null.
11435 (tramp-sh-handle-write-region): uid and gid can be floats.
11436 Reported by Russell Sim <russell.sim@gmail.com>.
11437 (tramp-sh-handle-vc-registered): Hide errors.
11438 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11439 and `start-file-process'.
11440 (tramp-maybe-open-connection): Check also whether `non-essential'
11441 is bound.
11442
11443 2012-07-04 Chong Yidong <cyd@gnu.org>
11444
11445 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11446 (xml-parse-tag): Likewise, and avoid changing entity tables.
11447 (xml-syntax-table): Define from scratch, making sure not to give
11448 x2000 and other Unicode spaces whitespace syntax, since those are
11449 not spaces in XML.
11450 (xml-parse-fragment): Delete unused function.
11451 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11452 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11453 (xml-entity-ref, xml-pe-reference-re)
11454 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11455 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11456 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11457 (xml-entity-value-re): Use syntax references in regexps where
11458 possible; no need to define inside a let-binding.
11459 (xml-parse-dtd): Use xml-pe-reference-re.
11460 (xml-entity-or-char-ref-re): New defconst.
11461 (xml-parse-string, xml-substitute-special): Use it.
11462
11463 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11464
11465 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11466 (find-file--read-only): New function.
11467 (find-file-read-only, find-file-read-only-other-window)
11468 (find-file-read-only-other-frame): Use it.
11469 (insert-file-contents-literally): Don't `fset'.
11470 (get-free-disk-space): Use locate-dominating-file.
11471
11472 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11473 function is already compiled.
11474
11475 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11476
11477 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11478
11479 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11480 files on the same host.
11481
11482 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11483
11484 * help-fns.el (describe-function-1): Only call
11485 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11486
11487 2012-07-03 Chong Yidong <cyd@gnu.org>
11488
11489 * xml.el: Protect parser against XML bombs.
11490 (xml-entity-expansion-limit): New variable.
11491 (xml-parse-string, xml-substitute-special): Use it.
11492 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11493
11494 2012-07-03 Glenn Morris <rgm@gnu.org>
11495
11496 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11497 Allow linking to specific messages in debbugs reports (eg 123#5).
11498
11499 2012-07-02 Chong Yidong <cyd@gnu.org>
11500
11501 * xml.el: Fix entity and character reference expansion, allowing
11502 them to expand into markup as per XML spec.
11503 (xml-default-ns): New variable.
11504 (xml-entity-alist): Use XML spec definitions for lt and amp.
11505 (xml-parse-region): Make first two arguments optional.
11506 Discard text properties.
11507 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11508 All callers changed.
11509 (xml-parse-tag): Call xml-parse-tag-1. For backward
11510 compatibility, this function should not modify buffer contents.
11511 (xml-parse-tag-1): Fix opening-tag regexp.
11512 (xml-parse-string): Rewrite, handling entity and character
11513 references properly.
11514 (xml--entity-replacement-text): Signal an error if a parameter
11515 entity is undefined.
11516
11517 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11518
11519 * comint.el (comint-output-filter): Filter out repeated prompts.
11520
11521 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11522 and file-name-absolute-p.
11523 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11524 internal calls.
11525
11526 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11527
11528 Spelling fixes.
11529 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11530 Rename from byte-compile--refiy-function. All uses changed.
11531
11532 2012-07-01 Chong Yidong <cyd@gnu.org>
11533
11534 * xml.el (xml--parse-buffer): New function. Move most of
11535 xml-parse-region here.
11536 (xml-parse-region): Copy region into a temporary buffer, since
11537 parameter entity substitution requires changing buffer contents.
11538 Use xml--parse-buffer.
11539 (xml-parse-file): Use xml--parse-buffer.
11540 (xml-parse-dtd): Make parameter entity substitution work right.
11541 Use proper regexps for ELEMENT declarations (Bug#7172).
11542
11543 2012-06-30 Glenn Morris <rgm@gnu.org>
11544
11545 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11546
11547 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11548 Remove outdated and unnecessary dbus declarations.
11549
11550 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11551
11552 * emacs-lisp/timer.el (timer-until): Subtract results of
11553 float-time, instead of taking float-time of the result of
11554 time-subtract, since float-time signals an error for negative time
11555 arguments.
11556
11557 2012-06-30 Chong Yidong <cyd@gnu.org>
11558
11559 * xml.el (xml-*-re): Convert defvars into defconsts, and
11560 eval-and-compile them so eval-and-compile works on derivatives.
11561 (xml--entity-replacement-text): Use eval-and-comple.
11562
11563 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * vc/vc-git.el (vc-git-registered): Use cache property
11566 `git-registered'.
11567 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11568 `vc-git-working-revision' in order to benefit from the cache.
11569 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11570
11571 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11572
11573 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11574 removed (likely outside Emacs). (Bug#11757)
11575
11576 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * emacs-lisp/cl-lib.el: Require macroexp.
11579
11580 2012-06-30 Chong Yidong <cyd@gnu.org>
11581
11582 * xml.el: Implement XML parameter entities.
11583 (xml-parameter-entity-alist): New variable.
11584 (xml-parse-region, xml-parse-fragment): Preserve previous values
11585 of xml-entity-alist and xml-parameter-entity-alist, so that
11586 repeated calls on different documents do not change them.
11587 (xml-parse-tag): Fix doctype regexp.
11588 (xml--entity-replacement-text): New function.
11589 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11590 properly requires url retrieval which is unimplemented.
11591 (xml-escape-string): Doc fix.
11592
11593 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11596
11597 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11598
11599 * fringe.el (fringe-mode): Doc fix.
11600
11601 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11602
11603 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11604 is non-nil.
11605 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11606 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11607
11608 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11609
11610 * calendar/cal-dst.el (calendar-current-time-zone):
11611 Return calendar-current-time-zone-cache if non-nil.
11612
11613 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11614
11615 * progmodes/which-func.el (which-func-format):
11616 Add mouse-face. (Bug#11698)
11617
11618 2012-06-29 Leo Liu <sdl.web@gmail.com>
11619
11620 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11621
11622 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11623
11624 * minibuffer.el (minibuffer-confirm-exit-commands):
11625 Add completion-at-point (bug#11725).
11626
11627 2012-06-29 Glenn Morris <rgm@gnu.org>
11628
11629 * progmodes/f90.el (f90-font-lock-keywords-2):
11630 Add some preprocessor elements. (Bug#10499)
11631
11632 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11633
11634 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11635 Use syntax-propertize (bug#11739).
11636
11637 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11638
11639 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11640
11641 2012-06-28 Julien Danjou <julien@danjou.info>
11642
11643 * term.el (term-handle-colors-array): Use a set of new faces to
11644 color the terminal. Also uses :inverse-video property.
11645 (term-default-fg-color): Set to nil by default, deprecate in favor
11646 of `term-face'.
11647 (term-default-bg-color): Set to nil by default, deprecate in favor
11648 of `term-face'.
11649 (term-current-face): Use `term-face' by default.
11650 (term-bold-attribute): Variable deleted.
11651
11652 2012-06-28 Glenn Morris <rgm@gnu.org>
11653
11654 * simple.el (completion-list-mode-finish):
11655 Don't use toggle-read-only. (Since completion-list-mode has
11656 a special mode-class, it wasn't doing anything extra anyway.)
11657
11658 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11659
11660 Make inlining of other-mode interpreted functions work (bug#11799).
11661 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11662 (byte-compile): Use it to fix compilation of lexical-binding closures.
11663 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11664 function, if needed.
11665
11666 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11667
11668 * help-mode.el (help-make-xrefs): Don't just withstand
11669 cyclic-variable-indirection but any error in documentation-property.
11670
11671 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11672 memory use.
11673 * bindings.el (bindings--define-key): New function.
11674 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11675 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11676 * bindings.el: Use it to purecopy define-key bindings.
11677
11678 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11679
11680 * emacs-lisp/cl.el (flet): Mark obsolete.
11681 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11682 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11683 * progmodes/js.el (js-c-fill-paragraph):
11684 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11685 (ebrowse-switch-member-buffer-to-derived-class):
11686 * play/5x5.el (5x5-solver): Use cl-flet.
11687
11688 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11689 (cl--symbol-function): New macro.
11690 (cl--letf, cl--letf*): Use it.
11691
11692 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11693 Strip "toggle-" if any.
11694
11695 2012-06-27 Glenn Morris <rgm@gnu.org>
11696
11697 * info.el (Info-default-directory-list): Move here from paths.el.
11698 * paths.el: Remove file, which is now empty.
11699 * loadup.el: No longer load "paths".
11700
11701 * custom.el (custom-initialize-delay): Doc fix.
11702
11703 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11704 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11705 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11706 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11707 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11708 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11709 * eshell/eshell.el (eshell-defgroup): Remove alias.
11710
11711 2012-06-27 Chong Yidong <cyd@gnu.org>
11712
11713 * help.el (help-enable-auto-load): New variable.
11714
11715 * help-fns.el (help-fns--autoloaded-p): New function.
11716 (describe-function-1): Refer to a function as "autoloaded" if it
11717 was autoloaded at any time in the past. Perform autoloading if
11718 help-enable-auto-load is non-nil.
11719
11720 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11721
11722 * makefile.w32-in (compile, compile-always): Depend on
11723 update-subdirs, not on subdirs.el. Otherwise, several different
11724 sub-targets of 'bootstrap' running in parallel could
11725 simultaneously write to subdirs.el, producing a garbled file.
11726
11727 2012-06-26 Sam Steingold <sds@gnu.org>
11728
11729 * files.el (file-name-base): New convenience function.
11730 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11731 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11732 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11733 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11734 * textmodes/ispell.el, textmodes/reftex-ref.el:
11735 * textmodes/tex-mode.el: Use it.
11736 Did not touch cedet and org because they are maintained elsewhere.
11737
11738 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11739
11740 * calendar/calendar.el (calendar-exit): Don't try to delete or
11741 iconify last frame. See:
11742 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11743
11744 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11745
11746 * server.el (server-process-filter): Remember dir in the
11747 process's `server-client-directory' properties.
11748
11749 2012-06-24 Chong Yidong <cyd@gnu.org>
11750
11751 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11752 non-tag text.
11753
11754 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11755
11756 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11757
11758 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11759
11760 * help-fns.el (describe-variable): Don't croak when doc is not found.
11761 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11762 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11763 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11764 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11765 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11766 ((lambda ..) ..).
11767 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11768
11769 2012-06-23 Chong Yidong <cyd@gnu.org>
11770
11771 * info.el (Info-mouse-follow-link): Accept symbol values of
11772 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11773 (Info-fontify-node): Use Info-link-keymap for all navigation
11774 buttons, with link-args property to perform the desired action.
11775 (Info-link-keymap): Doc fix.
11776 (Info-next-link-keymap, Info-prev-link-keymap)
11777 (Info-up-link-keymap): Delete now-unused keymaps.
11778
11779 2012-06-23 Chong Yidong <cyd@gnu.org>
11780
11781 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11782
11783 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11784 system abbrevs.
11785
11786 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11787
11788 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11789
11790 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11791 (bug#11719).
11792
11793 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11794 the requote function doesn't work properly (bug#11714).
11795
11796 2012-06-23 Glenn Morris <rgm@gnu.org>
11797
11798 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11799
11800 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11801
11802 Further GV/CL cleanups.
11803 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11804 gv-expander.
11805 (gv--defun-declaration): New function.
11806 (defun-declarations-alist): Use it.
11807 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11808 (gv-place): Autoload.
11809 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11810 original definition of dotimes and dolist.
11811 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11812 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11813 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11814 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11815 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11816 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11817 to the function's definition.
11818 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11819 * window.el:
11820 * files.el:
11821 * faces.el:
11822 * env.el: Don't use CL.
11823
11824 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11825
11826 Support higher-resolution time stamps (Bug#9000).
11827
11828 * calendar/time-date.el (with-decoded-time-value): New arg
11829 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11830 (encode-time-value): New optional arg PICO. New type 3.
11831 (time-to-seconds) [!float-time]: Support the new picoseconds
11832 component if it's used.
11833 (seconds-to-time, time-subtract, time-add):
11834 Support ps-resolution time stamps as well.
11835
11836 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11837 (timerp): Timer vectors now have length 9, not 8.
11838 (timer--time): Support new-style (4-part) time stamps.
11839 (timer-next-integral-multiple-of-time): Time stamps now have
11840 picosecond resolution, so take a bit more care about rounding.
11841 (timer-relative-time, timer-inc-time): New optional arg psecs.
11842 (timer-set-time-with-usecs): Set psecs to 0.
11843 (timer--activate): Check psecs component, too.
11844
11845 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11846
11847 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11848
11849 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11850 Move the non-essential binding to the post/pre-command-hook where it is
11851 more obviously correct.
11852
11853 * subr.el (read-passwd): Don't use a history at all.
11854 * savehist.el (savehist-save): Remove password saved accidentally
11855 because of the above bug.
11856
11857 2012-06-22 Bastien Guerry <bzg@gnu.org>
11858
11859 * files.el (toggle-read-only): Display a message telling whether
11860 the buffer is read-only or not (bug#11726).
11861
11862 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * emacs-lisp/gv.el: New file.
11865 * subr.el (push, pop): Extend to generalized variables.
11866 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11867 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11868 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11869 gv-define-simple-setter, and gv-define-expander.
11870 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11871 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11872 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11873 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11874 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11875 gv-letplace.
11876 (cl-defstruct): Don't define setf-method any more.
11877 * emacs-lisp/cl.el (flet): Don't autoload.
11878 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11879 (define-setf-expander, defsetf, define-modify-macro)
11880 (cl-struct-setf-expander): Move from cl-lib.el.
11881 * emacs-lisp/syntax.el:
11882 * emacs-lisp/ewoc.el:
11883 * emacs-lisp/smie.el:
11884 * emacs-lisp/cconv.el:
11885 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11886 (timer--time): Use gv-define-simple-setter.
11887 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11888 to avoid coding-system problems in subr.el. Adjust all users.
11889 (macroexp--maxsize, macroexp-small-p): New functions.
11890 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11891 * scroll-bar.el (scroll-bar-mode):
11892 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11893 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11894 * winner.el (winner-configuration, winner-make-point-alist)
11895 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11896 * files.el (locate-file-completion-table): Avoid list*.
11897
11898 2012-06-22 Chong Yidong <cyd@gnu.org>
11899
11900 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11901 (dired-create-files): Doc fix (Bug#11329).
11902 (dired-do-copy): Doc fix (Bug#11334).
11903 (dired-mark-read-string): Doc fix (Bug#11553).
11904
11905 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11906 Doc fix (Bug#11326).
11907 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11908 (dired-dwim-target): Doc fix.
11909
11910 * wdired.el (wdired-mode): Doc fix.
11911
11912 2012-06-22 Glenn Morris <rgm@gnu.org>
11913
11914 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11915 (pcmpl-rpm-cache-stamp-file): New constant.
11916 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11917 (pcmpl-rpm-packages): Optionally cache list of packages.
11918
11919 * pcmpl-rpm.el (pcmpl-rpm): New group.
11920 (pcmpl-rpm-query-options): New option.
11921 (pcmpl-rpm-packages): No need to inline it.
11922 Use pcmpl-rpm-query-options.
11923
11924 * calendar/calendar.el (calendar-in-read-only-buffer):
11925 Avoid some needless mode changes.
11926
11927 2012-06-21 Chong Yidong <cyd@gnu.org>
11928
11929 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11930 (desktop-path): Remove . from the default value (Bug#10977).
11931 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11932
11933 2012-06-20 Chong Yidong <cyd@gnu.org>
11934
11935 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11936
11937 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11938
11939 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11940 (bug#11201).
11941
11942 2012-06-20 Chong Yidong <cyd@gnu.org>
11943
11944 * term.el (term-window-width): Handle the case of a missing right
11945 fringe (Bug#8837).
11946 (term-check-size): Use window-text-height (Bug#5445).
11947 (term-mode): Use define-derived-mode. Minor cleanups.
11948 Set font-lock-defaults (Bug#7692).
11949 (term-move-columns, term-insert-char, term-emulate-terminal)
11950 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11951
11952 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11953
11954 * net/ange-ftp.el (ange-ftp-get-passwd):
11955 Bind `enable-recursive-minibuffers'.
11956 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11957
11958 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11959
11960 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11961
11962 2012-06-19 Glenn Morris <rgm@gnu.org>
11963
11964 * progmodes/python.el (python-mode): Derive from prog-mode.
11965
11966 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11967
11968 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11969 (edt-user-menu-bar-update-buffers): New functions.
11970 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11971
11972 2012-06-19 Chong Yidong <cyd@gnu.org>
11973
11974 * subr.el (with-selected-window): Preserve the selected window's
11975 terminal's top-frame (Bug#4702).
11976
11977 * window.el (save-selected-window): Likewise.
11978
11979 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11980
11981 * progmodes/python.el (python-rx-constituents): Move backquote.
11982 (python-skeleton-define, python-define-auxiliary-skeleton):
11983 Use `declare'.
11984
11985 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11986
11987 * minibuffer.el (read-file-name-default): Revert the patch from
11988 2012-06-17.
11989
11990 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11991
11992 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11993 (pcase--u1, pcase--q1): Don't use apply-partially.
11994
11995 2012-06-18 Glenn Morris <rgm@gnu.org>
11996
11997 * progmodes/python.el (python-proc, python-buffer)
11998 (python-send-receive, python-send-string): Fix obsolete versions.
11999
12000 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12001
12002 * window.el (special-display-p): Completely remove stringp
12003 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12004
12005 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12006
12007 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12008
12009 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12010
12011 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12012 * net/tramp-sh.el (tramp-maybe-open-connection):
12013 Throw if `non-essential' is non-nil.
12014
12015 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12016
12017 * window.el (special-display-p): Signal an error if BUFFER-NAME
12018 is not a string (Bug#11713).
12019
12020 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12021
12022 * progmodes/python.el (python-info-beginning-of-backslash):
12023 Rename from python-info-beginning-of-backlash, as a spelling fix.
12024
12025 2012-06-17 Chong Yidong <cyd@gnu.org>
12026
12027 * term.el (term-emulate-terminal): If term-check-size is called,
12028 move point to the process mark without resetting point (Bug#4635).
12029
12030 2012-06-17 Glenn Morris <rgm@gnu.org>
12031
12032 * international/mule-cmds.el (mule-menu-keymap)
12033 (set-language-environment, set-locale-environment): Doc tweaks.
12034
12035 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12036
12037 * cus-face.el (custom-face-attributes): Add wave-style underline
12038 attribute.
12039 * faces.el (set-face-attribute): Update docstring to describe
12040 wave-style underline attribute.
12041
12042 2012-06-16 Chong Yidong <cyd@gnu.org>
12043
12044 * term/xterm.el (terminal-init-xterm): Discard input before
12045 querying background mode (Bug#10959).
12046
12047 2012-06-16 Stefan Merten <smerten@oekonux.de>
12048
12049 * textmodes/rst.el: Added and corrected some comments.
12050 (rst-re-alist-def): Improve symbol syntax.
12051 (rst-mode-syntax-table): Correct syntax entries.
12052 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12053 (rst-official-version, rst-official-cvs-rev): Update version
12054 information.
12055
12056 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12057
12058 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12059 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12060
12061 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12062
12063 * progmodes/python.el: New python.el merge.
12064 (python-guess-indent): Obsolete var.
12065 (python-indent-guess-indent-offset): New defcustom.
12066 (python-indent): Obsolete var.
12067 (python-indent-offset): New defcustom.
12068 (python-python-command, python-jython-command): Delete var.
12069 (python-shell-interpreter): New defcustom.
12070 (python-pdbtrack-do-tracking-p): Delete var.
12071 (python-pdbtrack-activate): New defcustom.
12072 (python-use-skeletons): Obsolete var.
12073 (python-skeleton-autoinsert): New defcustom.
12074 (inferior-python-filter-regexp, python-continuation-offset)
12075 (python-honour-comment-indentation, python-indent-string-contents)
12076 (python-jython-packages, python-mode-hook)
12077 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12078 (python-shell-prompt-alist)
12079 (python-source-modes): Delete defcustoms.
12080 (python-check-buffer-name, python-eldoc-setup-code)
12081 (python-eldoc-string-code, python-ffap-setup-code)
12082 (python-ffap-string-code, python-fill-comment-function)
12083 (python-fill-decorator-function, python-fill-paren-function)
12084 (python-fill-string-function, python-imenu-include-defun-type)
12085 (python-imenu-make-tree, python-imenu-subtree-root-label)
12086 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12087 (python-shell-compilation-regexp-alist)
12088 (python-shell-completion-module-string-code)
12089 (python-shell-completion-pdb-string-code)
12090 (python-shell-completion-setup-code)
12091 (python-shell-completion-string-code)
12092 (python-shell-enable-font-lock, python-shell-exec-path)
12093 (python-shell-extra-pythonpaths)
12094 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12095 (python-shell-process-environment)
12096 (python-shell-prompt-block-regexp)
12097 (python-shell-prompt-output-regexp)
12098 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12099 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12100 (python-shell-virtualenv-path): New defcustoms.
12101 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12102 (inferior-python-mode-syntax-table, python--prompt-regexp)
12103 (python-buffer, python-command python-python-command)
12104 (python-default-template, python-imports, python-indent-index)
12105 (python-indent-list, python-indent-list-length)
12106 (python-mode-running, python-pdbtrack-is-tracking-p)
12107 (python-preoutput-continuation, python-preoutput-leftover)
12108 (python-preoutput-result, python-preoutput-skip-next-prompt)
12109 (python-prev-dir/file, python-recursing)
12110 (python-saved-check-command, python-version-checked)
12111 (python-which-func-length-limit)
12112 (view-return-to-alist): Delete vars.
12113 (python-check-custom-command, python-dotty-syntax-table)
12114 (python-imenu-index-alist, python-indent-current-level)
12115 (python-indent-dedenters, python-indent-levels)
12116 (python-nav-beginning-of-defun-regexp)
12117 (python-nav-list-defun-positions-cache)
12118 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12119 (python-shell-internal-buffer)
12120 (python-skeleton-available): New vars.
12121 (def-python-skeleton): Delete macro.
12122 (python-skeleton-define): New macro.
12123 (python-define-auxiliary-skeleton, python-rx): New macros.
12124 (python-insert-class): Delete command.
12125 (python-skeleton-class): New command.
12126 (python-insert-def): Delete command.
12127 (python-skeleton-def): New command.
12128 (python-insert-for): Delete command.
12129 (python-skeleton-for): New command.
12130 (python-insert-if): Delete command.
12131 (python-skeleton-if): New command.
12132 (python-insert-try/except, python-insert-try/finally): Delete commands.
12133 (python-skeleton-try): New command.
12134 (python-insert-while): Delete command.
12135 (python-skeleton-while): New command.
12136 (python-backspace): Delete command.
12137 (python-indent-dedent-line-backspace): New command.
12138 (python-electric-colon): Delete command.
12139 (python-indent-electric-colon): New command.
12140 (python-guess-indent): Delete command.
12141 (python-indent-guess-indent-offset): New command.
12142 (python-shift-left): Delete command.
12143 (python-indent-shift-left): New command.
12144 (python-shift-right): Delete command.
12145 (python-indent-shift-right): New command.
12146 (python-find-function): Delete command.
12147 (python-nav-jump-to-defun): New command.
12148 (python-next-statement): Delete command.
12149 (python-nav-forward-sentence): New command.
12150 (python-previous-statement): Delete command.
12151 (python-nav-backward-sentence): New command.
12152 (python-fill-paragraph): Delete command.
12153 (python-fill-paragraph-function): New command.
12154 (python-send-buffer): Delete command.
12155 (python-shell-send-buffer): New command.
12156 (python-send-defun): Delete command.
12157 (python-shell-send-defun): New command.
12158 (python-send-region, python-send-region-and-go): Delete commands.
12159 (python-shell-send-region)
12160 (python-shell-switch-to-shell): New commands.
12161 (python-send-string): Delete command.
12162 (python-shell-send-string): New command.
12163 (python-switch-to-python): Delete command.
12164 (python-shell-switch-to-shell): New command.
12165 (python-describe-symbol): Delete command.
12166 (python-eldoc-at-point): New command.
12167 (python--set-prompt-regexp, python-args-to-list)
12168 (python-after-info-look, python-check-version)
12169 (python-check-comint-prompt, python-find-imports)
12170 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12171 (python-unload-function, python-expand-template)
12172 (python-maybe-jython, python-preoutput-filter)
12173 (python-pdbtrack-get-source-buffer)
12174 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12175 (python-pdbtrack-toggle-stack-tracking)
12176 (python-pdbtrack-track-stack-file, python-initial-text)
12177 (python-first-word, python-comment-line-p, python-send-command)
12178 (python-setup-brm, python-sentinel, python-set-proc)
12179 (python-skip-out, python-input-filter, python-outdent-p)
12180 (python-outline-level, python-backslash-continuation-line-p)
12181 (python-end-of-block, python-end-of-statement, python-mark-block)
12182 (python-beginning-of-block, python-beginning-of-statement)
12183 (python-blank-line-p, python-beginning-of-string)
12184 (python-open-block-statement-p): Delete functions.
12185 (python-indent-line, python-indent-line-1): Delete functions.
12186 (python-indent-line): New function.
12187 (python-indentation-levels): Delete function.
12188 (python-indent-calculate-levels): New function.
12189 (python-proc): Delete function.
12190 (python-shell-get-process): New function.
12191 (python-send-receive): Delete function.
12192 (python-shell-send-string-no-output): New function.
12193 (python-module-path): Delete function.
12194 (python-ffap-module-path): New function.
12195 (python-completion-at-point)
12196 (python-symbol-completions): Delete functions.
12197 (python-completion-complete-at-point): New function.
12198 (python-load-file): Delete function.
12199 (python-shell-send-file): New function.
12200 (python-calculate-indentation): Delete function.
12201 (python-indent-calculate-indentation): New function.
12202 (python-skip-comments/blanks): Delete function.
12203 (python-util-forward-comment): New function.
12204 (python-continuation-line-p): Delete function.
12205 (python-info-continuation-line-p): New function.
12206 (python-which-func, python-current-defun): Delete function.
12207 (python-info-current-defun): New function.
12208 (python-beginning-of-defun): Delete function.
12209 (python-nav-beginning-of-defun): New function.
12210 (python-close-block-statement-p)
12211 (python-block-end-p): Delete function.
12212 (python-info-closing-block): New function.
12213 (python-comint-output-filter-function)
12214 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12215 (python-fill-comment, python-fill-decorator, python-fill-paren)
12216 (python-fill-string, python-imenu-make-element-tree)
12217 (python-imenu-make-tree, python-imenu-tree-assoc)
12218 (python-indent-context, python-indent-dedent-line)
12219 (python-indent-line-function)
12220 (python-indent-post-self-insert-function)
12221 (python-indent-toggle-levels)
12222 (python-info-assignment-continuation-line-p)
12223 (python-info-beginning-of-backlash)
12224 (python-info-block-continuation-line-p)
12225 (python-info-closing-block-message)
12226 (python-info-line-ends-backslash-p)
12227 (python-info-looking-at-beginning-of-defun)
12228 (python-info-ppss-context, python-info-ppss-context-type)
12229 (python-nav-list-defun-positions, python-nav-read-defun)
12230 (python-nav-sentence-end, python-nav-sentence-start)
12231 (python-pdbtrack-comint-output-filter-function)
12232 (python-pdbtrack-set-tracked-buffer)
12233 (python-shell-calculate-exec-path)
12234 (python-shell-calculate-process-environment)
12235 (python-shell-completion--do-completion-at-point)
12236 (python-shell-completion--get-completions)
12237 (python-shell-completion-complete-at-point)
12238 (python-shell-completion-complete-or-indent)
12239 (python-shell-get-or-create-process)
12240 (python-shell-get-process-name)
12241 (python-shell-internal-get-or-create-process)
12242 (python-shell-internal-get-process-name)
12243 (python-shell-internal-send-string, python-shell-make-comint)
12244 (python-shell-parse-command, python-shell-send-setup-code)
12245 (python-skeleton-add-menu-items)
12246 (python-util-clone-local-variables, python-util-position)
12247 (run-python-internal, python-indentation-levels)
12248 (python-nav-beginning-of-defun)
12249 (python-completion-complete-at-point): New functions.
12250 (run-python): Change arguments. New API requirements.
12251
12252 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12255 (bug#11649).
12256
12257 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12258 (macroexp--expand-all): Use it.
12259
12260 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12261 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12262 Use `cl-function' instead.
12263
12264 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12265
12266 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12267 Suggested by Stefan Monnier while discussing bug#11657.
12268
12269 2012-06-14 Sam Steingold <sds@gnu.org>
12270
12271 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12272
12273 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12274
12275 * play/doctor.el (doctor-doc): Remove parameter and use
12276 doctor-sent instead of sent.
12277 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12278
12279 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * files.el: Require cl-lib.
12282 (file-name-non-special): Replace case -> cl-case.
12283
12284 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12285
12286 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12287 mapping from #' to function*.
12288
12289 2012-06-13 Chong Yidong <cyd@gnu.org>
12290
12291 * mouse.el (mouse-drag-track): Do not set the mark if the user
12292 releases the mouse without selecting anything (Bug#11588).
12293
12294 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12297 as well (bug#11646).
12298
12299 * loadup.el: Count byte-code functions as well.
12300
12301 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12302 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12303
12304 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12305 (bug#11649). Add cl-defun and cl-defmacro.
12306
12307 2012-06-13 Drew Adams <drew.adams@oracle.com>
12308
12309 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12310 Fix last change.
12311
12312 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12313
12314 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12315 Otherwise, it blocks in batch mode.
12316
12317 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12318
12319 * help-mode.el (bookmark-make-record-default): Declare.
12320
12321 2012-06-13 Chong Yidong <cyd@gnu.org>
12322
12323 * emacs-lisp/package.el (list-packages): Compute a list of
12324 packages that are newly-available since the last list-packages
12325 invocation.
12326 (package-menu--new-package-list): New var.
12327 (package-menu--generate, package-menu--print-info)
12328 (package-menu--status-predicate, package-menu-mark-install):
12329 Handle new status label "new".
12330
12331 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12332
12333 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12334 conversion to backquotes.
12335
12336 2012-06-12 Chong Yidong <cyd@gnu.org>
12337
12338 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12339 Rename from gud-inhibit-global-bindings.
12340
12341 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12342
12343 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12344 hook from nxml-glyph-set-hook.
12345
12346 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12347 declaration.
12348
12349 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12350
12351 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12352 Convert to defcustom.
12353
12354 2012-06-12 Drew Adams <drew.adams@oracle.com>
12355
12356 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12357 New functions.
12358 (help-mode): Use them.
12359
12360 2012-06-11 Glenn Morris <rgm@gnu.org>
12361
12362 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12363 Use preprocessor face for directives.
12364 (fortran-directive-re): Doc fix.
12365
12366 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12369 conversion to backquotes (bug#11652).
12370
12371 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12372 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12373 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12374 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12375 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12376 (cl-ninth, cl-tenth): Mark them as inlinable.
12377 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12378 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12379 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12380 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12381 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12382 (cl-list*, cl-adjoin): Don't put an autoload manually.
12383 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12384 (cl--compiler-macro-list*): Add autoload cookie.
12385 (cl--compiler-macro-cXXr): New function.
12386
12387 * help-fns.el (help-fns--compiler-macro): New function extracted from
12388 describe-function-1; follow aliases and use `compiler-macro' property.
12389 (describe-function-1): Use it.
12390
12391 2012-06-11 Chong Yidong <cyd@gnu.org>
12392
12393 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12394 is uninstalled, if imagemagick is installed.
12395
12396 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12397
12398 * emacs-lisp/cl-lib.el: Use lexical-binding.
12399 (cl-map-extents, cl-maclisp-member): Remove.
12400 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12401 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12402 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12403 * emacs-lisp/cl-extra.el: Use lexical-binding.
12404 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12405 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12406 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12407 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12408 * emacs-lisp/cl-seq.el: Use lexical-binding.
12409 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12410 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12411 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12412 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12413 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12414 CL's internals.
12415
12416 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12417
12418 Sync with Tramp 2.2.6-pre.
12419
12420 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12421 `print-length' and `print-level' to nil, in order to avoid
12422 truncation. Reported by Christopher Schmidt
12423 <christopher@ristopher.com>.
12424
12425 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12426
12427 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12428 New defmacro.
12429 (tramp-compat-copy-directory): Add optional argument
12430 COPY-CONTENTS. It is not handled yet.
12431
12432 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12433 (tramp-ftp-file-name-p): Simplify.
12434
12435 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12436 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12437 connection vector.
12438
12439 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12440 (tramp-methods): Do not use `tramp-password-end-of-line'.
12441 (tramp-completion-function-alist-putty): Handle UNIX case.
12442 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12443 (tramp-do-file-attributes-with-stat)
12444 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12445 gid as real numbers. They could run out of integer range on cygwin.
12446 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12447 (tramp-sh-handle-expand-file-name): Handle hops.
12448 (tramp-open-connection-setup-interactive-shell):
12449 Use `tramp-cleanup'. Move check for busyboxes ...
12450 (tramp-find-shell): ... here. Simplify implementation.
12451 Set "remote-shell" property also for alternative shells.
12452 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12453 If failing, a regular file would be written otherwise.
12454 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12455 (tramp-find-inline-encoding): Cache the coding commands in the
12456 process cache. Apply test command on the remote side, if defined.
12457 (tramp-find-inline-compress): Cache the compress commands in the
12458 process cache.
12459 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12460 when requested. Handle hops.
12461 (tramp-current-connection): New defvar.
12462 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12463 Throw `suppress', if there was a failed connection shortly before.
12464 Handle user interrupt. (Bug#10187)
12465 (tramp-get-inline-compress, tramp-get-inline-coding):
12466 Read connection properties from the process cache.
12467
12468 * net/tramp-smb.el (tramp-smb-server-version)
12469 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12470 New defconsts.
12471 (tramp-smb-prompt): Extend for powershell prompt.
12472 (tramp-smb-file-name-handler-alist): Add handlers for
12473 `process-file', `shell-command' and `start-file-process'.
12474 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12475 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12476 (tramp-smb-file-name-p): Simplify.
12477 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12478 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12479 (tramp-smb-shell-quote-argument): New defuns.
12480 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12481 Implement using "tar". By this, time-stamps are preserved.
12482 (tramp-smb-handle-copy-file): Handle also the case of directories.
12483 (tramp-smb-do-file-attributes-with-stat)
12484 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12485 Use `tramp-get-connection-buffer').
12486 (tramp-smb-handle-rename-file): Use "rename", when source and
12487 target are on the same share.
12488 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12489 Use `tramp-smb-server-version'.
12490 (tramp-smb-wait-for-output): Remove prompt.
12491
12492 * net/tramp.el (top): Require 'cl.
12493 (tramp-methods, tramp-rsh-end-of-line):
12494 Remove `tramp-password-end-of-line' from docstring.
12495 (tramp-save-ad-hoc-proxies): New defcustom.
12496 (tramp-completion-function-alist): Adapt docstring.
12497 (tramp-default-password-end-of-line): Remove defcustom.
12498 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12499 (tramp-user-regexp, tramp-file-name-regexp-unified)
12500 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12501 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12502 (tramp-remote-file-name-spec-regexp): New defconst.
12503 (tramp-file-name-structure): Extend structure for hops.
12504 (tramp-get-method-parameter): Move up.
12505 (tramp-file-name-p, tramp-dissect-file-name)
12506 (with-parsed-tramp-file-name): Handle hops.
12507 (tramp-file-name-hop): New defun.
12508 (tramp-make-tramp-file-name): New optional arg HOP.
12509 (tramp-message-show-progress-reporter-message): New defvar.
12510 (tramp-with-progress-reporter): Use it. We cannot use
12511 `tramp-message-show-message' here, because this suppresses also
12512 error buffers.
12513 (tramp-error-with-buffer): Suppress buffer view, if
12514 `tramp-message-show-message' is nil.
12515 Use `tramp-get-connection-buffer'.
12516 (tramp-cleanup): New defun.
12517 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12518 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12519 an error unchanged.
12520 (tramp-completion-handle-file-name-all-completions): Handle hops.
12521 Fix an error when called from ido.
12522 (tramp-completion-dissect-file-name): Use better local variable
12523 name. Add hop to the vector.
12524 (tramp-handle-insert-file-contents): Use progress-reporter for the
12525 whole scenario.
12526 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12527 to `t'.
12528 (tramp-check-for-regexp): Simplify search.
12529 (tramp-enter-password): Remove it. Move implementation ...
12530 (tramp-action-password): ... here.
12531 (tramp-mode-string-to-int, tramp-local-host-p)
12532 (tramp-make-tramp-temp-file, tramp-read-passwd)
12533 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12534 Set tramp-autoload cookie.
12535
12536 * net/trampver.el: Update release number.
12537
12538 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12539 Michael Albinus <michael.albinus@gmx.de>
12540
12541 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12542 (tramp-parse-group, tramp-parse-file)
12543 (tramp-parse-shostkeys-sknownhosts): New defuns.
12544 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12545 (tramp-parse-shosts-group, tramp-parse-sconfig)
12546 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12547 (tramp-parse-sknownhosts, tramp-parse-hosts)
12548 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12549 Use them.
12550 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12551 (tramp-parse-putty-group): Don't narrow.
12552 (tramp-parse-putty): Make a loop.
12553 (tramp-file-name-handler): Catch the `suppress' signal.
12554
12555 2012-06-11 Chong Yidong <cyd@gnu.org>
12556
12557 * image.el (imagemagick-register-types): Put the ImageMagick entry
12558 at the end of image-type-file-name-regexps.
12559
12560 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12561
12562 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12563 (pcase, pcase-let*, pcase-dolist): Use them.
12564
12565 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12566
12567 * emacs-lisp/pcase.el (pcase--let*): New function.
12568 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12569 (pcase--expand): Use macroexp-let².
12570
12571 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12574 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12575 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12576 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12577 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12578 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12579
12580 2012-06-10 Glenn Morris <rgm@gnu.org>
12581
12582 * mail/rmail.el (rmail-yank-current-message): Leave point at
12583 correct position. (Bug#11660)
12584
12585 2012-06-10 Chong Yidong <cyd@gnu.org>
12586
12587 * allout-widgets.el: Fix code header.
12588
12589 2012-06-10 Chong Yidong <cyd@gnu.org>
12590
12591 * cus-edit.el (customize-changed-options-previous-release):
12592 Bump to 24.1.
12593
12594 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12595
12596 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12597
12598 2012-06-09 Chong Yidong <cyd@gnu.org>
12599
12600 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12601
12602 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12603
12604 * window.el (special-display-popup-frame): Don't use
12605 window--display-buffer (Bug#11651).
12606
12607 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12608
12609 Fix parallel builds: make sure loaddefs.el is not being written
12610 while Lisp files are compiled.
12611 (compile): Don't depend on 'mh-autoloads'.
12612 (compile-CMD, compile-SH): Depend on 'autoloads'.
12613 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12614
12615 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12616
12617 2012-06-09 Chong Yidong <cyd@gnu.org>
12618
12619 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12620 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12621 Doc fixes (Bug#11225).
12622
12623 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12626 a function if there's a clear indication that it has a compiler-macro.
12627 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12628 (macro-declarations-alist): Add arglist to declaration functions.
12629 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12630 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12631 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12632 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12633 Also add autoload to find the compiler macro.
12634 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12635 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12636 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12637 (cl--compiler-macro-get): New functions, replacing calls to
12638 cl-define-compiler-macro.
12639 (cl-typep) [compiler-macro]: Use macroexp-let².
12640
12641 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12642
12643 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12644 string properly, fixes Bug#11473.
12645
12646 2012-06-08 Chong Yidong <cyd@gnu.org>
12647
12648 * faces.el (set-face-attribute): Doc fix.
12649 (modify-face): Don't use :bold and :italic.
12650 (error, warning, success): Tweak definitions.
12651
12652 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12653 (custom-modified, custom-set, custom-changed, custom-themed)
12654 (custom-saved, custom-button, custom-button-mouse)
12655 (custom-button-pressed, custom-state, custom-comment-tag)
12656 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12657 (custom-group-subtitle): Use new-style face specs.
12658 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12659 (custom-set-face, custom-changed-face, custom-saved-face)
12660 (custom-button-face, custom-button-pressed-face)
12661 (custom-documentation-face, custom-state-face)
12662 (custom-comment-face, custom-comment-tag-face)
12663 (custom-variable-tag-face, custom-variable-button-face)
12664 (custom-face-tag-face, custom-group-tag-face-1)
12665 (custom-group-tag-face): Remove obsolete face alias.
12666
12667 * epa.el (epa-validity-high, epa-validity-medium)
12668 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12669 (epa-field-name, epa-field-body):
12670 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12671 (font-lock-keyword-face, font-lock-builtin-face)
12672 (font-lock-function-name-face, font-lock-variable-name-face)
12673 (font-lock-type-face, font-lock-constant-face):
12674 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12675 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12676 * speedbar.el (speedbar-button-face, speedbar-file-face)
12677 (speedbar-directory-face, speedbar-tag-face)
12678 (speedbar-selected-face, speedbar-highlight-face)
12679 (speedbar-separator-face):
12680 * whitespace.el (whitespace-newline, whitespace-space)
12681 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12682 (whitespace-line, whitespace-space-before-tab)
12683 (whitespace-space-after-tab, whitespace-indentation)
12684 (whitespace-empty):
12685 * emulation/cua-base.el (cua-global-mark):
12686 * eshell/em-prompt.el (eshell-prompt):
12687 * net/newst-plainview.el (newsticker-new-item-face)
12688 (newsticker-old-item-face, newsticker-immortal-item-face)
12689 (newsticker-obsolete-item-face, newsticker-date-face)
12690 (newsticker-statistics-face, newsticker-default-face):
12691 * net/newst-reader.el (newsticker-feed-face)
12692 (newsticker-extra-face, newsticker-enclosure-face):
12693 * net/newst-treeview.el (newsticker-treeview-face)
12694 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12695 (newsticker-treeview-immortal-face)
12696 (newsticker-treeview-obsolete-face)
12697 (newsticker-treeview-selection-face):
12698 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12699 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12700 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12701 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12702 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12703 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12704 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12705 (mpuz-text):
12706 * progmodes/vera-mode.el (vera-font-lock-number)
12707 (vera-font-lock-function, vera-font-lock-interface):
12708 * textmodes/table.el (table-cell): Use new-style face specs, and
12709 don't use the old :bold and :italic attributes.
12710
12711 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12712 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12713 (ebrowse-member-class, ebrowse-progress): Likewise.
12714 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12715 (ebrowse-file-name-face, ebrowse-default-face)
12716 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12717 (ebrowse-progress-face): Remove obsolete faces.
12718
12719 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12720 Inherit from error and warning faces respectively.
12721
12722 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12723 Likewise.
12724 (flyspell-incorrect-face, flyspell-duplicate-face):
12725 Remove obsolete aliases.
12726
12727 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12728
12729 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12730 Avoid infloop.
12731
12732 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12733
12734 * startup.el (argv, argi): Make lexically scoped.
12735 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12736 * emacs-lisp/cl-macs.el: Use lexical-binding.
12737 Rename cl-bind-* to cl--bind-*.
12738 * files.el: Don't require `cl' since it doesn't use it.
12739 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12740
12741 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12742
12743 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12744 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12745 instead of calling external sort utility.
12746 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12747
12748 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12749
12750 * descr-text.el (describe-char): Mention how to insert the
12751 character, if the current input method doesn't support it.
12752 See the discussion in this thread for the details:
12753 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12754
12755 2012-06-08 Sam Steingold <sds@gnu.org>
12756
12757 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12758 XF86Back to previous-buffer.
12759 (minibuffer-local-map): Bind them to next-history-element and
12760 previous-history-element respectively.
12761 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12762 help-go-back respectively.
12763 * info.el (Info-mode-map): Bind them to Info-history-forward and
12764 Info-history-back respectively.
12765 These are the keys next to Up on the ThinkPad keyboard.
12766
12767 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12770 * emacs-lisp/cl-macs.el: Provide itself.
12771 (cl--labels-convert-cache): New var.
12772 (cl--labels-convert): New function.
12773 (cl-flet, cl-labels): New implementation with new semantics, relying on
12774 lexical-binding.
12775 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12776 (cl-closure-vars, cl--function-convert-cache)
12777 (cl--function-convert): Move from cl-macs.el.
12778 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12779 rename by removing the "cl-" prefix.
12780 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12781
12782 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12785 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12786 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12787 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12788 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12789 (cl-hash-table-count): Add old compatibility aliases.
12790
12791 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12792 Use macroexpand-all-environment instead.
12793 (cl--old-macroexpand): New var.
12794 (cl--sm-macroexpand): New function.
12795 (cl-symbol-macrolet): Use it during macro expansion.
12796 (cl--function-convert-cache): New var.
12797 (cl--function-convert): New function, extracted from
12798 cl-macroexpand-all.
12799 (cl-lexical-let): Use it.
12800
12801 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12802 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12803 (cl-member): Remove old alias.
12804
12805 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12806 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12807 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12808 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12809 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12810 (cl-macroexpand-cmacs): Remove var.
12811 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12812 Use macroexpand-all instead.
12813
12814 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12815
12816 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12817 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12818 (macroexp-copyable-p): New functions and macros.
12819 * emacs-lisp/edebug.el (edebug-unwrap):
12820 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12821 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12822 (pcase--let*): Remove.
12823 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12824 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12825 macroexp-const-p instead.
12826 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12827
12828 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12829 instead of "cl-" for internal definitions. Use macroexp-const-p.
12830 (cl-old-bc-file-form): Remove var.
12831 (cl-const-exprs-p): Remove fun.
12832 (cl-labels, cl-macrolet): Use backquote.
12833 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12834 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12835 (cl-define-setf-expander): Rename from cl-define-setf-method.
12836 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12837
12838 * international/mule-cmds.el: Don't require CL.
12839 (view-hello-file): Don't use `letf'.
12840
12841 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * tmm.el (tmm-prompt): Use string-prefix-p.
12844 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12845 (tmm-add-prompt): Use minibuffer-completion-help.
12846 (tmm-delete-map): Remove.
12847
12848 * subr.el (kbd): Make it its own function.
12849
12850 2012-06-07 Stefan Merten <smerten@oekonux.de>
12851
12852 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12853 Silence compiler warnings. Fix versions.
12854 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12855 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12856 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12857 (rst-package-emacs-version-alist): Correct Emacs version to
12858 represent major merge with upstream.
12859 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12860
12861 2012-06-06 Glenn Morris <rgm@gnu.org>
12862
12863 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12864 Only print environment variables if set.
12865
12866 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12867
12868 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12869 (macroexp--cons): Rename from maybe-cons.
12870 (macroexp--accumulate): Rename from macroexp-accumulate.
12871 (macroexp--all-forms): Rename from macroexpand-all-forms.
12872 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12873 (macroexp--expand-all): Rename from macroexpand-all-1.
12874
12875 2012-06-06 Sam Steingold <sds@gnu.org>
12876
12877 * calendar/calendar.el (calendar-in-read-only-buffer):
12878 Call `special-mode' to enable the standard read-only keybindings.
12879
12880 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12881
12882 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12883 with "loading" messages (bug#11635).
12884
12885 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12886
12887 * files.el (enable-remote-dir-locals): New option.
12888 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12889
12890 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12891 Ensure, that the temp directory is local.
12892
12893 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12894 `temporary-file-directory'.
12895
12896 * progmodes/python.el (python-send-region): Ensure, that the
12897 temporary file is created also in the remote case.
12898
12899 2012-06-06 Glenn Morris <rgm@gnu.org>
12900
12901 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12902 (vc-rcs-update-changelog): Use it.
12903
12904 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12905
12906 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12907 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12908 (vc-sccs-diff): Replace use of the external vcdiff script.
12909
12910 2012-06-05 Glenn Morris <rgm@gnu.org>
12911
12912 * ledit.el: Move to obsolete/.
12913
12914 2012-06-05 Sam Steingold <sds@gnu.org>
12915
12916 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12917 patch (Bug#11140).
12918
12919 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12920
12921 * emacs-lisp/cust-print.el: Move to obsolete.
12922
12923 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12924 compiler-macro expansion.
12925
12926 Add native compiler-macro support.
12927 * emacs-lisp/macroexp.el (macroexpand-all-1):
12928 Support compiler-macros directly. Properly follow aliases and apply
12929 the compiler macros more thoroughly.
12930 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12931 macroexpand now properly follows aliases.
12932 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12933 (cl-compiler-macroexpand): Use new prop.
12934 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12935
12936 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12937
12938 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12939
12940 * window.el (get-lru-window, get-mru-window, get-largest-window):
12941 New argument NOT-SELECTED to avoid picking the selected window.
12942 (window--display-buffer-1, window--display-buffer-2): Replace by
12943 new function window--display-buffer
12944 (display-buffer-same-window, display-buffer-reuse-window)
12945 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12946 Use window--display-buffer.
12947 (display-buffer-use-some-window): Remove temporary dedication
12948 hack by calling get-lru-window and get-largest-window with
12949 NOT-SELECTED argument non-nil. Call window--display-buffer.
12950
12951 2012-06-05 Glenn Morris <rgm@gnu.org>
12952
12953 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12954 Replace external vcdiff script.
12955
12956 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12959
12960 2012-06-04 Chong Yidong <cyd@gnu.org>
12961
12962 * image.el (imagemagick-types-inhibit): Revert last change.
12963 Add INFO and M.
12964 (imagemagick-enabled-types): Remove CIN and EPS*.
12965
12966 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * emacs-lisp/cl-lib.el: Rename from cl.el.
12969 * emacs-lisp/cl.el: New compatibility file.
12970 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12971 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12972 to obey the "cl-" prefix.
12973 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12974
12975 2012-06-03 Glenn Morris <rgm@gnu.org>
12976
12977 * emacs-lisp/authors.el (authors-aliases): Addition.
12978
12979 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12980 Fix :version.
12981
12982 2012-06-03 Stefan Merten <smerten@oekonux.de>
12983
12984 * textmodes/rst.el: Add comments.
12985 (rst-transition, rst-adornment): New faces.
12986 (rst-adornment-faces-alist): Make default safe to reevaluate.
12987 Fixes
12988 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12989 Improve customization tags.
12990 (rst-define-level-faces): Clarify meaning.
12991
12992 2012-06-03 Chong Yidong <cyd@gnu.org>
12993
12994 * progmodes/compile.el (compilation-mode-line-fail)
12995 (compilation-mode-line-run, compilation-mode-line-exit):
12996 New faces.
12997 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12998
12999 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13000
13001 * progmodes/which-func.el (which-func-update-ediff-windows):
13002 New function. Use it in ediff-select-hook (Bug#11478).
13003
13004 2012-06-03 Chong Yidong <cyd@gnu.org>
13005
13006 * bindings.el: Remove explicit help text from format-mode-line.
13007 It is now supplied by mode-line-default-help-echo.
13008 (mode-line-front-space, mode-line-end-spaces)
13009 (mode-line-misc-info): New variables.
13010 (mode-line-modes, mode-line-position): Move the default value to
13011 the variable definition.
13012 (mode-line-default-help-echo): New defcustom.
13013 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13014 (mode-line-modified-help-echo): New functions.
13015 (mode-line-mule-info, mode-line-modified): Use them.
13016 (mode-line-eol-desc, propertized-buffer-identification):
13017 Consistency fixes for help text.
13018 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13019 set-buffer-file-coding-system (Bug#289).
13020 (mode-line-mule-info-help-echo): Update help text.
13021
13022 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * simple.el (execute-extended-command): Set real-this-command
13025 (bug#11506).
13026
13027 2012-06-02 Chong Yidong <cyd@gnu.org>
13028
13029 Remove incorrect uses of "modeline" in comments, docstrings, and
13030 function/variable names (Bug#10329).
13031
13032 * cus-edit.el (mode-line):
13033 * dframe.el (dframe-mouse-hscroll):
13034 * emacs-lisp/re-builder.el:
13035 * emacs-lisp/easy-mmode.el (define-minor-mode):
13036 * frame.el (set-frame-name):
13037 * help.el (lookup-minor-mode-from-indicator):
13038 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13039 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13040 (c-toggle-hungry-state):
13041 * progmodes/antlr-mode.el (antlr-language-alist):
13042 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13043 * progmodes/vhdl-mode.el (vhdl-mode):
13044 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13045 * term/ns-win.el (ns-face-at-pos):
13046 * term/sup-mouse.el (sup-mouse-report):
13047 * textmodes/flyspell.el (flyspell-mode-line-string):
13048 * textmodes/ispell.el (ispell-highlight-face):
13049 * textmodes/reftex-global.el:
13050 * vc/vc-arch.el (vc-arch-mode-line-string):
13051 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13052 * vc/vc-git.el (vc-git-mode-line-string):
13053 * vc/vc-hooks.el (vc-display-status)
13054 (vc-default-mode-line-string):
13055 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13056
13057 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13058
13059 * dired.el (dired-sort-set-mode-line): Rename from
13060 dired-sort-set-modeline. All callers changed.
13061
13062 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13063 eshell-status-in-modeline.
13064
13065 * foldout.el (foldout-mode-line-string): Rename from
13066 foldout-modeline-string. All callers changed.
13067 (foldout-update-mode-line): Rename from foldout-update-modeline.
13068
13069 * subr.el (redraw-modeline): Make into obsolete alias.
13070
13071 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13072 timeclock-modeline-display. Make old name an alias.
13073 (timeclock-update-mode-line): Likewise. All callers changed.
13074 (timeclock-mode-line-display): No need to check before using
13075 add-hook.
13076 (timeclock-relative, timeclock-day-over-hook)
13077 (timeclock-use-elapsed, timeclock-mode-string)
13078 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13079
13080 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13081 crisp-mode-modeline-string.
13082
13083 * play/solitaire.el (solitaire-build-mode-line): Rename from
13084 solitaire-build-modeline. All callers changed.
13085
13086 * play/zone.el (zone-hiding-mode-line): Rename from
13087 zone-hiding-modeline. All callers changed.
13088 (zone): Remove unusued `modeline-hidden-level' property.
13089
13090 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13091 xscheme-modeline-initialize. All callers changed.
13092
13093 * strokes.el (strokes-lighter): Rename from
13094 strokes-modeline-string.
13095
13096 * textmodes/sgml-mode.el (html-face-tag-alist)
13097 (html-tag-face-alist): Use mode-line face instead of obsolete
13098 alias modeline.
13099
13100 2012-06-02 Stefan Merten <smerten@oekonux.de>
13101
13102 * textmodes/rst.el: Always require `cl'.
13103 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13104
13105 2012-06-02 Chong Yidong <cyd@gnu.org>
13106
13107 * image.el (imagemagick-enabled-types): Rename from
13108 imagemagick-types-enable. Add many more types.
13109 (imagemagick-types-inhibit): Change default to nil.
13110 (imagemagick-filter-types): Caller changed.
13111
13112 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13113
13114 * emacs-lisp/cl-macs.el: Use backquotes.
13115 (cl-transform-function-property): Use eval-and-compile rather than
13116 abusing `require'.
13117 (defstruct): Use declare-function instead of with-no-warnings.
13118
13119 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13120 (byte-compile-output-docform): Re-add the print-circle bindings.
13121 (byte-compile-fix-header): Use #$ just because it's shorter.
13122 (byte-compile-output-file-form): Remove defun/defmacro.
13123
13124 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13125
13126 * simple.el (choose-completion): Remove now obsolete binding for
13127 owindow.
13128
13129 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13130
13131 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13132 in order to avoid "Stack overflow in regexp matcher".
13133
13134 2012-05-31 Glenn Morris <rgm@gnu.org>
13135
13136 * image.el: For clarity, call imagemagick-register-types at
13137 top-level, rather than relying on a custom :initialize.
13138 (imagemagick-types-enable): New option. (Bug#11557)
13139 (imagemagick-filter-types): New function. (Bug#7406)
13140 (imagemagick-register-types): Use imagemagick-filter-types.
13141 If disabling support, remove elements altogether rather
13142 than using an impossible regexp.
13143 (imagemagick-types-inhibit): Give it the default init function.
13144
13145 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13146
13147 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13148 Handle arbitrary file name lengths (Bug#11585).
13149
13150 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13151
13152 * desktop.el (desktop-read): Clear previous and next buffers for
13153 all windows and bury *Messages* buffer (bug#11556).
13154
13155 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13156
13157 Add `declare' for `defun'. Align `defmacro's with it.
13158 * emacs-lisp/easy-mmode.el (define-minor-mode)
13159 (define-globalized-minor-mode): Don't autoload the var definitions.
13160 * emacs-lisp/byte-run.el: Use lexical-binding.
13161 (defun-declarations-alist, macro-declarations-alist): New vars.
13162 (defmacro, defun): Use them.
13163 (make-obsolete, define-obsolete-function-alias)
13164 (make-obsolete-variable, define-obsolete-variable-alias):
13165 Use `declare'.
13166 (macro-declaration-function): Mark obsolete.
13167 * emacs-lisp/autoload.el: Use lexical-binding.
13168 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13169
13170 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13171
13172 * textmodes/ispell.el (ispell-with-no-warnings):
13173 Define as a macro.
13174 (ispell-kill-ispell, ispell-change-dictionary):
13175 Use `called-interactively-p' for Emacs instead of obsolete
13176 `interactive-p'.
13177
13178 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13181 (macro-declaration-function): Move var from C code.
13182 (macro-declaration-function): Define function with defalias.
13183 * emacs-lisp/macroexp.el (macroexpand-all-1):
13184 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13185 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13186 defun/defmacro any more.
13187 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13188 Provide fallback for unknown arglist.
13189 (byte-compile-arglist-warn): Change calling convention.
13190 (byte-compile-output-file-form): Move print-vars binding.
13191 (byte-compile-output-docform): Simplify accordingly.
13192 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13193 (byte-compile-defmacro-declaration): Remove.
13194 (byte-compile-file-form-defmumble): Generalize to defalias.
13195 (byte-compile-output-as-comment): Return byte-positions.
13196 Simplify callers accordingly.
13197 (byte-compile-lambda): Use `assert'.
13198 (byte-compile-defun, byte-compile-defmacro): Remove.
13199 (byte-compile-file-form-defalias):
13200 Use byte-compile-file-form-defmumble.
13201 (byte-compile-defalias-warn): Remove.
13202
13203 2012-05-29 Stefan Merten <smerten@oekonux.de>
13204
13205 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13206 possible. Fix authors. Improve comments. Improve loading of `cl'.
13207
13208 (rst-mode-abbrev-table): Merge definition.
13209 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13210 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13211
13212 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13213
13214 * calendar/icalendar.el
13215 (icalendar-export-region): Export UID properly.
13216
13217 2012-05-29 Leo Liu <sdl.web@gmail.com>
13218 * calendar/icalendar.el (icalendar-import-format):
13219 Add `icalendar-import-format-uid' (Bug#11525).
13220 (icalendar-import-format-uid): New.
13221 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13222 Export UID.
13223
13224 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13225
13226 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13227 different alternative patterns.
13228 (pcase-codegen): Be more careful to preserve identity.
13229 (pcase--u1): Don't forget to mark vars as used.
13230
13231 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13232 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13233 (byte-compile-from-buffer): ...rather than here.
13234
13235 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13236 functions from byte-compile-function-environment.
13237
13238 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13239
13240 * window.el (window-deletable-p): Avoid deleting the root window
13241 of a frame with an active minibuffer.
13242
13243 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13244
13245 * simple.el (choose-completion): Use quit-window (Bug#11567).
13246
13247 2012-05-29 Chong Yidong <cyd@gnu.org>
13248
13249 * whitespace.el (whitespace-cleanup): Fix usage of
13250 whitespace-empty-at-bob-regexp (Bug#11492).
13251
13252 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13253
13254 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13255 revert (Bug#11488).
13256
13257 2012-05-29 Juri Linkov <juri@jurta.org>
13258
13259 * isearch.el (isearch-mode-map): Bind `M-s _' to
13260 `isearch-toggle-symbol'. Bind `M-s c' to
13261 `isearch-toggle-case-fold'.
13262 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13263 (isearch-forward): Add `M-s _' to the docstring.
13264 (isearch-forward-symbol, isearch-toggle-case-fold)
13265 (isearch-symbol-regexp): New functions. (Bug#11381)
13266
13267 2012-05-29 Juri Linkov <juri@jurta.org>
13268
13269 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13270 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13271 a function, call it to get the regexp.
13272 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13273 property `isearch-message-prefix' instead of the string "word ".
13274 (isearch-search-fun-default): For the case of `isearch-word',
13275 return a lambda that calls re-search-forward/re-search-backward
13276 with a regexp returned by `word-search-regexp' or by the function
13277 in `isearch-word'.
13278
13279 2012-05-29 Juri Linkov <juri@jurta.org>
13280
13281 * isearch.el (isearch-search-fun-default): New function.
13282 (isearch-search-fun): Move default part to the new function
13283 `isearch-search-fun-default'.
13284 (isearch-search-fun-function): Set the default value to
13285 `isearch-search-fun-default'. (Bug#11381)
13286
13287 * comint.el (comint-history-isearch-end):
13288 Use `isearch-search-fun-default'.
13289 (comint-history-isearch-search): Use `isearch-search-fun-default'
13290 and remove spacial case for `isearch-word'.
13291 (comint-history-isearch-wrap): Remove spacial case for
13292 `isearch-word'.
13293
13294 * hexl.el (hexl-isearch-search-function):
13295 Use `isearch-search-fun-default'.
13296
13297 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13298 Use `word-search-regexp' for `isearch-word'.
13299
13300 * misearch.el (multi-isearch-search-fun):
13301 Use `isearch-search-fun-default'.
13302
13303 * simple.el (minibuffer-history-isearch-search):
13304 Use `isearch-search-fun-default' and remove spacial case for
13305 `isearch-word'.
13306 (minibuffer-history-isearch-wrap): Remove spacial case for
13307 `isearch-word'.
13308
13309 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13310 Remove spacial case for `isearch-word'.
13311 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13312
13313 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13314
13315 Decrease XEmacs incompatibilities.
13316 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13317 Use `string-match'.
13318 (flyspell-delete-region-overlays): Use alternative definition for
13319 XEmacs.
13320 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13321 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13322 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13323 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13324 `define-obsolete-face-alias' under XEmacs, but old method.
13325
13326 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13327 `with-no-warnings' definition or Emacs alias.
13328 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13329 (ispell-word): Do not use `region-p' if XEmacs.
13330
13331 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13332
13333 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13334 Check for `ispell-dictionary-base-alist' instead of full
13335 `ispell-dictionary-alist'.
13336 (ispell-init-process): Show spellchecker when starting new Ispell
13337 process.
13338
13339 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13340
13341 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13342 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13343
13344 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13345
13346 * version.el (motif-version-string, gtk-version-string)
13347 (ns-version-string): Declare.
13348
13349 2012-05-27 Juri Linkov <juri@jurta.org>
13350
13351 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13352 after the `eval-defun-1' specialcaseing
13353 like in `edebug-eval-defun' (bug#10181).
13354
13355 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13356 like in `eval-defun-1'.
13357
13358 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13359
13360 * mail/sendmail.el (mail-yank-region):
13361 Recognize rmail-yank-current-message in addition to insert-buffer.
13362 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13363 a *mail* buffer created through rmail-start-mail with sendmail as
13364 mail-user-agent.
13365
13366 2012-05-27 Chong Yidong <cyd@gnu.org>
13367
13368 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13369 Default to 256 (Bug#11267).
13370
13371 * help.el (describe-mode): Doc fix.
13372
13373 2012-05-26 Glenn Morris <rgm@gnu.org>
13374
13375 * w32-fns.el (w32-init-info): Remove.
13376 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13377
13378 * info.el (info-initialize): For self-contained NS builds, put the
13379 included info/ directory at the front. (Bug#2791)
13380
13381 * paths.el (Info-default-directory-list): Make it a defcustom,
13382 mainly so that we can use custom-initialize-delay.
13383
13384 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13385
13386 * subr.el (buffer-has-markers-at): Mark obsolete.
13387
13388 * subr.el (lambda): Use declare.
13389
13390 * emacs-lisp/lisp-mode.el (lambda):
13391 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13392
13393 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13394
13395 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13396
13397 2012-05-26 Glenn Morris <rgm@gnu.org>
13398
13399 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13400
13401 2012-05-25 Glenn Morris <rgm@gnu.org>
13402
13403 * paths.el: Remove no-byte-compile.
13404 * loadup.el: No need to load paths.el uncompiled.
13405
13406 * image.el (imagemagick-types-inhibit): Doc fix.
13407
13408 * version.el: Remove no-byte-compile and associated formatting.
13409 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13410 is ancient code from when there was an "inc-vers.el".
13411
13412 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13413
13414 * progmodes/gdb-mi.el: Minor style changes.
13415 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13416 Turn into minor modes.
13417 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13418 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13419 (gdb-shell): Remove unneeded let-binding.
13420 (gdb-get-many-fields): Eliminate O(n²) behavior.
13421
13422 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13423
13424 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13425 platforms that don't link in fontset.c.
13426
13427 2012-05-25 Juri Linkov <juri@jurta.org>
13428
13429 Use the same diff color scheme as in modern VCSes (bug#10181).
13430
13431 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13432 to avoid confusion with `diff-added' that now uses green colors.
13433 (diff-removed): Use shades of red.
13434 (diff-added): Use shades of green.
13435 (diff-changed): Leave just the yellow color.
13436 (diff-use-changed-face): New variable.
13437 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13438 how to highlight context diff changes.
13439 (diff-refine-change): Use shades of yellow.
13440 (diff-refine-removed): New face that uses shades of red.
13441 (diff-refine-added): New face that uses shades of green.
13442 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13443 `diff-refine-removed' in the call to `smerge-refine-subst'
13444 depending on the value of `diff-use-changed-face'.
13445
13446 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13447 (smerge-other): Use shades of green.
13448 (smerge-base): Use shades of yellow.
13449 (smerge-refined-change): Empty face.
13450 (smerge-refined-removed): New face that uses shades of red.
13451 (smerge-refined-added): New face that uses shades of green.
13452 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13453 args `props-r' and `props-a', and use them. Doc fix.
13454 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13455 on its value use different faces `smerge-refined-change',
13456 `smerge-refined-removed', `smerge-refined-added' in the call to
13457 `smerge-refine-subst'.
13458
13459 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13460 Add face condition `min-colors 88' with shades of red.
13461 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13462 `min-colors 88' with shades of green.
13463 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13464 `min-colors 88' with shades of yellow.
13465
13466 2012-05-24 Glenn Morris <rgm@gnu.org>
13467
13468 * paths.el (prune-directory-list, remote-shell-program): Move to...
13469 * files.el (prune-directory-list, remote-shell-program): ...here.
13470 For the latter, delay initialization, prefer ssh, just search PATH.
13471
13472 * paths.el (term-file-prefix): Move to faces.el (the only user).
13473 * faces.el (term-file-prefix): Move here, make it a defcustom.
13474
13475 * paths.el (news-directory, news-path, news-inews-program):
13476 Move to gnus/nnspool.el.
13477
13478 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13479
13480 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13481 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13482 Make the latter a defcustom, with a delayed initialization.
13483
13484 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13485 These were deleted from Gnus itself late 2010.
13486
13487 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13488
13489 * progmodes/which-func.el (which-func-ff-hook):
13490 Check against user-error, not error.
13491
13492 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13493 cl-specs.el, which no longer exists.
13494
13495 2012-05-22 Glenn Morris <rgm@gnu.org>
13496
13497 * info.el (info-emacs-bug): New command.
13498 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13499 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13500
13501 2012-05-21 Glenn Morris <rgm@gnu.org>
13502
13503 * makefile.w32-in (update-subdirs-SH):
13504 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13505
13506 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13507
13508 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13509
13510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13511 Simplify Maven regexp, and make sure the file can't start with a space
13512 (bug#11517).
13513
13514 2012-05-21 Glenn Morris <rgm@gnu.org>
13515
13516 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13517 Scrap superfluous subshells.
13518
13519 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13522 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13523
13524 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13525
13526 * calc/calc.el (calc-ensure-consistent-units): New variable.
13527
13528 * calc/calc-units.el (math-consistent-units-p)
13529 (math-check-unit-consistency): New functions.
13530 (calc-quick-units, calc-convert-units):
13531 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13532 is non-nil.
13533 (calc-extract-units): Fix typo.
13534
13535 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13538
13539 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13540 (flyspell-default-deplacement-commands): Don't spell check after
13541 repeated window/frame switches (e.g. triggered by mouse-movement).
13542 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13543 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13544 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13545 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13546 Remove unused vars.
13547 (flyspell-get-casechars, flyspell-get-not-casechars):
13548 Simplify; Don't bother removing a ] just to add it back.
13549 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13550
13551 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13552
13553 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13554 New functions.
13555 (math-function-table): Add support for more C functions.
13556
13557 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13558
13559 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13560 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13561 Protect delay handling for otherchars against empty otherchars.
13562
13563 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13564
13565 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13566 their respective macro declarations.
13567 * skeleton.el (define-skeleton):
13568 * progmodes/compile.el (define-compilation-mode):
13569 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13570 (define-ibuffer-filter):
13571 * emacs-lisp/generic.el (define-generic-mode):
13572 * emacs-lisp/easy-mmode.el (define-minor-mode)
13573 (define-globalized-minor-mode):
13574 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13575 * emacs-lisp/byte-run.el (defsubst):
13576 * custom.el (deftheme): Add doc-string metadata.
13577
13578 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13579
13580 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13581
13582 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13583
13584 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13585
13586 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13587 * emacs-lisp/cl-macs.el: Idem.
13588 * emacs-lisp/cl-specs.el: Remove.
13589
13590 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13591
13592 Minor renaming of internal CL functions and variables.
13593 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13594 (cl--position): Rename from cl-position.
13595 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13596 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13597 (cl--random-state): Rename from *random-state*.
13598
13599 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13600
13601 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13602 parens around the arg list (bug#11499).
13603
13604 2012-05-17 Juri Linkov <juri@jurta.org>
13605
13606 * isearch.el (word-search-regexp, word-search-backward)
13607 (word-search-forward, word-search-backward-lax)
13608 (word-search-forward-lax): Move functions from search.c
13609 (bug#10145, bug#11381).
13610
13611 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13612
13613 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13614 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13615 Delay for otherchars as for normal word components.
13616
13617 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * minibuffer.el (completion--sifn-requote): Fix last change.
13620 (minibuffer-local-must-match-filename-map):
13621 Move define-obsolete-variable-alias before its var.
13622
13623 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13624
13625 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13626
13627 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13628 behavior.
13629 (completion--string-equal-p): New function.
13630 (completion--twq-all): Use it to get better assertion failure data.
13631
13632 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13633 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13634 (shell--requote-argument): New functions.
13635 (shell-completion-vars): Use them.
13636 (shell--parse-pcomplete-arguments): Rename from
13637 shell-parse-pcomplete-arguments.
13638 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13639 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13640 Obey comint-file-name-quote-list.
13641
13642 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13643 (smie-indent-keyword): Use it.
13644
13645 2012-05-14 Stefan Merten <smerten@oekonux.de>
13646
13647 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13648
13649 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13650
13651 * net/rlogin.el (rlogin-mode-map): Fix last change.
13652
13653 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13654
13655 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13656 the following \r\n using a single `process-send-string', since the
13657 Lotus SMTP server refuses to accept any commands if they are sent
13658 with two `process-send-string's (Bug#11444).
13659
13660 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * shell.el (shell-parse-pcomplete-arguments):
13663 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13664
13665 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13666
13667 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13668 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13669 (image-transform-width, image-transform-fit-width): New functions.
13670 (image-transform-properties): Use them.
13671 (image-transform-check-size): New function.
13672 (image-toggle-display-image): Use it (for testing).
13673 (image-transform-set-rotation): Reduce angle mod 360.
13674 Delete obsolete comment.
13675
13676 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13677
13678 * image-mode.el: Fix scaling (bug#11399).
13679 (image-transform-resize): Doc fix.
13680 (image-transform-properties): Default scale is 1 and height should
13681 be an integer.
13682
13683 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13684
13685 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13686 than hard-coding `car', to fix misbehavior when moving forward.
13687
13688 2012-05-13 Chong Yidong <cyd@gnu.org>
13689
13690 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13691 (tabulated-list-entries, tabulated-list-padding)
13692 (tabulated-list-sort-key): Make permanent-local.
13693
13694 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13695 (electric-buffer-list): Put electric buffer menu
13696 command descriptions in this docstring, instead of the docstring
13697 of electric-buffer-menu-mode. Code cleanups.
13698 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13699 Electric-buffer-menu-mode.
13700 (electric-buffer-update-highlight): Minor code cleanup.
13701
13702 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13703
13704 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13705 (Bug#11447)
13706
13707 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13708
13709 Move define-obsolete-variable-alias before the var's definition.
13710 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13711 * tooltip.el (tooltip-hook):
13712 * textmodes/reftex-toc.el (reftex-toc-map):
13713 * textmodes/reftex-sel.el (reftex-select-label-map)
13714 (reftex-select-bib-map):
13715 * textmodes/reftex-index.el (reftex-index-map)
13716 (reftex-index-phrases-map):
13717 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13718 * progmodes/meta-mode.el (meta-mode-map):
13719 * novice.el (disabled-command-hook):
13720 * loadhist.el (unload-hook-features-list):
13721 * frame.el (blink-cursor):
13722 * files.el (find-file-not-found-hooks, write-file-hooks)
13723 (write-contents-hooks):
13724 * emulation/tpu-edt.el (GOLD-map):
13725 * emacs-lock.el (emacs-lock-from-exiting):
13726 * emacs-lisp/generic.el (generic-font-lock-defaults):
13727 * emacs-lisp/chart.el (chart-map):
13728 * dos-fns.el (register-name-alist):
13729 * dired-x.el (dired-omit-files-p):
13730 * desktop.el (desktop-enable):
13731 * cus-edit.el (custom-mode-hook):
13732 * buff-menu.el (buffer-menu-mode-hook):
13733 * bookmark.el (bookmark-read-annotation-text-func)
13734 (bookmark-exit-hooks):
13735 * allout.el (allout-mode-deactivate-hook)
13736 (allout-exposure-change-hook, allout-structure-added-hook)
13737 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13738 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13739 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13740 comes before the corresponding variable's definition.
13741
13742 2012-05-12 Chong Yidong <cyd@gnu.org>
13743
13744 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13745 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13746 (Buffer-menu-mode-map): Bind it.
13747 (Buffer-menu--pretty-name): Add a mouse-face property.
13748
13749 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13750
13751 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13752 (prolog-upper-case-string, prolog-lower-case-string)
13753 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13754 (prolog-use-smie, prolog-smie-grammar): New vars.
13755 (prolog-smie-forward-token, prolog-smie-backward-token)
13756 (prolog-smie-rules): New funs.
13757 (prolog-comment-indent): Remove.
13758 (prolog-mode-variables): Use default comment indentation instead.
13759 Setup SMIE.
13760 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13761 (prolog-mode): Don't call them any more.
13762 (prolog-electric-colon, prolog-electric-dash)
13763 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13764
13765 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13766
13767 * minibuffer.el (completion--twq-all): Again, allow case differences.
13768
13769 * term.el: Move keymap initialization code to be more idiomatic.
13770 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13771 (term-terminal-menu): Move initialization into declaration.
13772 (term-escape-char): Let the user set it in her .emacs.
13773
13774 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13775 Provide SMIE-based indentation (not enabled by default yet).
13776 (sh-mode-map): Don't bind electric keys.
13777 Use electric-pair-mode instead of skeleton-pair.
13778 (sh-assignment-regexp): Fit within 80 columns.
13779 (sh-indent-supported): Specify actual shell name instead of boolean.
13780 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13781 (sh-maybe-here-document): Use it. Make obsolete.
13782 (sh-electric-here-document-mode) New minor mode.
13783 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13784 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13785 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13786 (sh-smie-rc-grammar, sh-use-smie): New vars.
13787 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13788 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13789 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13790 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13791 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13792 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13793 (sh-set-shell): Use smie-setup if requested.
13794
13795 * term.el (term-set-escape-char): Properly set term-escape-char.
13796 See http://stackoverflow.com/questions/10524656.
13797
13798 2012-05-10 Chong Yidong <cyd@gnu.org>
13799
13800 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13801 Use url-generic-parse-url, and handle host names and Windows
13802 filenames properly.
13803 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13804 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13805 URL schemes to work on.
13806 (ffap--toggle-read-only): New function.
13807 (ffap-read-only, ffap-read-only-other-window)
13808 (ffap-read-only-other-frame): Use it.
13809 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13810 necessary for ffap-url-unwrap-remote.
13811
13812 2012-05-10 Dave Abrahams <dave@boostpro.com>
13813
13814 * cus-start.el (create-lockfiles): Add it.
13815
13816 2012-05-09 Chong Yidong <cyd@gnu.org>
13817
13818 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13819 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13820
13821 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13822
13823 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13824
13825 2012-05-09 Chong Yidong <cyd@gnu.org>
13826
13827 * ansi-color.el (ansi-color-process-output): Check for validity of
13828 comint-last-output-start before using it. This avoids a bad
13829 interaction with gdb-mi's input/output buffer.
13830
13831 2012-05-09 Glenn Morris <rgm@gnu.org>
13832
13833 * files.el (dir-locals-read-from-file):
13834 Mention dir-locals in any error message.
13835
13836 2012-05-09 Chong Yidong <cyd@gnu.org>
13837
13838 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13839 package (Bug#11410).
13840
13841 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13842 variables into description.
13843
13844 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13847 shell-delimiter-argument-list (bug#11348).
13848 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13849
13850 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13851
13852 * textmodes/rst.el: Silence byte-compiler warnings.
13853 (rst-re-alist, rst-reset-section-caches): Move around.
13854 (rst-re): Use `characterp', not `char-valid-p'.
13855 (font-lock-beg, font-lock-end): Declare.
13856
13857 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13858 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13859
13860 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13861
13862 2012-05-08 Glenn Morris <rgm@gnu.org>
13863
13864 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13865
13866 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13867
13868 * vc/log-edit.el: Add GNU coding standards highlighting.
13869 (log-edit-font-lock-gnu-style)
13870 (log-edit-font-lock-gnu-keywords): New vars.
13871 (log-edit-font-lock-keywords): New fun.
13872 (log-edit-mode): Don't fold case in font-lock.
13873 (log-edit-font-lock-keywords): Do not assume case-folding.
13874
13875 * imenu.el: Misc cleanup. Make docstrings out of comments.
13876 Use lexical-binding.
13877 (imenu--index-alist, imenu--last-menubar-index-alist)
13878 (imenu-menubar-modified-tick): Use defvar-local.
13879 (imenu--split-menu): Remove unused var.
13880 (imenu--cleanup-seen): Declare as global.
13881 (imenu--cleanup): Use dolist.
13882
13883 * subr.el (defvar-local): Add debug spec and doc-string position.
13884
13885 2012-05-08 Glenn Morris <rgm@gnu.org>
13886
13887 * language/burmese.el, language/cham.el, language/czech.el:
13888 * language/english.el, language/georgian.el, language/greek.el:
13889 * language/japanese.el, language/khmer.el, language/korean.el:
13890 * language/lao.el, language/misc-lang.el, language/romanian.el:
13891 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13892 * language/thai.el, language/utf-8-lang.el:
13893 Remove no-byte-compile setting.
13894
13895 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13896
13897 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13898
13899 * progmodes/make-mode.el (makefile-browse):
13900 Remove unnecessary interactive. (Bug#11324)
13901
13902 2012-05-07 Glenn Morris <rgm@gnu.org>
13903
13904 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13905
13906 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13907
13908 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13909
13910 * loadup.el: Preload newcomment.el.
13911 * newcomment.el: Move autoload-only code to toplevel.
13912
13913 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13914 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13915 Handle new :right-align column property.
13916 (tabulated-list-print-col): Idem, plus use `display' text-property to
13917 try and preserve alignment for variable pitch fonts.
13918
13919 2012-05-07 Chong Yidong <cyd@gnu.org>
13920
13921 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13922 (tabulated-list-use-header-line): New var.
13923 (tabulated-list-init-header): Use it.
13924 (tabulated-list-print-fake-header): New function.
13925 (tabulated-list-print): Use it.
13926 (tabulated-list-sort-button-map): Add non-header-line commands.
13927 (tabulated-list-init-header): Add column name property to basic
13928 labels as well.
13929 (tabulated-list-col-sort): Handle non-header-line button case.
13930 (tabulated-list--sort-by-column-name): Fix a corner case.
13931
13932 * buff-menu.el (list-buffers--refresh):
13933 Handle Buffer-menu-use-header-line.
13934
13935 2012-05-06 Chong Yidong <cyd@gnu.org>
13936
13937 * buff-menu.el: Convert to Tabulated List mode.
13938 (Buffer-menu-buffer+size-width): Make obsolete.
13939 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13940 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13941 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13942 documentation into docstring of buffer-menu.
13943 (Buffer-menu-toggle-files-only): Add an informative message.
13944 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13945 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13946 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13947 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13948 (Buffer-menu-execute, Buffer-menu-select)
13949 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13950 (Buffer-menu-bury): Use Tabulated List machinery.
13951 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13952 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13953 Delete.
13954 (list-buffers--refresh): New function.
13955 (list-buffers-noselect): Use it.
13956 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13957 (Buffer-menu--pretty-file-name): New helper functions.
13958
13959 * loadup.el: Preload tabulated-list.
13960
13961 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13962 tabulated-list-sort-column.
13963 (tabulated-list-init-header): Add the initial aligning space even
13964 if tabulated-list-padding is zero.
13965
13966 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13967
13968 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13969 whose cdr is not a cons cell correctly (bug#11038).
13970
13971 2012-05-06 Chong Yidong <cyd@gnu.org>
13972
13973 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13974 Accept additional plist in column descriptors.
13975 (tabulated-list-init-header): Obey it.
13976 (tabulated-list-get-entry): New function.
13977 (tabulated-list-put-tag): Use it. Use string-width instead of
13978 length.
13979 (tabulated-list--column-number): New function.
13980 (tabulated-list-print): Use it.
13981 (tabulated-list-print-col): New function.
13982 Set `tabulated-list-column-name' property on each column's text.
13983 (tabulated-list-print-entry): Use it.
13984 (tabulated-list-delete-entry, tabulated-list-set-col):
13985 New functions.
13986 (tabulated-list-sort-column): New command (Bug#11337).
13987
13988 * buff-menu.el (list-buffers): Move C-x C-b binding from
13989 buff-menu.el to bindings.el.
13990
13991 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13992 :advertised-binding feature.
13993
13994 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13995
13996 * progmodes/compile.el (compilation-internal-error-properties):
13997 Calculate start position correctly when end-col is set but
13998 end-line is not (Bug#11382).
13999
14000 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14001
14002 * man.el (Man-unindent): Use text-property-default-nonsticky to
14003 prevent untabify from inheriting face properties (Bug#11408).
14004
14005 2012-05-05 Stefan Merten <smerten@oekonux.de>
14006
14007 * textmodes/rst.el: Major merge with upstream development up to
14008 Docutils SVN r7399 / rst.el V1.2.1.
14009
14010 Clarify maintainership and authors.
14011
14012 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14013 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14014 (rst-official-version, rst-official-cvs-rev, rst-version)
14015 (rst-package-emacs-version-alist): New functions and variables
14016 for version information.
14017
14018 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14019 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14020 (rst-mode-syntax-table, rst-mode): New and corrected functions
14021 and variables representing reStructuredText features.
14022
14023 (rst-re): New function for reStructuredText regexes. Use in
14024 many places.
14025
14026 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14027 (rst-mode-map): Rebind keys.
14028
14029 (rst-mode-lazy, rst-font-lock-keywords)
14030 (rst-font-lock-extend-region)
14031 (rst-font-lock-extend-region-internal)
14032 (rst-font-lock-extend-region-extend)
14033 (rst-font-lock-find-unindented-line-limit)
14034 (rst-font-lock-find-unindented-line-match)
14035 (rst-adornment-level, rst-font-lock-adornment-level)
14036 (rst-font-lock-adornment-match)
14037 (rst-font-lock-handle-adornment-pre-match-form)
14038 (rst-font-lock-handle-adornment-matcher): Major revision of
14039 font-locking. Integrate with other code. Use `jit-lock-mode'.
14040
14041 (rst-preferred-adornments, rst-adjust-hook)
14042 (rst-new-adornment-down, rst-preferred-bullets)
14043 (rst-preferred-bullets, rst-indent, rst-indent-width)
14044 (rst-indent-field, rst-indent-literal-normal)
14045 (rst-indent-literal-minimized, rst-indent-comment): Change,
14046 extend and improve customization.
14047
14048 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14049 (rst-normalize-cursor-position, rst-get-decoration)
14050 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14051 (rst-rstrip, rst-toc-insert-find-delete-contents)
14052 (rst-shift-fill-region, rst-compute-bullet-tabs)
14053 (rst-debug-print-tabs, rst-debug-mark-found)
14054 (rst-shift-region-guts, rst-shift-region-right)
14055 (rst-shift-region-left, rst-use-char-classes)
14056 (rst-font-lock-keywords-function)
14057 (rst-font-lock-indentation-point)
14058 (rst-font-lock-find-unindented-line-begin)
14059 (rst-font-lock-find-unindented-line-end)
14060 (rst-font-lock-find-unindented-line)
14061 (rst-font-lock-adornment-point, rst-font-lock-level)
14062 (rst-adornment-level-alist): Remove functions and variables.
14063
14064 (rst-compare-adornments, rst-get-adornment-match)
14065 (rst-suggest-new-adornment, rst-get-adornments-around)
14066 (rst-adornment-complete-p, rst-get-next-adornment)
14067 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14068 (rst-straighten-adornments): Standardize function names to
14069 use "adornment" instead of "decoration". Correct callers.
14070 Similar standardizing in many places.
14071
14072 (rst-update-section, rst-adjust, rst-promote-region)
14073 (rst-enumerate-region, rst-bullet-list-region)
14074 (rst-repeat-last-character): Correct use of `interactive'.
14075
14076 (rst-classify-adornment, rst-find-all-adornments)
14077 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14078 (rst-find-leftmost-column, rst-repeat-last-character):
14079 Refactor functions.
14080
14081 (rst-find-title-line, rst-reset-section-caches)
14082 (rst-get-adornments-around, rst-adjust-adornment-work)
14083 (rst-arabic-to-roman, rst-roman-to-arabic)
14084 (rst-insert-list-pos, rst-insert-list-new-item)
14085 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14086 New functions.
14087
14088 (rst-all-sections, rst-section-hierarchy)
14089 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14090 New variables.
14091
14092 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14093 configuration instead of only buffer. Change where necessary.
14094
14095 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14096 (rst-shift-region, rst-adaptive-fill): New functions for
14097 indentation and filling.
14098
14099 (rst-comment-line-break, rst-comment-indent)
14100 (rst-comment-insert-comment, rst-comment-region)
14101 (rst-uncomment-region): New functions for handling comments.
14102
14103 (rst-compile): Quote shell arguments.
14104
14105 (rst-compile-pdf-preview, rst-compile-slides-preview):
14106 Delete temporary files after use.
14107
14108 2012-05-05 Glenn Morris <rgm@gnu.org>
14109
14110 * calendar/cal-html.el: Optionally include holidays in the output.
14111 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14112 (cal-html-holidays): New option.
14113 (cal-html-css-default): Add holiday entry.
14114 (holiday-in-range): Autoload it.
14115 (cal-html-htmlify-entry): Add optional class argument.
14116 (cal-html-htmlify-list): Add optional holidays argument.
14117 (cal-html-insert-agenda-days): Include holidays in the output.
14118 (cal-html-one-month): Maybe include holidays.
14119
14120 * calendar/holidays.el (holiday-in-range):
14121 Move here from cal-tex-list-holidays.
14122 * calendar/cal-tex.el (cal-tex-list-holidays):
14123 Make it an obsolete alias for holiday-in-range. Update all callers.
14124
14125 2012-05-05 Chong Yidong <cyd@gnu.org>
14126
14127 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14128 Nextstep.
14129
14130 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14131
14132 * files.el (file-auto-mode-skip): New var.
14133 (set-auto-mode-1): Use it.
14134
14135 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14136
14137 * repeat.el: Use lexical-binding.
14138 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14139 (repeat-undo-count): Remove.
14140 (repeat):
14141 * progmodes/octave-mod.el (octave-abbrev-start):
14142 * progmodes/f90.el (f90-abbrev-start):
14143 * face-remap.el (text-scale-adjust):
14144 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14145
14146 * emacs-lisp/pcase.el (pcase--let*): New function.
14147 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14148 a bit more.
14149 (pcase--split-pred): Be more clever about ruling out overlap between
14150 a predicate and some constant pattern.
14151 (pcase--q1): Use `null' instead of (eq foo nil).
14152
14153 * subr.el (setq-local, defvar-local): New macros.
14154 (kbd): Redefine as an alias.
14155 (with-selected-window): Leave unrelated frames alone.
14156 (set-temporary-overlay-map): New function.
14157
14158 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14159
14160 * subr.el (user-error): New function.
14161 * window.el (switch-to-buffer):
14162 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14163 (smerge-match-conflict):
14164 * simple.el (previous-matching-history-element)
14165 (next-matching-history-element, goto-history-element, undo-more)
14166 (undo-start):
14167 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14168 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14169 (next-file, tags-loop-scan, list-tags, complete-tag):
14170 * progmodes/compile.el (compilation-loop):
14171 * mouse.el (mouse-minibuffer-check):
14172 * man.el (Man-bgproc-sentinel, Man-goto-page):
14173 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14174 (Info-history-forward, Info-follow-reference, Info-menu)
14175 (Info-extract-menu-item, Info-extract-menu-counting)
14176 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14177 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14178 (Info-next-reference, Info-prev-reference, Info-index)
14179 (Info-index-next, Info-follow-nearest-node)
14180 (Info-copy-current-node-name):
14181 * imenu.el (imenu--make-index-alist)
14182 (imenu-default-create-index-function, imenu-add-to-menubar):
14183 * files.el (basic-save-buffer, recover-file):
14184 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14185 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14186 (checkdoc-message-text, checkdoc-defun):
14187 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14188 * cus-edit.el (customize-changed-options, customize-rogue)
14189 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14190 (custom-variable-mark-to-reset-standard)
14191 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14192 (custom-file):
14193 * completion.el (check-completion-length):
14194 * comint.el (comint-search-arg)
14195 (comint-previous-matching-input-string-position)
14196 (comint-previous-matching-input)
14197 (comint-replace-by-expanded-history-before-point, comint-send-input)
14198 (comint-copy-old-input, comint-backward-matching-input)
14199 (comint-goto-process-mark, comint-set-process-mark):
14200 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14201 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14202
14203 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14204
14205 * dabbrev.el (dabbrev--ignore-case-p): New function.
14206 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14207 Use it.
14208
14209 * files.el (automount-dir-prefix): Mark as obsolete.
14210
14211 2012-05-04 Glenn Morris <rgm@gnu.org>
14212
14213 * patcomp.el, play/bruce.el: Move to obsolete/.
14214
14215 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14216
14217 Fix minor Y10k bugs.
14218 * arc-mode.el (archive-unixdate):
14219 * autoinsert.el (auto-insert-alist):
14220 * calc/calc-forms.el (math-this-year):
14221 * emacs-lisp/copyright.el (copyright-current-year)
14222 (copyright-update-year, copyright):
14223 * tar-mode.el (tar-clip-time-string):
14224 * time.el (display-time-update):
14225 Don't assume years have 4 digits.
14226
14227 2012-05-04 Chong Yidong <cyd@gnu.org>
14228
14229 * dos-w32.el (file-name-buffer-file-type-alist)
14230 (direct-print-region-use-command-dot-com):
14231 * ffap.el (ffap-menu-regexp):
14232 * find-file.el (ff-special-constructs):
14233 * follow.el (follow-debug):
14234 * forms.el (forms--debug):
14235 * iswitchb.el (iswitchb-all-frames):
14236 * ido.el (ido-all-frames):
14237 * emacs-lisp/timer.el (timer-max-repeats):
14238 * mail/feedmail.el (feedmail-mail-send-hook)
14239 (feedmail-mail-send-hook-queued):
14240 * mail/footnote.el (footnote-signature-separator):
14241 * mail/mailabbrev.el (mail-alias-separator-string)
14242 (mail-abbrev-mode-regexp):
14243 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14244 * progmodes/idlwave.el (idlwave-libinfo-file)
14245 (idlwave-default-completion-case-is-down)
14246 (idlwave-library-routines): Convert defvars to defcustoms.
14247
14248 * mail/rmail.el (rmail-decode-mime-charset):
14249 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14250 (idlwave-shell-fix-inserted-breaks)
14251 (idlwave-shell-activate-alt-keybindings)
14252 (idlwave-shell-use-breakpoint-glyph):
14253 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14254
14255 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14256
14257 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14258
14259 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14260
14261 * progmodes/verilog-mode.el (font-lock-keywords):
14262 Fix mis-highligting auto. Reported by Craig Barner.
14263 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14264 defines from global name space. Reported by Dan Dever.
14265 (verilog-auto-reset, verilog-auto-reset-widths)
14266 (verilog-auto-tieoff): Support using unbased numbers for
14267 AUTORESET and AUTOTIEOFF.
14268 (verilog-submit-bug-report): Update variable list.
14269 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14270 parenthesis from not matching. Reported by Michael Rytting.
14271 (verilog-auto-template-lint): Fix hash error when linting modules
14272 with no used templates.
14273 (verilog-warn, verilog-warn-error)
14274 (verilog-warn-fatal): When non-interactive report multiple
14275 warnings before exiting. Suggested by Brad Dobbie.
14276 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14277 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14278 to report unused template errors. Reported by Brad Dobbie.
14279 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14280 nets, bug438. Reported by Vns Blore.
14281 (verilog-auto-inout-module, verilog-auto-reg)
14282 (verilog-read-decls, verilog-read-sub-decls-sig)
14283 (verilog-signals-edit-wire-reg, verilog-signals-with):
14284 Fix passing of Verilog data types in ANSI input/output ports
14285 such as "output logic" into the AUTOs. Special case "wire" and
14286 "reg" for backwards compatibility presuming Verilog 2001.
14287 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14288 (verilog-preprocess): Fix replication of preprocess output.
14289 Reported by Brad Dobbie.
14290 (verilog-auto-inst-interfaced-ports):
14291 Create verilog-auto-inst-interfaced-ports, bug429.
14292 Reported by Julian Gorfajn.
14293 (verilog-after-save-font-hook)
14294 (verilog-before-save-font-hook): New variable.
14295 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14296 (verilog-save-font-mods): Wrap disabling fontification, reported
14297 by David Rogoff.
14298 (verilog-do-indent, verilog-pretty-declarations-auto)
14299 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14300 Reported by Pierre-David Pfister.
14301 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14302 of class declarations, bug292. Reported by Kevin Heilman.
14303 (verilog-read-decls): Fix 'parameter type' not appearing in
14304 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14305 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14306 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14307 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14308 Reported by David Kravitz.
14309
14310 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14311
14312 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14313 assignment with tests in ifs and for loops.
14314 (verilog-extended-complete-re, verilog-complete-reg): Change so
14315 that DPI inport functions don't look like fuction declarations.
14316 (verilog-pretty-expr): Don't line up assignment
14317 operations to the test and increment in if and for loops
14318 (verilog-extended-complete-re, verilog-complete-reg): Change so
14319 that DPI inport functions don't look like fuction declarations.
14320
14321 2012-05-03 Kenichi Handa <handa@m17n.org>
14322
14323 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14324 decoding, and show a warning message without signaling an error
14325 (Bug#11282).
14326
14327 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * emacs-lisp/bytecomp.el
14330 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14331 since cconv.el might have introduced :fun-body, internal-make-closure,
14332 and friends for bytecomp to handle (bug#11391).
14333 * custom.el (defcustom): Avoid ((λ ..) ..).
14334
14335 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14336
14337 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14338
14339 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14340
14341 * notifications.el (dbus-debug):
14342 * term/linux.el (gpm-mouse-enable):
14343 * term/screen.el (xterm-register-default-colors): Declare.
14344
14345 2012-05-02 Chong Yidong <cyd@gnu.org>
14346
14347 * cus-start.el (gc-cons-percentage, exec-suffixes)
14348 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14349 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14350 (make-cursor-line-fully-visible, void-text-area-pointer)
14351 (font-list-limit): Add customization data.
14352
14353 * allout.el (allout-exposure-change-functions)
14354 (allout-structure-added-functions)
14355 (allout-structure-deleted-functions)
14356 (allout-structure-shifted-functions): Rename abnormal hooks from
14357 *-hook, and convert to defcustoms.
14358 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14359 Convert to defcustoms.
14360 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14361
14362 * allout-widgets.el: Hook callers changed.
14363
14364 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14365
14366 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14367 the yanked message in preference to the default value of
14368 buffer-file-coding-system.
14369
14370 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14371
14372 * window.el (display-buffer--action-function-custom-type):
14373 Fix entry.
14374
14375 2012-05-02 Alan Mackenzie <acm@muc.de>
14376
14377 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14378
14379 2012-05-01 Glenn Morris <rgm@gnu.org>
14380
14381 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14382
14383 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14384
14385 * cus-edit.el (custom-variable-documentation): Simplify with format.
14386
14387 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14388 Stefan Monnier <monnier@iro.umontreal.ca>
14389
14390 * simple.el (suggest-key-bindings, execute-extended-command):
14391 Move from keyboard.c.
14392
14393 2012-05-01 Chong Yidong <cyd@gnu.org>
14394
14395 * follow.el: Eliminate advice.
14396 (set-process-filter, process-filter, sit-for): Advice deleted.
14397 (follow-mode-off-hook): Obsolete hook removed.
14398 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14399 Vars deleted.
14400 (follow-auto): Use a :set function.
14401 (follow-mode): Rewritten. Don't advise process filters.
14402 (follow-switch-to-current-buffer-all, follow-scroll-up)
14403 (follow-scroll-down): Assume follow-mode is bound.
14404 (follow-comint-scroll-to-bottom)
14405 (follow-align-compilation-windows): New functions.
14406 (follow--window-sorter): New function.
14407 (follow-all-followers): Use it to explicitly sort windows by their
14408 positions; don't make assumptions about next-window order.
14409 (follow-windows-start-end, follow-delete-other-windows-and-split)
14410 (follow-calc-win-start): Doc fix.
14411 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14412 vertical-motion unnecessarily.
14413 (follow-adjust-window): New function.
14414 (follow-post-command-hook): Use it.
14415 (follow-call-set-process-filter, follow-call-process-filter)
14416 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14417 (follow-stop-intercept-process-output, follow-generic-filter):
14418 Functions deleted.
14419 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14420 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14421 New functions, replacing advice on scroll-bar-* commands.
14422 (follow-mwheel-scroll): New function (Bug#4112).
14423
14424 * comint.el (comint-adjust-point): New function.
14425 (comint-postoutput-scroll-to-bottom): Use it.
14426 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14427
14428 2012-05-01 Glenn Morris <rgm@gnu.org>
14429
14430 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14431 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14432 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14433 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14434 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14435 Remove no-byte-compile setting.
14436
14437 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14438
14439 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14440 all-completions code to not return a number in the last cdr.
14441
14442 2012-04-30 Leo Liu <sdl.web@gmail.com>
14443
14444 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14445 read-only error.
14446
14447 2012-04-29 Chong Yidong <cyd@gnu.org>
14448
14449 * follow.el (follow-calc-win-end): Rewrite to handle partial
14450 screen lines correctly (Bug#8390).
14451 (follow-avoid-tail-recenter): Minor cleanup.
14452
14453 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14454
14455 Avoid the obsolete `assoc' package.
14456 * speedbar.el (speedbar-refresh): Avoid adelete.
14457 (speedbar-file-lists): Simplify and avoid aput.
14458 * man.el (Man--sections, Man--refpages): New vars, replacing
14459 Man-sections-alist and Man-refpages-alist.
14460 (Man-build-section-alist, Man-build-references-alist):
14461 Use them; avoid aput.
14462 (Man--last-section, Man--last-refpage): New vars.
14463 (Man-follow-manual-reference): Use them.
14464 Use the `default' arg of completing-read.
14465 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14466
14467 2012-04-27 Chong Yidong <cyd@gnu.org>
14468
14469 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14470
14471 * startup.el (x-apply-session-resources): New function.
14472
14473 * term/ns-win.el (ns-initialize-window-system):
14474 * term/w32-win.el (w32-initialize-window-system):
14475 * term/x-win.el (x-initialize-window-system): Use it to properly
14476 set menu-bar-mode and other vars from X resources, even if the
14477 initial frame is not a window-system frame (Bug#2299).
14478
14479 * subr.el (read-key): Avoid running filter function when setting
14480 up temporary tool bar entries (Bug#9922).
14481
14482 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14483
14484 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14485 (Bug#11344)
14486
14487 2012-04-27 Chong Yidong <cyd@gnu.org>
14488
14489 * select.el (xselect--encode-string): New function, split from
14490 xselect-convert-to-string.
14491 (xselect-convert-to-string): Use it.
14492 (xselect-convert-to-filename, xselect-convert-to-os)
14493 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14494 returned strings are properly encoded (Bug#11315).
14495
14496 2012-04-27 Chong Yidong <cyd@gnu.org>
14497
14498 * simple.el (delete-active-region): Move to killing custom group.
14499
14500 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14501
14502 * progmodes/which-func.el (which-func-current): Quote %
14503 characters for mode-line processing.
14504
14505 2012-04-27 Chong Yidong <cyd@gnu.org>
14506
14507 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14508 reaching eob (Bug#11286).
14509
14510 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14511
14512 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14513 (gdb): Make it buffer-local and init to zero.
14514 (gdb-control-commands-regexp): New variable.
14515 (gdb-send): Don't wrap in "-interpreter-exec console" if
14516 gdb-control-level is positive. Increment gdb-control-level
14517 whenever the command matches gdb-control-commands-regexp, and
14518 decrement it each time the command is "end". (Bug#11279)
14519
14520 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14521
14522 * window.el (adjust-window-trailing-edge, enlarge-window)
14523 (shrink-window, window-resize):
14524 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14525 windows (Bug#11276).
14526
14527 2012-04-27 Chong Yidong <cyd@gnu.org>
14528
14529 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14530 fix "missing prefix" warning. All callers changed.
14531
14532 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14533
14534 * emacs-lisp/assoc.el: Move to obsolete/.
14535
14536 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14537
14538 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14539
14540 * term/ns-win.el (ns-define-service):
14541 * progmodes/pascal.el (pascal-goto-defun):
14542 * progmodes/js.el (js--read-tab):
14543 * progmodes/etags.el (tags-lazy-completion-table):
14544 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14545 * emacs-lisp/ewoc.el (ewoc--wrap):
14546 * emacs-lisp/assoc.el (aput, adelete, amake):
14547 * doc-view.el (doc-view-convert-current-doc):
14548 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14549
14550 2012-04-26 Chong Yidong <cyd@gnu.org>
14551
14552 * image.el (image-type-from-buffer): Only return supported image
14553 type (Bug#9045).
14554
14555 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14556 value, for symmetry with diff-end-of-hunk.
14557 (diff-split-hunk, diff-find-source-location)
14558 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14559 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14560 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14561 compute the relevant hunk or file properly (Bug#6005).
14562 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14563
14564 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14565
14566 * vc/vc-mtn.el:
14567 * vc/vc-hg.el:
14568 * vc/vc-git.el:
14569 * vc/vc-dir.el:
14570 * vc/vc-cvs.el:
14571 * vc/vc-bzr.el:
14572 * vc/vc-arch.el:
14573 * vc/vc.el: Replace lexical-let by lexical-binding.
14574 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14575 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14576 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14577
14578 2012-04-26 Chong Yidong <cyd@gnu.org>
14579
14580 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14581 (diff-mode-shared-map): Bind it to / and [remap undo].
14582
14583 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14584 (ediff-window-setup-function): Use it as the default, to set up
14585 windows based on whether the current frame is graphical (Bug#2138).
14586 (ediff-choose-window-setup-function-automatically): Make obsolete.
14587
14588 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14589
14590 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14591
14592 * ffap.el: Remove old code for obsolete package.
14593 (ffap-complete-as-file-p): Remove.
14594
14595 Use completion-table-with-quoting for comint and pcomplete.
14596 * comint.el (comint--unquote&requote-argument)
14597 (comint--unquote-argument, comint--requote-argument): New functions.
14598 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14599 (comint-quote-filename): Use regexp-opt-charset.
14600 (comint--common-suffix, comint--common-quoted-suffix)
14601 (comint--table-subvert): Remove.
14602 (comint-unquote-function, comint-requote-function): New vars.
14603 (comint--complete-file-name-data): Use them with
14604 completion-table-with-quoting.
14605 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14606 * pcomplete.el (pcomplete-arg-quote-list)
14607 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14608 (pcomplete-unquote-argument-function): Default to non-nil.
14609 (pcomplete-unquote-argument): Simplify.
14610 (pcomplete--common-quoted-suffix): Remove.
14611 (pcomplete-requote-argument-function): New var.
14612 (pcomplete--common-suffix): New function.
14613 (pcomplete-completions-at-point): Use completion-table-with-quoting
14614 and completion-table-subvert.
14615
14616 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14617 (minibuffer--double-dollars): Preserve properties.
14618 (completion--sifn-requote): New function.
14619 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14620
14621 * minibuffer.el: Add support for completion of quoted/escaped data.
14622 (completion-table-with-quoting, completion-table-subvert): New funs.
14623 (completion--twq-try, completion--twq-all): New functions.
14624 (completion--nth-completion): New function.
14625 (completion-try-completion, completion-all-completions): Use it.
14626
14627 2012-04-25 Leo Liu <sdl.web@gmail.com>
14628
14629 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14630 Use compilation-message if available to find real filename.
14631
14632 2012-04-25 Chong Yidong <cyd@gnu.org>
14633
14634 * vc/diff-mode.el (diff-setup-whitespace): New function.
14635 (diff-mode): Use it.
14636
14637 * vc/diff.el (diff-sentinel):
14638 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14639 Whitespace mode variables based on diff style (Bug#8612).
14640
14641 2012-04-25 Leo Liu <sdl.web@gmail.com>
14642
14643 * progmodes/python.el (python-send-region): Add suffix .py to the
14644 temp file.
14645
14646 * files.el (auto-mode-alist): Use javascript-mode instead.
14647
14648 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14649
14650 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14651
14652 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14653 (soap-resolve-references-for-array-type): Hack to prevent self
14654 references, see Bug#9.
14655 (soap-parse-envelope): Report the contents of the 'detail' node
14656 when receiving a fault reply.
14657 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14658
14659 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14660 (soap-inspect-simple-type): New function.
14661
14662 * net/soap-client.el (soap-simple-type): New struct.
14663 (soap-default-xsd-types, soap-default-soapenc-types)
14664 (soap-decode-basic-type, soap-encode-basic-type):
14665 support unsignedInt and double basic types.
14666 (soap-resolve-references-for-simple-type)
14667 (soap-parse-simple-type, soap-encode-simple-type): New function.
14668 (soap-parse-schema): Parse xsd:simpleType declarations.
14669
14670 * net/soap-client.el (soap-default-xsd-types)
14671 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14672 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14673 the local name of "soapenc:Array".
14674 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14675 decoding integer, byte and anyURI xsd types.
14676
14677 2012-04-25 Chong Yidong <cyd@gnu.org>
14678
14679 * cus-edit.el (custom-buffer-create-internal): Update header text.
14680
14681 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14682
14683 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14684 settings on 'system-type', not on 'window-system'. On MS-Windows,
14685 set interactive-mode on in GDB.
14686
14687 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14690 (ruby-syntax-propertize-regexp): Remove.
14691 (ruby-syntax-propertize-function): Split regexp into chunks.
14692 Match following code directly.
14693
14694 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14695
14696 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14697 (ruby-syntax-propertize-regexp): New function.
14698 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14699 by a special keyword.
14700
14701 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14702 (ruby-syntax-general-delimiters-goto-beg)
14703 (ruby-syntax-propertize-general-delimiters): New functions.
14704 (ruby-syntax-propertize-function): Use them to handle GDL.
14705 (ruby-font-lock-keywords): Move old handling of GDL...
14706 (ruby-font-lock-syntactic-keywords): .. to here.
14707 (ruby-calculate-indent): Adjust indentation for GDL.
14708
14709 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14710
14711 * notifications.el (top): Remove unneeded declarations.
14712 (notifications-specification-version): Change to "1.2".
14713 (notifications-interface, notifications-notify-method)
14714 (notifications-close-notification-method): Fix docstring.
14715 (notifications-get-capabilities-method): New defconst.
14716 (notifications-notify): Add :action-items, :resident and
14717 :transient hints. Change "image_data" to "image-data" and
14718 "image_path" to "image-path".
14719 (notifications-get-capabilities): New defun.
14720
14721 2012-04-24 Leo Liu <sdl.web@gmail.com>
14722
14723 * progmodes/python.el: Move hideshow setup to the end.
14724
14725 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14726
14727 * window.el (handle-select-window): Clear echo area since this is
14728 no more done by read_char (Bug#11304).
14729
14730 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14731
14732 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14733 and `/ M' to filter-derived-mode.
14734 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14735 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14736 (ibuffer-mark-by-mode): Use default rather than initial-input.
14737 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14738
14739 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14740
14741 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14742 (ibuffer-filter-by-derived-mode): New filter.
14743 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14744
14745 2012-04-23 Andreas Politz <politza@fh-trier.de>
14746
14747 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14748
14749 2012-04-23 Chong Yidong <cyd@gnu.org>
14750
14751 * cus-edit.el (customize-apropos, customize-apropos-options):
14752 Disable matching of non-option variables (Bug#11176).
14753 (customize-option, customize-option-other-window)
14754 (customize-changed-options): Doc fix.
14755 (customize-apropos-options, customize-apropos-faces)
14756 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14757
14758 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14759 Fix word list splitting (Bug#11132).
14760 (apropos-symbol, apropos-keybinding, apropos-label)
14761 (apropos-property, apropos-function-button)
14762 (apropos-variable-button, apropos-misc-button): New faces.
14763 (apropos-symbol-face, apropos-keybinding-face)
14764 (apropos-label-face, apropos-property-face, apropos-match-face):
14765 Variables removed (Bug#8396).
14766 (apropos-library-button, apropos-format-plist, apropos-print)
14767 (apropos-print-doc, apropos-describe-plist): Callers changed.
14768
14769 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14770
14771 * net/xesam.el (xesam-mode-map): Use let-bound map in
14772 initialization. (Bug#11292)
14773
14774 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14775
14776 Preserve ispell session localwords when switching back to
14777 original buffer.
14778
14779 * textmodes/ispell.el (ispell-buffer-session-localwords):
14780 New buffer-local variable to hold buffer session localwords.
14781 (ispell-kill-ispell): Add option 'clear to delete session
14782 localwords.
14783 (ispell-command-loop, ispell-change-dictionary)
14784 (ispell-buffer-local-words): Preserve session localwords when
14785 needed.
14786
14787 * textmodes/flyspell.el (flyspell-process-localwords)
14788 (flyspell-do-correct): Preserve session localwords when needed.
14789
14790 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14791
14792 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14793 using obsolete `translation-table-for-input'.
14794 (ispell-word, ispell-process-line, ispell-complete-word):
14795 Use plain `insert' instead of removed `ispell-insert-word'.
14796
14797 2012-04-22 Chong Yidong <cyd@gnu.org>
14798
14799 * cus-edit.el (custom-variable-menu)
14800 (custom-variable-reset-saved, custom-face-menu)
14801 (custom-face-reset-saved): If there is no saved value, make the
14802 "reset-saved" operation bring back the default (Bug#9509).
14803 (custom-face-state): Properly detect themed faces.
14804
14805 * faces.el (face-spec-set): Stop supporting deprecated form of
14806 third arg.
14807
14808 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14809
14810 Move functions from C to Lisp. Make non-blocking method calls
14811 the default. Implement further D-Bus standard interfaces.
14812
14813 * net/dbus.el (dbus-message-internal): Declare function.
14814 Remove unneeded function declarations.
14815 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14816 (dbus-message-type-method-return, dbus-message-type-error)
14817 (dbus-message-type-signal): Declare variables. Remove local
14818 definitions.
14819 (dbus-interface-dbus, dbus-interface-peer)
14820 (dbus-interface-introspectable, dbus-interface-properties)
14821 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14822 Adapt docstring.
14823 (dbus-interface-objectmanager): New defconst.
14824 (dbus-call-method, dbus-call-method-asynchronously)
14825 (dbus-send-signal, dbus-method-return-internal)
14826 (dbus-method-error-internal, dbus-register-service)
14827 (dbus-register-signal, dbus-register-method): New defuns, moved
14828 from dbusbind.c
14829 (dbus-call-method-handler, dbus-setenv)
14830 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14831 New defuns.
14832 (dbus-call-method-non-blocking): Make it an obsolete function.
14833 (dbus-unregister-object, dbus-unregister-service)
14834 (dbus-handle-event, dbus-register-property)
14835 (dbus-property-handler): Obey the new structure of
14836 `bus-registered-objects'.
14837 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14838 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14839 Use `dbus-call-method'.
14840
14841 2012-04-22 Chong Yidong <cyd@gnu.org>
14842
14843 * cus-edit.el (custom-commands, custom-reset-menu)
14844 (Custom-reset-standard): Tweak labels.
14845 (custom-reset-button-menu): Change default to t.
14846 (custom-buffer-create-internal): For the custom-reset-button-menu
14847 case, put the revert button first.
14848 (custom-group-subtitle): New face.
14849 (custom-group-value-create): Align docstring to a specific column.
14850
14851 * wid-edit.el (widget-documentation-link-add): Don't handle
14852 indentation in this function.
14853 (widget-documentation-string-indent-to): New function.
14854 (widget-documentation-string-value-create): Use it.
14855
14856 * autorevert.el (auto-revert):
14857 * epg-config.el (epg):
14858 * ibuffer.el (ibuffer):
14859 * mpc.el (mpc):
14860 * ses.el (ses):
14861 * eshell/eshell.el (eshell):
14862 * net/ange-ftp.el (ange-ftp):
14863 * progmodes/ebnf2ps.el (postscript):
14864 * progmodes/flymake.el (flymake):
14865 * progmodes/prolog.el (prolog):
14866 * progmodes/verilog-mode.el (verilog-mode):
14867 * progmodes/which-func.el (which-func):
14868 * term/xterm.el (xterm):
14869 * textmodes/picture.el (picture):
14870 * textmodes/tildify.el (tildify):
14871 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14872 customization buffers.
14873
14874 2012-04-22 Alan Mackenzie <acm@muc.de>
14875
14876 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14877 Adding a ) can hide the resulting (..) from searches. Fix it.
14878 Bound the backward search to the position of the existing (.
14879
14880 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14881
14882 * progmodes/verilog-mode.el (verilog-mode): Check whether
14883 which-func-modes is t before adding verilog-mode.
14884 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14885
14886 2012-04-21 Leo Liu <sdl.web@gmail.com>
14887
14888 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14889
14890 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14891
14892 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14893 filling of the last column of a table (Bug#5635).
14894 (woman-find-next-control-line): New arg, specifying an additional
14895 regexp component for the control line.
14896 (woman2-roff-buffer): Use it.
14897 (woman-break-table): New function.
14898 (woman2-TS): Use it.
14899
14900 2012-04-21 Chong Yidong <cyd@gnu.org>
14901
14902 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14903 (woman-horizontal-escapes, woman-negative-vertical-space)
14904 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14905 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14906
14907 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14908
14909 * minibuffer.el (completion-file-name-table): Complete user names.
14910
14911 2012-04-20 Leo Liu <sdl.web@gmail.com>
14912
14913 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14914 and pcase-let*.
14915
14916 2012-04-20 Chong Yidong <cyd@gnu.org>
14917
14918 * server.el (server-execute): Respect initial-buffer-choice if it
14919 is a string and there are no files to open (Bug#2825).
14920 (server-create-window-system-frame, server-create-tty-frame):
14921 Don't switch buffers here.
14922 (server-process-filter): Only try to open a window system frame if
14923 compiled with graphical support (Bug#8314).
14924
14925 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14926
14927 * battery.el (battery-echo-area-format): Display remaining time
14928 for sysfs backend too (Bug#11269).
14929 (battery-linux-sysfs): Fix conditional for the charge.
14930
14931 2012-04-20 Chong Yidong <cyd@gnu.org>
14932
14933 * progmodes/gdb-mi.el (gdb): Revert previous change.
14934 (gdb-inferior-io--init-proc): New function.
14935 (gdb-init-1): Use it.
14936 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14937 responsible for allocating a new pty and hooking it to gdb when
14938 the old pty gets an EIO due to process exit.
14939 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14940 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14941 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14942
14943 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14944
14945 * window.el (window-min-size, window-sizable, window-min-delta)
14946 (window-max-delta, window--resizable, window-resizable)
14947 (window-total-size, window-full-height-p, window-full-width-p)
14948 (window-in-direction, window--resize-mini-window, window-resize)
14949 (window--resize-child-windows-normal)
14950 (window--resize-child-windows, window--resize-siblings)
14951 (window--resize-this-window, adjust-window-trailing-edge)
14952 (enlarge-window, shrink-window): Doc fixes.
14953
14954 2012-04-20 Chong Yidong <cyd@gnu.org>
14955
14956 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14957 New function to call delete-process on the gdb-inferior buffer's pty.
14958 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14959 pty process (Bug#11273).
14960 (gdb-update): New arg to suppress talking to the gdb process.
14961 (gdb-done-or-error): Use it.
14962 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14963 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14964 sentinel not being called.
14965
14966 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14967
14968 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14969
14970 2012-04-20 Glenn Morris <rgm@gnu.org>
14971
14972 * net/network-stream.el (open-network-stream): Doc fix.
14973
14974 2012-04-20 Chong Yidong <cyd@gnu.org>
14975
14976 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14977
14978 2012-04-20 Alan Mackenzie <acm@muc.de>
14979
14980 Ensure searching for keywords is case sensitive.
14981
14982 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14983 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14984 (c-defun-name, c-mark-function, c-cpp-define-name)
14985 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14986 (c-context-line-break): Bind case-fold-search to nil.
14987
14988 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14989 Bind case-fold-search to nil.
14990
14991 2012-04-20 Chong Yidong <cyd@gnu.org>
14992
14993 * mail/sendmail.el (mail-bury): Call return action with the right
14994 Rmail buffer (Bug#11242).
14995
14996 * server.el (server-process-filter): Handle corner case where both
14997 tty and nowait options are present (Bug#11102).
14998
14999 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15000
15001 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15002 (top level): Put into the executable the ident-style '$Id:' tag on
15003 windows-nt as well.
15004
15005 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15006
15007 * electric.el (electric-indent-post-self-insert-function): Check that
15008 electric-indent-mode is enabled in current buffer.
15009
15010 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15011
15012 * imenu.el (imenu-progress-message): Restore; it is "used" in
15013 erc/erc-imenu.el and net/snmp-mode.el.
15014
15015 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15016
15017 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15018 (mouse-avoidance-nudge-mouse): Remove unused binding.
15019
15020 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15021
15022 * descr-text.el (describe-char):
15023 * progmodes/python.el (python-describe-symbol):
15024 Don't call `toggle-read-only', set `buffer-read-only'.
15025
15026 * imenu.el (imenu-default-goto-function): Mark unused args.
15027 (imenu-progress-message): Remove obsolete macro; all callers changed.
15028
15029 * subr.el (keymap-canonicalize): Remove unused binding.
15030 (read-passwd): Mark unused arg.
15031
15032 * tutorial.el (tutorial--display-changes): Remove unused binding.
15033 (tutorial--save-tutorial-to): Remove unused variable.
15034
15035 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15036 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15037 (package-generate-autoloads, package-menu--generate)
15038 (package-menu--find-upgrades): Remove unused bindings.
15039
15040 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15041 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15042 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15043 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15044 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15045 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15046 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15047 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15048 (cua-delete-char-rectangle): Mark unused args.
15049 (cua-align-rectangle): Remove unused binding.
15050
15051 * mail/rmail.el (compilation--message->loc)
15052 (epa--find-coding-system-for-mime-charset): Declare.
15053
15054 * net/dbus.el (dbus-register-service): Declare.
15055 (dbus-name-owner-changed-handler): Remove unused binding.
15056
15057 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15058 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15059 (nxml-scan-backward-within): Mark unused arg.
15060 (nxml-dynamic-markup-word): Remove unused binding.
15061
15062 * mouse.el (mouse-menu-major-mode-map):
15063 * emacs-lisp/authors.el (authors-scan-change-log)
15064 (authors-add-to-author-list):
15065 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15066 * emacs-lisp/smie.el (smie-auto-fill):
15067 * mail/sendmail.el (mail-bury):
15068 * mail/unrmail.el (unrmail):
15069 * net/tls.el (open-tls-stream):
15070 * textmodes/picture.el (picture-mouse-set-point):
15071 Remove unused bindings.
15072
15073 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15074
15075 * net/tramp.el (tramp-action-password): Let-bind
15076 `enable-recursive-minibuffers' to t.
15077
15078 2012-04-18 Sam Steingold <sds@gnu.org>
15079
15080 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15081 instead of 'string to accommodate values like [f11].
15082 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15083 * progmodes/gdb-mi.el: Likewise.
15084
15085 2012-04-18 Leo Liu <sdl.web@gmail.com>
15086
15087 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15088 current buffer.
15089 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15090 LOCAL is nil.
15091
15092 2012-04-18 Chong Yidong <cyd@gnu.org>
15093
15094 * simple.el (line-move): Use forward-line if in batch mode
15095 (Bug#11053).
15096
15097 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15098
15099 * files.el (after-find-file): Do not try to add a final newline if
15100 the buffer is read-only (Bug#11156).
15101
15102 2012-04-17 Richard Stallman <rms@gnu.org>
15103
15104 * mail/rmail.el (rmail-start-mail):
15105 Pass (rmail-mail-return...) for the return-action.
15106 Pass (rmail-yank-current-message...) for the yank-action.
15107 (rmail-yank-current-message): New function.
15108 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15109 (rmail-reply): Likewise.
15110 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15111
15112 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15113 buffer, not the last. Reject temp buffers. Use the rmail-mode
15114 buffer, not newbuf.
15115
15116 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15117
15118 * server.el (server-ensure-safe-dir): Simplify.
15119
15120 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15121
15122 * emacs-lisp/smie.el: Provide smarter auto-filling.
15123 (smie-auto-fill): New function.
15124 (smie-setup): Use it.
15125
15126 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15127
15128 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15129
15130 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15131 (comment-indent): Use it.
15132
15133 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15134
15135 * ses.el: The overall change is to add cell renaming, that is
15136 setting fancy names for cell symbols other than name matching
15137 "\\`[A-Z]+[0-9]+\\'" regexp .
15138 (ses-localvars): Add ses--renamed-cell-symb-list.
15139 (ses-create-cell-variable): New defun.
15140 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15141 (ses-relocate-formula): Relocate formulas only for cells the
15142 symbols of which are not renamed, i.e. symbols whose names do not
15143 match regexp "\\`[A-Z]+[0-9]+\\'".
15144 (ses-relocate-all): Relocate values only for cells the symbols of
15145 which are not renamed.
15146 (ses-load): Create cells variables as the (ses-cell ...) are read,
15147 in order to check row col consistency with cell symbol name only
15148 for cells that are not renamed.
15149 (ses-replace-name-in-formula): New defun.
15150 (ses-rename-cell): New defun.
15151
15152 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15153
15154 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15155 New option (bug#11118).
15156 (perl-calculate-indent): Respect it.
15157
15158 2012-04-17 Glenn Morris <rgm@gnu.org>
15159
15160 * dired-aux.el (dired-mark-read-string): Doc fix.
15161
15162 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15163
15164 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15165 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15166
15167 2012-04-17 Glenn Morris <rgm@gnu.org>
15168
15169 * mouse.el (mouse-drag-track):
15170 * speedbar.el (speedbar-frame-mode):
15171 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15172
15173 2012-04-16 Leo Liu <sdl.web@gmail.com>
15174
15175 * progmodes/python.el: Trivial cleanup.
15176
15177 2012-04-16 Glenn Morris <rgm@gnu.org>
15178
15179 * vc/vc.el (vc-string-prefix-p):
15180 * vc/pcvs-util.el (cvs-string-prefix-p):
15181 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15182 * mpc.el (mpc-string-prefix-p):
15183 Make all of these into obsolete aliases for string-prefix-p.
15184 Update callers.
15185 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15186
15187 * textmodes/two-column.el: Move custom options to the start.
15188 (frame-width): Remove compat definition.
15189 (2C-associate-buffer, 2C-dissociate):
15190 Use with-current-buffer rather than save-excursion.
15191 (2C-dissociate): Force a mode-line update.
15192 (2C-autoscroll): Use ignore-errors.
15193
15194 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15195 Autoload trivia.
15196
15197 * emacs-lisp/cl-extra.el (*random-state*):
15198 Remove unnecessary declaration.
15199
15200 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15201
15202 * play/cookie1.el (cookie-snarf):
15203 Give an explicit error if input file cannot be read.
15204
15205 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15206
15207 * progmodes/perl-mode.el (c-macro-expand):
15208 Remove unnecessary autoload (it is in loaddefs.el).
15209
15210 * textmodes/picture.el (picture-desired-column)
15211 (picture-update-desired-column): Convert comments to doc-strings.
15212 (picture-substitute): Remove function.
15213 (picture-mode-map): Initialize in the defvar.
15214
15215 * woman.el: Remove eval-after-load for tar-mode.
15216 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15217 (woman-tar-extract-file): Autoload it.
15218
15219 * frame.el (automatic-hscrolling): Make this alias obsolete.
15220
15221 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15222
15223 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15224 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15225 (ispell-dictionary-base-alist): Revert to original XEmacs
15226 friendly version for default. [:alpha:] will be added in
15227 `ispell-set-spellchecker-params' if needed.
15228
15229 2012-04-16 Chong Yidong <cyd@gnu.org>
15230
15231 * image.el (imagemagick--file-regexp): New variable.
15232 (imagemagick-register-types): Use it.
15233 (imagemagick-types-inhibit): Add :set function. Allow new value
15234 of t to inhibit all types.
15235
15236 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15237 so we can preload it.
15238
15239 * loadup.el (fboundp): Preload regexp-opt, needed by
15240 imagemagick-register-types.
15241
15242 2012-04-15 Chong Yidong <cyd@gnu.org>
15243
15244 * frame.el (scrolling): Remove nearly unused customization group.
15245
15246 * scroll-all.el (scroll-all-mode): Move to windows group.
15247
15248 2012-04-15 Chong Yidong <cyd@gnu.org>
15249
15250 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15251
15252 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15253
15254 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15255 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15256
15257 2012-04-15 Glenn Morris <rgm@gnu.org>
15258
15259 * simple.el (process-file-side-effects): Doc fix.
15260
15261 2012-04-15 Glenn Morris <rgm@gnu.org>
15262
15263 * international/mule-cmds.el (set-language-environment): Doc fix.
15264
15265 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15266
15267 * server.el (server-auth-key, server-generate-key): Doc fixes.
15268 (server-get-auth-key): Doc fix. Use `string-match-p'.
15269 (server-start): Reflow docstring.
15270
15271 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15272
15273 * server.el (server-generate-key): `called-interactively-p'
15274 requires a parameter.
15275
15276 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15277
15278 * server.el (server-auth-key): New variable.
15279 (server-generate-key, server-get-auth-key): New function.
15280 (server-start): Use the new variable and functions to allow
15281 setting a permanent server key (bug#9423).
15282
15283 2012-04-14 Leo Liu <sdl.web@gmail.com>
15284
15285 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15286
15287 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15288
15289 Spelling fixes.
15290 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15291 Emacs uses American spelling.
15292
15293 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15294
15295 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15296 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15297 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15298 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15299
15300 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15301
15302 * progmodes/which-func.el (which-func-modes): Change default.
15303
15304 2012-04-14 Kim F. Storm <storm@cua.dk>
15305
15306 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15307 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15308
15309 2012-04-14 Chong Yidong <cyd@gnu.org>
15310
15311 * custom.el (custom-theme-set-variables): Doc fix.
15312
15313 2012-04-14 Glenn Morris <rgm@gnu.org>
15314
15315 * international/mule.el (set-auto-coding-for-load): Doc fix.
15316
15317 2012-04-14 Alan Mackenzie <acm@muc.de>
15318
15319 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15320 imenu work again for Objective C Mode. Correct the *-index values,
15321 these having been disturbed by a previous change in 2011-08.
15322
15323 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15324 Correct two search limits.
15325
15326 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15327
15328 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15329
15330 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15331
15332 * international/characters.el: Fix sorting.
15333
15334 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15335
15336 * international/characters.el: Add more missing Latin case pairs.
15337
15338 2012-04-14 Glenn Morris <rgm@gnu.org>
15339
15340 * files.el (dir-locals-set-class-variables): Doc fix.
15341
15342 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15343
15344 * international/characters.el: Add set-case-syntax-pair call for
15345 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15346 counterpart. (Bug#11209)
15347
15348 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15349
15350 2012-04-14 Glenn Morris <rgm@gnu.org>
15351
15352 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15353
15354 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15355
15356 * textmodes/ispell.el (ispell-dictionary-base-alist):
15357 Add data for Hebrew.
15358
15359 2012-04-14 Chong Yidong <cyd@gnu.org>
15360
15361 * net/rcirc.el (rcirc-cmd-quit):
15362 Revert 2012-03-18 change (Bug#11192).
15363
15364 2012-04-14 Glenn Morris <rgm@gnu.org>
15365
15366 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15367
15368 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15369
15370 * minibuffer.el (completion-in-region-mode-map):
15371 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15372
15373 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15374
15375 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15376
15377 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15378
15379 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15380 to allow `C-M-f' and `C-M-b' to move to the nearest path
15381 separator (bug#9511).
15382
15383 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15384
15385 * avoid.el: Require cl when compiling. And also move the
15386 `provide' to the end.
15387
15388 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15389
15390 * avoid.el (mouse-avoidance-banish-position): New variable.
15391 (mouse-avoidance-banish-destination): Use it (bug#10165).
15392
15393 2012-04-13 Leo Liu <sdl.web@gmail.com>
15394
15395 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15396
15397 2012-04-13 Ken Brown <kbrown@cornell.edu>
15398
15399 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15400 this is no longer needed now that cygstart understands file:// URLs.
15401 (browse-url-filename-alist): For the same reason, don't modify
15402 file:// URLs on Cygwin.
15403
15404 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15405
15406 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15407 the region on shift if the binding is already shifted (bug#11221).
15408
15409 2012-04-12 Glenn Morris <rgm@gnu.org>
15410
15411 * mail/mailpost.el: Move to obsolete/.
15412
15413 2012-04-12 Drew Adams <drew.adams@oracle.com>
15414
15415 * imenu.el (imenu--generic-function): Ignore invisible definitions
15416 (bug#10123).
15417
15418 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15419
15420 * hexl.el (hexl-bits): New variable.
15421 (hexl-options): Mention the variable in the doc string.
15422 (hexl-rulerise, hexl-line-displen): New functions.
15423 (hexl-mode): Mention the new variable.
15424 (hexl-mode, hexl-current-address, hexl-current-address):
15425 Use the displen.
15426 (hexl-ascii-start-column): New function.
15427 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15428 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15429
15430 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15431
15432 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15433 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15434 the encoding, as expected by hunspell.
15435
15436 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15437
15438 * battery.el (battery--linux-sysfs-regexp): New const.
15439 (battery-status-function): Use it. Remove yeeloong special case.
15440 (battery-yeeloong-sysfs): Remove.
15441 (battery-echo-area-format): Remove yeeloong special case.
15442
15443 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15444
15445 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15446 Reported by Noah Friedman.
15447
15448 * subr.el (read-passwd): Use read-string.
15449
15450 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15451
15452 * vcursor.el (vcursor-move): Increase the priority of the overlay
15453 (bug#9663).
15454
15455 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15456
15457 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15458 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15459
15460 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15461
15462 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15463 define-minor-mode (bug#10760).
15464
15465 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15466
15467 * progmodes/grep.el (rgrep): Tweak the find command line so
15468 that directories matching `grep-find-ignored-files' won't be
15469 pruned (bug#10351).
15470
15471 2012-04-11 Chong Yidong <cyd@gnu.org>
15472
15473 * startup.el (command-line): Remove support for long-obsolete
15474 variable font-lock-face-attributes.
15475
15476 2012-04-11 Glenn Morris <rgm@gnu.org>
15477
15478 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15479
15480 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15481
15482 * window.el (window--state-get-1): Obey window-point-insertion-type.
15483
15484 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15485
15486 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15487 to previous function when point is on the first character of a
15488 function. Take care of that in `narrow-to-defun' (bug#6157).
15489
15490 2012-04-11 Glenn Morris <rgm@gnu.org>
15491
15492 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15493 not just file-errors.
15494
15495 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15496 (vc-bzr-sha1): Use internal sha1.
15497
15498 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15499
15500 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15501
15502 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15503
15504 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15505 that start in the middle of the line (bug#10496).
15506
15507 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15508
15509 * battery.el (battery-linux-proc-acpi): Only one battery is
15510 discharged at a time, but that seems to confuse battery.el when
15511 computing `rate-type' for the battery not being discharged
15512 (bug#10332).
15513
15514 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15515
15516 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15517
15518 * international/quail.el: Use dolist and simplify.
15519 (quail-define-package, quail-update-keyboard-layout)
15520 (quail-define-rules): Use dolist.
15521 (quail-insert-kbd-layout, quail-get-translation): CSE.
15522
15523 * tmm.el: Use dolist, remove left over hook.
15524 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15525 Use dolist.
15526 (calendar-load-hook): Don't mess with it.
15527
15528 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15529 Use derived-mode-p. Run the diff asynchronously.
15530
15531 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15532
15533 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15534
15535 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15536
15537 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15538 (list-dynamic-libraries--loaded): New function.
15539 (list-dynamic-libraries--refresh): Use it.
15540
15541 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15542
15543 * progmodes/python.el (python-fill-paragraph):
15544 Make python-fill-region in a multiline string work when font-lock is
15545 disabled (bug#7018).
15546
15547 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15548
15549 * language/european.el (cp775): Add oem/legacy (en)coding on
15550 DOS/MS Windows for the Baltic languages. There are still plenty
15551 of texts written in this encoding/codepage (bug#6519).
15552
15553 2012-04-10 Glenn Morris <rgm@gnu.org>
15554
15555 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15556 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15557
15558 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15559
15560 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15561 next-line "n" and previous-line "p" in order to make recentf more
15562 consistent with ibuffer, dired or org-mode (bug#9387).
15563
15564 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15565
15566 * image.el (put-image): Return the overlay created instead of the
15567 optional input string (bug#7834). Note that this may break code
15568 that is (for some reason or other) depending on `put-image'
15569 returning the string.
15570
15571 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15572
15573 * simple.el (zap-to-char): Allow zapping using input methods
15574 (bug#1580).
15575
15576 * textmodes/fill.el (fill-region): Leave point and mark where they
15577 were before filling (bug#5399).
15578
15579 2012-04-09 Glenn Morris <rgm@gnu.org>
15580
15581 * version.el (emacs-bzr-get-version):
15582 Handle lightweight checkouts of local branches.
15583
15584 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15585
15586 * international/characters.el: Recover lost case pairs. (Bug#11209)
15587
15588 2012-04-09 Chong Yidong <cyd@gnu.org>
15589
15590 * custom.el (custom-variable-p): Return nil for non-symbol
15591 arguments instead of signaling an error.
15592 (user-variable-p): Obsolete alias for custom-variable-p.
15593
15594 * apropos.el (apropos-variable):
15595 * files-x.el (read-file-local-variable):
15596 * simple.el (set-variable):
15597 * woman.el (woman-mini-help):
15598 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15599
15600 2012-04-09 Glenn Morris <rgm@gnu.org>
15601
15602 * startup.el (normal-top-level): Don't look for leim-list.el
15603 in places where it will not be found. (Bug#910)
15604
15605 * international/mule-cmds.el (set-default-coding-systems):
15606 * files.el (normal-mode):
15607 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15608 This function was removed with ucs-tables.el in 2008.
15609
15610 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15611
15612 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15613 ispell-encoding8-command to "-i", without a trailing space.
15614 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15615 separate command-line arguments, to specify the encoding, since
15616 that's how hunspell expects it.
15617
15618 2012-04-08 Glenn Morris <rgm@gnu.org>
15619
15620 * loadup.el: Load bindings before cus-start.
15621 This reduces somewhat the number of "rogue" settings in emacs -Q.
15622
15623 2012-04-07 Glenn Morris <rgm@gnu.org>
15624
15625 * version.el (emacs-bzr-get-version): New function.
15626 (emacs-bzr-version): New variable.
15627 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15628 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15629
15630 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15631
15632 * international/uni-bidi.el, international/uni-category.el:
15633 * international/uni-combining.el, international/uni-decimal.el:
15634 * international/uni-decomposition.el, international/uni-digit.el:
15635 * international/uni-lowercase.el, international/uni-mirrored.el:
15636 * international/uni-name.el, international/uni-numeric.el:
15637 * international/uni-titlecase.el, international/uni-uppercase.el:
15638 Update for Unicode 6.1.
15639
15640 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15641
15642 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15643
15644 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15645
15646 * window.el (shrink-window): Mention the `window-min-height'
15647 variable in the doc string.
15648
15649 2012-04-05 Bastien Guerry <bzg@altern.org>
15650
15651 * color.el (color-lighten-name): Fix typo.
15652
15653 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15654
15655 * server.el (server--on-display-p): New function.
15656 (server--on-display-p): Use it.
15657
15658 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15659
15660 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15661 (bug#11145).
15662
15663 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * comint.el (comint--common-quoted-suffix): Check string boundary
15666 before comparing (bug#11158).
15667 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15668
15669 2012-04-04 Chong Yidong <cyd@gnu.org>
15670
15671 * minibuffer.el (completion-extra-properties): Doc fix.
15672
15673 * subr.el (delayed-warnings-hook): Doc fix.
15674
15675 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15676
15677 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15678 selection (Bug#11159).
15679 (epa-insert-keys): Inform that the default public key will be
15680 exported if no key is selected.
15681
15682 2012-04-04 Richard Stallman <rms@gnu.org>
15683
15684 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15685
15686 2012-04-03 Chong Yidong <cyd@gnu.org>
15687
15688 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15689 mail-insert-file, not its obsolete alias mail-attach-file.
15690
15691 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15692
15693 * notifications.el (notifications-notify): Fix docstring.
15694
15695 2012-04-02 Glenn Morris <rgm@gnu.org>
15696
15697 * emacs-lisp/authors.el (authors-aliases): Another addition.
15698
15699 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15700
15701 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15702 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15703 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15704
15705 2012-04-01 Chong Yidong <cyd@gnu.org>
15706
15707 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15708 Handle root directory properly.
15709 (copy-directory): Caller changed.
15710
15711 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15712 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15713
15714 2012-03-31 Glenn Morris <rgm@gnu.org>
15715
15716 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15717
15718 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15719
15720 * calendar/calendar.el (calendar-window-list)
15721 (calendar-hide-window): Restore. (Bug#11140)
15722 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15723
15724 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15725
15726 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15727
15728 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15729 Check if file is a symlink (Bug#10489).
15730
15731 * files.el (copy-directory): Likewise.
15732
15733 2012-03-30 Chong Yidong <cyd@gnu.org>
15734
15735 * image.el (imagemagick-types-inhibit)
15736 (imagemagick-register-types): Doc fix.
15737
15738 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15739
15740 * textmodes/ispell.el (ispell-get-extended-character-mode):
15741 Disable extended-char-mode for hunspell. hunspell does not support it
15742 and treats ~word as ordinary words in pipe mode.
15743
15744 2012-03-30 Glenn Morris <rgm@gnu.org>
15745
15746 * tutorial.el (help-with-tutorial): Ensure local variables don't
15747 happen to make the buffer read-only. (Bug#11127)
15748
15749 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15750
15751 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15752 (perl-calculate-indent): Return `noindent' in strings.
15753
15754 2012-03-28 Sam Steingold <sds@gnu.org>
15755
15756 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15757 instead of the broken adhockery which does not prevent calendar
15758 buffers from being displayed at random after exit.
15759 (calendar-window-list, calendar-hide-window): Remove the broken
15760 adhockery.
15761
15762 2012-03-28 Glenn Morris <rgm@gnu.org>
15763
15764 * replace.el (query-replace-map): Doc fix.
15765
15766 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15767
15768 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15769 contents. (Bug#11109)
15770
15771 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15772
15773 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15774 (bug#11077).
15775 (avl-tree--check, avl-tree--check-node): New funs.
15776
15777 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15778
15779 * window.el (switch-to-visible-buffer): New option.
15780 (switch-to-prev-buffer, switch-to-next-buffer):
15781 Observe switch-to-visible-buffer. Make sure that checking for a window
15782 showing a buffer already is done on the same frame.
15783
15784 2012-03-27 Glenn Morris <rgm@gnu.org>
15785
15786 * startup.el (mail-host-address): Doc fix.
15787
15788 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15789
15790 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15791 than 197 variables.
15792
15793 2012-03-26 Ami Fischman <ami@fischman.org>
15794
15795 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15796
15797 2012-03-26 Glenn Morris <rgm@gnu.org>
15798
15799 * files.el (save-buffers-kill-emacs): Doc fix.
15800
15801 * startup.el (normal-top-level, command-line, command-line-1):
15802 Give them doc strings.
15803
15804 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15805
15806 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15807 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15808
15809 2012-03-25 Chong Yidong <cyd@gnu.org>
15810
15811 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15812 theme if it was previously enabled before (Bug#11031).
15813
15814 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15815 spec with custom-face-get-current-spec if its :shown-value is not
15816 determined yet (Bug#9337).
15817 (customize-create-theme, custom-theme-revert): Doc fixes.
15818
15819 * button.el (button-at): Minor addition to docstring.
15820
15821 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15822
15823 * vc/vc.el (vc-merge): Fix a prompt.
15824
15825 2012-03-24 Chong Yidong <cyd@gnu.org>
15826
15827 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15828 point (Bug#9623).
15829
15830 * button.el (button-at): Minor addition to docstring.
15831
15832 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15833
15834 * newcomment.el (comment-choose-indent): No space after BOL.
15835
15836 2012-03-22 Sam Steingold <sds@gnu.org>
15837
15838 * window.el (switch-to-prev-buffer): Revert last patch because the
15839 bug turned out to be an advertised feature (Elisp manual 28.14).
15840
15841 2012-03-22 Glenn Morris <rgm@gnu.org>
15842
15843 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15844 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15845
15846 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15847
15848 * net/network-stream.el (network-stream-open-starttls): Make error
15849 message under Windows be less misleading.
15850
15851 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15852
15853 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15854 understands (bug#9942).
15855
15856 2012-03-22 Chong Yidong <cyd@gnu.org>
15857
15858 * simple.el (end-of-visible-line): Handle return value of
15859 next-single-property-change properly (Bug#9371).
15860
15861 2012-03-22 Kenichi Handa <handa@m17n.org>
15862
15863 * international/quail.el (quail-insert-kbd-layout): Fix previous
15864 change. To avoid unwanted bidi reordering, use
15865 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15866
15867 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15868
15869 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15870 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15871 (ruby-beginning-of-indent): Be more careful with the difference
15872 between word-boundary and symbol boundary.
15873 (ruby-mode-syntax-table): Make : a symbol constituent.
15874
15875 2012-03-21 Andreas Politz <politza@fh-trier.de>
15876
15877 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15878
15879 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15880
15881 * progmodes/etags.el (tags-completion-at-point-function):
15882 Improve last fix.
15883
15884 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15885
15886 2012-03-21 Sam Steingold <sds@gnu.org>
15887
15888 * progmodes/etags.el (tags-completion-at-point-function):
15889 Avoid the error when point is inside the pattern.
15890
15891 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15892
15893 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15894 line (Bug#10855).
15895
15896 2012-03-21 Drew Adams <drew.adams@oracle.com>
15897
15898 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15899
15900 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15901
15902 * ido.el (ido-set-current-directory, ido-read-internal)
15903 (ido-choose-completion-string, ido-completion-help): Handle nil
15904 value of ido-completion-buffer (Bug#11008).
15905
15906 2012-03-21 Sam Steingold <sds@gnu.org>
15907
15908 * window.el (switch-to-prev-buffer): Do not switch to a visible
15909 window previous buffer, just like with the frame previous buffers.
15910
15911 2012-03-21 Chong Yidong <cyd@gnu.org>
15912
15913 * faces.el (make-face, make-empty-face, copy-face):
15914 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15915 Doc fixes.
15916
15917 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15918
15919 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15920 (widget-complete): Remove broken use of it.
15921
15922 2012-03-20 Chong Yidong <cyd@gnu.org>
15923
15924 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15925 Use string-width and truncate-string-width to handle arbitrary
15926 characters.
15927
15928 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15929
15930 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15931 to draw rectangles, not squares. (Regression introduced by revno
15932 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15933
15934 2012-03-18 Chong Yidong <cyd@gnu.org>
15935
15936 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15937 it is not yet defined (for temacs).
15938
15939 2012-03-18 Leo Liu <sdl.web@gmail.com>
15940
15941 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15942 prefix.
15943
15944 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15945
15946 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15947 (ispell-choices-win-default-height, ispell-silently-savep)
15948 (ispell-dictionary-alist, ispell-encoding8-command)
15949 (ispell-check-version, ispell-aspell-find-dictionary)
15950 (ispell-valid-dictionary-list, ispell-words-keyword)
15951 (ispell-get-word, ispell-internal-change-dictionary)
15952 (ispell-region, ispell-skip-region-list)
15953 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15954 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15955 (ispell-message-text-end, ispell-message)
15956 (ispell-buffer-local-parsing): Doc fix.
15957
15958 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15959
15960 * htmlfontify.el: Add support for code block fontification for ODT
15961 export (Bug #9914).
15962 (hfy-optimisations): Define new option
15963 `body-text-only'
15964 (hfy-fontify-buffer): Honor above setting.
15965 (hfy-begin-span, hfy-end-span): New routines factored out form
15966 `hfy-fontify-buffer'.
15967 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15968 that permit insertion of custom tags.
15969 (hfy-fontify-buffer): Use above handlers.
15970 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15971 (hfy-face-to-css): Re-defined to be a variable.
15972 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15973 over multiple runs. This is made possible by having the caller let
15974 bind a special variable `hfy-user-sheet-assoc'.
15975 (htmlfontify-string): New defun.
15976 (hfy-compile-face-map): Make sure that the last char in the
15977 buffer is correctly fontified.
15978 (hfy-face-resolve-face): Whitespace only change.
15979
15980 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15981
15982 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15983 message more clear.
15984
15985 2012-03-16 Leo Liu <sdl.web@gmail.com>
15986
15987 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15988
15989 2012-03-16 Alan Mackenzie <acm@muc.de>
15990
15991 Further optimize the handling of large macros.
15992
15993 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15994 limit to a call of `c-literal-limits'.
15995 (c-determine-+ve-limit): New function.
15996 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15997 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15998 In CASE 5B, restrict a search limit to 500.
15999 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16000
16001 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16002 Restrict macro bounds to +-500 from after-change's BEG END.
16003
16004 2012-03-16 Leo Liu <sdl.web@gmail.com>
16005
16006 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16007
16008 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16009
16010 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16011 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16012
16013 2012-03-16 Glenn Morris <rgm@gnu.org>
16014
16015 * view.el (view-buffer, view-buffer-other-window)
16016 (view-buffer-other-frame): Doc fixes re special mode-class.
16017
16018 * subr.el (eval-after-load): If named feature is provided not from
16019 a file, run after-load forms. (Bug#10946)
16020
16021 * calendar/calendar.el (calendar-insert-at-column):
16022 Handle non-unit-width characters a bit better. (Bug#10978)
16023
16024 2012-03-15 Chong Yidong <cyd@gnu.org>
16025
16026 * emacs-lisp/ring.el (ring-extend): New function.
16027 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16028
16029 * comint.el (comint-read-input-ring)
16030 (comint-add-to-input-history): Grow comint-input-ring lazily.
16031
16032 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16033
16034 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16035 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16036
16037 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16038 (imenu-add-to-menubar): Don't add a redundant index.
16039 (imenu-update-menubar): Handle a dynamically composed keymap.
16040
16041 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16042
16043 * mail/sendmail.el (mail-encode-header):
16044 Bind rfc2047-encode-encoded-words to nil.
16045
16046 2012-03-13 Glenn Morris <rgm@gnu.org>
16047
16048 * calendar/calendar.el (calendar-string-spread):
16049 Handle non-unit-width characters a bit better. (Bug#10978)
16050
16051 2012-03-13 Leo Liu <sdl.web@gmail.com>
16052
16053 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16054 directory and file as argument (Bug#10822).
16055
16056 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16057
16058 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16059 For dynamically generated code, follow $PC.
16060 (gdb-disassembly-handler-custom): Handle no function name case.
16061
16062 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16063
16064 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16065 * emulation/ws-mode.el (ws-query-replace):
16066 * sort.el (sort-regexp-fields):
16067 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16068
16069 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * dabbrev.el: Fix cycle completion order (bug#10963).
16072 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16073 (dabbrev-completion): Don't use an obarray; provide
16074 a cycle-sort-function.
16075
16076 2012-03-12 Leo Liu <sdl.web@gmail.com>
16077
16078 * simple.el (kill-new): Use equal-including-properties for comparison.
16079 (kill-do-not-save-duplicates): Doc fix.
16080
16081 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16082
16083 * dabbrev.el: Fix cycle completion (bug#10963).
16084 Use lexical binding and wrap to 80 columns.
16085 (dabbrev-completion): Delay computing the list of completions.
16086
16087 2012-03-12 Kenichi Handa <handa@m17n.org>
16088
16089 * international/quail.el (quail-insert-kbd-layout): Surround each
16090 row by LRO and PDF instead of inserting many LRMs. Pad the left
16091 and right of each non-spacing marks. Insert invisible space
16092 between lower and upper characters to prevent composition.
16093
16094 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16095
16096 * minibuffer.el (minibuffer-complete): Don't get confused when the
16097 function is run twice via different commands (bug#10958).
16098 (complete-with-action): Fix docstring.
16099
16100 2012-03-12 Chong Yidong <cyd@gnu.org>
16101
16102 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16103 (nxml-completion-at-point-function): New function.
16104 (nxml-mode): Use it.
16105 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16106
16107 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16108 Load generated autoloads file before byte compiling (Bug#10970).
16109 (package--make-autoloads-and-compile): New helper fun.
16110
16111 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16112
16113 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16114
16115 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16116
16117 * autorevert.el (auto-revert-handler): Ensure, that
16118 file-readable-p is applied only for local files or in
16119 auto-revert-tail-mode.
16120
16121 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16122
16123 * server.el (server-eval-at): Handle non-tcp connections.
16124 Decode result string.
16125
16126 * server.el (server-msg-size): New constant.
16127 (server-reply-print): New function.
16128 (server-eval-and-print): Use it.
16129 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16130 Handle -print-nonl.
16131
16132 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16133
16134 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16135 (Bug#10987).
16136
16137 2012-03-11 Chong Yidong <cyd@gnu.org>
16138
16139 * simple.el (goto-line): Doc fix (Bug#9938).
16140
16141 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16142
16143 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16144 when finished (Bug#10963).
16145
16146 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16147
16148 * window.el (split-window-below): Fix bug in case where
16149 split-window-keep-point is nil (Bug#10971).
16150
16151 2012-03-11 Juri Linkov <juri@jurta.org>
16152
16153 * replace.el (replace-highlight): Set isearch-word to nil
16154 unconditionally. (Bug#10887)
16155
16156 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16157
16158 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16159 mairix-replace-illegal-chars; all callers changed. Don't remove
16160 ^, ~, and = characters: they are meaningful in mairix search specs.
16161 (mairix-widget-create-query): Add usage information about mairix
16162 search forms: negating words, searching for substrings, etc.
16163
16164 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16165
16166 * international/fontset.el (font-encoding-alist): Add an entry for
16167 ksx1001 (Bug#5667).
16168
16169 2012-03-10 Richard Stallman <rms@gnu.org>
16170
16171 * mail/sendmail.el (mail-encode-header):
16172 Set rfc2047-encode-encoded-words.
16173
16174 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16175
16176 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16177 view buffer means not swapped.
16178 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16179 (rmail-write-region-annotate): Error if real text has disappeared.
16180
16181 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16182
16183 2012-03-10 Chong Yidong <cyd@gnu.org>
16184
16185 * emulation/cua-rect.el (cua--init-rectangles):
16186 * emulation/cua-base.el (cua--init-keymaps):
16187 Add delete-forward-char to remappings (Bug#9666).
16188
16189 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16190
16191 * speedbar.el (speedbar-unhighlight-one-tag-line):
16192 Avoid unhighlighting due to frame switching (Bug#10275).
16193
16194 2012-03-10 Chong Yidong <cyd@gnu.org>
16195
16196 * minibuffer.el (completion-in-region, completion-help-at-point):
16197 Give the completion field overlay a high priority (Bug#6830).
16198
16199 * dired.el (dired-goto-file): Recognize absolute file name
16200 listings (Bug#7126).
16201 (dired-goto-file-1): New helper function.
16202 (dired-toggle-read-only): Inhibit warnings.
16203
16204 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16205
16206 * net/dbus.el (dbus-property-handler): Return empty array if
16207 there are no properties.
16208
16209 2012-03-09 Leo Liu <sdl.web@gmail.com>
16210
16211 * savehist.el (savehist-printable): Stricter check for string
16212 value (Bug#10937).
16213
16214 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16215
16216 * mail/smtpmail.el (smtpmail-send-it):
16217 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16218 valid mbox format.
16219
16220 2012-03-09 Glenn Morris <rgm@gnu.org>
16221
16222 * files.el (dir-locals-find-file):
16223 Don't check result is regular, readable.
16224 (dir-locals-read-from-file): Demote errors.
16225
16226 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16227
16228 * international/quail.el (quail-insert-kbd-layout):
16229 Insert invisible LRM characters before each character in a keyboard
16230 layout cell, to prevent their reordering by bidi display engine.
16231 For details, see the discussion in
16232 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16233
16234 2012-03-08 Alan Mackenzie <acm@muc.de>
16235
16236 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16237 the starting position; make it extend the marked region when
16238 invoked repeatedly - all under appropriate circumstances.
16239 Fixes bugs #5525, #10906.
16240
16241 2012-03-08 Glenn Morris <rgm@gnu.org>
16242
16243 * files.el (locate-dominating-file, dir-locals-find-file):
16244 Undo 2012-03-06 change.
16245
16246 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16247
16248 * international/quail.el (quail-help):
16249 Force bidi-paragraph-direction be left-to-right. See discussion in
16250 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16251 for the reason.
16252
16253 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16254
16255 Avoid superfluous registering of signals. (Bug#10807)
16256
16257 * notifications.el (notifications-on-action-object)
16258 (notifications-on-close-object): New defvars.
16259 (notifications-on-action-signal, notifications-on-closed-signal):
16260 Unregister the signal if not needed any longer.
16261 (notifications-notify): Register `notifications-action-signal' or
16262 `notifications-closed-signal', if :on-action or :on-close has been
16263 passed as argument.
16264
16265 2012-03-07 Chong Yidong <cyd@gnu.org>
16266
16267 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16268 non-X platforms.
16269
16270 2012-03-06 Glenn Morris <rgm@gnu.org>
16271
16272 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16273 (x-disown-selection-internal, x-get-selection-internal):
16274 Doc fix (add arglist signatures). (Bug#10783)
16275
16276 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16277
16278 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16279 Handle breakpoints with no "type".
16280
16281 2012-03-06 Glenn Morris <rgm@gnu.org>
16282
16283 * files.el (locate-dominating-file): Add optional predicate argument.
16284 (dir-locals-find-file): Make use of above change.
16285
16286 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16287
16288 * info.el (Info-insert-dir): Also try "dir.gz".
16289
16290 2012-03-06 Glenn Morris <rgm@gnu.org>
16291
16292 * files.el (dir-locals-find-file):
16293 Ignore non-readable or non-regular files. (Bug#10928)
16294
16295 * files.el (locate-dominating-file): Doc fix.
16296
16297 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16298
16299 * calendar/calendar.el (calendar-set-mode-line):
16300 `getenv' returns a string. (Bug#10951)
16301
16302 2012-03-05 Leo Liu <sdl.web@gmail.com>
16303
16304 * simple.el (backward-delete-char-untabify): Constrain point to
16305 field (Bug#10939).
16306
16307 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16308
16309 2012-03-05 Chong Yidong <cyd@gnu.org>
16310
16311 * simple.el (count-words): If called from Lisp, return the word
16312 count, for symmetry with `count-lines'. Arglist changed.
16313 (count-words--message): Args changed. Consolidate counting code
16314 from count-words and count-words-region.
16315 (count-words-region): Caller changed.
16316 (count-lines-region): Make it an obsolete alias.
16317
16318 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16319
16320 * saveplace.el (save-place-to-alist)
16321 (save-place-ignore-files-regexp): Allow value nil to disable this
16322 feature.
16323
16324 2012-03-04 Chong Yidong <cyd@gnu.org>
16325
16326 * faces.el (face-spec-reset-face): For the default face, reset the
16327 attributes to default values (Bug#10748).
16328
16329 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16330
16331 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16332 previous patch: Check `message-send-mail-function', and not the
16333 default function (bug#10897).
16334
16335 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16336
16337 * notifications.el (notifications-on-action-signal)
16338 (notifications-on-closed-signal): Check for unique service name of
16339 incoming event. Fix error in removing entry.
16340 (top): Register for signals with wildcard service name.
16341 (notifications-notify): Use daemon unique service name for map entries.
16342
16343 2012-03-04 Chong Yidong <cyd@gnu.org>
16344
16345 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16346
16347 2012-03-04 Glenn Morris <rgm@gnu.org>
16348
16349 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16350 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16351 (expand-abbrev, define-abbrev-table): Doc fixes.
16352
16353 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16354
16355 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16356 `message-default-send-mail-function' and not `send-mail-function'
16357 when doing the prompting for `sendmail-query-once' before sending
16358 in Message buffers (bug#10897).
16359
16360 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16361 This is inconsistent with all the other stream functions, which leave
16362 the setting up to the higher levels (if so wanted) (bug#10931).
16363
16364 2012-03-02 Alan Mackenzie <acm@muc.de>
16365
16366 Depessimize the handling of very large macros.
16367
16368 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16369 (c-macro-cache-syntactic): New variables to implement a one
16370 element macro cache.
16371 (c-invalidate-macro-cache): New function.
16372 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16373 Adapt to use the new cache.
16374 (c-state-safe-place): Use better the cache of safe positions.
16375 (c-state-semi-nonlit-pos-cache)
16376 (c-state-semi-nonlit-pos-cache-limit):
16377 New variables for...
16378 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16379 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16380 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16381 Use c-state-semi-safe-place.
16382
16383 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16384 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16385
16386 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16387
16388 * jka-compr.el (jka-compr-call-process):
16389 Apply `file-accessible-directory-p' only when the default directory is
16390 not remote.
16391
16392 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16393
16394 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16395 access of FILE2, if FILE1 does not exist.
16396
16397 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16398 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16399
16400 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16401 Add "PAGER=" to `process-environment'.
16402
16403 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16404
16405 * progmodes/sql.el: Bug fix
16406 (sql-get-login-ext): Save login values in globals.
16407 (sql-get-login): Use new version of `sql-get-login-ext'.
16408 (sql-interactive-mode): Set global `sql-connection' to nil.
16409 (sql-connect): Set global values for connection.
16410 (sql-product-interactive): Save global values as buffer local.
16411
16412 2012-02-29 Leo Liu <sdl.web@gmail.com>
16413
16414 * abbrev.el (define-abbrevs): Reset sys to nil.
16415
16416 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16417
16418 * files.el (file-equal-p): Rename from `files-equal-p'.
16419 Return nil when one or both files don't exist.
16420 (file-subdir-of-p): Now only top directory must exists,
16421 return nil if it doesn't.
16422 (copy-directory): No need to test with `file-subdir-of-p' after
16423 creating dir.
16424 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16425 to `file-equal-p'.
16426
16427 2012-02-28 Glenn Morris <rgm@gnu.org>
16428
16429 * shell.el (shell-mode):
16430 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16431 * play/landmark.el (landmark-font-lock-face-O):
16432 * play/handwrite.el (handwrite):
16433 * play/gomoku.el (gomoku-O):
16434 * net/browse-url.el (browse-url-browser-display):
16435 * international/mule.el (define-charset):
16436 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16437 * filesets.el (filesets-find-file-delay):
16438 * eshell/em-xtra.el (eshell-xtra):
16439 * eshell/em-unix.el (eshell-grep):
16440 * emulation/viper.el (viper-mode):
16441 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16442 * emacs-lisp/easymenu.el (easy-menu-define):
16443 * calendar/timeclock.el (timeclock-use-display-time):
16444 * bs.el (bs-mode):
16445 * bookmark.el (bookmark-save-flag):
16446 Doc fix (standardize possessive apostrophe usage).
16447
16448 2012-02-27 Chong Yidong <cyd@gnu.org>
16449
16450 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16451 Fix key-binding lookup for ESC key (Bug#9146).
16452
16453 * font-lock.el (font-lock-specified-p): Rename from
16454 font-lock-spec-present. Callers changed.
16455
16456 2012-02-27 Daniel Hackney <dan@haxney.org>
16457
16458 * emacs-lisp/package.el (package-compute-transaction):
16459 Handle holding a package version to t in package-load-list.
16460
16461 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16462
16463 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16464 (tramp-get-inode, tramp-get-device): Use cached values.
16465
16466 2012-02-26 Alan Mackenzie <acm@muc.de>
16467
16468 Check there is a font-lock specification before doing initial
16469 fontification.
16470
16471 * font-core.el (font-lock-mode): Move the conditional from
16472 :after-hook to font-lock-initial-fontify.
16473 (font-lock-default-function): Move the check for a specification
16474 to font-lock-spec-present.
16475
16476 * font-lock.el (font-lock-initial-fontify): Call ...
16477 (font-lock-spec-present): New function.
16478
16479 2012-02-26 Jim Blandy <jimb@red-bean.com>
16480
16481 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16482 (gdb-send): Apply it to the operand of the '-interpreter-exec
16483 console' command, so that we can pass arguments with (say) quotes
16484 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16485
16486 2012-02-26 Chong Yidong <cyd@gnu.org>
16487
16488 * help-fns.el (describe-function-1): Clarify description of
16489 remapping (Bug#10844).
16490
16491 * files.el (files-equal-p): Doc fix.
16492 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16493 and quit the loop once a mismatch is found.
16494
16495 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16496
16497 * bs.el (bs--show-with-configuration): Don't throw an error
16498 if the window cannot be split; otherwise, subsequent calls to
16499 bs-show fail, restoring a stale window config. (Bug#10882)
16500
16501 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16502
16503 * term/ns-win.el (global-map): Bind ns-drag-file to
16504 ns-find-file (Bug#5855, Bug#10050).
16505
16506 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16507
16508 * calendar/parse-time.el (parse-time-string): Allow extractor to
16509 return nil.
16510
16511 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16512
16513 * net/tramp.el (tramp-file-name-for-operation):
16514 Add `files-equal-p' and `file-subdir-of-p'.
16515
16516 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16517 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16518 Add COPY-CONTENTS argument.
16519
16520 2012-02-25 Chong Yidong <cyd@gnu.org>
16521
16522 Add custom groups for VC backends, for consistency with vc-bzr.
16523
16524 * vc/vc-arch.el (vc-arch):
16525 * vc/vc-cvs.el (vc-cvs):
16526 * vc/vc-git.el (vc-git):
16527 * vc/vc-hg.el (vc-hg):
16528 * vc/vc-mtn.el (vc-mtn):
16529 * vc/vc-rcs.el (vc-rcs):
16530 * vc/vc-sccs.el (vc-sccs):
16531 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16532 All relevant defcustoms reassigned.
16533
16534 2012-02-25 Chong Yidong <cyd@gnu.org>
16535
16536 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16537
16538 * term/x-win.el (x-initialize-window-system): Reduce default for
16539 x-selection-timeout to 5 seconds (Bug#8869).
16540
16541 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16542
16543 * files.el (files-equal-p, file-subdir-of-p): New functions.
16544 (copy-directory): Error when trying to copy a directory on itself.
16545 Add missing copy-contents arg to tramp handler.
16546 * dired-aux.el (dired-copy-file-recursive): Same.
16547 (dired-create-files): Modify destination when source is equal to
16548 dest when copying files.
16549 Return also when dest is a subdir of source. (Bug#10489)
16550
16551 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16552
16553 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16554 (Bug#10874)
16555
16556 2012-02-23 Alan Mackenzie <acm@muc.de>
16557
16558 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16559 parameter "after-hook:" to allow the expansion to run code after
16560 the execution of the mode hooks.
16561
16562 * font-lock.el (font-lock-initial-fontify): New function extracted
16563 from font-lock-mode-internal.
16564
16565 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16566 :after-hook.
16567
16568 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16569
16570 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16571 (completion--cache-all-sorted-completions): New function.
16572 (completion-all-sorted-completions): Use it.
16573 (completion--do-completion, minibuffer-force-complete):
16574 Use it to re-instate the flush hook.
16575
16576 * icomplete.el (icomplete-completions): Replace last fix with a better
16577 one (bug#10850).
16578
16579 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16580
16581 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16582 when it might call us back infinitely (bug#10797).
16583
16584 2012-02-23 Glenn Morris <rgm@gnu.org>
16585
16586 * minibuffer.el (completion-category-overrides): Doc fix.
16587
16588 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16589
16590 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16591 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16592
16593 2012-02-23 Glenn Morris <rgm@gnu.org>
16594
16595 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16596 (authors-obsolete-files-regexps, authors-ignored-files)
16597 (authors-ambiguous-files, authors-renamed-files-alist):
16598 Add more entries.
16599
16600 2012-02-23 Juri Linkov <juri@jurta.org>
16601
16602 * isearch.el (isearch-occur): Sync interactive spec with occur's
16603 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16604
16605 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16606
16607 2012-02-22 Juri Linkov <juri@jurta.org>
16608
16609 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16610 (ucs-insert): Doc fix. Check for hex digits in the string.
16611 Don't display `nil' in the error message. (Bug#10857)
16612
16613 2012-02-22 Alan Mackenzie <acm@muc.de>
16614
16615 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16616
16617 2012-02-22 Glenn Morris <rgm@gnu.org>
16618
16619 * ffap.el (ffap-c-path):
16620 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16621
16622 2012-02-22 Chong Yidong <cyd@gnu.org>
16623
16624 * custom.el (load-theme): Doc fix.
16625
16626 2012-02-22 Glenn Morris <rgm@gnu.org>
16627
16628 * dired-x.el (dired-guess-shell-alist-default):
16629 Remove escape sequences from nroff output. (Bug#172)
16630
16631 2012-02-21 Glenn Morris <rgm@gnu.org>
16632
16633 * vc/emerge.el (emerge-defvar-local):
16634 Set `permanent-local' property rather than unused `preserved'.
16635
16636 * textmodes/picture.el (picture-delete-char): New alias.
16637 (picture-mode-map): Use it. (Bug#10860)
16638 (picture-mode): Doc fix.
16639
16640 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16641
16642 * newcomment.el (uncomment-region-default): Remove unused binding.
16643
16644 2012-02-21 Glenn Morris <rgm@gnu.org>
16645
16646 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16647 (picture-self-insert, picture-tab-chars): Doc fix.
16648 (picture-mode-map): Fix C-a, C-e.
16649
16650 2012-02-20 Glenn Morris <rgm@gnu.org>
16651
16652 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16653
16654 2012-02-20 Leo Liu <sdl.web@gmail.com>
16655
16656 * icomplete.el (icomplete-completions): Check FROM arg before
16657 passing to substring (Bug#10850).
16658
16659 2012-02-19 Chong Yidong <cyd@gnu.org>
16660
16661 * comint.el: Require ansi-color.
16662 (comint-output-filter-functions): Add ansi-color-process-output.
16663
16664 * ansi-color.el: Don't set comint-output-filter-functions; it is
16665 now in the initial value defined in comint.el.
16666 (ansi-color-apply-face-function): New variable.
16667 (ansi-color-apply-on-region): Use it.
16668 (ansi-color-apply-overlay-face): New function.
16669
16670 * shell.el (shell): No need to require ansi-color.
16671 (shell-mode): Use ansi-color-apply-face-function to highlight
16672 color escapes using font-lock-face property (Bug#10835).
16673
16674 2012-02-19 Chong Yidong <cyd@gnu.org>
16675
16676 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16677 mode-line formats (Bug#10839).
16678
16679 2012-02-18 Glenn Morris <rgm@gnu.org>
16680
16681 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16682
16683 * mail/undigest.el (unforward-rmail-message): Doc fix.
16684
16685 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16686
16687 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16688
16689 * international/characters.el (script-list): Sync with the latest
16690 Unicode Character Database.
16691
16692 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16693
16694 * international/titdic-cnv.el: Remove duplicate coding tag.
16695 * language/cham.el: Likewise.
16696 * language/tai-viet.el: Likewise.
16697
16698 2012-02-18 Glenn Morris <rgm@gnu.org>
16699
16700 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16701 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16702 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16703 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16704 * calendar/holidays.el (holiday-bahai-holidays)
16705 (calendar-holidays, list-holidays):
16706 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16707
16708 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16709
16710 * saveplace.el (save-place-ignore-files-regexp): New variable
16711 allowing for excluding files from saving their location of point.
16712 The default value matches the temporary commit message editing
16713 files from Git, SVN, Bazaar, and Mercurial.
16714 (save-place-to-alist): Use it.
16715
16716 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16717 Stefan Monnier <monnier@iro.umontreal.ca>
16718
16719 * newcomment.el (uncomment-region-default): Don't leave extra space
16720 when an arg is provided (bug#8150).
16721
16722 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16723
16724 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16725
16726 2012-02-17 Glenn Morris <rgm@gnu.org>
16727
16728 * net/socks.el: Require network-stream. (Bug#10599)
16729
16730 2012-02-17 Kenichi Handa <handa@m17n.org>
16731
16732 * international/charprop.el:
16733 * international/uni-name.el:
16734 * international/uni-old-name.el:
16735 * international/uni-comment.el: Regenerate.
16736
16737 2012-02-16 Glenn Morris <rgm@gnu.org>
16738
16739 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16740 Interactively in calendar buffer, give an error if not on a date.
16741
16742 2012-02-15 Glenn Morris <rgm@gnu.org>
16743
16744 * shell.el (shell-delimiter-argument-list):
16745 Revert 2011-02-17 change. (Bug#8027)
16746
16747 2012-02-15 Chong Yidong <cyd@gnu.org>
16748
16749 * minibuffer.el (completion-at-point-functions): Doc fix.
16750
16751 * custom.el (defcustom): Doc fix; note use of defvar.
16752
16753 2012-02-15 Glenn Morris <rgm@gnu.org>
16754
16755 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16756 Doc fixes.
16757
16758 2012-02-14 Glenn Morris <rgm@gnu.org>
16759
16760 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16761
16762 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16763
16764 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16765 way the ports list is computed.
16766 (smtpmail-query-smtp-server): Prompt the user for a port number if
16767 we can't connect to any of the standard ports (bug#10810).
16768
16769 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16770
16771 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16772
16773 2012-02-13 Glenn Morris <rgm@gnu.org>
16774
16775 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16776
16777 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16778
16779 * net/gnutls.el (gnutls-trustfiles): New variable.
16780 (gnutls-negotiate): Use it.
16781
16782 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16783
16784 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16785 does its stuff if Gnus is running.
16786
16787 2012-02-13 Alan Mackenzie <acm@muc.de>
16788
16789 Fix a loop in c-set-fl-decl-start.
16790
16791 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16792 c-backward-syntactic-ws actually moves backwards.
16793
16794 2012-02-13 Leo Liu <sdl.web@gmail.com>
16795
16796 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16797 beginning so that all \C-o chars are removed.
16798
16799 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16800
16801 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16802
16803 2012-02-12 Alan Mackenzie <acm@muc.de>
16804
16805 Fix infinite loop with long macros.
16806 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16807
16808 2012-02-12 Chong Yidong <cyd@gnu.org>
16809
16810 * window.el (display-buffer): Doc fix (Bug#10785).
16811
16812 2012-02-12 Glenn Morris <rgm@gnu.org>
16813
16814 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16815 (x-disown-selection-internal, x-get-selection-internal):
16816 Sync docs with the xselect.c versions.
16817
16818 * allout-widgets.el: Add missing license notice.
16819
16820 2012-02-11 Glenn Morris <rgm@gnu.org>
16821
16822 * select.el (x-get-selection-internal, x-own-selection-internal)
16823 (x-disown-selection-internal):
16824 * x-dnd.el (x-get-selection-internal): Update declarations.
16825
16826 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16827
16828 * window.el (window-sides-slots):
16829 * tool-bar.el (tool-bar-position):
16830 * term/xterm.el (xterm-extra-capabilities):
16831 * ses.el (ses-self-reference-early-detection):
16832 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16833 (verilog-auto-wire-type)
16834 (verilog-auto-delete-trailing-whitespace)
16835 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16836 (verilog-auto-tieoff-declaration):
16837 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16838 (sql-oracle-statement-starters, sql-oracle-scan-on):
16839 * progmodes/prolog.el (prolog-align-comments-flag)
16840 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16841 (prolog-left-indent-regexp, prolog-paren-indent-p)
16842 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16843 (prolog-types, prolog-mode-specificators)
16844 (prolog-determinism-specificators, prolog-directives)
16845 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16846 (prolog-electric-dot-flag)
16847 (prolog-electric-dot-full-predicate-template)
16848 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16849 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16850 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16851 (prolog-program-switches, prolog-prompt-regexp)
16852 (prolog-debug-on-string, prolog-debug-off-string)
16853 (prolog-trace-on-string, prolog-trace-off-string)
16854 (prolog-zip-on-string, prolog-zip-off-string)
16855 (prolog-use-standard-consult-compile-method-flag)
16856 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16857 (prolog-imenu-max-lines, prolog-info-predicate-index)
16858 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16859 (prolog-char-quote-workaround):
16860 * progmodes/cc-vars.el (c-defun-tactic):
16861 * net/tramp.el (tramp-encoding-command-interactive)
16862 (tramp-local-end-of-line):
16863 * net/soap-client.el (soap-client):
16864 * net/netrc.el (netrc-file):
16865 * net/gnutls.el (gnutls):
16866 * minibuffer.el (completion-category-overrides)
16867 (completion-cycle-threshold)
16868 (completion-pcm-complete-word-inserts-delimiters):
16869 * man.el (Man-name-local-regexp):
16870 * mail/feedmail.el (feedmail-display-full-frame):
16871 * international/characters.el (glyphless-char-display-control):
16872 * eshell/em-ls.el (eshell-ls-date-format):
16873 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16874 (lisp-lambda-list-keyword-parameter-indentation)
16875 (lisp-lambda-list-keyword-parameter-alignment):
16876 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16877 * dired-x.el (dired-omit-verbose):
16878 * cus-theme.el (custom-theme-allow-multiple-selections):
16879 * calc/calc.el (calc-highlight-selections-with-faces)
16880 (calc-lu-field-reference, calc-lu-power-reference)
16881 (calc-note-threshold):
16882 * battery.el (battery-mode-line-limit):
16883 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16884 (archive-7z-update):
16885 * allout.el (allout-prefixed-keybindings)
16886 (allout-unprefixed-keybindings)
16887 (allout-inhibit-auto-fill-on-headline)
16888 (allout-flattened-numbering-abbreviation):
16889 * allout-widgets.el (allout-widgets-auto-activation)
16890 (allout-widgets-icons-dark-subdir)
16891 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16892 (allout-widgets-theme-dark-background)
16893 (allout-widgets-theme-light-background)
16894 (allout-widgets-item-image-properties-emacs)
16895 (allout-widgets-item-image-properties-xemacs)
16896 (allout-widgets-run-unit-tests-on-load)
16897 (allout-widgets-time-decoration-activity)
16898 (allout-widgets-hook-error-post-time)
16899 (allout-widgets-track-decoration):
16900 Add missing :version tags to new defcustoms and defgroups.
16901
16902 * progmodes/sql.el (sql-ansi-statement-starters)
16903 (sql-oracle-statement-starters): Add custom type.
16904
16905 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16906 (prolog-system-version): Give it a type.
16907
16908 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16909
16910 * term/pc-win.el (x-select-text, x-selection-owner-p)
16911 (x-own-selection-internal, x-disown-selection-internal)
16912 (x-get-selection-internal): Sync doc strings and argument lists
16913 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16914
16915 2012-02-11 Leo Liu <sdl.web@gmail.com>
16916
16917 * progmodes/python.el (python-end-of-statement): Fix infinite
16918 loop. (Bug#10788)
16919
16920 2012-02-10 Glenn Morris <rgm@gnu.org>
16921
16922 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16923 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16924
16925 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16926
16927 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16928 about SMTP before checking the From header.
16929
16930 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16931 into own function for reuse by emacsbug.el.
16932
16933 2012-02-10 Leo Liu <sdl.web@gmail.com>
16934
16935 * subr.el (condition-case-unless-debug): Rename from
16936 condition-case-no-debug. All callers changed.
16937 (with-demoted-errors): Fix caller.
16938
16939 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16940 * nxml/rng-valid.el (rng-do-some-validation):
16941 * emacs-lisp/package.el (package-refresh-contents)
16942 (package-menu-execute):
16943 * desktop.el (desktop-create-buffer):
16944 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16945
16946 2012-02-10 Glenn Morris <rgm@gnu.org>
16947
16948 * textmodes/bibtex.el:
16949 Add missing :version tags for new/changed defcustoms.
16950
16951 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16952
16953 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16954
16955 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16956 (smtpmail-via-smtp): Use it, or fall back on the From address.
16957 (smtpmail-send-it): Ditto.
16958
16959 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16960
16961 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16962 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16963 (byte-compile-tmp-var): New const.
16964 (byte-compile-defvar): Use it to minimize .elc size.
16965 Just use `defvar' rather than simulate it (bug#10761).
16966
16967 2012-02-09 Glenn Morris <rgm@gnu.org>
16968
16969 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16970
16971 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16972 Add :version tags.
16973
16974 * progmodes/compile.el (compilation-error-screen-columns)
16975 (compilation-first-column, compilation-filter-start): Doc fixes.
16976
16977 * vc/log-view.el (log-view-toggle-entry-display):
16978 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16979
16980 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16981 (report-emacs-bug-can-use-xdg-email):
16982 (report-emacs-bug-insert-to-mailer): Doc fixes.
16983 (report-emacs-bug): Message fix.
16984
16985 * net/browse-url.el (browse-url-can-use-xdg-open)
16986 (browse-url-xdg-open): Doc fixes.
16987
16988 * electric.el (electric-indent-mode, electric-pair-mode)
16989 (electric-layout-rules, electric-layout-mode): Doc fixes.
16990 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16991
16992 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16993
16994 * server.el (server-unselect-display): Don't inadvertently kill
16995 the current buffer. (Bug#10729)
16996
16997 2012-02-08 Glenn Morris <rgm@gnu.org>
16998
16999 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17000 (sql-list-table): Doc fixes.
17001
17002 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17003 Comment out (does nothing).
17004
17005 * completion.el (dynamic-completion-mode):
17006 * dirtrack.el (dirtrack-debug-mode):
17007 * electric.el (electric-layout-mode):
17008 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17009 * face-remap.el (text-scale-mode, buffer-face-mode):
17010 * iimage.el (iimage-mode):
17011 * image-mode.el (image-transform-mode):
17012 * minibuffer.el (completion-in-region-mode):
17013 * scroll-lock.el (scroll-lock-mode):
17014 * simple.el (next-error-follow-minor-mode):
17015 * tar-mode.el (tar-subfile-mode):
17016 * tooltip.el (tooltip-mode):
17017 * vcursor.el (vcursor-use-vcursor-map):
17018 * wid-browse.el (widget-minor-mode):
17019 * emulation/tpu-edt.el (tpu-edt-mode):
17020 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17021 * international/iso-ascii.el (iso-ascii-mode):
17022 * language/thai-util.el (thai-word-mode):
17023 * mail/supercite.el (sc-minor-mode):
17024 * net/goto-addr.el (goto-address-mode):
17025 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17026 * progmodes/cwarn.el (cwarn-mode):
17027 * progmodes/flymake.el (flymake-mode):
17028 * progmodes/glasses.el (glasses-mode):
17029 * progmodes/hideshow.el (hs-minor-mode):
17030 * progmodes/pascal.el (pascal-outline-mode):
17031 * textmodes/enriched.el (enriched-mode):
17032 * vc/smerge-mode.el (smerge-mode):
17033 Doc fixes (minor mode argument).
17034
17035 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17036
17037 * ls-lisp.el (ls-lisp-sanitize): New function.
17038 (ls-lisp-insert-directory): Use it to fix or remove any elements
17039 in file-alist with missing attributes. (Bug#4673)
17040
17041 2012-02-07 Alan Mackenzie <acm@muc.de>
17042
17043 Fix spurious recognition of c-in-knr-argdecl.
17044
17045 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17046 putative K&R region.
17047
17048 2012-02-07 Alan Mackenzie <acm@muc.de>
17049
17050 * progmodes/cc-engine.el (c-forward-objc-directive):
17051 Prevent looping in "#pragma mark @implementation".
17052
17053 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17054
17055 * notifications.el (notifications-on-closed-signal): Make `reason'
17056 optional. (Bug#10744)
17057
17058 2012-02-07 Glenn Morris <rgm@gnu.org>
17059
17060 * emacs-lisp/easy-mmode.el (define-minor-mode):
17061 Doc fixes for the macro and the mode it defines.
17062
17063 * image.el (imagemagick-types-inhibit): Doc fix.
17064
17065 * cus-start.el (imagemagick-render-type): Add it.
17066
17067 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17068
17069 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17070 Set the default at load time, too, so that `font-lock-fontify-buffer'
17071 can be called without setting up the entire mode first. This fixes
17072 a bug in `mm-inline-text' with C MIME parts.
17073
17074 2012-02-06 Chong Yidong <cyd@gnu.org>
17075
17076 * simple.el (list-processes--refresh): Delete exited processes
17077 (Bug#8094).
17078
17079 * comint.el (comint-next-prompt): next-single-char-property-change
17080 and prev-single-char-property-change never return nil (Bug#8657).
17081
17082 * custom.el (defcustom): Doc fix (Bug#9711).
17083
17084 2012-02-05 Chong Yidong <cyd@gnu.org>
17085
17086 * cus-edit.el (custom-variable-reset-backup): Quote the value
17087 before storing it in the customized-value property (Bug#6712).
17088 (custom-display): Add a customization type tag.
17089 (custom-buffer-create-internal): Improve tooltip message.
17090
17091 * wid-edit.el (widget-field-value-get): New optional arg to
17092 suppress trailing whitespace truncation.
17093 (character): Use it (Bug#2689).
17094
17095 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17096
17097 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17098 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17099
17100 2012-02-05 Chong Yidong <cyd@gnu.org>
17101
17102 * cus-edit.el (custom-variable-value-create): For mismatched
17103 types, show the current value (Bug#7600).
17104
17105 * custom.el (defcustom): Doc fix.
17106
17107 2012-02-05 Glenn Morris <rgm@gnu.org>
17108
17109 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17110
17111 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17112
17113 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17114 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17115 (pp-last-sexp): Use `looking-at-p'.
17116
17117 2012-02-04 Glenn Morris <rgm@gnu.org>
17118
17119 * files.el (revert-buffer):
17120 Doc fix (mention revert-buffer-in-progress-p).
17121
17122 * emacs-lisp/ert-x.el (ert-simulate-command):
17123 Check deferred-action-list (which is obsolete) is bound.
17124
17125 * subr.el (with-wrapper-hook): Doc fixes.
17126
17127 * simple.el (filter-buffer-substring-functions)
17128 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17129
17130 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17131
17132 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17133 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17134
17135 2012-02-04 Leo Liu <sdl.web@gmail.com>
17136
17137 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17138
17139 2012-02-04 Glenn Morris <rgm@gnu.org>
17140
17141 * image.el (image-extension-data): Add obsolete alias.
17142
17143 * isearch.el (isearch-update): Doc fix.
17144
17145 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17146
17147 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17148
17149 2012-02-03 Glenn Morris <rgm@gnu.org>
17150
17151 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17152 (image-animate-timeout): Doc fix.
17153
17154 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17155
17156 2012-02-02 Glenn Morris <rgm@gnu.org>
17157
17158 * server.el (server-auth-dir): Doc fix.
17159 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17160
17161 * subr.el (run-mode-hooks): Doc fix.
17162
17163 2012-02-02 Juri Linkov <juri@jurta.org>
17164
17165 * image-mode.el (image-toggle-display-image): Remove tautological
17166 `major-mode' from the `derived-mode-p' test.
17167
17168 2012-02-02 Kenichi Handa <handa@m17n.org>
17169
17170 * composite.el (compose-region): Cancel previous change.
17171
17172 2012-02-02 Kenichi Handa <handa@m17n.org>
17173
17174 * composite.el (compose-region, compose-string): Signal error for
17175 a null string component (Bug#6988).
17176
17177 2012-02-01 Chong Yidong <cyd@gnu.org>
17178
17179 * view.el (view-buffer-other-window, view-buffer-other-frame):
17180 Handle special modes like view-buffer (Bug#10650).
17181 (view-buffer): Simplify.
17182
17183 * frame.el (set-frame-font): Tweak meaning of third argument.
17184
17185 * dynamic-setting.el (font-setting-change-default-font):
17186 Use set-frame-font (Bug#9982).
17187
17188 2012-02-01 Glenn Morris <rgm@gnu.org>
17189
17190 * progmodes/compile.el (compilation-internal-error-properties):
17191 Respect compilation-first-column in the "*compilation*" buffer.
17192
17193 * emacs-lisp/easy-mmode.el (define-minor-mode):
17194 Relax :variable's test for a named function.
17195
17196 2012-01-31 Alan Mackenzie <acm@muc.de>
17197
17198 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17199 off by one error.
17200
17201 2012-01-31 Chong Yidong <cyd@gnu.org>
17202
17203 * frame.el (set-frame-font): New arg ALL-FRAMES.
17204
17205 * menu-bar.el (menu-set-font): Use set-frame-font.
17206
17207 * faces.el (face-spec-reset-face): Don't apply unspecified
17208 attribute values to the default face.
17209
17210 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17211
17212 * progmodes/cwarn.el (cwarn): Remove dead link.
17213 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17214 Remove * from defcustom docstrings.
17215 (turn-on-cwarn-mode): Make obsolete.
17216 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17217 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17218
17219 2012-01-31 Glenn Morris <rgm@gnu.org>
17220
17221 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17222 Fix :variable handling of mode a symbol not equal to modefun.
17223 Allow named functions to be used as the cdr of :variable.
17224
17225 2012-01-30 Glenn Morris <rgm@gnu.org>
17226
17227 * emacs-lisp/authors.el (authors-fixed-entries):
17228 Remove reference to deleted file rnewspost.el.
17229
17230 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17231
17232 * window.el (window-with-parameter): Remove unused variable `windows'.
17233 (window--side-check): Remove unused variable `code'.
17234 (window--resize-siblings): Remove unused variable `first'.
17235 (adjust-window-trailing-edge): Remove unused variable `failed'.
17236 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17237 Use `let', not `let*'.
17238 (balance-windows-2): Remove unused variable `found'.
17239 (window--state-put-2): Remove unused variable `splits'.
17240 (window-state-put): Remove unused variable `selected'.
17241 (same-window-p): Use `string-match-p'.
17242 (display-buffer-assq-regexp): Remove unused variable `value'.
17243 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17244 Mark argument ALIST as ignored.
17245 (pop-to-buffer): Remove unused variable `old-window'.
17246
17247 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17248
17249 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17250 and .lzma compressed files.
17251
17252 2012-01-29 Chong Yidong <cyd@gnu.org>
17253
17254 * frame.el (window-system-default-frame-alist): Doc fix.
17255
17256 * dynamic-setting.el (font-setting-change-default-font): Don't
17257 change the default face if SET-FONT argument is non-nil (Bug#9982).
17258
17259 2012-01-29 Samuel Bronson <naesten@gmail.com>
17260
17261 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17262
17263 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17264
17265 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17266 breakpoints in files outside current directory (Bug#6098).
17267
17268 2012-01-29 Chong Yidong <cyd@gnu.org>
17269
17270 * progmodes/python.el: Require ansi-color at top-level.
17271
17272 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17273 Define and use in Emacs Lisp mode (Bug#9360).
17274 (lisp-mode-abbrev-table): Add doc.
17275 (lisp-mode-variables): Don't set local-abbrev-table.
17276 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17277
17278 2012-01-28 Roland Winkler <winkler@gnu.org>
17279
17280 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17281
17282 2012-01-28 Roland Winkler <winkler@gnu.org>
17283
17284 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17285 (bibtex-set-dialect): Use it. Either set global values of
17286 dialect-dependent variables or bind these variables buffer-locally
17287 (Bug#10254).
17288 (bibtex-mode): Call bibtex-set-dialect via
17289 hack-local-variables-hook.
17290 (bibtex-dialect): Update docstring.
17291 Add safe-local-variable predicate.
17292 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17293 bibtex-set-dialect.
17294 (bibtex-mode-map): Define menu for each dialect.
17295 (bibtex-entry): Fix docstring.
17296
17297 2012-01-28 Chong Yidong <cyd@gnu.org>
17298
17299 * eshell/esh-arg.el (eshell-quote-argument): New function.
17300
17301 * eshell/esh-ext.el (eshell-invoke-batch-file):
17302 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17303 first arg to eshell-parse-command (Bug#10523).
17304
17305 2012-01-28 Drew Adams <drew.adams@oracle.com>
17306
17307 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17308 `default-directory' is non-nil.
17309
17310 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17311
17312 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17313 line that displays system-configuration-options. (Bug#9924)
17314
17315 2012-01-28 Drew Adams <drew.adams@oracle.com>
17316
17317 * descr-text.el (describe-char): Show information about POS, in
17318 addition to information about the character at POS. Improve and
17319 update the doc string. Change "code point" to "code point in
17320 charset", to avoid confusion with the character's Unicode code
17321 point shown above that. (Bug#10129)
17322
17323 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17324
17325 * descr-text.el (describe-char): Show the raw character, not only
17326 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17327 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17328 for the reasons.
17329
17330 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17331
17332 * emacs-lisp/package.el (package-install):
17333 Run package-refresh-contents if there is no archive yet (Bug#9798).
17334
17335 2012-01-28 Chong Yidong <cyd@gnu.org>
17336
17337 * emacs-lisp/package.el (package-maybe-load-descriptor):
17338 New function, split from package-maybe-load-descriptor.
17339 (package-maybe-load-descriptor): Use it.
17340 (package-download-transaction): Fully load required packages
17341 inside the loop, so that `require' calls work (Bug#10593).
17342 (package-install): No need to call package-initialize now.
17343
17344 2012-01-28 Chong Yidong <cyd@gnu.org>
17345
17346 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17347
17348 * tooltip.el (tooltip-mode): Doc fix.
17349 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17350
17351 * frame.el (set-cursor-color): Doc fix (Bug#352).
17352
17353 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17354 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17355
17356 * cus-edit.el (custom-buffer-create-internal): Fix search button
17357 action (Bug#10542).
17358 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17359
17360 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17361
17362 * dired.el (dired-mark-files-regexp):
17363 Include any subdirectory components. (Bug#10445)
17364
17365 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17366
17367 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17368 Handle [host]:port syntax. (Bug#10533)
17369
17370 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17371
17372 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17373
17374 2012-01-26 Glenn Morris <rgm@gnu.org>
17375
17376 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17377 * term.el (term-raw-escape-map): Use Control-X-prefix.
17378 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17379
17380 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17381
17382 * window.el (window-state-get, window--state-get-1): Don't deal
17383 with fixed-sizeness of windows. Simplify code.
17384
17385 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17386
17387 * window.el (window--state-get-1, window--state-put-2):
17388 Don't save and restore the mark.
17389
17390 2012-01-25 Chong Yidong <cyd@gnu.org>
17391
17392 * custom.el (custom-variable-p): Doc fix.
17393
17394 2012-01-25 Glenn Morris <rgm@gnu.org>
17395
17396 * dired.el (dired-goto-file): Handle some of the more common
17397 characters that `ls -b' escapes. (Bug#10596)
17398
17399 * progmodes/compile.el (compilation-next-error-function):
17400 Respect compilation-first-column in the "*compilation*" buffer.
17401 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17402
17403 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17404
17405 2012-01-24 Glenn Morris <rgm@gnu.org>
17406
17407 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17408
17409 2012-01-24 Julien Danjou <julien@danjou.info>
17410
17411 * color.el (color-rgb-to-hsl): Fix value computing.
17412 (color-hue-to-rgb): New function.
17413 (color-hsl-to-rgb): New function.
17414 (color-clamp, color-saturate-hsl, color-saturate-name)
17415 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17416 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17417
17418 2012-01-24 Glenn Morris <rgm@gnu.org>
17419
17420 * vc/vc-rcs.el (vc-rcs-create-tag):
17421 * vc/vc-sccs.el (vc-sccs-create-tag):
17422 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17423
17424 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17425
17426 * eshell/esh-util.el (eshell-read-hosts-file):
17427 Skip comment lines. (Bug#10549)
17428
17429 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17430
17431 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17432
17433 * subr.el (display-delayed-warnings): Doc fix.
17434 (collapse-delayed-warnings): New function to collapse identical
17435 adjacent warnings.
17436 (delayed-warnings-hook): Add it.
17437
17438 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17439
17440 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17441
17442 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17443 (tramp-default-user-alist): Don't add "pscp".
17444 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17445 property "login-as", if set. (Bug#10530)
17446
17447 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17448
17449 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17450 "plink1" and "psftp". (Bug#10530)
17451
17452 2012-01-21 Kenichi Handa <handa@m17n.org>
17453
17454 * international/mule-cmds.el (prefer-coding-system): Show a
17455 warning message if the default value of file-name-coding-system
17456 was not changed.
17457
17458 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17459
17460 * windmove.el (windmove-reference-loc):
17461 Fix windmove-reference-loc miscalculation.
17462
17463 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17464
17465 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17466 default unit.
17467
17468 2012-01-21 Glenn Morris <rgm@gnu.org>
17469
17470 * international/mule.el (auto-coding-alist): Add .tbz.
17471
17472 * files.el (local-enable-local-variables): Doc fix.
17473 (inhibit-local-variables-regexps): Rename from
17474 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17475 Doc fix. Add some extensions from auto-coding-alist.
17476 (inhibit-local-variables-suffixes):
17477 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17478 (inhibit-local-variables-p):
17479 New function, extracted from set-auto-mode-1.
17480 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17481 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17482 (hack-local-variables): Doc fix. Make the mode-only case
17483 respect enable-local-variables and friends.
17484 Respect inhibit-local-variables-regexps for file-locals, but
17485 not for directory-locals.
17486 (set-visited-file-name):
17487 Take account of inhibit-local-variables-regexps.
17488 Whether it applies may change as the file name is changed.
17489 * jka-cmpr-hook.el (jka-compr-install):
17490 * jka-compr.el (jka-compr-uninstall):
17491 Update for inhibit-first-line-modes-suffixes name change.
17492
17493 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17494
17495 * help-macro.el (make-help-screen): Temporarily restore original
17496 binding for minor-mode-map-alist (Bug#10454).
17497
17498 2012-01-19 Julien Danjou <julien@danjou.info>
17499
17500 * color.el (color-name-to-rgb): Use the white color to find the max
17501 color component value and return correctly computed values.
17502 (color-name-to-rgb): Add missing float conversion for max value.
17503
17504 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17505
17506 * window.el (window--state-get-1, window-state-get): Do not use
17507 special state value for window-persistent-parameters.
17508 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17509 (window--state-put-2): Reset all window parameters to nil before
17510 assigning values of persistent parameters.
17511
17512 2012-01-18 Alan Mackenzie <acm@muc.de>
17513
17514 Eliminate sluggishness and hangs in fontification of "semicolon
17515 deserts".
17516
17517 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17518 Change value 10000 -> 3000.
17519 (c-state-safe-place): Reformulate so it doesn't stack up an
17520 infinite number of wrong entries in c-state-nonlit-pos-cache.
17521 (c-determine-limit-get-base, c-determine-limit): New functions to
17522 determine backward search limits disregarding literals.
17523 (c-find-decl-spots): Amend commenting.
17524 (c-cheap-inside-bracelist-p): New function which detects "={".
17525
17526 * progmodes/cc-fonts.el
17527 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17528 backward search.
17529 (c-font-lock-declarations): Fix an occurrence of point being
17530 undefined. Check additionally for point being in a bracelist or
17531 near a macro invocation without a semicolon so as to avoid a
17532 fruitless time consuming search for a declarator. Give a more
17533 precise search limit for declarators using the new
17534 c-determine-limit.
17535
17536 2012-01-18 Glenn Morris <rgm@gnu.org>
17537
17538 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17539 (set-auto-mode): Doc fixes.
17540
17541 2012-01-17 Glenn Morris <rgm@gnu.org>
17542
17543 * isearch.el (search-nonincremental-instead): Fix doc typo.
17544
17545 * dired.el (dired-insert-directory): Handle newlines in directory name.
17546 (dired-build-subdir-alist): Unescape newlines in directory name.
17547
17548 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17549
17550 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17551 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17552 (tramp-action-terminal): Use it. (Bug#10530)
17553
17554 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17555
17556 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17557
17558 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17559
17560 * window.el (window-state-ignored-parameters): Remove variable.
17561 (window--state-get-1): Rename argument MARKERS to IGNORE.
17562 Handle persistent window parameters. Make copy of clone-of
17563 parameter only if requested. (Bug#10348)
17564 (window--state-put-2): Install a window parameter only if it has
17565 a non-nil value or an existing parameter shall be overwritten.
17566
17567 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17568
17569 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17570
17571 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17572
17573 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17574 don't pass the (nil) value of `upnode' to string-match.
17575
17576 2012-01-14 Chong Yidong <cyd@gnu.org>
17577
17578 * startup.el (command-line): Fix X resource class for cursorColor.
17579 Fix values recognized by the cursorBlink resource.
17580
17581 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17582
17583 * epg.el (epg--make-temp-file): Avoid permission race condition
17584 when running on old Emacs versions (bug#10403).
17585
17586 2012-01-14 Glenn Morris <rgm@gnu.org>
17587
17588 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17589
17590 2012-01-13 Alan Mackenzie <acm@muc.de>
17591
17592 Fix filling for when filladapt mode is enabled.
17593
17594 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17595 c-mask-paragraph, pass in `fill-paragraph' rather than
17596 `fill-region-as-paragraph'. (This is a reversion of a previous
17597 change.)
17598 * progmodes/cc-mode.el (c-basic-common-init):
17599 Make fill-paragraph-handle-comment buffer local and set it to nil.
17600
17601 2012-01-13 Glenn Morris <rgm@gnu.org>
17602
17603 * dired.el (dired-switches-escape-p): New function.
17604 (dired-insert-directory): Use dired-switches-escape-p.
17605 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17606
17607 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17608
17609 2012-01-12 Glenn Morris <rgm@gnu.org>
17610
17611 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17612 changes in adaptive-fill-regexp. (Bug#10276)
17613
17614 2012-01-11 Alan Mackenzie <acm@muc.de>
17615
17616 Fix Emacs bug #10463 - put `widen's around the critical spots.
17617
17618 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17619 widen around each invocation of c-state-pp-to-literal. Remove an
17620 unused let variable.
17621
17622 2012-01-11 Glenn Morris <rgm@gnu.org>
17623
17624 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17625 Doc fix.
17626
17627 2012-01-10 Chong Yidong <cyd@gnu.org>
17628
17629 * net/network-stream.el (network-stream-open-starttls):
17630 Avoid emitting a confusing error message when the server gives a bad
17631 response to the capability command.
17632
17633 2012-01-10 Glenn Morris <rgm@gnu.org>
17634
17635 * mail/unrmail.el (unrmail): Tweak previous change.
17636
17637 2012-01-09 Chong Yidong <cyd@gnu.org>
17638
17639 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17640
17641 2012-01-08 Alan Mackenzie <acm@muc.de>
17642
17643 Optimize font locking in long enum definitions.
17644
17645 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17646 arm to a cond form to handle enums.
17647 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17648 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17649
17650 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17651
17652 * files.el (move-file-to-trash): Preserve default file modes on error.
17653 (Bug#10401)
17654
17655 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17656
17657 * faces.el (set-face-attribute): Clarify the meaning of the nil
17658 frame (bug#10294).
17659
17660 * subr.el (with-selected-frame): Mention that the selected frame
17661 is restored (bug#9980).
17662
17663 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17664 (bug#9759).
17665
17666 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17667 (password-read): Don't autoload unused function.
17668
17669 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17670
17671 * progmodes/which-func.el (which-func-mode): Turn into a
17672 non-interactive function and mark as obsolete (bug#10428).
17673
17674 2012-01-06 Chong Yidong <cyd@gnu.org>
17675
17676 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17677 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17678 functions, along with 1 and -1.
17679
17680 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17681
17682 * time.el (display-time-load-average)
17683 (display-time-default-load-average): Doc fixes. See the thread
17684 starting at
17685 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17686 for the details.
17687
17688 2012-01-06 Glenn Morris <rgm@gnu.org>
17689
17690 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17691 has no messages. (Bug#10377)
17692
17693 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17694 than Info-edit. (Bug#10385)
17695
17696 * time.el (display-time-load-average, display-time-next-load-average):
17697 Doc fixes.
17698
17699 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17700 local setting of buffer-read-only to the input buffer. (Bug#10419)
17701
17702 * calendar/calendar.el (calendar-mode):
17703 Locally set scroll-margin to 0. (Bug#10379)
17704
17705 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17706
17707 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17708
17709 2012-01-05 Glenn Morris <rgm@gnu.org>
17710
17711 * eshell/em-unix.el (diff-no-select): Autoload it.
17712 (eshell/diff): Use diff-no-select. (Bug#10420)
17713
17714 2012-01-05 Chong Yidong <cyd@gnu.org>
17715
17716 * shell.el (shell-dynamic-complete-functions): Revert last change.
17717 (shell-command-completion-function): New function.
17718 (shell-completion-vars): Use it to implement
17719 shell-completion-execonly (Bug#10417).
17720
17721 * custom.el (enable-theme): Don't set custom-safe-themes.
17722
17723 * cus-theme.el (custom-theme-merge-theme):
17724 Ignore custom-enabled-themes and custom-safe-themes.
17725
17726 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17727
17728 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17729 first prompt in `sql-interacive-mode'.
17730 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17731 keywords.
17732 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17733 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17734 context of original buffer. Invoke `sql-login-hook'.
17735
17736 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17737
17738 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17739 letters in cite-prefix.
17740
17741 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17742
17743 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17744
17745 2012-01-03 Chong Yidong <cyd@gnu.org>
17746
17747 * shell.el (shell-dynamic-complete-functions):
17748 Put pcomplete-completions-at-point, so as to try
17749 comint-filename-completion first (Bug#10417).
17750
17751 2012-01-02 Richard Stallman <rms@gnu.org>
17752
17753 * battery.el (battery-status-function):
17754 Detect when to use battery-yeeloong-sysfs.
17755 (battery-echo-area-format): Add string for Yeeloong.
17756 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17757 (battery-yeeloong-sysfs): New function.
17758
17759 2012-01-02 Chong Yidong <cyd@gnu.org>
17760
17761 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17762 (dirtrack): Merge code for handling relative filenames in prompt
17763 from shell-dir-cookie-watcher.
17764 (dirtrack-debug-message): New arg to avoid excess format calls.
17765
17766 * shell.el (shell-dir-cookie-re): Variable deleted.
17767 (shell-dir-cookie-watcher): Function deleted.
17768 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17769 with dirtrack-mode.
17770
17771 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17772
17773 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17774 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17775 libgnutls-26.dll.
17776
17777 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17778
17779 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17780
17781 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17782
17783 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17784 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17785
17786 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17787
17788 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17789 also for alternative shells.
17790 (tramp-open-connection-setup-interactive-shell): Check, whether
17791 the shell is a busybox.
17792 (tramp-send-command): Don't suppress multiple prompts for
17793 busyboxes, it hurts.
17794
17795 2011-12-28 Chong Yidong <cyd@gnu.org>
17796
17797 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17798 (gdb-get-source-file): Move mode line update to
17799 gdb-get-source-file (Bug#10087).
17800
17801 2011-12-25 Chong Yidong <cyd@gnu.org>
17802
17803 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17804 gud-gdb-marker-filter without taking it as an argument.
17805 (gud-gdb-run-command-fetch-lines): Caller changed.
17806 (gud-gdb-completion-function): New variable.
17807 (gud-gdb-completion-at-point): Use it.
17808 (gud-gdb-completions-1): Split from gud-gdb-completions.
17809
17810 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17811 function as separate arguments.
17812 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17813 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17814 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17815 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17816 (gdb-stopped, def-gdb-auto-update-trigger)
17817 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17818 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17819 Callers changed.
17820 (gud-gdbmi-completions): New function.
17821 (gdb): Use it for generating the completion table.
17822
17823 2011-12-24 Alan Mackenzie <acm@muc.de>
17824
17825 Introduce a mechanism to widen the region used in context font
17826 locking. Use this to protect declarations from losing their contexts.
17827
17828 * progmodes/cc-langs.el (c-before-font-lock-functions):
17829 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17830 (c-before-context-fontification-functions): New defvar, a list of
17831 functions to be run just before context (etc.) font locking.
17832
17833 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17834 New, functionality extracted from
17835 c-neutralize-syntax-in-and-mark-CPP.
17836 (c-in-after-change-fontification): New variable.
17837 (c-after-change): Set c-in-after-change-fontification.
17838 (c-set-fl-decl-start): Rejig its interface, so it can be called
17839 from both after-change and context fontifying.
17840 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17841 New functions.
17842 (c-standard-font-lock-fontify-region-function): New variable.
17843 (c-font-lock-fontify-region): New function.
17844
17845 2011-12-24 Juri Linkov <juri@jurta.org>
17846
17847 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17848 (Bug#10348)
17849
17850 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17851
17852 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17853 existence of source file. (Bug#10325)
17854
17855 2011-12-23 Alan Mackenzie <acm@muc.de>
17856
17857 Fix unstable fontification inside templates.
17858
17859 * progmodes/cc-langs.el (c-before-font-lock-functions):
17860 Newly created from the singular version. The (c c++ objc) entry now
17861 additionally has c-set-fl-decl-start. The other languages (apart
17862 from AWK) have that as a single entry.
17863
17864 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17865 The functionality for "local" declarations has been extracted to
17866 c-set-fl-decl-start.
17867
17868 * progmodes/cc-mode.el (c-common-init, c-after-change):
17869 Changes due to pluralisation of c-before-font-lock-functions.
17870 (c-set-fl-decl-start): New function, extracted from
17871 c-font-lock-enclosing-decls and enhanced.
17872
17873 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17874
17875 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17876
17877 2011-12-22 Juri Linkov <juri@jurta.org>
17878
17879 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17880
17881 2011-12-22 Chong Yidong <cyd@gnu.org>
17882
17883 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17884
17885 2011-12-21 Drew Adams <drew.adams@oracle.com>
17886
17887 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17888
17889 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17890
17891 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17892
17893 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17894
17895 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17896 highlighting and support. Fix up comments for capitalization.
17897 (cfengine-mode-debug): New var.
17898 (cfengine3-mode): Change the modeline indicator to "CFE3".
17899 (cfengine3-font-lock-keywords): Improve defun highlighting.
17900 (cfengine2-actions): Rename from `cfengine-actions'.
17901 (cfengine2-font-lock-keywords): Rename from
17902 `cfengine-font-lock-keywords'.
17903 (cfengine2-imenu-expression): Rename from
17904 `cfengine-imenu-expression'.
17905 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17906 (cfengine2-beginning-of-defun): Rename from
17907 `cfengine-beginning-of-defun'.
17908 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17909 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17910 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17911 modeline indicator to "CFE2".
17912 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17913 (cfengine-mode-abbrevs): Mark obsolete.
17914
17915 2011-12-21 Chong Yidong <cyd@gnu.org>
17916
17917 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17918 filename argument.
17919
17920 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17921
17922 * window.el (window-normalize-buffer-to-display): Remove.
17923 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17924
17925 2011-12-19 Chong Yidong <cyd@gnu.org>
17926
17927 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17928 Don't signal an error in a predicate function; return non-nil.
17929 (vc-dir-mark-file): Move the error here.
17930 (vc-dir-mark-unmark): If acting on the region, keep going if one
17931 of the entries cannot be marked/unmarked.
17932 (vc-dir-mark-all-files): If current entry is a directory, mark
17933 only child files, as documented.
17934
17935 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17936
17937 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17938 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17939 addition.
17940
17941 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17942
17943 * term/ns-win.el (ns-get-selection-internal)
17944 (ns-store-selection-internal): Declare.
17945 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17946 Declare as obsolete.
17947 (ns-get-pasteboard, ns-paste-secondary):
17948 Use ns-get-selection-internal.
17949 (ns-set-pasteboard, ns-copy-including-secondary):
17950 Use ns-store-selection-internal.
17951
17952 2011-12-17 Chong Yidong <cyd@gnu.org>
17953
17954 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17955 (vc-deduce-fileset): Doc fix.
17956
17957 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17958
17959 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17960
17961 2011-12-13 Sam Steingold <sds@gnu.org>
17962
17963 * man.el (Man-getpage-in-background): When running under a
17964 window-system, ignore $MANWIDTH and $COLUMNS.
17965
17966 2011-12-15 Kenichi Handa <handa@m17n.org>
17967
17968 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17969 (setup-ethiopic-environment-internal): Comment out key-binding for
17970 ethio-toggle-punctuation.
17971
17972 2011-12-13 Alan Mackenzie <acm@muc.de>
17973
17974 Add the switch statement to AWK Mode.
17975
17976 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17977 "default" to the keywords regexp.
17978
17979 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17980 expression as the rest.
17981 (c-nonlabel-token-key): Allow string literals for AWK.
17982 Refactor for the other modes.
17983
17984 Large brace-block initialisation makes CC Mode slow: Fix.
17985 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17986 routines. Limit backward searching in c-font-lock-enclosing.decl.
17987
17988 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17989 pp-state and literal type in addition to the limits.
17990 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17991 (c-state-literal-at): Use the above new defun.
17992 (c-slow-in-literal, c-fast-in-literal): Remove.
17993 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17994
17995 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17996 being in a literal. Add a limit for backward searching.
17997
17998 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17999 c-slow-in-literal.
18000
18001 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18002
18003 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18004
18005 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18006
18007 * window.el (delete-other-windows): Use correct frame in call to
18008 window-with-parameter.
18009
18010 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18011
18012 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18013 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18014 (makefile-gmake-statements, makefile-makepp-statements):
18015 Use it and add new makepp keywords.
18016 (makefile-makepp-font-lock-keywords): Add new patterns.
18017 (makefile-match-function-end): Match new [...] and [[...]].
18018
18019 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18020
18021 * ses.el (ses-call-printer-return, ses-cell-property-get)
18022 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18023 (ses-create-cell-variable, ses-reset-header-string)
18024 (ses-cell-set-formula, ses-repair-cell-reference-all)
18025 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18026 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18027 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18028 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18029 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18030 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18031 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18032 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18033 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18034 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18035 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18036 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18037
18038 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18039
18040 * ses.el: The overall change is to add cell renaming, that is
18041 setting fancy names for cell symbols other than name matching
18042 "\\`[A-Z]+[0-9]+\\'" regexp .
18043 (ses-create-cell-variable): New defun.
18044 (ses-relocate-formula): Relocate formulas only for cells the
18045 symbols of which are not renamed, i.e. symbols whose names do not
18046 match regexp "\\`[A-Z]+[0-9]+\\'".
18047 (ses-relocate-all): Relocate values only for cells the symbols of
18048 which are not renamed.
18049 (ses-load): Create cells variables as the (ses-cell ...) are read,
18050 in order to check row col consistency with cell symbol name only
18051 for cells that are not renamed.
18052 (ses-replace-name-in-formula): New defun.
18053 (ses-rename-cell): New defun.
18054
18055 2011-12-11 Chong Yidong <cyd@gnu.org>
18056
18057 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18058 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18059
18060 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18061
18062 * window.el (other-window): Fix docstring.
18063
18064 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18065
18066 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18067 `from' or `to' address before taking its substring.
18068 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18069 encoded name is chopped in the middle of the encoded string, and
18070 thus displayed encoded.
18071
18072 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18073
18074 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18075
18076 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18077
18078 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18079 to use texinfo-update-node and commands that call it if the
18080 Texinfo file uses @node lines without next/prev/up pointers.
18081 Correct outdated description about texinfo-master-menu.
18082 (texinfo-all-menus-update, texinfo-master-menu)
18083 (texinfo-update-node, texinfo-every-node-update)
18084 (texinfo-multiple-files-update): Doc fix. Warn against updating
18085 all the @node lines.
18086 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18087 argument is numeric. Explain better in the doc string what the
18088 function really does.
18089 (texinfo-insert-master-menu-list): Improve the error message
18090 displayed if there's no menu in the Top node.
18091 (Bug#2975) See also this thread:
18092 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18093
18094 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18095
18096 * speedbar.el (speedbar-supported-extension-expressions):
18097 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18098
18099 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18100
18101 * printing.el (pr-mode-alist):
18102 * simple.el (filter-buffer-substring-functions)
18103 (completion-list-insert-choice-function):
18104 * window.el (window-with-parameter, window-atom-root)
18105 (window-sides-slots, window-size-fixed, window-min-delta)
18106 (window-max-delta, window--resize-mini-window)
18107 (window--resize-child-windows-normal, window-tree)
18108 (delete-other-windows, quit-window, split-window)
18109 (display-buffer-record-window, special-display-buffer-names)
18110 (special-display-regexps, special-display-popup-frame)
18111 (same-window-p, split-window-sensibly)
18112 (display-buffer-overriding-action, display-buffer-alist)
18113 (display-buffer-base-action, display-buffer, switch-to-buffer)
18114 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18115 (fit-window-to-buffer, recenter-positions)
18116 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18117 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18118 and remove unneeded backslashes in docstrings.
18119
18120 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18121
18122 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18123
18124 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18125 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18126 end in ".mk".
18127 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18128 when reading the makefile (bug#10116).
18129
18130 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18131
18132 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18133 (bug#10116).
18134
18135 2011-12-06 Glenn Morris <rgm@gnu.org>
18136
18137 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18138
18139 2011-12-06 Chong Yidong <cyd@gnu.org>
18140
18141 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18142
18143 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18144
18145 * textmodes/table.el (table-shorten-cell): Fix typo.
18146
18147 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18148
18149 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18150
18151 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18152
18153 * descr-text.el (describe-char): Fix display of strong
18154 right-to-left characters and directional embeddings and overrides.
18155
18156 * simple.el (what-cursor-position): Fix display of codepoints of
18157 strong right-to-left characters.
18158
18159 2011-12-05 Chong Yidong <cyd@gnu.org>
18160
18161 * faces.el (read-color): Doc fix.
18162
18163 2011-12-05 Glenn Morris <rgm@gnu.org>
18164
18165 * align.el (align--set-marker): Add doc-string.
18166 Don't try to move something that is not a marker. (Bug#10216)
18167
18168 2011-12-04 Glenn Morris <rgm@gnu.org>
18169
18170 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18171 overly zealous deletion of trailing whitespace.
18172
18173 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18174
18175 * server.el (server-delete-client): On Windows, do not try to delete
18176 the only terminal.
18177 (server-process-filter): On Windows, treat requests for a tty frame as
18178 if they were for a GUI frame if the running server is in GUI mode.
18179
18180 2011-12-03 Glenn Morris <rgm@gnu.org>
18181
18182 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18183
18184 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18185
18186 * electric.el: Streamline electric-indent's hook.
18187 (electric-indent-chars): Revert to simple list.
18188 (electric-indent-functions): New var.
18189 (electric-indent-post-self-insert-function): Use it.
18190
18191 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18192 there's no inferior buffer (bug#10196).
18193 (prolog-consult-compile): Don't use toggle-read-only.
18194
18195 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18196
18197 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18198 interrupt. (Bug#10187)
18199
18200 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18201
18202 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18203 (bug#9160).
18204
18205 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18206 (bug#10191).
18207
18208 2011-12-02 Juri Linkov <juri@jurta.org>
18209
18210 * info.el (Info-search): Display "end of manual" when Isearch
18211 reaches the end of single-file Info manual. (Bug#9918)
18212
18213 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18214
18215 * isearch.el (isearch-message-prefix): Run the input method part
18216 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18217
18218 2011-12-02 Juri Linkov <juri@jurta.org>
18219
18220 * isearch.el (isearch-occur): Use `word-search-regexp' for
18221 `isearch-word'.
18222 (isearch-search-and-update): Add condition for `isearch-word' and
18223 call `word-search-regexp'. (Bug#10145)
18224
18225 2011-12-01 Glenn Morris <rgm@gnu.org>
18226
18227 * eshell/em-hist.el (eshell-hist-initialize):
18228 Handle eshell-history-size nil and HISTSIZE set or unset.
18229 (eshell-history-file-name, eshell-history-size): Fix custom type.
18230
18231 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18232
18233 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18234
18235 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18236
18237 * progmodes/verilog-mode.el (verilog-pretty-expr):
18238 Rework verilog-pretty-expr to handle new assignment operators in system
18239 verilog, such as += *= and the like.
18240 (verilog-assignment-operator-re): Regular expression to find the
18241 assigment operator in a verilog assignment.
18242 (verilog-assignment-operation-re): Regular expression to find an
18243 assignment statement for pretty-expr.
18244 (verilog-in-attribute-p): Query returns true if point is in an
18245 attribute context; used to skip these for expression line up from
18246 pretty-expr.
18247 (verilog-in-parameter-p): Query returns true if point is in an
18248 parameter definition context; used to skip these for expression
18249 line up from pretty-expr.
18250 (verilog-in-parenthesis-p): Query returns true if point is in a
18251 parenthetical expression, specifically ( ) but not [ ] or { };
18252 used by pretty-expr.
18253 (verilog-just-one-space): If there is no space, don't add one.
18254 (verilog-get-lineup-indent-2): Specifically skip just attribute
18255 contexts for expression lineup, rather than skipping all
18256 parenthetical expressions.
18257 (verilog-calculate-indent): Fix comment, and fix indent.
18258 (verilog-do-indent): Indent declarations in lists (suggested by
18259 Joachim Lechner).
18260 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18261 skeleton items.
18262 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18263 by Alain Mellan).
18264
18265 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18266
18267 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18268 parameters with embedded comments. Reported by Ray Stevens.
18269 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18270 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18271 Reported by Tim Holt.
18272 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18273 instantiated by upper module causing wrong expansion until AUTOed a
18274 second time. Reported by K C Buckenmaier.
18275 (verilog-diff-auto): Fix showing .* as a difference when
18276 `verilog-auto-star-save' off. Reported by Dan Dever.
18277 (verilog-auto-reset, verilog-read-always-signals)
18278 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18279 temporary signals in reset list if
18280 verilog-auto-reset-blocking-in-non is nil, and match assignment
18281 style to each signal's assignment type, bug381.
18282 Reported by Thomas Esposito.
18283 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18284 (verilog-uvm-statement-re): Support UVM indentation and
18285 highlighting, with old OVM keywords only.
18286 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18287 Support AUTOTIEOFF creating non-wire data types.
18288 Suggested by Jonathan Greenlaw.
18289 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18290 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18291 (verilog-inject-sense, verilog-read-inst-pins)
18292 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18293 Fix mismatching parenthesis inside commented out code when deleting
18294 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18295 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18296 non-numeric vector width. Reported by Alex Reed.
18297 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18298 detecting signals with parameter widths. Reported by Alex Reed.
18299 (verilog-auto-delete-trailing-whitespace):
18300 With `verilog-auto-delete-trailing-whitespace' remove trailing
18301 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18302 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18303 Fix verilog-scan-cache corruption when running user AUTO expansion
18304 hooks that call indentation routines.
18305 (verilog-simplify-range-expression): Fix typo ignoring lower case
18306 identifiers.
18307 (verilog-delete-auto): Fix delete-autos to also remove user created
18308 automatics, as long as they start with AUTO.
18309 (verilog-batch-diff-auto, verilog-diff-auto)
18310 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18311 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18312 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18313 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18314 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18315 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18316 is disabled and its cache will get corrupt, causing AUTOS not to
18317 expand. Instead use only -quick functions.
18318 (verilog-scan-region): Fix scanning over escaped quotes.
18319 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18320 (verilog-re-search-backward-quick)
18321 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18322 related functions now ignore strings, to fix misparsing of strings
18323 with magic comments embedded in them.
18324 (verilog-read-auto-template):
18325 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18326 Reported by Brad Dobbie.
18327 (verilog-read-auto-template):
18328 Fix 'verilog-auto-inst-template-numbers' with comments.
18329 Reported by Brad Dobbie.
18330 (verilog-auto-inst, verilog-auto-inst-param)
18331 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18332 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18333 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18334 debugging templates without merge conflicts, bug357.
18335 Reported by Brad Dobbie.
18336 (verilog-read-auto-template):
18337 Fix verilog-auto-inst-template-numbers with multiple templates.
18338 Reported by Brad Dobbie.
18339 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18340 abbrevs so user won't be asked to save.
18341 (verilog-read-auto-lisp-present): Fix to start at beginning of
18342 buffer in case called outside of verilog-auto.
18343 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18344 to "X-2". Reported by Matthew Myers.
18345 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18346 all inputs from module templates. Reported by Leith Johnson.
18347 (verilog-module-inside-filename-p): Fix locating programs as with
18348 modules.
18349 (verilog-auto-inst-port): Fix vl-width expressions when using
18350 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18351 (verilog-decls-get-regs, verilog-decls-get-signals,
18352 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18353 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18354 verilog-read-decls): Combine reg and wire structures into one var
18355 structure to represent SystemVerilog concepts.
18356 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18357 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18358 (verilog-auto-wire-type, verilog-insert-definition):
18359 Add verilog-auto-wire-type and AUTOLOGIC to support using
18360 SystemVerilog "logic" keyword instead of "wire"/"reg".
18361 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18362 to declares outputs that also have assignments (presumably in an
18363 ifdef or generate if so there's not a driver conflict).
18364 Reported by Matthew Myers.
18365 (verilog-auto-declare-nettype, verilog-insert-definition):
18366 Add verilog-auto-declare-nettype to fix declarations using
18367 `default_nettype none. Reported by Julian Gorfajn.
18368 (verilog-read-always-signals-recurse, verilog-read-decls)
18369 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18370 malformed end statement, bug325. Reported by Joshua Wise and
18371 Andrew Drake.
18372 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18373 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18374 when expanding .* in interfaces, bug320.
18375 Reported by Pierre-David Pfister.
18376 (verilog-read-module-name): Fix import statements between module
18377 name and open parenthesis, bug317.
18378 Reported by Pierre-David Pfister.
18379 (verilog-simplify-range-expression): Fix simplification of
18380 multiplications inside AUTOWIRE connections, bug303.
18381 (verilog-auto-inst-port): Support parameter expansion in
18382 multidimensional arrays.
18383 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18384 after "assert property". Reported by Julian Gorfajn.
18385 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18386 with multiplication, bug303.
18387 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18388 Reported by Jan Frode Lonnum.
18389
18390 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18391
18392 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18393 (hfy-shell-file-name, hfy-shell):
18394 * international/fontset.el (x-decompose-font-name): Fix typos.
18395
18396 2011-11-29 Ken Brown <kbrown@cornell.edu>
18397
18398 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18399 (gdb-version): Remove defvar.
18400 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18401 (gdb-gud-context-command, gdb-non-stop-handler)
18402 (gdb-current-context-command, gdb-stopped): Use it.
18403 (gdb-init-1): Enable pretty printing here.
18404 (gdb-non-stop-handler): Don't enable pretty-printing here.
18405 Check to see if the target supports non-stop mode; if not, turn off
18406 non-stop mode. Use the following.
18407 (gdb-check-target-async): New defun.
18408 (gud-watch, gdb-stopped): Fix whitespace.
18409 (gdb-get-source-file): Don't try to display the source file if
18410 `gdb-main-file' is nil.
18411
18412 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18413
18414 * align.el: Try to generate fewer markers (bug#10047).
18415 (align--set-marker): New macro.
18416 (align-region): Use it.
18417
18418 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18419
18420 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18421
18422 2011-11-29 Chong Yidong <cyd@gnu.org>
18423
18424 * indent.el (indent-for-tab-command, indent-according-to-mode):
18425 Doc fix.
18426 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18427
18428 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18429
18430 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18431 aware of remote file names. (Bug#10124)
18432
18433 2011-11-29 Chong Yidong <cyd@gnu.org>
18434
18435 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18436
18437 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18438
18439 * files.el (find-file): Don't use force-same-window (bug#10144).
18440 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18441 use pop-to-buffer if the selected window can't be used.
18442 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18443
18444 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18445
18446 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18447 special-mode-map.
18448
18449 2011-11-28 Chong Yidong <cyd@gnu.org>
18450
18451 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18452
18453 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18454
18455 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18456 gdb-get-source-file-list on gdb-create-source-file-list.
18457
18458 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18459
18460 * whitespace.el (whitespace-newline): Use a different foreground
18461 color for 16-color light-background displays.
18462
18463 2011-11-24 Chong Yidong <cyd@gnu.org>
18464
18465 * window.el (display-buffer--special-action): Doc fix.
18466
18467 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18468
18469 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18470 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18471 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18472 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18473 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18474 (avl-tree-stack-first):
18475 * emacs-lisp/cconv.el (cconv--analyse-use):
18476 * net/gnutls.el (gnutls-negotiate): Fix typos.
18477
18478 2011-11-24 Glenn Morris <rgm@gnu.org>
18479
18480 * lpr.el (lpr-windows-system, lpr-lp-system):
18481 * mail/binhex.el (binhex-begin-line):
18482 * progmodes/grep.el (grep-history, grep-find-history):
18483 * textmodes/flyspell.el:
18484 * vc/pcvs-defs.el (cvs-global-menu):
18485 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18486 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18487 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18488
18489 * net/tls.el: Fix case of "GnuTLS".
18490
18491 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18492
18493 * version.el (emacs-build-system): Give it a doc-string.
18494
18495 2011-11-24 Juri Linkov <juri@jurta.org>
18496
18497 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18498
18499 2011-11-24 Glenn Morris <rgm@gnu.org>
18500
18501 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18502 if called on a non-mime message just toggle the headers. (Bug#8006)
18503
18504 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18505
18506 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18507 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18508 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18509 (allout-rebullet-heading, allout-open-sibtopic)
18510 (allout-toggle-current-subtree-encryption)
18511 (allout-toggle-subtree-encryption, allout-encrypt-string)
18512 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18513 (allout-distinctive-bullets-string, allout-auto-activation):
18514 * window.el (window-normalize-buffer-to-display):
18515 * progmodes/verilog-mode.el (verilog-batch-indent):
18516 * textmodes/bibtex.el (bibtex-field-braces-opt)
18517 (bibtex-field-strings-opt):
18518 * vc/cvs-status.el (cvs-tree-merge):
18519 Fix typos.
18520
18521 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18522
18523 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18524 `non-essential' to t, in order to avoid remote connections.
18525
18526 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18527
18528 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18529 On MS-DOS and MS-Windows, compare with loaddefs.el
18530 case-insensitively.
18531
18532 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18533
18534 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18535
18536 2011-11-23 Glenn Morris <rgm@gnu.org>
18537
18538 * paths.el (rmail-file-name): Reformat the doc-string so that it
18539 is picked up.
18540
18541 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18542 (rmail-auto-file): Ignore case in the "special" field names,
18543 as mail-fetch-field does for all others.
18544
18545 * mail/rmail.el (rmail-forward):
18546 * mail/rmailkwd.el (rmail-set-label):
18547 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18548 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18549
18550 * mail/rmail.el (rmail-current-message): Doc fix.
18551
18552 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18553
18554 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18555
18556 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18557
18558 2011-11-22 Glenn Morris <rgm@gnu.org>
18559
18560 * mail/rmailmm.el (test-rmail-mime-handler)
18561 (test-rmail-mime-bulk-handler)
18562 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18563
18564 2011-11-21 Juri Linkov <juri@jurta.org>
18565
18566 * calc/calc.el (calc-read-key-sequence):
18567 Let-bind `input-method-function' to nil. (Bug#10018)
18568
18569 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18570
18571 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18572 Tell the caller that the next line needs recomputation, even
18573 though it doesn't start a sexp (bug#10094).
18574
18575 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18576
18577 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18578
18579 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18580
18581 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18582 Use force-same-window.
18583
18584 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18585
18586 * descr-text.el (describe-char-unicode-data):
18587 * json.el (json-string-escape):
18588 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18589 (Footnote-unicode, Footnote-style-p):
18590 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18591
18592 2011-11-20 Chong Yidong <cyd@gnu.org>
18593
18594 * window.el (replace-buffer-in-windows): Restore interactive spec.
18595
18596 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18597
18598 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18599
18600 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18601 (byte-compile-global-not-obsolete-vars): New var.
18602 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18603 Use it.
18604 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18605
18606 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18607
18608 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18609 * progmodes/pascal.el (electric-pascal-equal):
18610 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18611 * xml.el (xml-substitute-special): Fix typos.
18612
18613 2011-11-20 Glenn Morris <rgm@gnu.org>
18614
18615 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18616 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18617 Doc fixes.
18618 (rmail-decode-mime-charset): Mark as obsolete.
18619
18620 * mail/rmailsum.el (rmail-message-regexp-p-1):
18621 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18622 Before using mime functions, check they are set. (Bug#10077)
18623
18624 2011-11-19 Juri Linkov <juri@jurta.org>
18625
18626 * info.el (Info-finder-find-node): Use `package--builtins' instead
18627 of `package-alist'. Use node names formed by the pattern "Keyword "
18628 and the keyword name.
18629
18630 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18631
18632 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18633
18634 2011-11-19 Juri Linkov <juri@jurta.org>
18635
18636 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18637 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18638 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18639 `old-history', `old-history-forward'. Add let-binding
18640 `window-selected'. Remove calls to `kill-buffer',
18641 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18642 before calling `Info-find-node', so `Info-find-node-2' will reread
18643 the Info file. Restore window positions only when `window-selected'
18644 is non-nil.
18645
18646 2011-11-19 Juri Linkov <juri@jurta.org>
18647
18648 * isearch.el (isearch-lazy-highlight-new-loop):
18649 Remove condition `(not isearch-error)'. (Bug#9918)
18650
18651 * misearch.el (multi-isearch-search-fun): Add condition
18652 `(not bound)' to ignore lazy-highlighting search.
18653 Add the search-failed message "end of multi" when the end of
18654 multi-sequence is reached. Uncapitalize the search-failed
18655 message "Repeat for next buffer".
18656
18657 * info.el (Info-search): Add the search-failed message
18658 "end of the manual" when the end of the manual is reached
18659 in Isearch mode.
18660
18661 2011-11-19 Juri Linkov <juri@jurta.org>
18662
18663 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18664 Use non-destructive `remove' instead of `delete' because
18665 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18666 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18667
18668 2011-11-19 Juri Linkov <juri@jurta.org>
18669
18670 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18671 to nil instead of binding `search-ring' and `regexp-search-ring'.
18672 (Bug#9185)
18673
18674 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18675
18676 * simple.el (line-move): Force movement by logical lines for any
18677 hscrolled window, not only when auto-hscroll-mode is on.
18678 (line-move-visual): Update doc string to that effect. (Bug#10076)
18679
18680 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18681
18682 * language/european.el (macintosh): Define as alias for mac-roman.
18683
18684 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18685
18686 * mail/rmailmm.el (rmail-mime-display-header)
18687 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18688 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18689 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18690 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18691 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18692 of a raw aref.
18693 (rmail-mime-entity-segment): To get past the tagline, move forward
18694 2 more lines, to account for the 2 empty lines that precede and
18695 follow the line with the buttons.
18696 (rmail-mime-update-tagline): Move one more line, to get past the
18697 empty line that follows the buttons in the tagline. (Bug#9520)
18698
18699 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18700
18701 * window.el (window-max-delta-1, window-min-delta-1)
18702 (window-min-size-1, window-state-get-1, window-state-put-1)
18703 (window-state-put-2): Use "window--" prefix.
18704
18705 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18706
18707 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18708 (smie-warning-count): New var.
18709 (smie-set-prec2tab): Use it.
18710 (smie-bnf->prec2): Improve warnings. Add docstring.
18711 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18712 (smie-bnf--set-class): New function.
18713 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18714 corner case.
18715
18716 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18717 (compilation-error-properties, compilation-move-to-column):
18718 Handle compilation-first-column while in the target buffer.
18719
18720 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18721 Don't hardcode point-min==1.
18722
18723 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18724 (eshell-rewrite-for-command): Remove workaround.
18725 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18726 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18727 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18728
18729 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18730
18731 2011-11-17 Glenn Morris <rgm@gnu.org>
18732
18733 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18734 Ignore buffer-local generated-autoload-file if it is the same
18735 as the global value. (Bug#10049)
18736
18737 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18738
18739 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18740 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18741 (reftex-toc-previous-heading, reftex-toc-max-level)
18742 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18743 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18744 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18745 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18746 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18747 (reftex-toc-rename-label, reftex-toc-visit-location)
18748 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18749 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18750 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18751 leaving "*toc*" only for references to the buffer.
18752
18753 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18754
18755 * window.el (window-resize, delete-window, split-window):
18756 Replace window-splits by window-combination-resize.
18757 * cus-start.el (window-splits): Replace by window-combination-resize.
18758
18759 2011-11-17 Glenn Morris <rgm@gnu.org>
18760
18761 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18762 Make bash entry derive from sh entry, not shell entry.
18763
18764 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18765
18766 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18767 local file name.
18768
18769 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18770
18771 * menu-bar.el (menu-bar-file-menu):
18772 * printing.el (pr-ps-utility):
18773 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18774 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18775 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18776 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18777 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18778 (icalendar--convert-cyclic-to-ical)
18779 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18780 (icalendar--convert-ical-to-diary)
18781 (icalendar--convert-recurring-to-diary)
18782 (icalendar--convert-non-recurring-all-day-to-diary)
18783 (icalendar-import-format-sample):
18784 * progmodes/idlw-shell.el (idlwave-shell-mode):
18785 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18786 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18787 (vhdl-ps-print-init): Fix typos.
18788
18789 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18790
18791 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18792 FSF and collapse date sequence, obscure author/maintainer email address
18793 better, remove extra version line, track relocation of author's webpage.
18794
18795 * progmodes/python.el (python-pdbtrack-input-prompt)
18796 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18797 regular python pdb prompts. Adjustments shamelessly taken exactly as
18798 suggested in EmacsWiki page (tiny change):
18799 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18800
18801 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18802
18803 * expand.el (expand-pos, expand-index, expand-point):
18804 Remove redundant info from docstring.
18805 (expand-add-abbrevs): Doc fix.
18806 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18807 (expand-sample-perl-mode-expand-list): Fix typos.
18808
18809 * net/dbus.el (dbus-event-member-name):
18810 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18811 * term/pc-win.el (msdos-create-frame-with-faces):
18812 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18813
18814 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18815
18816 * window.el (split-window, window-state-get-1)
18817 (window-state-put-1, window-state-put-2): Rename occurrences of
18818 window-nest to window-combination-limit.
18819 * cus-start.el (window-nest): Rename to window-combination-limit.
18820
18821 2011-11-16 Chong Yidong <cyd@gnu.org>
18822
18823 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18824 regexp (Bug#10033).
18825
18826 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18827
18828 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18829 `completing-read' will remove *Completions* and will preserve
18830 current-buffer for us.
18831 (tmm-add-prompt): Users of *Completions* will always (re)set its
18832 major mode.
18833 (tmm-old-comp-map): Remove.
18834
18835 2011-11-16 Glenn Morris <rgm@gnu.org>
18836
18837 * mail/rmailedit.el: Require rmailmm when compiling.
18838 (rmail-old-mime-state): New declaration.
18839 (rmail-edit-current-message): If editing a mime message,
18840 edit the "raw" message from the mbox buffer.
18841 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18842
18843 2011-11-15 Glenn Morris <rgm@gnu.org>
18844
18845 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18846 which wasn't being used. Add optional arg to force given state.
18847 (rmail-mime): Add optional arg to force given state.
18848
18849 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18850
18851 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18852 * frame.el (display-mm-dimensions-alist):
18853 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18854 (outline-move-subtree-down):
18855 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18856 (newsticker--treeview-do-get-node):
18857 * net/quickurl.el (quickurl-list-buffer-name):
18858 * progmodes/dcl-mode.el (dcl-mode):
18859 * progmodes/gdb-mi.el (gdb-mapcar*):
18860 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18861
18862 2011-11-15 Glenn Morris <rgm@gnu.org>
18863
18864 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18865 in a boolean sense, so just make it a boolean, and fix the doc.
18866 (rmail-show-mime-function, rmail-mime-feature)
18867 (rmail-require-mime-maybe): Doc fixes.
18868 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18869
18870 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18871
18872 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18873
18874 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18875 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18876 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18877 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18878
18879 2011-11-15 Glenn Morris <rgm@gnu.org>
18880
18881 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18882 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18883 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18884 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18885 (rmail-mime, rmail-show-mime): Doc fixes.
18886
18887 * term/ns-win.el (mode-line-frame-identification):
18888 Leave it alone. (Bug#10051)
18889
18890 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18891
18892 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18893 Handle empty buffers. (Bug#9978)
18894
18895 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18896
18897 * international/mule.el (define-charset):
18898 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18899 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18900 * progmodes/verilog-mode.el (verilog-backward-token):
18901 * textmodes/ispell.el (lookup-words):
18902 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18903
18904 2011-11-14 Glenn Morris <rgm@gnu.org>
18905
18906 * progmodes/executable.el
18907 (executable-make-buffer-file-executable-if-script-p):
18908 Handle file-modes returning nil.
18909
18910 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18911 message - not necessary, and causes problems. (Bug#9831)
18912
18913 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18914
18915 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18916
18917 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18918 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18919 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18920
18921 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18922
18923 * window.el (window-resize, delete-window): Use window-splits
18924 variable instead of function.
18925 (window-state-get-1, window-state-put-2, window-state-put):
18926 Don't deal with windows' splits status.
18927
18928 2011-11-12 Glenn Morris <rgm@gnu.org>
18929
18930 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18931 (apropos-documentation): Doc fixes.
18932
18933 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18934
18935 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18936 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18937
18938 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18939
18940 * electric.el (electric-indent-post-self-insert-function): Make it
18941 possible for a char to only indent in some circumstances.
18942 (electric-indent-mode): Simplify.
18943
18944 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18945
18946 * window.el (windows-with-parameter): Remove unused function.
18947 (windows-at-side): Rename to window-at-side-list.
18948 (window-check, window-atom-check, window-atom-check-1)
18949 (window-side-check, window-size-ignore, window-size-fixed-1)
18950 (window-in-direction-2): Prefix with "window--".
18951 (window-tree-1): Rename to window--subtree, fix doc-string.
18952
18953 2011-11-11 Glenn Morris <rgm@gnu.org>
18954
18955 * subr.el (eval-after-load): If FILE is already loaded,
18956 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18957
18958 2011-11-10 Glenn Morris <rgm@gnu.org>
18959
18960 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18961 Call svn via vc-svn-command rather than vc-do-command.
18962 (vc-svn-command): Add --non-interactive. (Bug#9993)
18963 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18964
18965 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18966 Add toggle-read-only. (Bug#7292)
18967 * files.el (toggle-read-only): Mention that it should only
18968 be used interactively. (Bug#10006)
18969
18970 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18971
18972 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18973 Adjust regexp for OCaml warnings.
18974
18975 * electric.el (electric-pair-post-self-insert-function): Let user
18976 turn it off buffer-locally (bug#9932).
18977
18978 * progmodes/python.el (python-beginning-of-statement):
18979 Rewrite (bug#2703).
18980
18981 * progmodes/compile.el: Better handle TABs (bug#9749).
18982 (compilation-internal-error-properties)
18983 (compilation-next-error-function): Obey the target buffer's
18984 compilation-error-screen-columns.
18985
18986 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18987
18988 * progmodes/meta-mode.el: Remove obsolete comments.
18989 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18990 Fix typos in docstrings.
18991
18992 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18993
18994 * window.el (window-size-fixed-p): Rewrite doc-string.
18995 (window-resizable-p): Rename to window--resizable-p. Update callers.
18996 (window--resizable): New function. Make all callers of
18997 window-resizable call window--resizable instead.
18998 (window-resizable): Rewrite in terms of window--resizable.
18999
19000 2011-11-08 Glenn Morris <rgm@gnu.org>
19001
19002 * progmodes/delphi.el (delphi-mode-syntax-table):
19003 Let define-derived-mode define a proper syntax table. (Bug#9994)
19004
19005 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19006
19007 * window.el: Stay away from defsubst.
19008 (window-list-no-nils): Remove.
19009 (window-state-get-1, window-state-get): Use backquote instead.
19010
19011 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19012
19013 * emacs-lisp/find-func.el (find-function-read):
19014 Fix incorrect use of default argument in `completing-read'.
19015
19016 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19017
19018 * window.el (display-buffer-function, special-display-function):
19019 Mention display-buffer-record-window but do not mention
19020 help-setup parameter in doc-strings.
19021 (window-min-delta): Fix doc-string typo.
19022
19023 2011-11-08 Chong Yidong <cyd@gnu.org>
19024
19025 * window.el (window-total-height, window-total-width): Doc fix.
19026 (window-body-size): Move from C.
19027 (window-body-height, window-body-width): Move to C.
19028
19029 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19030
19031 * window.el: Make special-display like display-buffer-alist (bug#9532).
19032 (display-buffer--special-action): New function, morphed
19033 from display-buffer--special.
19034 (display-buffer): Use it to handle special-display-buffers at higher
19035 priority (just after display-buffer-alist).
19036 (display-buffer-fallback-action, display-buffer--other-frame-action)
19037 (pop-to-buffer-same-window): Remove display-buffer--special.
19038
19039 2011-11-07 Glenn Morris <rgm@gnu.org>
19040
19041 * calendar/cal-menu.el (cal-menu-set-date-title):
19042 Do nothing if not in a calendar. (Bug#9976)
19043
19044 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19045
19046 * files.el (find-file): Always use selected-window.
19047
19048 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19049
19050 * window.el (window-combinations): Make WINDOW argument
19051 mandatory. Rewrite doc-string.
19052 (walk-window-subtree, window-atom-check, window-min-delta)
19053 (window-max-delta, window--resize-this-window)
19054 (window--resize-root-window-vertically, window-tree)
19055 (balance-windows, window-state-put): Rewrite doc-strings as to
19056 not mention the term "subwindow".
19057 (window--resize-subwindows-skip-p): Rename to
19058 window--resize-child-windows-skip-p.
19059 (window--resize-subwindows-normal): Rename to
19060 window--resize-child-windows-normal.
19061 (window--resize-subwindows): Rename to
19062 window--resize-child-windows.
19063 (window-or-subwindow-p): Rename to window--in-subtree-p.
19064
19065 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19066
19067 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19068 Ensure that mbox format messages end in two newlines (Bug#9974).
19069
19070 2011-11-06 Chong Yidong <cyd@gnu.org>
19071
19072 * window.el (window-combination-p): Function deleted; its
19073 side-effect is not used in any existing code.
19074 (window-combinations, window-combined-p): Call window-*-child
19075 directly.
19076
19077 2011-11-05 Chong Yidong <cyd@gnu.org>
19078
19079 * window.el (window-valid-p): Rename from window-any-p.
19080 (window-size-ignore, window-state-get): Callers changed.
19081 (window-normalize-window): Rename from window-normalize-any-window.
19082 New arg LIVE-ONLY, replacing window-normalize-live-window.
19083 (window-normalize-live-window): Delete.
19084 (window-combination-p, window-combined-p, window-combinations)
19085 (walk-window-subtree, window-atom-root, window-min-size)
19086 (window-sizable, window-sizable-p, window-size-fixed-p)
19087 (window-min-delta, window-max-delta, window-resizable)
19088 (window-resizable-p, window-full-height-p, window-full-width-p)
19089 (window-current-scroll-bars, window-point-1, set-window-point-1)
19090 (window-at-side-p, window-in-direction, window-resize)
19091 (adjust-window-trailing-edge, maximize-window, minimize-window)
19092 (window-deletable-p, delete-window, delete-other-windows)
19093 (record-window-buffer, unrecord-window-buffer)
19094 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19095 (quit-window, split-window, window-state-put)
19096 (set-window-text-height, fit-window-to-buffer)
19097 (shrink-window-if-larger-than-buffer): Callers changed.
19098
19099 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19100
19101 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19102 rfc2047-decode-string.
19103 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19104 warnings.
19105
19106 * window.el (window-body-height, window-body-width): Mention in
19107 the doc string that the return values are in frame's canonical
19108 units. (Bug#9949)
19109
19110 2011-11-03 Alan Mackenzie <acm@muc.de>
19111
19112 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19113 change in cc-engine.el.
19114
19115 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19116
19117 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19118
19119 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19120
19121 * window.el (quit-window): Call unrecord-window-buffer after
19122 showing another buffer in the window. (Bug#9937)
19123 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19124
19125 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19126
19127 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19128 Accept status with more than 9 shelves. (Bug#9935)
19129 Reported by Colin D Bennett <colin@gibibit.com>.
19130
19131 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19132
19133 * help.el (with-help-window): Don't reference
19134 temp-buffer-show-specifiers in doc-string.
19135
19136 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19137
19138 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19139 menu-item.
19140
19141 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19142
19143 * whitespace.el: New version 13.2.2.
19144 (whitespace-newline-mode): Disable properly. Reported by Sarah
19145 <EmacsWiki>.
19146
19147 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19148
19149 * net/newst-treeview.el: Remove "Time-stamp".
19150 (newsticker--group-manage-orphan-feeds): Do not call
19151 newsticker--treeview-tree-update.
19152 (newsticker-treeview-update, newsticker-treeview):
19153 Call newsticker--treeview-tree-update if necessary.
19154
19155 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19156
19157 * window.el (window-iso-combination-p, window-iso-combined-p)
19158 (window-iso-combinations): Remove "iso-" infix.
19159 Suggested by Chong Yidong.
19160 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19161 (window-max-delta-1, window-resize, window--resize-siblings)
19162 (window--resize-this-window, adjust-window-trailing-edge)
19163 (split-window, balance-windows-1)
19164 (shrink-window-if-larger-than-buffer):
19165 * calendar/calendar.el (calendar-generate-window):
19166 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19167
19168 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19169
19170 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19171 in place (bug#9907).
19172 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19173 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19174 (eshell-structure-basic-command, eshell-rewrite-while-command)
19175 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19176 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19177 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19178 (eshell-do-pipelines-synchronously, eshell-eval-command):
19179 Use backquotes and prefer setq to set.
19180 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19181 (eshell-macrop): Use functionp.
19182 (eshell-do-eval): Handle multiple expressions in `while' body.
19183
19184 2011-10-30 Chong Yidong <cyd@gnu.org>
19185
19186 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19187 instead of set-mark (Bug#9810).
19188
19189 2011-10-30 Chong Yidong <cyd@gnu.org>
19190
19191 * window.el (split-window-below, split-window-right): Rename from
19192 split-window-above-each-other and split-window-side-by-side
19193 respectively. All callers changed.
19194 (split-window-sensibly, split-window-sensibly): Use them.
19195 (split-window-keep-point): Doc fix.
19196
19197 * isearch.el: Add isearch-scroll property to split-window-below
19198 and split-window-right.
19199
19200 * follow.el (follow-mode):
19201 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19202 * progmodes/ada-xref.el (ada-gdb-application):
19203 * emulation/vip.el (vip-buffer-in-two-windows):
19204 * image-dired.el (image-dired-dired-with-window-configuration):
19205 * dired-x.el (dired-do-find-marked-files):
19206 * dired.el (dired-pop-to-buffer):
19207 * bs.el (bs--show-with-configuration):
19208 * vc/emerge.el (emerge-setup-windows):
19209 * textmodes/two-column.el (2C-two-columns):
19210 * textmodes/reftex-toc.el (reftex-toc):
19211 * progmodes/gdb-mi.el (gdb-setup-windows):
19212 * progmodes/fortran.el (fortran-window-create):
19213 * net/newst-treeview.el (newsticker--treeview-window-init):
19214 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19215 * emulation/tpu-edt.el (tpu-gold-map):
19216 * emulation/crisp.el (crisp-mode-map):
19217 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19218
19219 2011-10-29 Chong Yidong <cyd@gnu.org>
19220
19221 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19222
19223 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19224
19225 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19226 forged Ispell output (Bug#7904).
19227
19228 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19229
19230 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * doc-view.el: Avoid ugly errors about not finding nil.
19233 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19234 (doc-view-dvipdf-program, doc-view-unoconv-program)
19235 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19236 Avoid nil or absolute file name as default value.
19237 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19238
19239 2011-10-28 Alan Mackenzie <acm@muc.de>
19240
19241 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19242
19243 2011-10-28 Alan Mackenzie <acm@muc.de>
19244
19245 Amend the handling of c-beginning/end-of-defun in nested declaration
19246 scopes.
19247
19248 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19249 cc-langs.el. Change it to a defcustom.
19250
19251 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19252 cc-vars.el.
19253
19254 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19255 Prevent "class foo : bar" being spuriously recognized as a label.
19256
19257 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19258 Add parameter `inclusive' (to include enclosing braces in the region).
19259 (c-widen-to-enclosing-decl-scope): New function.
19260 (c-while-widening-to-decl-block): New macro.
19261 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19262 outward for defun boundaries, and correspondingly change symbol
19263 `respect-enclosure' to `go-outward'.
19264 (c-declaration-limits): Change algorithm to report only the "innermost"
19265 defun's boundaries.
19266
19267 2011-10-28 Deniz Dogan <deniz@dogan.se>
19268
19269 * net/rcirc.el (rcirc-mode): Use hard newlines.
19270
19271 2011-10-28 Alan Mackenzie <acm@muc.de>
19272
19273 Amend to indent and fontify macros "which include their own semicolon"
19274 correctly, using the "virtual semicolon" mechanism.
19275
19276 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19277
19278 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19279 Recode to scan one line at a time rather than having \n and \r
19280 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19281 (c-forward-label): Amend for virtual semicolons.
19282 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19283
19284 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19285 of the new C macros.
19286
19287 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19288 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19289 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19290 (c-opt-cpp-macro-define): Make into a full language variable.
19291 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19292 AWK Mode (including \n, \r) removed, no longer needed.
19293
19294 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19295 Invoke c-make-macro-with-semi-re.
19296
19297 * progmodes/cc-vars.el (c-macro-with-semi-re):
19298 (c-macro-names-with-semicolon): New variables.
19299 (c-make-macro-with-semi-re): New function.
19300
19301 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19302
19303 * vc/log-edit.el: Fill empty field rather than adding new one.
19304 (log-edit-add-field): New function.
19305 (log-edit-insert-changelog): Use it.
19306
19307 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19308
19309 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19310
19311 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19312
19313 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19314 (gdb--check-interpreter): New function.
19315 (gdb): Use it.
19316
19317 2011-10-27 Glenn Morris <rgm@gnu.org>
19318
19319 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19320 (least-positive-float, least-negative-float)
19321 (least-positive-normalized-float, least-negative-normalized-float)
19322 (float-epsilon, float-negative-epsilon):
19323 Remove unnecessary declarations.
19324
19325 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19326 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19327 (least-positive-float, least-negative-float)
19328 (least-positive-normalized-float, least-negative-normalized-float)
19329 (float-epsilon, float-negative-epsilon): Add doc-strings,
19330 based on those in cl.texi.
19331
19332 * files.el (set-visited-file-name): If the major-mode changed,
19333 reload the local variables. (Bug#9796)
19334
19335 2011-10-27 Chong Yidong <cyd@gnu.org>
19336
19337 * subr.el (change-major-mode-after-body-hook): New hook.
19338 (run-mode-hooks): Run it.
19339
19340 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19341 Use change-major-mode-before-body-hook.
19342
19343 * simple.el (fundamental-mode):
19344 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19345 change introducing fundamental-mode-hook.
19346
19347 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19348
19349 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19350
19351 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19352
19353 * ido.el (ido-file-name-all-completions-1): Do not require
19354 tramp.el explicitly. (Bug#7583)
19355
19356 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19357
19358 * progmodes/octave-mod.el:
19359 * progmodes/octave-inf.el: Update maintainer.
19360
19361 2011-10-26 Chong Yidong <cyd@gnu.org>
19362
19363 * subr.el (with-wrapper-hook): Rewrite doc.
19364
19365 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19366
19367 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19368 filenames "/method:foo:". (Bug#9793)
19369
19370 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19371
19372 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19373 (bug#9865).
19374
19375 2011-10-24 Glenn Morris <rgm@gnu.org>
19376
19377 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19378
19379 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19380
19381 * notifications.el: Add the requirement of a running D-Bus session
19382 bus to the Commentary.
19383
19384 2011-10-24 Juri Linkov <juri@jurta.org>
19385
19386 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19387 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19388 (Bug#9364)
19389
19390 2011-10-24 Juri Linkov <juri@jurta.org>
19391
19392 * info.el (Info-following-node-name-re): Add newline to the list
19393 of allowed characters for leading space. (Bug#9824)
19394
19395 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19396
19397 * progmodes/octave-inf.el (inferior-octave-mode-map):
19398 Fix C-c C-h binding.
19399 * progmodes/octave-mod.el (octave-help): Remove.
19400
19401 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19402
19403 Sync with Tramp 2.2.3.
19404
19405 * net/tramp-cache.el (top): Pacify byte-compiler using
19406 `init-file-user' and `site-run-file'.
19407
19408 * net/trampver.el: Update release number.
19409
19410 2011-10-23 Chong Yidong <cyd@gnu.org>
19411
19412 * files.el (toggle-read-only): Remove obsolete comment about
19413 version control.
19414
19415 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19416 for toggle-read-only. Note that this hasn't called vc-next-action
19417 since 2008-05-02, though it wasn't documented at the time.
19418
19419 * vc/ediff-init.el (ediff-toggle-read-only-function):
19420 Use toggle-read-only.
19421
19422 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19423
19424 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19425 of c-parse-state.
19426
19427 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19428 correct faulty logical expression.
19429 (c-parse-state-state, c-record-parse-state-state):
19430 (c-replay-parse-state-state): New defvar/defuns.
19431 (c-debug-parse-state): Use new functions.
19432
19433 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19434
19435 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19436 last fix. Use window-in-direction correctly.
19437
19438 2011-10-21 Chong Yidong <cyd@gnu.org>
19439
19440 * progmodes/idlwave.el (idlwave-mode):
19441 * progmodes/vera-mode.el (vera-mode): No need to set
19442 require-final-newline; that's done in prog-mode.
19443 Suggested by Stefan Monnier.
19444
19445 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19446
19447 * mouse.el (mouse-drag-window-above)
19448 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19449 (mouse-drag-mode-line-1, mouse-drag-header-line)
19450 (mouse-drag-vertical-line-rightward-window): Remove.
19451 (mouse-drag-line): New function.
19452 (mouse-drag-mode-line, mouse-drag-header-line)
19453 (mouse-drag-vertical-line): Call mouse-drag-line.
19454 * window.el (window-at-side-p, windows-at-side): New functions.
19455
19456 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19457
19458 * tar-mode.el (tar-grind-file-mode):
19459 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19460
19461 2011-10-21 Chong Yidong <cyd@gnu.org>
19462
19463 * progmodes/idlwave.el (idlwave-mode):
19464 * progmodes/vera-mode.el (vera-mode):
19465 Use mode-require-final-newline.
19466
19467 2011-10-20 Glenn Morris <rgm@gnu.org>
19468
19469 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19470
19471 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19472
19473 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19474
19475 2011-10-20 Chong Yidong <cyd@gnu.org>
19476
19477 * emulation/cua-base.el (cua-mode):
19478 * mail/footnote.el (footnote-mode):
19479 * mail/mailabbrev.el (mail-abbrevs-mode):
19480 * net/xesam.el (xesam-minor-mode):
19481 * progmodes/bug-reference.el (bug-reference-mode):
19482 * progmodes/cap-words.el (capitalized-words-mode):
19483 * progmodes/compile.el (compilation-minor-mode)
19484 (compilation-shell-minor-mode):
19485 * progmodes/gud.el (gud-tooltip-mode):
19486 * progmodes/hideif.el (hide-ifdef-mode):
19487 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19488 * progmodes/subword.el (subword-mode):
19489 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19490 * progmodes/which-func.el (which-function-mode):
19491 * term/tvi970.el (tvi970-set-keypad-mode):
19492 * term/vt100.el (vt100-wide-mode):
19493 * textmodes/flyspell.el (flyspell-mode):
19494 * textmodes/ispell.el (ispell-minor-mode):
19495 * textmodes/nroff-mode.el (nroff-electric-mode):
19496 * textmodes/paragraphs.el (use-hard-newlines):
19497 * textmodes/refill.el (refill-mode):
19498 * textmodes/reftex.el (reftex-mode):
19499 * textmodes/rst.el (rst-minor-mode):
19500 * textmodes/sgml-mode.el (html-autoview-mode)
19501 (sgml-electric-tag-pair-mode):
19502 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19503 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19504 * emulation/crisp.el (crisp-mode):
19505 * emacs-lisp/eldoc.el (eldoc-mode):
19506 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19507 minor mode behavior.
19508
19509 2011-10-19 Juri Linkov <juri@jurta.org>
19510
19511 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19512 the list of hard-coded chars with escape-glyph face.
19513
19514 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19515
19516 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19517
19518 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19519
19520 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19521 running process.
19522
19523 2011-10-19 Glenn Morris <rgm@gnu.org>
19524
19525 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19526 Ignore ignored files. (Bug#9726)
19527
19528 2011-10-19 Chong Yidong <cyd@gnu.org>
19529
19530 Doc fix for minor modes, stating that an omitted argument enables
19531 the mode unconditionally when called from Lisp.
19532
19533 * abbrev.el (abbrev-mode):
19534 * allout.el (allout-mode):
19535 * autoinsert.el (auto-insert-mode):
19536 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19537 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19538 (global-auto-revert-mode):
19539 * battery.el (display-battery-mode):
19540 * composite.el (global-auto-composition-mode)
19541 (auto-composition-mode):
19542 * delsel.el (delete-selection-mode):
19543 * desktop.el (desktop-save-mode):
19544 * dired-x.el (dired-omit-mode):
19545 * dirtrack.el (dirtrack-mode):
19546 * doc-view.el (doc-view-minor-mode):
19547 * double.el (double-mode):
19548 * electric.el (electric-indent-mode, electric-pair-mode):
19549 * emacs-lock.el (emacs-lock-mode):
19550 * epa-hook.el (auto-encryption-mode):
19551 * follow.el (follow-mode):
19552 * font-core.el (font-lock-mode):
19553 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19554 * help.el (temp-buffer-resize-mode):
19555 * hilit-chg.el (highlight-changes-mode)
19556 (highlight-changes-visible-mode):
19557 * hi-lock.el (hi-lock-mode):
19558 * hl-line.el (hl-line-mode, global-hl-line-mode):
19559 * icomplete.el (icomplete-mode):
19560 * ido.el (ido-everywhere):
19561 * image-file.el (auto-image-file-mode):
19562 * image-mode.el (image-minor-mode):
19563 * iswitchb.el (iswitchb-mode):
19564 * jka-cmpr-hook.el (auto-compression-mode):
19565 * linum.el (linum-mode):
19566 * longlines.el (longlines-mode):
19567 * master.el (master-mode):
19568 * mb-depth.el (minibuffer-depth-indicate-mode):
19569 * menu-bar.el (menu-bar-mode):
19570 * minibuf-eldef.el (minibuffer-electric-default-mode):
19571 * mouse-sel.el (mouse-sel-mode):
19572 * msb.el (msb-mode):
19573 * mwheel.el (mouse-wheel-mode):
19574 * outline.el (outline-minor-mode):
19575 * paren.el (show-paren-mode):
19576 * recentf.el (recentf-mode):
19577 * reveal.el (reveal-mode, global-reveal-mode):
19578 * rfn-eshadow.el (file-name-shadow-mode):
19579 * ruler-mode.el (ruler-mode):
19580 * savehist.el (savehist-mode):
19581 * scroll-all.el (scroll-all-mode):
19582 * scroll-bar.el (scroll-bar-mode):
19583 * server.el (server-mode):
19584 * shell.el (shell-dirtrack-mode):
19585 * simple.el (auto-fill-mode, transient-mark-mode)
19586 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19587 (line-number-mode, column-number-mode, size-indication-mode)
19588 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19589 * strokes.el (strokes-mode):
19590 * time.el (display-time-mode):
19591 * t-mouse.el (gpm-mouse-mode):
19592 * tool-bar.el (tool-bar-mode):
19593 * tooltip.el (tooltip-mode):
19594 * type-break.el (type-break-mode-line-message-mode)
19595 (type-break-query-mode):
19596 * view.el (view-mode):
19597 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19598 (global-whitespace-mode, global-whitespace-newline-mode):
19599 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19600
19601 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19602 Fix autogenerated docstring.
19603
19604 2011-10-19 Juri Linkov <juri@jurta.org>
19605
19606 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19607 by checking environment variables "DESKTOP_SESSION" and
19608 "XDG_CURRENT_DESKTOP". (Bug#9779)
19609
19610 2011-10-19 Juri Linkov <juri@jurta.org>
19611
19612 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19613 (browse-url-chromium-program, browse-url-chromium-arguments):
19614 New defcustoms.
19615 (browse-url-default-browser): Check for `browse-url-chromium' and
19616 call `browse-url-chromium-program'.
19617 (browse-url-chromium): New command. (Bug#9779)
19618
19619 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19620
19621 * facemenu.el (list-colors-duplicates): On Windows, detect more
19622 duplicates by assuming that only colors matching "^System" are
19623 special "system colors". (Bug#9722)
19624
19625 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19626
19627 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19628 to distinguish the author from the committer.
19629
19630 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19631
19632 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19633
19634 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19635
19636 * international/mule.el (sgml-html-meta-auto-coding-function):
19637 Add support for detecting encoding in HTML5 specified only as
19638 <meta charset="UTF-8">. Implementation just makes http-equiv and
19639 content-type parts from HTML4 encoding string optional. (Bug#9716)
19640
19641 2011-10-18 Glenn Morris <rgm@gnu.org>
19642
19643 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19644
19645 2011-10-18 Chong Yidong <cyd@gnu.org>
19646
19647 * faces.el (cursor): Doc fix.
19648
19649 2011-10-17 Chong Yidong <cyd@gnu.org>
19650
19651 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19652
19653 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19654
19655 * dirtrack.el (dirtrack): Support shell buffers with path
19656 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19657
19658 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19659
19660 * json.el: Bump version to 1.3 and note change in History.
19661 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19662
19663 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19664
19665 * comint.el (comint-insert-input, comint-send-input)
19666 (comint-get-old-input-default, comint-backward-matching-input)
19667 (comint-next-prompt): Use nil instead of `input' for field property of
19668 past user input (bug#114).
19669
19670 * minibuffer.el (completion--replace): Inherit surrounding properties
19671 (bug#114).
19672 (minibuffer-complete-and-exit): Use it.
19673
19674 * comint.el (comint--table-subvert): Quote the all-completions output
19675 (bug#9160).
19676
19677 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19678
19679 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19680
19681 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19682 window on right of selected. (Bug#9350) Reword other window
19683 entries and separate them from frame entries.
19684
19685 2011-10-15 Glenn Morris <rgm@gnu.org>
19686
19687 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19688 Doc fixes.
19689
19690 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19691
19692 * net/network-stream.el (network-stream-open-starttls):
19693 Improve detection of failure due to lack of TLS support.
19694
19695 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19696 putting the input text in front and in bold.
19697
19698 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19699
19700 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19701
19702 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19703 empty buffer.
19704
19705 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19706 unread-command-events rather than pushing yet-another event.
19707
19708 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19709
19710 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19711 the explanation of the possible choices. Make the options passed
19712 to completing-read shorter.
19713
19714 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19715
19716 * textmodes/flyspell.el (flyspell-large-region): Make sure
19717 extended character mode is used if defined (Bug#1339).
19718
19719 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19720
19721 * simple.el (what-cursor-position): Fix the display of the
19722 character info for LRE, LRO, RLE, and RLO characters by appending
19723 an invisible PDF.
19724
19725 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19726
19727 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19728 even in case of error; add debug spec; simplify data flow.
19729 (with-timeout-handler): Remove.
19730
19731 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19732
19733 Fix Bug#6019, Bug#9315.
19734
19735 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19736 complete `buffer-file-name', the local file name part could look
19737 remotely (for example on VMS).
19738
19739 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19740 `tramp-run-real-handler'.
19741 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19742 already quoted by '"'.
19743
19744 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19745 Let `file-name-handler-alist' be nil, the local file name part
19746 could look remotely (for example on VMS).
19747
19748 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19749
19750 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19751 from here...
19752 (flyspell-post-command-hook): ...to here.
19753
19754 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19755
19756 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19757 if not needed.
19758 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19759 using completion. Protect against "slow" callers.
19760 Remove the "message hack".
19761
19762 2011-10-11 Juri Linkov <juri@jurta.org>
19763
19764 * isearch.el (isearch-lazy-highlight-word): New variable.
19765 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19766 Use it. (Bug#9727)
19767
19768 2011-10-11 Glenn Morris <rgm@gnu.org>
19769
19770 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19771 like f90-previous-statement does.
19772
19773 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19774
19775 * eshell/eshell.el (eshell-command): History should be saved
19776 only in interactive use, to avoid error.
19777
19778 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19779
19780 * minibuffer.el (completion-file-name-table): Fix last change,
19781 i.e. ignore normal errors but not the other ones.
19782
19783 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19784
19785 * window.el (special-display-buffer-names)
19786 (special-display-regexps): Remove some remnants of earlier
19787 changes from doc-strings.
19788 (quit-windows-on): New function.
19789
19790 * vc/vc.el (vc-revert, vc-rollback):
19791 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19792 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19793 (Bug#6183) (Bug#7074) (Bug#7447)
19794
19795 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19796
19797 * window.el (frame-auto-hide-function): Add version tag.
19798 (Bug#9699)
19799
19800 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19801
19802 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19803 condition.
19804
19805 2011-10-09 Leo Liu <sdl.web@gmail.com>
19806
19807 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19808 (Bug#9701)
19809
19810 2011-10-08 Glenn Morris <rgm@gnu.org>
19811
19812 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19813 before the first code statement zero indent. (Bug#9690)
19814
19815 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19816
19817 * simple.el (count-words-region): Always count in the region.
19818 Report the number of lines and characters too.
19819 (count-words): New command, which counts in the buffer if the
19820 region is inactive, as count-words-region used to.
19821 (count-words--message): New function. Handle plurals.
19822 (count-lines-region): Make it an alias for count-words-region.
19823
19824 * bindings.el (esc-map): Replace count-lines-region with
19825 count-words-region.
19826
19827 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19828
19829 * window.el (window--delete): Delete dedicated frame
19830 unconditionally when argument KILL is non-nil. (Bug#9699)
19831 (switch-to-buffer): Fix doc-string typo.
19832
19833 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19834
19835 * eshell/eshell.el (eshell-command): Avoid using hooks.
19836
19837 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19838
19839 * bindings.el ([M-left],[M-right]): Bind to left-word and
19840 right-word respectively.
19841
19842 2011-10-07 Glenn Morris <rgm@gnu.org>
19843
19844 * cus-start.el (debug-on-quit): Fix custom type.
19845
19846 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19847
19848 * subr.el (define-key-after): Clarify that the function is not
19849 useful for non-menu keymaps.
19850
19851 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19852
19853 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19854
19855 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19856 in current minibuffer (Fix bug with recursive minibuffers).
19857
19858 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19859
19860 * progmodes/gdb-mi.el (gdb): Doc fix.
19861
19862 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19863
19864 * window.el (frame-auto-hide-function): New option replacing
19865 frame-auto-delete. Suggested by Stefan Monnier.
19866 (window--delete): Call frame-auto-hide-function instead of
19867 investigating frame-auto-delete.
19868 (window-point-1, set-window-point-1): New functions.
19869 (window-in-direction, record-window-buffer, window-state-get-1)
19870 (display-buffer-record-window): Use window-point-1 instead of
19871 window-point.
19872 (set-window-buffer-start-and-point): Use set-window-point-1.
19873
19874 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19875
19876 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19877
19878 2011-10-05 Glenn Morris <rgm@gnu.org>
19879
19880 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19881 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19882
19883 2011-10-05 Leo Liu <sdl.web@gmail.com>
19884
19885 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19886 works with buffer object.
19887
19888 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19889
19890 * mpc.el (mpc-tool-bar-map): Add labels.
19891
19892 2011-10-04 Glenn Morris <rgm@gnu.org>
19893
19894 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19895
19896 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19897
19898 * window.el (window--delete): New function.
19899 (frame-auto-delete): Resuscitate option.
19900 (bury-buffer, replace-buffer-in-windows)
19901 (quit-window): Rewrite using window--delete.
19902 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19903 Pass display-buffer-mark-dedicated to window--display-buffer-2
19904 (Bug#9639).
19905
19906 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19907
19908 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19909 returns a list (bug#9554). Add remote file name completion.
19910 * comint.el (comint--table-subvert): Curry and get quote&unquote
19911 functions as arguments.
19912 (comint--complete-file-name-data): Adjust call accordingly.
19913 * pcomplete.el (pcomplete--table-subvert): Remove.
19914 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19915
19916 * minibuffer.el (completion-table-case-fold): Use currying.
19917 (completion--styles-type, completion--cycling-threshold-type):
19918 New constants.
19919 (completion-styles, completion-category-overrides)
19920 (completion-cycle-threshold): Use them.
19921 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19922 completion-table-case-fold.
19923
19924 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19925
19926 * minibuffer.el (completion-category-overrides): Fix type of styles
19927 and add more user friendly tags (bug#9660).
19928
19929 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19930
19931 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19932 (mule-input-method-string): New widget.
19933 (default-input-method, language-info-custom-alist): Use it.
19934
19935 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19936
19937 * pcomplete.el: Require comint.
19938 (pcomplete--common-suffix): Remove.
19939 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19940 (pcomplete--table-subvert): Sync with comint--table-subvert.
19941 (pcomplete--entries): Use comint-completion-file-name-table.
19942 * comint.el (comint-unquote-filename): Simplify.
19943 (comint-completion-file-name-table): New function (bug#9616).
19944 (comint--complete-file-name-data): Use it.
19945
19946 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19947 (pcmpl-gnu-tar-buffer): Remove.
19948 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19949 around. Make sure pcomplete-suffix-list is only changed temporarily.
19950 Don't look inside the tar's file if it's too large.
19951
19952 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19953
19954 * cus-edit.el (custom-mode-map):
19955 * epa.el (epa-key-list-mode-map):
19956 * man.el (Man-mode-map):
19957 * startup.el (splash-screen-keymap):
19958 * simple.el (special-mode-map): Use scroll-up-command and
19959 scroll-down-command.
19960
19961 * progmodes/idlw-help.el (idlwave-help-mode-map):
19962 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19963 * net/newst-plainview.el (newsticker-mode-map):
19964 * emulation/ws-mode.el (wordstar-mode-map):
19965 * emulation/vi.el (vi-com-map):
19966 * calc/calc-graph.el (calc-graph-show-dumb):
19967 * term/sun.el (terminal-init-sun):
19968 * term/ns-win.el (global-map):
19969 * progmodes/grep.el (grep-mode-map):
19970 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19971 * mail/rmail.el (rmail-mode-map):
19972 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19973
19974 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19975 custom-safe-themes as special.
19976
19977 2011-10-01 Julien Danjou <julien@danjou.info>
19978
19979 * notifications.el (notifications-notify): Fix docstring.
19980
19981 2011-10-01 Per Starbäck <per@starback.se>
19982
19983 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19984
19985 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19986
19987 * startup.el (command-line-1): Fix last fix by inserting
19988 initial-scratch-message into *scratch* before displaying it.
19989 (Bug#9605) and (Bug#9636)
19990
19991 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19992
19993 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19994 window is hscrolled, move by logical lines. (Bug#9607)
19995 (line-move-visual): Update the doc string to the above effect.
19996
19997 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19998
19999 * window.el (display-buffer-record-window): When WINDOW is the
20000 selected window use `point' instead of `window-point'. (Bug#9626)
20001
20002 * startup.el (command-line-1): Use insert-before-markers when
20003 inserting initial-scratch-message. (Bug#9605)
20004
20005 * help.el (help-window): Remove variable.
20006
20007 2011-09-29 Glenn Morris <rgm@gnu.org>
20008
20009 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20010
20011 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20012
20013 * descr-text.el (describe-char-categories): Accept category
20014 descriptions more than one line long.
20015
20016 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20017
20018 * simple.el (delete-trailing-whitespace): Fix last change.
20019
20020 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20021 Don't confuse "y => 3" as the beginning of a `y' operation.
20022
20023 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20024 object has more than 4 slots (bug#9613).
20025
20026 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20027
20028 * subr.el (with-output-to-temp-buffer):
20029 * net/quickurl.el (quickurl, quickurl-browse-url):
20030 Fix typos in docstrings.
20031
20032 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20033
20034 * minibuffer.el (completion-styles)
20035 (completion-category-overrides): Cross reference each other in doc
20036 strings.
20037
20038 2011-09-27 Glenn Morris <rgm@gnu.org>
20039
20040 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20041 to split-string. (Bug#9606)
20042
20043 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20044
20045 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20046 (bug#9615).
20047
20048 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20049
20050 * emacs-lisp/package.el (list-packages): Fix echo area message.
20051
20052 2011-09-27 Leo Liu <sdl.web@gmail.com>
20053
20054 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20055
20056 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20057
20058 * net/dbus.el (dbus-unregister-object): Don't release services for
20059 registered signals. (Bug#9581)
20060
20061 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20062
20063 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20064 function that picks between cfengine 2 and 3 support
20065 automatically. Update docs accordingly.
20066
20067 2011-09-22 Kenichi Handa <handa@m17n.org>
20068
20069 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20070 ZERO.
20071 (indian-itrans-v5-table-for-tamil): New variable.
20072 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20073
20074 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20075
20076 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20077 that's true if the current command involved collapsing of text.
20078 It's reset to false at the beginning of the next command.
20079 (allout-post-command-business): Move the cursor to the beginning
20080 of entry if the cursor is hidden and collapsing activity just
20081 happened.
20082
20083 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20084
20085 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20086 tracking (Bug#9541).
20087
20088 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20089
20090 * net/newst-reader.el (newsticker-html-renderer)
20091 (newsticker-show-news): Automatically load html rendering package
20092 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20093 because w3m-fill-column is let-bound" and the error "Symbol's value
20094 as variable is void: w3m-fill-column".
20095
20096 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20097
20098 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20099 Release services only if they are defined. (Bug#9581)
20100
20101 2011-09-23 Richard Stallman <rms@gnu.org>
20102
20103 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20104 distinguish start of paragraph from start of its text.
20105
20106 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20107
20108 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20109 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20110 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20111
20112 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20113
20114 * international/mule-diag.el (mule-diag): Insert a newline after
20115 each fontset description.
20116
20117 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20118
20119 * simple.el (delete-trailing-whitespace):
20120 Document last change; simplify.
20121
20122 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20123
20124 * simple.el (delete-trailing-whitespace): Also delete
20125 extra newlines at the end of the buffer.
20126
20127 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20128 (picture-newline): Use forward-line so as to ignore fields.
20129
20130 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20131
20132 * subr.el (with-wrapper-hook): Fix edebug spec.
20133
20134 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20135
20136 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20137 (bug#4538).
20138
20139 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20140
20141 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20142 Fix nasty bug using wrong cached values.
20143
20144 2011-09-23 Alan Mackenzie <acm@muc.de>
20145
20146 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20147
20148 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20149
20150 * window.el (pop-to-buffer): Ensure right window is selected if we
20151 chose another frame.
20152
20153 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20154
20155 * simple.el (what-cursor-position): Use get-char-property-change
20156 and next-single-char-property-change, to be able to show display
20157 properties that come from overlays as well as text properties.
20158
20159 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20160
20161 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20162
20163 * cmuscheme.el (run-scheme, switch-to-scheme):
20164 * cus-edit.el (customize-group, custom-buffer-create)
20165 (customize-browse):
20166 * info.el (info):
20167 * shell.el (shell):
20168 * mail/sendmail.el (mail):
20169 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20170
20171 2011-09-22 Richard Stallman <rms@gnu.org>
20172
20173 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20174 move back only to line beg, don't move back over blank lines.
20175
20176 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20177
20178 * files.el (copy-directory): Set directory attributes only in case
20179 they could be retrieved from the source directory. (Bug#9565)
20180
20181 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20182
20183 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20184 (hs-find-block-beginning, hs-hide-level-recursive):
20185 Ignore strings as well as comments. (Bug#9502)
20186
20187 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20188
20189 * progmodes/sql.el (sql-comint-postgres):
20190 Convert port number to a string. (Bug#9566)
20191
20192 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20193
20194 * window.el (quit-window): Undedicate window when switching to
20195 previous buffer. Reported by Thierry Volpiatto
20196 <thierry.volpiatto@gmail.com>.
20197 (special-display-popup-frame): When popping up a new frame reset
20198 its previous buffers to nil. Simplify code.
20199
20200 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20201
20202 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20203 and process filter, as done also in `shell-command'.
20204
20205 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20206
20207 * window.el (set-window-buffer-start-and-point):
20208 Call set-window-start with NOFORCE argument t.
20209 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20210 (quit-window): Reword doc-string. Handle new format of
20211 quit-restore parameter. Don't delete window if it has a
20212 previous buffer we can show instead of the present one.
20213 (display-buffer-record-window): Rewrite using a new format for
20214 the quit-restore window parameter
20215 (special-display-popup-frame, display-buffer-same-window)
20216 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20217 (display-buffer-pop-up-window, display-buffer-use-some-window):
20218 Adapt symbol passed to display-buffer-record-window.
20219 * help.el (help-window-setup): Handle new format of quit-restore
20220 parameter.
20221
20222 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20223
20224 * faces.el (face-list): Fix docstring (bug#9564).
20225
20226 * window.el (display-buffer--action-function-custom-type):
20227 Don't include internal functions in the Custom interface.
20228
20229 2011-09-20 Juri Linkov <juri@jurta.org>
20230
20231 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20232 (Info-forward-node, Info-backward-node, Info-next-preorder)
20233 (Info-last-preorder): Use it. (Bug#9528)
20234
20235 2011-09-20 Juri Linkov <juri@jurta.org>
20236
20237 * info.el (Info-last-preorder): Visit last menu item only when
20238 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20239
20240 2011-09-20 Julien Danjou <julien@danjou.info>
20241
20242 * password-cache.el (password-cache-remove): Remove entries even if the
20243 value is nil, so that password with a nil value (negative caching) is
20244 possible to invalidate.
20245
20246 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20247
20248 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20249 all whitespace around breakpoint. (Bug#9553)
20250 (f90-find-breakpoint): Only break at whitespace inside a comment.
20251
20252 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20253
20254 * minibuffer.el (completion-file-name-table): Keep track of errors.
20255 (completion-table-with-predicate): Handle the case where pred1 is nil.
20256 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20257
20258 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20259
20260 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20261 (debugger-return-value): Signal an error if the debugging context does
20262 not await any return value.
20263
20264 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20265 * image-mode.el (image-toggle-display-text)
20266 (image-toggle-display-image): Stay away from evil `intangible'.
20267
20268 2011-09-19 Leo Liu <sdl.web@gmail.com>
20269
20270 * replace.el (occur-revert-arguments): Make it permanent-local.
20271 (occur-mode): Don't call font-lock-defontify.
20272
20273 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20274
20275 * net/ldap.el (ldap-search-internal): Don't push empty search
20276 result (Bug#9508).
20277
20278 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20279
20280 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20281
20282 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20283
20284 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20285 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20286
20287 2011-09-18 Juri Linkov <juri@jurta.org>
20288
20289 * buff-menu.el (Buffer-menu-mode-map):
20290 * dired.el (dired-mode-map):
20291 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20292 (lisp-interaction-mode-map):
20293 * emacs-lisp/package.el (package-menu-mode-map):
20294 * epa.el (epa-key-list-mode-map):
20295 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20296 (menu-bar-options-menu):
20297 * outline.el (outline-mode-menu-bar-map):
20298 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20299 * vc/vc-dir.el (vc-dir-menu-map):
20300 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20301 Capitalize non-function content words in menu item strings.
20302
20303 * dired.el (dired-mode-map): Add menu item for
20304 `image-dired-dired-toggle-marked-thumbs'.
20305
20306 2011-09-18 Juri Linkov <juri@jurta.org>
20307
20308 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20309 to `isearch-case-fold-search' and restore its original value
20310 after the `isearch-mode' call.
20311
20312 2011-09-18 Juri Linkov <juri@jurta.org>
20313
20314 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20315 because `zgrep' returns 1 for successful matches (bug#9226).
20316
20317 2011-09-18 Juri Linkov <juri@jurta.org>
20318
20319 * info.el (Info-extract-menu-node-name): Check the second match
20320 for empty string (second test-case of bug#9528).
20321 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20322 intermediate nodes to the history (first test-case of bug#9528).
20323
20324 2011-09-18 Juri Linkov <juri@jurta.org>
20325
20326 * info.el (Info-mode-syntax-table): New variable.
20327 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20328
20329 2011-09-18 Juri Linkov <juri@jurta.org>
20330
20331 * info.el (Info-file-supports-index-cookies):
20332 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20333 outputs one more line for long file names (bug#4142).
20334
20335 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20336
20337 * newcomment.el (comment-normalize-vars): If prompting for
20338 comment-start, set comment-start-skip too (Bug#8424).
20339
20340 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20341
20342 * icomplete.el: Fix previous fix of Bug#5849.
20343 (icomplete-mode): Don't set completion-show-inline-help.
20344 (icomplete-minibuffer-setup): Set completion-show-inline-help
20345 locally during icompletion.
20346
20347 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20348
20349 * woman.el (woman2-process-escapes): Don't delete unrecognized
20350 escapes (Bug#7843).
20351
20352 * files.el (inhibit-first-line-modes-regexps): Add image files.
20353 (hack-local-variables-prop-line): Return nil for malformed
20354 prop-lines (Bug#9044).
20355
20356 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20357
20358 * net/tramp.el (top): Don't require 'shell.
20359 (tramp-methods): Fix docstring.
20360 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20361 Return complete remote file name. Handle "smb" case.
20362 Use `tramp-tmpdir', if defined for the respective method.
20363 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20364
20365 * net/tramp-compat.el (top): Require 'shell.
20366
20367 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20368 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20369 `tramp-current-host'.
20370 (tramp-get-remote-tmpdir): Remove.
20371
20372 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20373 `tramp-tmpdir' entries.
20374 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20375 (tramp-smb-handle-file-attributes): Ignore errors.
20376 (tramp-smb-wait-for-output): Check also for process end.
20377
20378 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20379
20380 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20381 when sending QUIT (bug#9312).
20382
20383 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20384
20385 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20386 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20387 occur-mode-display-occurrence.
20388 (occur-edit-mode): Add usage message.
20389 (occur-cease-edit): New command.
20390 (occur-after-change-function): Use text properties to find the
20391 position of the prefix text.
20392 (occur-engine): Set stickiness of prefix text properties.
20393
20394 2011-09-17 Glenn Morris <rgm@gnu.org>
20395
20396 * progmodes/etags.el (complete-tag):
20397 Fix call to completion-in-region. (Bug#9526)
20398
20399 2011-09-17 Juri Linkov <juri@jurta.org>
20400
20401 * textmodes/ispell.el (ispell-word): Add to the error message
20402 the word, ispell program name and current dictionary (bug#9121).
20403 (ispell-tex-arg-end): Capitalize "error" in the error message.
20404
20405 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20406
20407 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20408 check. (Bug#4251)
20409
20410 2011-09-17 Juri Linkov <juri@jurta.org>
20411
20412 * window.el (window-safe-min-height, window-safe-min-width):
20413 Fix typos (followup to bug#9522).
20414
20415 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20416
20417 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20418
20419 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20420
20421 * simple.el (line-move): If goal-column is set, move by logical
20422 lines, not by display lines. (Bug#971)
20423 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20424 to reflect the above change.
20425
20426 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20427
20428 * image.el (imagemagick-register-types): Use regexp-opt.
20429
20430 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20431
20432 * window.el (display-buffer-base-action): Rename from
20433 display-buffer-default-action. Make default value empty.
20434 (display-buffer-overriding-action): Convert to defvar.
20435 (display-buffer-fallback-action): New var.
20436
20437 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20438
20439 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20440 declaration.
20441 (package--add-to-archive-contents): If there is a duplicate entry
20442 with an older version, remove it.
20443 (package-menu-mark-delete, package-menu-mark-install)
20444 (package-menu-mark-unmark): Make unused args optional.
20445 (package-menu-mark-obsolete-for-deletion):
20446 Use package-menu-get-status instead of a regexp search.
20447 (package-menu-get-status): Use tabulated-list-entry.
20448 (package-menu-mark-upgrades): New command.
20449 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20450 (package-menu-execute): Do installation before deletion.
20451 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20452 instead of checking major-mode.
20453 (package-menu--find-upgrades): New function.
20454
20455 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20456
20457 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20458 passwords in the log buffer.
20459 (smtpmail-process-filter): Update the process marker so that the
20460 "broken by peer" status message is inserted in the right place.
20461
20462 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20463
20464 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20465 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20466 bibtex-completion-at-point-function.
20467 (bibtex-completion-at-point-function): Use them.
20468
20469 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20470
20471 * mpc.el (mpc-constraints-tag-lookup): New function.
20472 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20473 also to browser "album|playlist".
20474
20475 2011-09-14 Juri Linkov <juri@jurta.org>
20476
20477 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20478 (isearch-edit-string): Use length of `isearch-string' when
20479 `isearch-fail-pos' returns nil.
20480 (isearch-message): Remove duplicate code and call
20481 `isearch-fail-pos' with arg `t'.
20482
20483 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20484
20485 * replace.el (occur-mode-goto-occurrence): Don't force using other
20486 window (Bug#9499).
20487
20488 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20489
20490 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20491
20492 * window.el (display-buffer-window): Remove.
20493 (display-buffer-record-window): Use help-setup window parameter
20494 instead of variable display-buffer-window.
20495 (display-buffer-function, special-display-buffer-names)
20496 (special-display-function): Mention help-setup parameter instead
20497 of display-buffer-window in doc-string.
20498 * help.el (help-window-setup): New argument help-window.
20499 Use help-window-setup parameter instead of display-buffer-window.
20500 Reword some messages.
20501 (with-help-window): Pass window used for displaying the buffer
20502 to help-window-setup. Don't set display-buffer-window.
20503
20504 2011-09-13 Glenn Morris <rgm@gnu.org>
20505
20506 * emacs-lisp/debug.el (debugger-make-xrefs):
20507 Preserve point. (Bug#9462)
20508
20509 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20510
20511 * window.el (window-deletable-p): Use next-frame.
20512
20513 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20514
20515 * window.el (window-auto-delete): Remove.
20516 (window-deletable-p): Remove argument FORCE. Don't deal with
20517 dedication and previous buffers.
20518 (switch-to-prev-buffer): Don't delete window.
20519 (delete-windows-on): Delete a window's frame if and only if the
20520 window is dedicated.
20521 (replace-buffer-in-windows): Delete buffer's window or frame if
20522 and only if window is dedicated.
20523 (quit-window): Handle quit-restore as before last change.
20524 (bury-buffer): Delete window only if window-deletable-p returns t.
20525
20526 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20527
20528 * window.el (window-deletable-p): Never delete the last frame on a
20529 given terminal.
20530
20531 2011-09-13 Glenn Morris <rgm@gnu.org>
20532
20533 * help.el (describe-key-briefly): Copy previous standard-output change.
20534
20535 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20536
20537 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20538
20539 2011-09-13 Glenn Morris <rgm@gnu.org>
20540
20541 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20542 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20543
20544 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20545
20546 * dired-aux.el (dired-mark-read-string): Don't return default
20547 value on empty input (Bug#9361).
20548 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20549 Omit initial minibuffer contents.
20550 (dired-do-chmod): Signal an error on empty input.
20551 (dired-mark-read-string): Don't return default on empty input.
20552
20553 * files.el (file-modes-symbolic-to-number): Doc fix.
20554
20555 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20556
20557 * international/mule-cmds.el (ucs-completions): Remove.
20558 (read-char-by-name): Use complete-with-action instead; add metadata.
20559
20560 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20561
20562 * window.el (display-buffer--action-function-custom-type)
20563 (display-buffer--action-custom-type): New vars.
20564 (display-buffer-alist, display-buffer-default-action)
20565 (display-buffer-overriding-action): Add defcustom types.
20566
20567 * frame.el (delete-other-frames): Doc fix (Bug#276).
20568
20569 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20570
20571 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20572
20573 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20574
20575 Change modes that used same-window-* vars to use switch-to-buffer.
20576
20577 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20578 Use switch-to-buffer.
20579
20580 * cus-edit.el (customize-group, custom-buffer-create)
20581 (customize-browse, custom-buffer-create-other-window):
20582 Use switch-to-buffer or switch-to-buffer-other-window.
20583
20584 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20585 (Info-prev, Info-up, Info-speedbar-goto-node)
20586 (info-display-manual): Use switch-to-buffer.
20587 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20588
20589 * mail/sendmail.el (mail): Use switch-to-buffer.
20590 (mail-recover): Use switch-to-buffer-other-window.
20591
20592 * cmuscheme.el (run-scheme, switch-to-scheme):
20593 * ielm.el (ielm):
20594 * shell.el (shell):
20595 * net/rlogin.el (rlogin):
20596 * net/telnet.el (telnet, rsh):
20597 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20598
20599 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20600
20601 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20602
20603 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20604
20605 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20606 so don't mention it (bug#9301).
20607 (dired-sort-toggle-or-edit): Clarify string further.
20608
20609 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20610 match `x', `w32' and `ns', like the manual says (bug#9029).
20611
20612 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20613 (process-kill-buffer-query-function): Mention the buffer name in
20614 the query.
20615
20616 * image-mode.el (image-next-line): The line parameter is mandatory
20617 (bug#9258).
20618
20619 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20620 which can be useful (bug#9301).
20621
20622 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20623
20624 * subr.el (match-string): Mention that the current buffer should
20625 be the same as the search was done in (bug#9282).
20626
20627 * facemenu.el: Disable the remove-* commands if the mark isn't
20628 active (bug#9162).
20629
20630 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20631
20632 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20633 of display-buffer.
20634 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20635
20636 * replace.el (occur-mode-goto-occurrence)
20637 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20638 and display-buffer.
20639
20640 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20641 display-buffer.
20642
20643 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20644 special-display and same-window variables.
20645 (mail-other-window): Use switch-to-buffer-other-window.
20646 (mail-other-frame): USe switch-to-buffer-other-frame.
20647
20648 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20649 Use display-buffer-other-frame.
20650 (gdb-display-gdb-buffer): Use pop-to-buffer.
20651
20652 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20653
20654 * progmodes/python.el: Don't set same-window-buffer-names.
20655
20656 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20657
20658 * window.el (display-buffer-alist): Add *Python*.
20659
20660 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20661
20662 * window.el (display-buffer-alist): Add entry for buffers
20663 previously handled same-window-*.
20664 (display-buffer-alist, display-buffer-default-action)
20665 (display-buffer-overriding-action): Mark as risky.
20666 (display-buffer-alist): Document action function changes.
20667 (display-buffer--same-window-action)
20668 (display-buffer--other-frame-action): New variables.
20669 (switch-to-buffer, display-buffer-other-frame): Use them.
20670 (display-buffer): Rename reuse-frame entry to reusable-frames.
20671 (display-buffer-reuse-selected-window): Function deleted.
20672 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20673 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20674 (display-buffer-special): New function.
20675 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20676 display-buffer-reuse-or-pop-window. Split off special-display
20677 part into display-buffer-special.
20678 (display-buffer-use-some-window): Don't perform any special
20679 pop-up-frames handling.
20680 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20681 (display-buffer--maybe-same-window): Rename from
20682 display-buffer-maybe-same-window.
20683
20684 * info.el: Don't set same-window-regexps.
20685 (info-setup): New function.
20686 (info-other-window, info): Call it.
20687
20688 * cus-edit.el: Don't set same-window-regexps.
20689 (customize-group): New argument.
20690 (customize-group-other-window): Use it.
20691 (customize-face, customize-face-other-window): Likewise.
20692 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20693
20694 * net/rlogin.el:
20695 * net/telnet.el:
20696 * progmodes/gud.el: Don't set same-window-regexps.
20697
20698 * cmuscheme.el:
20699 * ielm.el:
20700 * shell.el:
20701 * mail/sendmail.el:
20702 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20703
20704 2011-09-10 Juri Linkov <juri@jurta.org>
20705
20706 * isearch.el (isearch-edit-string): Remove obsolete mention of
20707 `C-w' (`isearch-yank-word-or-char') from docstring.
20708 (isearch-query-replace): Fix typo in docstring (bug#9466).
20709
20710 2011-09-10 Juri Linkov <juri@jurta.org>
20711
20712 * paren.el (show-paren-function): Don't show escaped parens.
20713 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20714
20715 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20716
20717 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20718 (mm-default-file-encoding): Remove autoload forms, they are
20719 replaced with autoload cookies in mml.el and mm-encode.el.
20720 (mail-add-attachment): New command.
20721 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20722 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20723 the doc string.
20724 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20725
20726 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20727
20728 * simple.el (count-words-region): Use buffer if there's no region
20729 (bug#9429).
20730
20731 2011-09-09 Juri Linkov <juri@jurta.org>
20732
20733 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20734 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20735 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20736
20737 2011-09-09 Alan Mackenzie <acm@muc.de>
20738
20739 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20740 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20741
20742 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20743
20744 Fix for Savannah bug#9392.
20745 * simple.el (mail-encode-mml): New defvar.
20746
20747 * mail/rmail.el (mail-encode-mml): Add a defvar.
20748 (rmail-enable-mime-composing): Default to t.
20749 (rmail-forward): Use MIME method of forwarding only if both
20750 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20751 Set mail-encode-mml non-nil if the MIME method was used.
20752
20753 * mail/sendmail.el (mml-to-mime): Add autoload form.
20754 (mail-encode-mml): Add a defvar.
20755 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20756 to nil.
20757 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20758 message through mml-to-mime, and reset mail-encode-mml to nil.
20759
20760 2011-09-09 Glenn Morris <rgm@gnu.org>
20761
20762 * woman.el (woman-if-body): When processing an .el block,
20763 do not delete the next .el block as well. (Bug#9447)
20764 (woman-special-characters): Add oq, cq, and hy characters.
20765
20766 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20767
20768 * window.el (window-deletable-p): Make sure window is live before
20769 invoking window-prev-buffers.
20770
20771 2011-09-08 Leo Liu <sdl.web@gmail.com>
20772
20773 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20774
20775 2011-09-08 Juri Linkov <juri@jurta.org>
20776
20777 * progmodes/compile.el (compilation-environment): Make it
20778 a defcustom (bug#8340).
20779
20780 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20781
20782 * window.el (frame-auto-delete): Rename to window-auto-delete.
20783 Make it control auto-deletion of windows and/or frames.
20784 (window-deletable-p): New argument FORCE. Rewrite conditions
20785 for deleting window/frame. (Bug#9419)
20786 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20787 Rewrite handling of case when window/frame can be deleted.
20788 (delete-windows-on): Call window-deletable-p with new FORCE
20789 argument t. (Bug#9456)
20790
20791 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20792
20793 * help-mode.el (help-mode): Restore autoload.
20794
20795 2011-09-07 Juri Linkov <juri@jurta.org>
20796
20797 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20798 `compilation-environment'. Set buffer-local
20799 `compilation-environment' to `thisenv' later after (funcall mode).
20800 (Bug#8340)
20801
20802 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20803 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20804 instead of replacing its value. (Bug#8340)
20805
20806 2011-09-07 Juri Linkov <juri@jurta.org>
20807
20808 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20809 based on text properties put by `grep-filter' instead of matching
20810 escape sequences.
20811 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20812 to the value of `grep-error-screen-columns' (bug#9438).
20813
20814 2011-09-07 Juri Linkov <juri@jurta.org>
20815
20816 * simple.el (next-error-highlight, next-error-highlight-no-select):
20817 Doc fix (bug#9432).
20818
20819 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20820
20821 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20822 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20823
20824 2011-09-07 Leo Liu <sdl.web@gmail.com>
20825
20826 * net/rcirc.el (rcirc-mode): Conditionally initialize
20827 rcirc-input-ring.
20828
20829 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20830
20831 * emacs-lisp/find-func.el (find-function-C-source): Only set
20832 find-function-C-source-directory after checking that we found a source
20833 file there (bug#9440).
20834
20835 2011-09-06 Alan Mackenzie <acm@muc.de>
20836
20837 * isearch.el (isearch-other-meta-char): Wherever a key list is
20838 unread, "unread" the prefix arg, too. This fixes bug #8901.
20839
20840 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20841
20842 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20843
20844 2011-09-05 Juri Linkov <juri@jurta.org>
20845
20846 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20847
20848 2011-09-05 Juri Linkov <juri@jurta.org>
20849
20850 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20851 keeping point where processing of grep matches begins, and
20852 continue to delete remaining escape sequences from the same point.
20853 (grep-filter): Make leading zero optional in "0?1;31m" because
20854 git-grep emits "\033[1;31m" escape sequences unlike expected
20855 "\033[01;31m" as GNU Grep does (bug#9408).
20856 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20857
20858 2011-09-05 Juri Linkov <juri@jurta.org>
20859
20860 * subr.el (y-or-n-p): Capitalize "yes".
20861
20862 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20863
20864 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20865 `tramp-cache-unload-hook' where appropriate.
20866 (tramp-methods): Rename `tramp-remote-sh' to
20867 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20868 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20869
20870 * net/tramp-sh.el (top): Don't require 'shell.
20871 (tramp-methods): Add `tramp-remote-shell' and
20872 `tramp-remote-shell-args' entries.
20873 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20874 (tramp-sh-handle-shell-command): Remove.
20875 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20876 Use `tramp-remote-shell'.
20877
20878 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20879
20880 * mail/sendmail.el (sendmail-query-once-function): Delete.
20881 (sendmail-query-once): Save directly to send-mail-function.
20882 Update message-send-mail-function too.
20883
20884 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20885
20886 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20887
20888 * progmodes/python.el (python-mode-map): Use correct function to
20889 start python interpreter from menu-bar (as reported by Geert
20890 Kloosterman).
20891 (inferior-python-mode-map): Fix typo.
20892 (python-shell-map): Remove.
20893
20894 2011-09-03 Deniz Dogan <deniz@dogan.se>
20895
20896 * net/rcirc.el (rcirc-print): Simplify code for
20897 rcirc-scroll-show-maximum-output. There is no need to walk
20898 through all windows to find the right one.
20899
20900 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20901
20902 * help.el (help-return-method): Doc fix.
20903
20904 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20905
20906 * window.el (window-deletable-p): Don't return a non-nil value
20907 when there's a buffer that was shown in the window before.
20908 (Bug#9419)
20909 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20910 Set window's previous buffers to nil.
20911
20912 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20913
20914 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20915 newline before and after the tag line, so it doesn't interfere
20916 with determining the paragraph direction of bidirectional text.
20917
20918 2011-09-03 Leo Liu <sdl.web@gmail.com>
20919
20920 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20921
20922 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20923
20924 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20925 (pop-to-buffer): Change interactive spec. Pass second argument
20926 directly to display-buffer.
20927 (display-buffer): Fix interactive spec. Use functionp to
20928 distinguish between a function and a list of functions.
20929
20930 * abbrev.el (edit-abbrevs):
20931 * arc-mode.el (archive-extract):
20932 * autoinsert.el (auto-insert):
20933 * bookmark.el (bookmark-bmenu-list):
20934 * files.el (find-file):
20935 * view.el (view-buffer):
20936 * progmodes/compile.el (compilation-goto-locus):
20937 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20938
20939 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20940
20941 * window.el (display-buffer-alist): Doc fix.
20942 (display-buffer): Add docstring. Don't treat
20943 display-buffer-default specially.
20944 (display-buffer-reuse-selected-window)
20945 (display-buffer-same-window, display-buffer-maybe-same-window)
20946 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20947 (display-buffer-pop-up-window)
20948 (display-buffer-reuse-or-pop-window)
20949 (display-buffer-use-some-window): New functions.
20950 (display-buffer-default-action): Use them.
20951 (display-buffer-default): Delete.
20952 (pop-to-buffer-1): Fix choice of actions.
20953
20954 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20955
20956 * minibuffer.el (completion--insert-strings): Don't get confused by
20957 completion entries that end with an LF char.
20958
20959 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20960
20961 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20962
20963 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20964
20965 * window.el (display-buffer): Restore interactive spec.
20966 (display-buffer-same-window, display-buffer-other-window):
20967 New functions.
20968 (pop-to-buffer-1): New function. Use the above.
20969 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20970 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20971
20972 * view.el (view-buffer-other-window, view-buffer-other-frame):
20973 Just use pop-to-buffer.
20974
20975 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20976
20977 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20978
20979 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20980
20981 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20982
20983 2011-08-31 Richard Stallman <rms@gnu.org>
20984
20985 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20986 of the separation of rmail-view-buffer from rmail-buffer.
20987 If you say no to "replace original", the decrypt is in the
20988 view buffer. If you say yes, the decrypt goes into the
20989 rmail buffer also.
20990
20991 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20992
20993 * window.el (display-buffer-window): Rewrite doc-string.
20994 (display-buffer-record-window): New function.
20995 (display-buffer-macro-specifiers)
20996 (display-buffer-even-window-sizes, display-buffer-set-height)
20997 (display-buffer-set-width, display-buffer-in-window)
20998 (display-buffer-reuse-window, display-buffer-split-specifiers)
20999 (display-buffer-side-specifiers, display-buffer-split-window-1)
21000 (display-buffer-split-window, display-buffer-split-atom-window)
21001 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21002 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21003 (display-buffer-other-window-means-other-frame)
21004 (display-buffer-normalize-special)
21005 (display-buffer-normalize-default)
21006 (display-buffer-normalize-argument)
21007 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21008 (display-buffer-normalize-specifiers, display-buffer-frame)
21009 (display-buffer-same-window, display-buffer-same-frame)
21010 (display-buffer-other-window)
21011 (display-buffer-same-frame-other-window)
21012 (display-buffer-other-frame, pop-to-buffer-same-window)
21013 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21014 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21015 (switch-to-buffer-same-frame)
21016 (switch-to-buffer-other-window-same-frame)
21017 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21018 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21019 (display-buffer-alist-set): Remove.
21020 (display-buffer-function, special-display-buffer-names)
21021 (special-display-regexps, special-display-function):
21022 In doc-string refer to display-buffer-window and quit-restore
21023 parameter.
21024 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21025 (special-display-frame-alist, special-display-popup-frame)
21026 (same-window-buffer-names, same-window-regexps, same-window-p)
21027 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21028 (split-window-preferred-function, split-height-threshold)
21029 (split-width-threshold, window-splittable-p)
21030 (split-window-sensibly, window--try-to-split-window)
21031 (window--frame-usable-p, even-window-heights)
21032 (window--even-window-heights, window--display-buffer-1)
21033 (window--display-buffer-2, display-buffer-other-frame):
21034 Restore old Emacs 23 code, order and doc-strings where applicable.
21035 (display-buffer-default, display-buffer-assq-regexp): New functions.
21036 (display-buffer-alist): Rewrite doc-string.
21037 (display-buffer-default-action)
21038 (display-buffer-overriding-action): New variables.
21039 (display-buffer, switch-to-buffer): Rewrite.
21040 (pop-to-buffer): Restore Emacs 23 behavior but use
21041 window-normalize-buffer-to-display.
21042 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21043 Restore Emacs 23 behavior but use
21044 window-normalize-buffer-to-switch-to.
21045 (pop-to-buffer-same-window): Rewrite.
21046 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21047 Rewrite using Emacs 23 options.
21048
21049 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21050
21051 * net/tramp.el (tramp-root-regexp): Remove.
21052 (tramp-completion-file-name-regexp-unified)
21053 (tramp-completion-file-name-regexp-separate)
21054 (tramp-completion-file-name-regexp-url): Don't use leading volume
21055 letter on w32 systems. (Bug#5303, Bug#9311)
21056 (tramp-drop-volume-letter): Simplify definition.
21057 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21058
21059 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21060
21061 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21062 (bug#9356).
21063
21064 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21065
21066 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21067
21068 2011-08-29 Juri Linkov <juri@jurta.org>
21069
21070 * isearch.el (isearch-done): Don't display message "Mark saved"
21071 when arg `edit' is non-nil to prevent its flicker in the echo area.
21072
21073 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21074
21075 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21076 obsolete packages for deletion.
21077
21078 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21079
21080 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21081 (help-mode): Derive help-mode from special-mode. Don't invoke
21082 view-mode from help-mode.
21083 (help-xref-override-view-map): Remove.
21084 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21085 view-mode is not used anymore.
21086
21087 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21088
21089 * server.el (server-port): Doc fix.
21090
21091 * cus-theme.el (custom-theme-choose-mode): Inherit from
21092 special-mode (Bug#9124).
21093 (custom-theme-choose-mode-map): Add special-mode to parent.
21094
21095 2011-08-28 Alan Mackenzie <acm@muc.de>
21096
21097 * progmodes/cc-fonts.el
21098 (c-make-font-lock-BO-decl-search-function): New function.
21099 (c-basic-matchers-after - "Fontify the clauses after various
21100 keywords"): Extract the three keyword lists for the 3 erroneous
21101 constructs from the list of four, and use the new function above
21102 in place of an old one.
21103
21104 2011-08-28 Deniz Dogan <deniz@dogan.se>
21105
21106 * net/rcirc.el (rcirc-insert-prev-input)
21107 (rcirc-insert-next-input): Remove unused argument.
21108
21109 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21110
21111 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21112
21113 2011-08-27 Alan Mackenzie <acm@muc.de>
21114
21115 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21116 handle function pointer parameters properly.
21117
21118 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21119
21120 * window.el (display-buffer-reuse-window): Fix case where
21121 selected window was reused with non-nil OTHER-WINDOW argument.
21122 (Bug#9381)
21123
21124 2011-08-27 Deniz Dogan <deniz@dogan.se>
21125
21126 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21127 oftc's NickServ messages.
21128
21129 2011-08-27 Glenn Morris <rgm@gnu.org>
21130
21131 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21132
21133 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21134
21135 * emacs-lisp/package.el (package-install): Call package-initialize
21136 if called interactively.
21137
21138 2011-08-26 Leo Liu <sdl.web@gmail.com>
21139
21140 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21141
21142 2011-08-25 Juri Linkov <juri@jurta.org>
21143
21144 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21145 `search-whitespace-regexp' (bug#9364).
21146
21147 2011-08-25 Juri Linkov <juri@jurta.org>
21148
21149 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21150 `regexp-search-ring' to their global values to protect from
21151 updating by `read-from-minibuffer' (bug#9185).
21152
21153 2011-08-25 Juri Linkov <juri@jurta.org>
21154
21155 * textmodes/ispell.el (ispell-command-loop): Add newline
21156 at the end of the "Use option `i'..." line.
21157
21158 2011-08-25 Juri Linkov <juri@jurta.org>
21159
21160 * battery.el (display-battery-mode): If `battery-status-function'
21161 or `battery-mode-line-format' is nil, display the message and set
21162 `display-battery-mode' to nil (bug#9363).
21163
21164 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21165
21166 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21167 bidi-string-mark-left-to-right; they are unnecessary now.
21168
21169 2011-08-25 Deniz Dogan <deniz@dogan.se>
21170
21171 * net/quickurl.el: Documentation typo fixes.
21172
21173 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21174
21175 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21176
21177 2011-08-25 Glenn Morris <rgm@gnu.org>
21178
21179 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21180
21181 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21182 (smtpmail-via-smtp): Handle nil response from smtp.
21183
21184 2011-08-24 Juri Linkov <juri@jurta.org>
21185
21186 * proced.el (proced-marked): Inherit from `error' instead of
21187 `font-lock-warning-face'.
21188
21189 * ibuffer.el (ibuffer-marked-face): Change default face from
21190 `font-lock-warning-face' to `warning'.
21191 (ibuffer-deletion-face): Change default face from
21192 `font-lock-type-face' to `error'.
21193
21194 * battery.el (battery-update): Use the face `error' instead of
21195 `font-lock-warning-face' (bug#6117).
21196
21197 2011-08-24 Juri Linkov <juri@jurta.org>
21198
21199 * faces.el (success): Change face color from "Green3" to
21200 "ForestGreen" on light background (bug#9353).
21201
21202 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21203
21204 * window.el (quit-window): Rename from quit-restore-window.
21205 Use same arglist as old quit-window.
21206 (frame-auto-delete): Doc fix.
21207
21208 * view.el (view-mode-exit): Use quit-window.
21209
21210 2011-08-24 Juri Linkov <juri@jurta.org>
21211
21212 * isearch.el (isearch-ring-adjust1): Start visiting previous
21213 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21214 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21215 for empty search string (when the last search string is reused
21216 automatically) to adjust the isearch ring to the last element and
21217 prepare the correct index for further M-p commands (bug#9185).
21218
21219 2011-08-24 Kenichi Handa <handa@m17n.org>
21220
21221 * international/ucs-normalize.el: If decomposition property of
21222 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21223 nil.
21224 (nfd, nfkd): Likewise.
21225
21226 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21227
21228 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21229 from process filters aren't reliably transmitted to the surrounding
21230 accept-process-output.
21231 (mpc-proc-check): New function.
21232 (mpc-proc-sync): Use it (bug#8293)
21233
21234 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21235
21236 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21237 Add compatibility functions (bug#9313).
21238
21239 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21240
21241 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21242
21243 * international/uni-bidi.el: Regenerate.
21244
21245 2011-08-23 Kenichi Handa <handa@m17n.org>
21246
21247 * international/charprop.el:
21248 * international/uni-bidi.el:
21249 * international/uni-category.el:
21250 * international/uni-combining.el:
21251 * international/uni-comment.el:
21252 * international/uni-decimal.el:
21253 * international/uni-decomposition.el:
21254 * international/uni-digit.el:
21255 * international/uni-lowercase.el:
21256 * international/uni-mirrored.el:
21257 * international/uni-name.el:
21258 * international/uni-numeric.el:
21259 * international/uni-old-name.el:
21260 * international/uni-titlecase.el:
21261 * international/uni-uppercase.el: Regenerate.
21262
21263 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21264
21265 * help.el (help-window-setup): Fix message displayed when other
21266 window is reused. (Bug#9341)
21267
21268 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21269
21270 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21271 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21272
21273 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21274 Mark obsolete.
21275 * shell.el (shell-parse-pcomplete-arguments): New function.
21276 (shell-completion-vars): Use it instead (bug#9160).
21277
21278 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21279
21280 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21281 strings and comments (bug#9333).
21282
21283 * emacs-lisp/debug.el (debug-arglist): New function.
21284 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21285 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21286
21287 2011-08-22 Juri Linkov <juri@jurta.org>
21288
21289 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21290 Revert regexp that highlights output switches to its old
21291 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21292
21293 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21294 to check for empty output (bug#9226).
21295
21296 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21297
21298 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21299 symbol-constituent as the default, as that stops font-lock from
21300 working properly (Bug#8843).
21301
21302 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21303
21304 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21305 `coding-system-for-*' around the process open call to avoid
21306 auth-source side effects.
21307 (smtpmail-try-auth-methods): Expand the secret password.
21308 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21309 probe hangs.
21310
21311 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21312
21313 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21314
21315 * emacs-lisp/find-func.el (find-function-noselect): New arg
21316 lisp-only.
21317
21318 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21319 signal an error for built-in functions (Bug#6664).
21320
21321 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21322
21323 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21324 (smtpmail-try-auth-methods): Use it.
21325
21326 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21327
21328 * font-lock.el (font-lock-fontify-region)
21329 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21330 (font-lock-default-unfontify-buffer)
21331 (font-lock-default-fontify-region)
21332 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21333
21334 * progmodes/compile.el (compilation-error-properties):
21335 Fix confusion between file struct and message struct (Bug#9319).
21336 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21337 `ant' regexp.
21338
21339 * net/browse-url.el (browse-url-firefox): Don't call
21340 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21341
21342 2011-08-20 Glenn Morris <rgm@gnu.org>
21343
21344 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21345
21346 * tutorial.el (tutorial--default-keys): Update some default bindings.
21347
21348 * files.el (hack-local-variables): Fully ignore case for "mode:".
21349
21350 2011-08-20 Alan Mackenzie <acm@muc.de>
21351
21352 Resolve invalid use of a regexp in regexp-opt.
21353
21354 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21355 detection for a java annotation.
21356
21357 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21358 detection for a java annotation.
21359
21360 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21361 handling for java.
21362 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21363
21364 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21365
21366 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21367 (Bug#9274).
21368
21369 2011-08-20 Alan Mackenzie <acm@muc.de>
21370
21371 Fontify CPP expressions correctly when starting in the middle of
21372 such a construct. Mainly for when jit-lock etc. starts a chunk
21373 here.
21374
21375 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21376 variable.
21377 (c-make-font-lock-search-form): New function, extracted from
21378 c-make-font-lock-search-function.
21379 (c-make-font-lock-search-function): Use the above function.
21380 (c-make-font-lock-context-search-function): New function.
21381 (c-cpp-matchers): Enhance the preprocessor expression case with
21382 the above function
21383 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21384 which takes an expression.
21385
21386 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21387
21388 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21389
21390 * window.el (display-buffer-reuse-window)
21391 (display-buffer-pop-up-window): Don't reuse or split a side
21392 window.
21393
21394 2011-08-19 Glenn Morris <rgm@gnu.org>
21395
21396 * files.el (hack-local-variables-prop-line, hack-local-variables):
21397 Downcase "Mode:". (Bug#9331)
21398
21399 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21400
21401 * international/characters.el: Add L and R categories.
21402
21403 * subr.el (bidi-string-mark-left-to-right): Rename from
21404 string-mark-left-to-right. Use category search.
21405
21406 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21407
21408 2011-08-18 Juri Linkov <juri@jurta.org>
21409
21410 * faces.el (error, warning, success): New faces with definitions
21411 copied from old default values of `font-lock-warning-face',
21412 `compilation-warning', `compilation-info' (bug#6117).
21413
21414 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21415
21416 * progmodes/compile.el (compilation-error): Inherit from `error'.
21417 (compilation-warning): Inherit from `warning'.
21418 (compilation-info): Inherit from `success'.
21419
21420 * dired.el (dired-marked): Inherit from `warning'.
21421 (dired-flagged): Inherit from `error'.
21422
21423 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21424
21425 * mail/smtpmail.el (auth-source): Require to avoid problems with
21426 binding variables (bug#9298). Also clean up some unused
21427 autoloads.
21428
21429 * net/network-stream.el (network-stream-open-starttls):
21430 Support using starttls.el without using gnutls-cli.
21431
21432 2011-08-17 Juri Linkov <juri@jurta.org>
21433
21434 * progmodes/grep.el (rgrep): Handle the case when
21435 `grep-find-command' is a cons cell (bug#9278).
21436
21437 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21438
21439 * window.el (display-buffer-pop-up-frame): Run frame creation
21440 function with BUFFER current (as special-display-popup-frame
21441 does). Reported by Drew Adams.
21442
21443 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21444
21445 * epa-mail.el: Simplify GnuPG group expansion using
21446 epg-expand-group.
21447 (epa-mail-group-alist, epa-mail-group-modtime)
21448 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21449 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21450 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21451 Remove.
21452
21453 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21454
21455 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21456
21457 2011-08-16 Alan Mackenzie <acm@muc.de>
21458
21459 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21460 Correct, to avoid the inside of macros.
21461
21462 2011-08-16 Richard Stallman <rms@gnu.org>
21463
21464 * epa-mail.el: Handle GnuPG group definitions.
21465 (epa-mail-group-alist, epa-mail-group-modtime)
21466 (epa-mail-gnupg-conf-file): New variables.
21467 (epa-mail-parse-groups, epa-mail-sync-groups)
21468 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21469 (epa-mail-expand-recipients): New functions.
21470 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21471
21472 * mail/rmail.el (rmail-epa-decrypt): New command.
21473
21474 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21475 Don't bind buffer-read-only, just inhibit-read-only.
21476 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21477 (epa-decrypt-armor-in-region): Make error message clearer.
21478
21479 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21480
21481 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21482 and "a2b" to "ab" for `prefix'.
21483
21484 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21485
21486 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21487 filter groups.
21488 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21489 Fourquet (Bug#8804).
21490
21491 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21492
21493 * startup.el (argi): Declare as global variable (bug#9275).
21494
21495 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21496
21497 * subr.el (string-mark-left-to-right): Search the entire string
21498 for RTL script, not just the terminating character. Doc fix.
21499
21500 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21501
21502 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21503 New function.
21504 (js--regexp-literal, js-syntax-propertize-function): Remove.
21505 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21506 (js-mode-map): Don't rebind electric keys.
21507 (js-insert-and-indent): Remove.
21508 (js-mode): Setup electric-layout and electric-indent instead.
21509
21510 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21511
21512 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21513
21514 * epa.el (epa-progress-callback-function): Fix the logic of
21515 displaying progress.
21516 * epa-file.el (epa-file-insert-file-contents): Make progress
21517 display more user-friendly.
21518 (epa-file-write-region): Ditto.
21519
21520 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21521
21522 * subr.el (string-mark-left-to-right): New function.
21523
21524 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21525 Use string-mark-left-to-right.
21526 (list-buffers-noselect): Caller changed.
21527
21528 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21529 Use string-mark-left-to-right.
21530 (tabulated-list-print): Recenter after moving point.
21531
21532 2011-08-10 Juri Linkov <juri@jurta.org>
21533
21534 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21535 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21536 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21537
21538 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21539
21540 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21541 (Bug#7554).
21542
21543 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21544
21545 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21546 character. (Bug#6594)
21547
21548 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21549
21550 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21551 (image-dired--with-db-file): New macro.
21552 (image-dired-write-tags, image-dired-remove-tag)
21553 (image-dired-create-gallery-lists, image-dired-write-comments)
21554 (image-dired-get-comment, image-dired-mark-tagged-files)
21555 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21556 (image-dired-gallery-generate): Use insert-file-contents.
21557
21558 * time.el (display-time-world-list, display-time-world-display):
21559 * time-stamp.el (time-stamp-string):
21560 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21561 set-time-zone-rule (Bug#7337).
21562
21563 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21564
21565 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21566 (epg-error-to-string, epg-errors-to-string): New function.
21567 (epg-wait-for-completion): Reverse errors list.
21568 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21569 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21570 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21571 (epg-sign-keys, epg-generate-key-from-file)
21572 (epg-generate-key-from-string): Format errors by using
21573 epg-errors-to-string (bug#9255).
21574 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21575
21576 2011-08-07 Juri Linkov <juri@jurta.org>
21577
21578 * faces.el (list-faces-display): Remove extra angle bracket
21579 from `help-mode-map'.
21580
21581 * info.el (Info-history-toc-nodes): Doc fix.
21582
21583 * longlines.el (longlines-mode): Doc fix.
21584
21585 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21586
21587 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21588 of statements and in a few more cases (bug#9183).
21589
21590 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21591 New functions.
21592 (cl-transform-lambda): Use them (bug#9239).
21593
21594 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21595
21596 * window.el (display-buffer-same-window)
21597 (display-buffer-same-frame, display-buffer-other-window)
21598 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21599 (pop-to-buffer-other-window)
21600 (pop-to-buffer-same-frame-other-window)
21601 (pop-to-buffer-other-frame): Make them defuns.
21602 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21603
21604 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21605
21606 * subr.el (make-composed-keymap): Move from C. Change calling
21607 convention, and improve docstring to bring attention to a subtle point.
21608 * minibuffer.el (completing-read-default): Adjust accordingly.
21609
21610 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21611
21612 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21613 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21614
21615 * net/trampver.el: Update release number.
21616
21617 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21618
21619 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21620 "in" (bug#9190).
21621
21622 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21623
21624 * mail/sendmail.el (sendmail-query-once): Restore the current
21625 buffer after querying (bug#9074).
21626
21627 * dired.el (dired-flagged): Use different faces for marked and
21628 flagged files (bug#6117).
21629
21630 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21631 (bug#4433).
21632
21633 * ido.el (ido-mode): Switch off the message if called
21634 non-interactively.
21635
21636 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21637 before 587, since it appears that that's more likely to work for
21638 more people.
21639
21640 * cus-edit.el (custom-file): When running under emacs -q, always
21641 refuse to save the customizations, even if the .emacs file doesn't
21642 exist.
21643
21644 * info.el: Remove the `Info-beginning-of-buffer' function
21645 (bug#8325).
21646
21647 * net/network-stream.el (network-stream-open-starttls):
21648 Use `starttls-available-p' to see whether starttls.el can be used.
21649
21650 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21651
21652 * window.el (display-buffer-in-window): Don't set dedicated status
21653 of window here (Bug#9215).
21654 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21655 (display-buffer-pop-up-side-window)
21656 (display-buffer-in-side-window): Set dedicated status of window here.
21657
21658 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21659
21660 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21661 before binding generated-autoload-file.
21662
21663 2011-08-01 Deniz Dogan <deniz@dogan.se>
21664
21665 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21666
21667 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21668
21669 Sync with Tramp 2.2.2.
21670
21671 * net/trampver.el: Update release number.
21672
21673 2011-07-30 Juri Linkov <juri@jurta.org>
21674
21675 * dired-aux.el (dired-touch-initial): Remove function.
21676 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21677 current time, and `default' to the last modification time of the
21678 current marked file (bug#6887).
21679
21680 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21681
21682 * simple.el (goto-line): Use string-to-number to provide a
21683 numeric argument to read-number (bug#9163).
21684
21685 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21686
21687 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21688 connection process, it could be nil.
21689
21690 2011-07-27 Leo Liu <sdl.web@gmail.com>
21691
21692 Simplify url handling in rcirc-mode.
21693
21694 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21695 (rcirc-browse-url-at-mouse): Remove.
21696 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21697
21698 2011-07-26 Alan Mackenzie <acm@muc.de>
21699
21700 Fontify bitfield declarations properly.
21701
21702 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21703 (c-symbol-chars): Now exported as a lang variable.
21704 (c-not-primitive-type-keywords): New lang variable.
21705
21706 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21707 QT keyword "more" to prevent "more slots: ...." being spuriously
21708 parsed as a bitfield declaration.
21709
21710 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21711 Refactor and enhance to handle bitfield declarations.
21712 (c-punctuation-in): New function.
21713 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21714 declarations properly.
21715
21716 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21717
21718 * calendar/icalendar.el (icalendar--all-events): Take care of
21719 multiple vcalendars in a single file.
21720 (icalendar--convert-float-to-ical): Checkdoc fixes.
21721
21722 2011-07-25 Deniz Dogan <deniz@dogan.se>
21723
21724 * image.el (insert-image): Clarifying docstring.
21725
21726 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21727
21728 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21729 `tramp-send-command-and-check' if there is no error.
21730 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21731
21732 2011-07-22 Alan Mackenzie <acm@muc.de>
21733
21734 Prevent cc-langs.elc being loaded at run time.
21735
21736 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21737 cc-langs.
21738
21739 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21740 "(require 'cc-langs)". Quote a form so it will evaluate at
21741 (cc-mode's) compilation time.
21742
21743 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21744
21745 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21746 loading. (Bug#9114)
21747
21748 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21749
21750 * window.el (display-buffer-pop-up-window)
21751 (display-buffer-pop-up-side-window)
21752 (display-buffer-in-side-window): Call display-buffer-set-height
21753 and display-buffer-set-width after setting the new window's
21754 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21755
21756 2011-07-20 Sam Steingold <sds@gnu.org>
21757
21758 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21759 (etags-tags-included-tables): Call `convert-standard-filename' on
21760 the file names contained in TAGS so that windows Emacs can handle
21761 TAGS files created by cygwin ctags.
21762
21763 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21764
21765 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21766 which apparently didn't work.
21767
21768 2011-07-19 Roland Winkler <winkler@gnu.org>
21769
21770 * proced.el (proced-send-signal): For *Marked Processes* buffer
21771 put point at beginning of buffer.
21772
21773 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21774
21775 * proced.el (proced-format): Make header lines align with the text
21776 (bug#1779).
21777
21778 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21779
21780 * view.el (view-buffer): Allow running in `special' modes if we're
21781 visiting a file (bug#8615).
21782
21783 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21784
21785 * window.el (display-buffer-alist-of-strings-p)
21786 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21787 New functions.
21788 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21789 more accurately.
21790
21791 2011-07-18 Alan Mackenzie <acm@muc.de>
21792
21793 Fontify declarators properly when, e.g., a jit-lock chunk begins
21794 inside a declaration.
21795
21796 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21797
21798 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21799 New function.
21800 (c-complex-decl-matchers): Insert reference to
21801 c-font-lock-enclosing-decls.
21802
21803 * progmodes/cc-engine.el (c-backward-single-comment):
21804 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21805 to nil around calls to (forward-comment -1).
21806
21807 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21808
21809 * image.el (put-image): Doc typo fix.
21810
21811 * progmodes/etags.el (tags-search): Doc typo fix.
21812
21813 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21814 password if we get errors 550 to 554.
21815
21816 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21817
21818 * net/gnutls.el (gnutls-log-level): Remove.
21819
21820 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21821 indentation character (bug#6380).
21822
21823 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21824
21825 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21826 to clarify what the problem is (bug#4291).
21827
21828 * simple.el (current-kill): Clarify what
21829 `interprogram-paste-function' does (bug#7500).
21830 (auto-fill-mode): Document `auto-fill-function' in relation to
21831 `auto-fill-mode' (bug#2470).
21832
21833 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21834
21835 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21836 method if slot is read-only (bug#9035).
21837
21838 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21839
21840 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21841 * window.el (pop-to-buffer): Select window used even if it was
21842 selected before, see discussion of (Bug#8615), (Bug#6954).
21843 Pass argument NORECORD on to select-frame-set-input-focus.
21844
21845 2011-07-15 Glenn Morris <rgm@gnu.org>
21846
21847 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21848 Respect help-form.
21849
21850 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21851
21852 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21853 (gnutls-negotiate): Use it.
21854
21855 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21856
21857 * net/gnutls.el (gnutls-negotiate):
21858 Upcase `gnutls-algorithm-priority'.
21859
21860 2011-07-15 Glenn Morris <rgm@gnu.org>
21861
21862 * jka-compr.el (jka-compr-verbose): Move from here...
21863 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21864 Add missing :version tag.
21865 * info.el: No need to require jka-compr when compiling.
21866
21867 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21868
21869 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21870 (gnutls-negotiate): Use it.
21871
21872 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21873
21874 * info.el (Info-beginning-of-buffer): New command.
21875 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21876 announcing `b' as the key (bug#8325).
21877 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21878
21879 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21880
21881 * international/mule-cmds.el
21882 (describe-specified-language-support): Make the error message
21883 clearer (bug#8905).
21884
21885 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21886
21887 * isearch.el (isearch-barrier): Add a doc string, since it's
21888 mentioned in a function doc string (bug#8678).
21889
21890 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21891
21892 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21893 buffer argument (Bug#9083) and self-identifying label argument.
21894
21895 2011-07-15 Glenn Morris <rgm@gnu.org>
21896
21897 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21898
21899 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21900
21901 * man.el (Man-fontify-manpage): Fix message when formatting the
21902 man page (bug#7929).
21903
21904 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21905
21906 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21907 argument LRM; if non-nil, append an invisible LRM character to the
21908 buffer name.
21909 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21910 last argument non-nil, when formatting buffer names.
21911 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21912 paragraph direction.
21913
21914 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21915
21916 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21917 the man page name (bug#7929).
21918
21919 * image.el (put-image): Mention the `put-image' overlay property
21920 (bug#7834).
21921
21922 * scroll-bar.el (set-scroll-bar-mode): Mention that
21923 `scroll-bar-mode' lists the values (bug#7772).
21924
21925 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21926 command (bug#7729).
21927
21928 * rect.el (apply-on-rectangle): Return the point after the last
21929 operation.
21930 (string-rectangle): Go to the point after the last operation
21931 (bug#7522).
21932
21933 * printing.el (pr-toggle-region): Clarify the documentation
21934 slightly (bug#7493).
21935
21936 * time.el (display-time-update):
21937 Allow `display-time-mail-function' to return nil (bug#7158).
21938 Fix suggested by Detlev Zundel.
21939
21940 * vc/diff.el (diff): Clarify the order the file names are read
21941 (bug#7111).
21942
21943 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21944 the doc string (bug#7015).
21945
21946 * font-lock.el (font-lock-maximum-decoration): Mention what
21947 numeric levels mean (bug#6935).
21948
21949 * startup.el (initial-buffer-choice): Don't mention the `none'
21950 selection, which is against policy.
21951
21952 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21953
21954 * window.el (display-buffer-normalize-special):
21955 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21956
21957 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21958
21959 * subr.el (version<, version<=, version=): Mention "-CVS" and
21960 "-12345" alpha version numbers.
21961
21962 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21963
21964 * bindings.el: Add advertised binding for set-mark-command
21965 (Bug#5772).
21966
21967 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21968
21969 * bindings.el (mode-line-other-buffer):
21970 * bookmark.el (bookmark-bmenu-2-window):
21971 * bs.el (bs-cycle-next, bs-cycle-previous):
21972 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21973 switch-to-buffer.
21974
21975 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21976 Delete.
21977
21978 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21979
21980 * follow.el (follow-debug-message, follow-redisplay):
21981 * jka-cmpr-hook.el (with-auto-compression-mode):
21982 Fix typos in docstrings.
21983
21984 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21985
21986 * subr.el (with-silent-modifications): Clarify somewhat what the
21987 macro inhibits (bug#6525).
21988
21989 * simple.el (eval-expression): Note what it does if called
21990 interactively (bug#6495).
21991
21992 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21993
21994 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21995 Use pop-to-buffer buffer-or-name if it is nil.
21996
21997 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21998 Remove switch-to-buffer.
21999
22000 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22001
22002 * files.el (make-directory): Clarify that an error will be raised
22003 if there's an error (bug#6397).
22004
22005 * startup.el (initial-buffer-choice): Add `none' as a choice
22006 (bug#6234).
22007
22008 * subr.el (add-hook): Clarify section about buffer-local hooks
22009 (bug#6218).
22010
22011 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22012
22013 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22014
22015 * tabify.el (untabify): Preserve the current column so that point
22016 doesn't move (bug#6032).
22017
22018 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22019
22020 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22021 Rewrite to avoid awkward possessive "s" (bug#5986).
22022
22023 2011-07-13 Glenn Morris <rgm@gnu.org>
22024
22025 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22026 (dired-insert-directory): Give a message the first time
22027 if ls is found not to support --dired.
22028
22029 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22030
22031 * simple.el (toggle-truncate-lines): Clarify what is toggled
22032 (bug#5580). Text by Drew Adams.
22033
22034 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22035
22036 * simple.el (blink-matching-open): Make the error message from the
22037 last change less verbose.
22038
22039 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22040
22041 * font-lock.el (font-lock-comment-face): Use the high contrast
22042 "yellow" color for font-lock-comment-face on low color terminals
22043 using a dark background color (bug#4221).
22044
22045 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22046
22047 * dired.el (dired-insert-set-properties): Make the doc string
22048 reflect what it does now (bug#5325).
22049
22050 * simple.el (blink-matching-open): Say that we were unable to find
22051 the match within the limit, if we're limited (bug#5122).
22052
22053 * international/mule-cmds.el (prefer-coding-system): Add an
22054 example (bug#4869).
22055
22056 * progmodes/etags.el (tags-search): Document `file-list-form'
22057 (bug#4731).
22058
22059 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22060
22061 * net/browse-url.el (browse-url-default-browser)
22062 (browse-url-browser-function): Make the default browser choice a
22063 bit more logical (bug#4300). Also clean up the doc string.
22064
22065 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22066
22067 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22068 binary endings (bug#4440).
22069
22070 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22071
22072 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22073 which can be pretty annoying (bug#8971).
22074
22075 * jka-compr.el (jka-compr-verbose): New variable, and use
22076 throughout (bug#8971).
22077
22078 * info.el (Info-find-file): Fall back on the installation
22079 directory if we can't find the info node anywhere else.
22080
22081 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22082
22083 * vc/vc.el (vc-revert-file):
22084 Don't set file time-stamp in the past. (Bug#5181)
22085
22086 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22087
22088 * files.el (after-find-file): Give a better error message when
22089 trying to find a symlink that points to a file that doesn't exist
22090 (bug#4398).
22091
22092 * progmodes/cc-vars.el: Remove (probably) misleading comment
22093 (bug#4396).
22094
22095 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22096
22097 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22098
22099 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22100
22101 * mouse-sel.el: Hack restoring functionality, while keeping
22102 compatibility with 2010-07-03 changes to mouse selection.
22103 (mouse-sel-primary-overlay): New var.
22104 (mouse-sel-selection-alist): Use it.
22105 (mouse-sel-mode): Doc fix; remove points that are default features
22106 of mouse.el.
22107
22108 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22109
22110 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22111 Fix previous fix (bug#2490).
22112
22113 2011-07-12 Roland Winkler <winkler@gnu.org>
22114
22115 * textmodes/bibtex.el (bibtex-initialize):
22116 Use pop-to-buffer-same-window.
22117 (bibtex-search-entries): Fix interactive call.
22118
22119 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22120
22121 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22122 Fontise bytecomp Error lines more correctly (bug#2490).
22123 Fix suggested by Johan BockgĂ¥rd.
22124
22125 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22126
22127 * dired-x.el (dired-guess-default): Use `delete-dups'.
22128
22129 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22130
22131 * dired.el (dired-mark-prompt):
22132 * dired-aux.el (dired-read-shell-command): Doc fix.
22133
22134 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22135
22136 * mail/sendmail.el (sendmail-query-once):
22137 Use `customize-save-variable' unconditionally, now that it works under
22138 emacs -Q.
22139
22140 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22141
22142 * cus-edit.el (custom-file): Take an optional no-error variable.
22143 (customize-save-variable): Set the variable, and give a warning if
22144 running under "emacs -q".
22145
22146 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22147
22148 * loadhist.el (unload-feature-special-hooks):
22149 Add `auto-coding-functions', `fill-nobreak-predicate' and
22150 `find-directory-functions' (bug#5327).
22151
22152 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22153
22154 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22155
22156 * cus-edit.el (custom-guess-name-alist): -alist variables should
22157 use the `alist' type (bug#3120). Suggested by Drew Adams.
22158
22159 * printing.el: Add documentation to all the `pr-toggle-' commands.
22160
22161 2011-07-11 Leo Liu <sdl.web@gmail.com>
22162
22163 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22164 backends where it makes sense (bug#2623).
22165
22166 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22167
22168 * dired-x.el (dired-guess-default): Remove duplicate shell command
22169 entries (bug#2028).
22170 (dired-guess-default): Fix grammar in doc string (bug#2028).
22171 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22172
22173 * subr.el (remove-duplicates): New conveniency function.
22174
22175 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22176
22177 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22178 (bug#1526).
22179
22180 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22181
22182 * window.el (display-buffer-normalize-default): Don't invert
22183 meaning of even-window-heights. Reported by Eli Zaretskii
22184 <eliz@gnu.org>.
22185
22186 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22187
22188 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22189
22190 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22191
22192 * window.el (display-buffer): Fix arguments to
22193 display-buffer-reuse-window in last change.
22194
22195 * faces.el (link): Use a less saturated blue on light backgrounds.
22196
22197 * startup.el (fancy-startup-text, fancy-about-text)
22198 (fancy-startup-tail): Use font-lock faces, for background safety.
22199
22200 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22201
22202 * emulation/viper-cmd.el (viper-change-state-to-vi):
22203 Limit triggering of abbrev expansion (Bug#9038).
22204
22205 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22206
22207 * window.el (display-buffer-default-specifiers): Remove.
22208 (display-buffer-macro-specifiers): Remove default specifiers.
22209 (display-buffer-alist): Default to nil.
22210 (display-buffer-reuse-window): New optional argument other-window.
22211 (display-buffer-pop-up-window): Allow splitting internal
22212 windows. Check whether a live window was created.
22213 (display-buffer-other-window-means-other-frame)
22214 (display-buffer-normalize-arguments): Rename to
22215 display-buffer-normalize-argument and rewrite. Set the
22216 other-window specifier.
22217 (display-buffer-normalize-special): New function.
22218 (display-buffer-normalize-options): Rename to
22219 display-buffer-normalize-default and rewrite.
22220 (display-buffer-normalize-options-inhibit): Remove.
22221 (display-buffer-normalize-specifiers): Rewrite.
22222 (display-buffer): Process other-window specifier and call
22223 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22224 more faithfully.
22225 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22226 (display-buffer-alist-set): Don't handle 'unset default values.
22227 (display-buffer-in-window, display-buffer-alist-set):
22228 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22229 <tassilo@member.fsf.org>.
22230
22231 2011-07-09 Leo Liu <sdl.web@gmail.com>
22232
22233 * register.el (insert-register): Restore accidental change on
22234 2011-06-26. (Bug#9028)
22235
22236 2011-07-09 Glenn Morris <rgm@gnu.org>
22237
22238 * subr.el (remq): Handle the empty list. (Bug#9024)
22239
22240 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22241
22242 * mail/sendmail.el (send-mail-function): No longer delay custom
22243 initialization.
22244 * custom.el (custom-initialize-delay): Doc fix.
22245
22246 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22247
22248 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22249
22250 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22251
22252 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22253 human-friendly prompt.
22254
22255 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22256
22257 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22258 provided by a particular plugin.
22259
22260 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22261
22262 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22263 save customizations (with "emacs -Q"), just set the variable
22264 instead of erroring out.
22265
22266 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22267
22268 2011-07-08 Juri Linkov <juri@jurta.org>
22269
22270 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22271 (archive-zip-update-case): Use 7z if found by `executable-find'.
22272 The order of searching the available programs is the same as in
22273 `archive-zip-extract' (bug#8968).
22274
22275 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22276
22277 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22278 (menu-bar-options-menu): Tweak descriptions.
22279
22280 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22281
22282 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22283 menu items into verb phrases (bug#1421). Also refill to fit under
22284 80 columns.
22285
22286 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22287
22288 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22289 (Info-read-node-name): Doc fix (Bug#1084).
22290
22291 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22292 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22293 (end-of-sexp, beginning-of-sexp)
22294 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22295 (forward-symbol, forward-same-syntax, word-at-point)
22296 (sentence-at-point): Doc fix (Bug#1144).
22297
22298 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22299
22300 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22301 should cover it (bug#1281).
22302
22303 * cus-edit.el (custom-show): Mark as obsolete.
22304
22305 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22306 negotiation fails, then possibly try again with a non-encrypted
22307 connection (bug#9017).
22308
22309 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22310 be used.
22311
22312 2011-07-07 Richard Stallman <rms@gnu.org>
22313
22314 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22315 property, and handle its changed format.
22316 Look for the correct line number.
22317 Use file's line contents (but not past first =) to find
22318 correct line in message.
22319
22320 2011-07-07 Kenichi Handa <handa@m17n.org>
22321
22322 * international/characters.el (build-unicode-category-table):
22323 Delete it.
22324 (unicode-category-table): Set it by unicode-property-table-internal.
22325
22326 * international/mule-cmds.el (char-code-property-alist): Move to
22327 to src/chartab.c.
22328 (get-char-code-property): Call unicode-property-table-internal to
22329 load a file. Call get-unicode-property-internal where necessary.
22330 (put-char-code-property): Call unicode-property-table-internal to
22331 load a file. Call put-unicode-property-internal where necessary.
22332 put-unicode-property-internal where necessary.
22333 (char-code-property-description):
22334 Call unicode-property-table-internal to load a file.
22335
22336 * international/charprop.el:
22337 * international/uni-bidi.el:
22338 * international/uni-category.el:
22339 * international/uni-combining.el:
22340 * international/uni-comment.el:
22341 * international/uni-decimal.el:
22342 * international/uni-decomposition.el:
22343 * international/uni-digit.el:
22344 * international/uni-lowercase.el:
22345 * international/uni-mirrored.el:
22346 * international/uni-name.el:
22347 * international/uni-numeric.el:
22348 * international/uni-old-name.el:
22349 * international/uni-titlecase.el:
22350 * international/uni-uppercase.el: Regenerate.
22351
22352 * loadup.el: Load international/charprop.el before
22353 international/characters.
22354
22355 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22356
22357 * window.el (next-buffer, previous-buffer): Signal an error if
22358 called from a minibuffer window.
22359
22360 * bindings.el: Revert 2011-07-04 change.
22361
22362 2011-07-06 Richard Stallman <rms@gnu.org>
22363
22364 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22365 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22366 Treat markers like ints.
22367 (rmail-mime-entity): Doc fix.
22368
22369 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22370
22371 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22372 defcustom again for backwards compatibility.
22373
22374 * simple.el (shell-command-on-region): Fill.
22375
22376 * dired-aux.el (dired-kill-line): Add a doc string.
22377
22378 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22379 to "\\sw\\|\\s_" (bug#358).
22380
22381 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22382 (dired-unmark-backward): Ditto.
22383 (dired-flag-backup-files): Ditto.
22384
22385 * dired-x.el (dired-mark-sexp): Ditto.
22386
22387 2011-07-06 Richard Stallman <rms@gnu.org>
22388
22389 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22390 (rmail-mime-entity): New arg TRUNCATED.
22391 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22392 New functions.
22393 (rmail-mime-save): Warn if entity is truncated.
22394 (rmail-mime-toggle-hidden): Likewise, for showing.
22395 (rmail-mime-process-multipart): Record when an entity is truncated.
22396
22397 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22398 if ENTITY is a string.
22399
22400 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22401
22402 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22403 of faces when `M-C-x'-ing their definitions (bug#8378).
22404 Also clean up the code slightly.
22405
22406 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22407 because that makes the colors go away.
22408
22409 * mail/sendmail.el (send-mail-function): Change the default to
22410 `sendmail-query-once'.
22411 (sendmail-query-once): Add an autoload cookie.
22412
22413 * net/network-stream.el (network-stream-open-starttls): Try using
22414 a plain connection even if the server offered STARTTLS, and we
22415 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22416 capability. This should make smtpmail.el work in slightly more
22417 configurations.
22418
22419 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22420
22421 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22422 New defun.
22423 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22424
22425 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22426
22427 * progmodes/sql.el: Version 3.0
22428 (sql-product-alist): Add product :completion-object,
22429 :completion-column, and :statement attributes.
22430 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22431 (sql-mode-syntax-table): Mark all punctuation.
22432 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22433 ansi keywords.
22434 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22435 (sql-mode-oracle-font-lock-keywords): Improve.
22436 (sql-oracle-show-reserved-words): New function for development.
22437 (sql-product-font-lock): Simplify for source code buffers.
22438 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22439 New functions.
22440 (sql-highlight-product): Set product specific syntax table.
22441 (sql-mode-map): Add statement movement functions.
22442 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22443 New variable.
22444 (sql-statement-regexp, sql-beginning-of-statement)
22445 (sql-end-of-statement, sql-signum): New functions.
22446 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22447 (sql-show-sqli-buffer): Bug fix.
22448 (sql-interactive-mode): Store connection data as buffer local.
22449 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22450 with sql-interactive-mode.
22451 (sql-save-connection): Save buffer local settings.
22452 (sql-connection-menu-filter): Change menu entry name.
22453 (sql-product-interactive): Bug fix.
22454 (sql-preoutput-hold): New variable.
22455 (sql-interactive-remove-continuation-prompt): Bug fixes.
22456 (sql-debug-redirect): New variable.
22457 (sql-str-literal): New function.
22458 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22459 Redesign.
22460 (sql-oracle-save-settings, sql-oracle-restore-settings)
22461 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22462 (sql-completion-object, sql-completion-column)
22463 (sql-completion-sqlbuf): New variables.
22464 (sql-build-completions-1, sql-build-completions)
22465 (sql-try-completion): New functions.
22466 (sql-read-table-name): Use them.
22467 (sql-contains-names): New buffer local variable.
22468 (sql-list-all, sql-list-table): Use it.
22469 (sql-oracle-completion-types): New variable.
22470 (sql-oracle-completion-object, sql-sqlite-completion-object)
22471 (sql-postgres-completion-object): New functions.
22472
22473 2011-07-06 Glenn Morris <rgm@gnu.org>
22474
22475 * window.el (pop-to-buffer): Doc fix.
22476
22477 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22478
22479 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22480
22481 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22482
22483 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22484
22485 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22486
22487 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22488
22489 * button.el (button): Inherit from link face. Suggested by Dan
22490 Nicolaescu.
22491
22492 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22493
22494 * progmodes/gdb-mi.el: Fit in 80 columns.
22495 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22496 switch-to-buffer.
22497
22498 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22499 if imenu is simply not configured (bug#8941).
22500
22501 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22502
22503 * allout.el (allout-post-undo-hook): New allout outline-change
22504 event hook to signal undo activity.
22505 (allout-post-command-business): Run allout-post-undo-hook if an
22506 undo just occurred.
22507 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22508 * allout-widgets.el (allout-widgets-after-undo-function):
22509 Ensure the integrity of the current item's decoration after it has been
22510 in the vicinity of an undo.
22511 (allout-widgets-mode): Include allout-widgets-after-undo-function
22512 on the new allout-post-undo-hook.
22513
22514 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22515
22516 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22517 Let define-derived-mode define it.
22518 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22519 cycles of abbrev-table inheritance (bug#8998).
22520
22521 2011-07-05 Roland Winkler <winkler@gnu.org>
22522
22523 * textmodes/bibtex.el: Add support for biblatex.
22524 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22525 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22526 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22527 (bibtex-entry-alist, bibtex-field-alist): New variables.
22528 (bibtex-entry-field-alist): Obsolete alias for
22529 bibtex-BibTeX-entry-alist.
22530 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22531 (bibtex-set-dialect): New command.
22532 (bibtex-entry-type, bibtex-entry-head)
22533 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22534 Bind via bibtex-set-dialect.
22535 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22536 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22537 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22538 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22539 Define via bibtex-set-dialect.
22540 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22541 Obey bibtex-no-opt-remove-re.
22542 (bibtex-vec-push, bibtex-vec-incr): New functions.
22543 (bibtex-format-entry, bibtex-field-list)
22544 (bibtex-print-help-message, bibtex-validate)
22545 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22546
22547 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22548
22549 * progmodes/compile.el (compilation-goto-locus):
22550 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22551 * bs.el (bs-cycle-next, bs-cycle-previous):
22552 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22553 * bindings.el (mode-line-other-buffer):
22554 * autoinsert.el (auto-insert):
22555 * arc-mode.el (archive-extract):
22556 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22557
22558 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22559
22560 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22561 Fix check of `emacs-lock-unlockable-modes'.
22562 Coerce true values of `emacs-lock--try-unlocking' to t.
22563
22564 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22565
22566 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22567 * emacs-lock.el: New file.
22568
22569 2011-07-05 Julien Danjou <julien@danjou.info>
22570
22571 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22572 than `boundp' to check if face is set.
22573
22574 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22575
22576 * register.el (registerv-make):
22577 * window.el (window-min-height): Fix typos in docstrings.
22578
22579 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22580
22581 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22582 Update doc string.
22583
22584 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22585
22586 * server.el (server-execute): Catch quit and call
22587 `server-return-error' to pass the error back to emacsclient and
22588 close the connection (bug#8942).
22589
22590 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22591
22592 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22593 insecure exception for current topic. Also note that auto-saves
22594 are handled differently.
22595
22596 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22597 State variables for tracking auto-save inhibition situation.
22598
22599 (allout-write-contents-hook-handler): Rename from
22600 'allout-write-file-hook-handler', and describe how it depends on
22601 write-contents-functions sensitivity to non-nil value to prevent
22602 file write.
22603
22604 (allout-auto-save-hook-handler): Remove. auto-save does not check
22605 this in individual buffers, only in the starting buffer, so this
22606 is not the right way for us to inhibit auto-save in a buffer
22607 according to its condition.
22608
22609 (allout-mode): Use new allout-write-contents-hook-handler, and
22610 only with write-contents-functions. Remove auto-save provisions -
22611 they're implemented elsewhere.
22612
22613 (allout-before-change-handler): If undo is in progress, note that
22614 for attention of allout-post-command-business.
22615
22616 (allout-post-command-business): If the command we're following was
22617 an undo, check for change in the status of encrypted items and
22618 adjust auto-save inhibitions accordingly.
22619
22620 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22621 according to whether there are or aren't any plain-text topics
22622 pending encryption.
22623
22624 (allout-inhibit-auto-save-info-for-decryption):
22625 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22626 if there are plain-text topics pending encryption.
22627
22628 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22629 buffer-saved-size and some allout state to not inhibit auto-saves
22630 if there are no longer any plain-text topics pending encryption.
22631
22632 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22633 No longer provide for exemption of the current topic.
22634
22635 2011-07-04 Juri Linkov <juri@jurta.org>
22636
22637 Add 7z operations to delete and save changed members (bug#8968).
22638 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22639 New defcustoms.
22640 (archive-7z-write-file-member): New function.
22641 (archive-7z-summarize): Fix the number of dashes in the
22642 listing output.
22643
22644 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22645
22646 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22647 (bug#8958).
22648
22649 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22650
22651 * bindings.el: Ignore next-buffer and previous-buffer in
22652 minibuffer-local-map.
22653
22654 * font-lock.el (font-lock-builtin-face): Change light background
22655 color to dark slate blue (Bug#6693).
22656
22657 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22658
22659 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22660
22661 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22662
22663 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22664 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22665 Add switch-to-buffer.
22666
22667 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22668
22669 * isearch.el (isearch-search-fun-function): Clarify further the
22670 meaning of the function returned.
22671
22672 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22673
22674 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22675
22676 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22677 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22678 Use it.
22679 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22680 `tramp-default-remote-path' does not exist.
22681 (tramp-send-command-and-read): New optional argument NOERROR.
22682 (tramp-open-connection-setup-interactive-shell)
22683 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22684 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22685 (tramp-process-sentinel): Flush also process' connection property.
22686 (tramp-sh-handle-start-file-process): Do not set process
22687 sentinel. It is done now ...
22688 (tramp-maybe-open-connection): ... here. (Bug#8929)
22689
22690 2011-07-04 MON KEY <monkey@sandpframing.com>
22691
22692 * play/animate.el (animate-string): Doc fixes and allow changing
22693 the buffer name (bug#5417).
22694
22695 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22696
22697 * play/animate.el (animation-buffer-name): Rename from *animate*.
22698
22699 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22700
22701 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22702 This is simpler and helps future-proof the code.
22703 (timer-until): Use time-subtract and float-time.
22704 (timer--time-less-p): Use time-less-p.
22705
22706 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22707
22708 * type-break.el (timep): Use the value of `float-time' to avoid a
22709 byte-compiler warning.
22710
22711 * server.el (server-eval-and-print): Return any result, even nil.
22712
22713 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22714
22715 * type-break.el: Accept time formats that the builtins accept.
22716 (timep, type-break-time-difference): Accept any format that
22717 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22718 This is simpler and helps future-proof the code.
22719 (type-break-time-difference): Round rather than ignoring
22720 subseconds components.
22721
22722 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22723
22724 * info.el (Info-apropos-matches): Make non-interactive, since it
22725 doesn't seem to do anything useful as a command (bug#8829).
22726
22727 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22728
22729 * frame.el (frame-background-mode, frame-set-background-mode):
22730 Move from faces.el.
22731 (frame-default-terminal-background): New function.
22732
22733 * custom.el (custom-push-theme): Don't record faces in `changed'
22734 theme; this doesn't work correctly for per-frame face settings.
22735 (disable-theme): Use face-set-after-frame-default to reset faces.
22736 (custom--frame-color-default): New function.
22737
22738 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22739
22740 * dired.el (dired-flagging-regexp): Remove unused variable
22741 (bug#8769).
22742
22743 2011-03-29 Kevin Ryde <user42@zip.com.au>
22744
22745 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22746 `perl-Test2' extend to match possible "fail #N" rep count
22747 (bug#8377).
22748
22749 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22750
22751 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22752 `smtpmail-via-smtp' now returns the error instead of nil.
22753
22754 * isearch.el (isearch-search-fun-function): Clarify the doc string
22755 (bug#8101).
22756
22757 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22758
22759 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22760 unnecessary spaces (bug#8987).
22761
22762 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22763
22764 * net/network-stream.el (open-network-stream): Use the
22765 :end-of-capability command thoughout.
22766
22767 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22768
22769 * net/network-stream.el (open-network-stream): Add the
22770 :end-of-capability command parameter, used by pop3.el.
22771
22772 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22773
22774 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22775
22776 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22777 for list)" (bug#6475).
22778
22779 * files.el (file-expand-wildcards): Ignore non-readable
22780 sub-directories while trying to find matches instead of signaling
22781 an error (bug#6297).
22782
22783 * man.el (Man-reference-regexp): Allow matching possible
22784 word-wrapped references (bug#6289).
22785
22786 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22787 for consistency with the other vc buffers (bug#6197).
22788 (vc-checkin): Ditto.
22789
22790 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22791
22792 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22793
22794 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22795
22796 * custom.el (defcustom): Clarify that :set is only used in the
22797 Customize user interface (bug#6089).
22798
22799 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22800 associated with a file, refuse to run instead of erroring out
22801 (bug#6084).
22802
22803 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22804 the doc string, since it appears that using `fill-column' always
22805 controls the width (bug#7845).
22806
22807 * simple.el (shell-command-on-region): Say where the error output
22808 went if `shell-command-default-error-buffer' is set (bug#6857).
22809
22810 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22811
22812 * allout.el (allout-yank-processing): Adjust cursor position for
22813 backwards-deleted space.
22814
22815 (allout-rebullet-heading): Register changes with
22816 allout-exposure-changed-hook, so the modified topic is properly
22817 decorated.
22818
22819 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22820
22821 * minibuffer.el (completion-in-region): Document PREDICATE
22822 (bug#7136).
22823
22824 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22825 of keyword/argument pairs (bug#6904).
22826
22827 * replace.el (multi-occur):
22828 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22829
22830 2011-07-02 Drew Adams <drew.adams@oracle.com>
22831
22832 * dired.el (dired-mark-if): Make the message about whether it's
22833 marking or unmarking clearer (bug#8523).
22834
22835 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22836
22837 * disp-table.el (display-table-print-array): New function.
22838 (describe-display-table): Use it to print the vectors more pretty
22839 (Bug#8859).
22840
22841 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22842
22843 * window.el (window-state-get-1): Don't assign clone numbers.
22844 Add clone-of item to list of window parameters.
22845 (window-state-put-2): Don't process clone numbers.
22846 (display-buffer-alist): Fix doc-string.
22847
22848 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22849
22850 * subr.el (remq): Don't allocate if it's not needed.
22851 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22852 (keymap--merge-bindings): New functions.
22853 (keymap-canonicalize): Use them to refine the canonicalization.
22854 * minibuffer.el (minibuffer-local-completion-map)
22855 (minibuffer-local-must-match-map): Move initialization from C.
22856 (minibuffer-local-filename-completion-map): Move initialization from C;
22857 don't inherit from anything here.
22858 (minibuffer-local-filename-must-match-map): Make obsolete.
22859 (completing-read-default): Use make-composed-keymap to combine
22860 minibuffer-local-filename-completion-map with either
22861 minibuffer-local-must-match-map or
22862 minibuffer-local-filename-completion-map.
22863
22864 2011-07-01 Glenn Morris <rgm@gnu.org>
22865
22866 * type-break.el (type-break-time-sum): Use dolist.
22867
22868 * textmodes/flyspell.el (flyspell-word-search-backward):
22869 Replace CL function.
22870
22871 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22872
22873 * mouse.el (mouse--strip-first-event): New function.
22874 (function-key-map): Use it to map fringe clicks to normal clicks
22875 by default.
22876
22877 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22878 (vc-bzr-revision-completion-table): Add support for annotate and date.
22879
22880 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22881 inherit from parent.
22882
22883 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22884
22885 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22886 (dired-show-file-type): Doc fixup (bug#8818).
22887
22888 * dired.el (dired-mode): Fix up the doc string as suggested by
22889 Drew Adams (bug#8817).
22890
22891 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22892 cookie, since the manual says that it should be possible to add
22893 this function to `find-file-hook' (bug#8709).
22894
22895 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22896
22897 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22898 here. Noted Ted Zlatanov as the maintainer.
22899 (cfengine-common-settings, cfengine-common-syntax): New functions
22900 to set up common things between `cfengine-mode' and
22901 `cfengine3-mode'.
22902 (cfengine3-mode): New mode.
22903 (cfengine3-defuns cfengine3-defuns-regex
22904 (cfengine3-class-selector-regex cfengine3-category-regex)
22905 (cfengine3-vartypes cfengine3-font-lock-keywords)
22906 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22907 (cfengine3-indent-line): Add from cfengine3.el.
22908
22909 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22910
22911 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22912
22913 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22914
22915 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22916
22917 * window.el (same-window-buffer-names, same-window-regexps)
22918 (same-window-p, special-display-frame-alist)
22919 (special-display-popup-frame, special-display-function)
22920 (special-display-buffer-names, special-display-regexps)
22921 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22922 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22923 (split-window-preferred-function, split-height-threshold)
22924 (split-width-threshold, even-window-heights)
22925 (display-buffer-mark-dedicated, window-splittable-p)
22926 (split-window-sensibly, window-safely-shrinkable-p):
22927 Un-obsolete.
22928 (display-buffer): Don't spread args with function specifier
22929 because special-display-popup-frame won't like it.
22930
22931 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22932
22933 Time-stamp simplifications and fixes.
22934 These improve accuracy slightly, and future-proof the code
22935 against some potential changes to current-time format.
22936
22937 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22938 by using time-since and float-time.
22939
22940 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22941 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22942 + NNN microseconds".
22943
22944 * type-break.el (type-break-time-sum): Rewrite using time-add.
22945
22946 * play/hanoi.el (hanoi-current-time-float): Remove.
22947 All uses replaced by float-time.
22948
22949 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22950 This yields a more-accurate answer.
22951 (rng-time-to-float): Remove; no longer needed.
22952
22953 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22954
22955 * calendar/timeclock.el (timeclock-seconds-to-time):
22956 Defalias to seconds-to-time, since they're the same thing.
22957
22958 * emacs-lisp/elp.el (elp-elapsed-time):
22959 * emacs-lisp/benchmark.el (benchmark-elapse):
22960 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22961
22962 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22963
22964 * window.el (bury-buffer): Don't iconify the only frame.
22965 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22966 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22967
22968 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22969
22970 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22971 Add mouse-yank-primary.
22972
22973 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22974
22975 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22976
22977 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22978
22979 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22980 (find-library-name): Use it to find relative load names when provided
22981 absolute file name (bug#8803).
22982
22983 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22984
22985 * textmodes/flyspell.el (flyspell-word): Consider words that
22986 differ only in case as potential doublons (bug#5687).
22987
22988 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22989 Remove two rather uninteresting debugging-like messages to make
22990 debbugs.el more silent.
22991
22992 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22993 a password-like phrase.
22994
22995 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22996
22997 * progmodes/cc-guess.el: New file.
22998
22999 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23000
23001 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23002 derived from `c-basic-common-init'.
23003
23004 * progmodes/cc-mode.el (top-level): Require cc-guess.
23005 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23006
23007 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23008
23009 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23010
23011 2011-06-30 Alan Mackenzie <acm@muc.de>
23012
23013 * progmodes/cc-engine.el (c-guess-continued-construct):
23014 Correct the handling of template-args-cont, particularly for when font
23015 lock is disabled. Name this case as "CASE G".
23016
23017 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23018
23019 * allout.el (allout-yank-processing): Fix injection of extra space
23020 between bullet and non-whitespace character in first topic when
23021 pasting, ensuring that the actual spacing in the pasted topic
23022 following the bullet char is preserved. This extra space was
23023 causing pasted encrypted topics to get a decrypted status even
23024 when the content was actually still encrypted. Now the decryption
23025 status from before the paste is preserved.
23026
23027 (allout-flag-region): Set all allout overlays so they evaporate
23028 when reduced to zero length (evanescent), to prevent overlay
23029 leakage.
23030
23031 2011-06-30 Glenn Morris <rgm@gnu.org>
23032
23033 * w32-fns.el (w32-charset-info-alist): Declare.
23034
23035 * find-dired.el (find-grep-options): Simplify.
23036
23037 * term/ns-win.el (ns-set-resource): Declare.
23038
23039 * ses.el (row, col): Declare dynamic variables honestly.
23040
23041 * textmodes/reftex-parse.el (index-tags): Declare.
23042
23043 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23044
23045 * cus-edit.el (customize-push-and-save): New function.
23046
23047 * files.el (hack-local-variables-confirm): Use it.
23048
23049 * custom.el (load-theme): New arg NO-CONFIRM.
23050 Use customize-push-and-save (Bug#8720).
23051 (custom-enabled-themes): Doc fix.
23052
23053 * cus-theme.el (customize-create-theme)
23054 (custom-theme-merge-theme): Callers to load-theme changed.
23055
23056 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23057
23058 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23059 short URLs have at least one dot in them (bug #7614).
23060
23061 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23062 nil, because using a pty is apparently too slow (bug #895).
23063
23064 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23065
23066 * mail/sendmail.el (sendmail-query-once): New function.
23067 (sendmail-query-once-function): New variable.
23068
23069 2011-06-29 Glenn Morris <rgm@gnu.org>
23070
23071 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23072
23073 * ses.el (top-level): Require cl when compiling.
23074 (ses-set-localvars): Fix error statement.
23075 Call it at compile time to silence a storm of warnings.
23076
23077 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23078
23079 * window.el (normalize-live-buffer): Rename to
23080 window-normalize-buffer.
23081 (normalize-live-frame): Rename to window-normalize-frame.
23082 (normalize-any-window): Rename to window-normalize-any-window.
23083 (normalize-live-window): Rename to window-normalize-live-window.
23084 (make-window-atom): Rename to window-make-atom.
23085 (window-resize-reset): Rename to window--resize-reset.
23086 (window-resize-reset-1): Rename to window--resize-reset-1.
23087 (resize-mini-window): Rename to window--resize-mini-window.
23088 (resize-subwindows-skip-p): Rename to
23089 window--resize-subwindows-skip-p.
23090 (resize-subwindows-normal): Rename to
23091 window--resize-subwindows-normal.
23092 (resize-subwindows): Rename to window--resize-subwindows.
23093 (resize-other-windows): Rename to window--resize-siblings.
23094 (resize-this-window): Rename to window--resize-this-window.
23095 (resize-root-window): Rename to window--resize-root-window.
23096 (resize-root-window-vertically): Rename to
23097 window--resize-root-window-vertically.
23098 (normalize-buffer-to-display): Rename to
23099 window-normalize-buffer-to-display.
23100 (normalize-buffer-to-switch-to): Rename to
23101 window-normalize-buffer-to-switch-to.
23102 Correspondingly update all callers of the functions listed
23103 above.
23104 (display-buffer-alist, display-buffer-normalize-arguments)
23105 (display-buffer-normalize-options, display-buffer)
23106 (display-buffer-alist-set): Use "function" instead of
23107 "fun-with-args".
23108
23109 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23110
23111 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23112 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23113 debbugs.gnu.org. Mention acknowledgment email.
23114
23115 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23116
23117 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23118 buffer multibyteness, since it shouldn't matter.
23119
23120 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23121
23122 * window.el (display-buffer-in-side-window): Handle dedicated
23123 windows as in display-buffer-reuse-window.
23124 (display-buffer-normalize-alist): Use value of override
23125 specifier.
23126 (display-buffer-normalize-specifiers): Use value of
23127 other-window-means-other-frame specifier.
23128 (display-buffer-alist): Rewrite some texts in widgets.
23129 (display-buffer): Spread arguments when calling function
23130 specified by fun-with-args.
23131
23132 2011-06-28 Deniz Dogan <deniz@dogan.se>
23133
23134 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23135 Unnest `let'.
23136
23137 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23138 selectors (Bug#5732).
23139 (css-proprietary-nmstart-re): Use `regexp-opt'.
23140
23141 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23142
23143 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23144 (eshell-ls-date-format): New defcustom.
23145 (eshell-ls-file): Use it.
23146
23147 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23148
23149 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23150
23151 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23152
23153 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23154 (ange-ftp-make-tmp-name): New arg.
23155 (ange-ftp-file-local-copy): Use it.
23156
23157 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23158
23159 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23160 no-conversion (Bug#8870).
23161
23162 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23163
23164 * window.el (window-right, window-left, window-child)
23165 (window-child-count, window-last-child)
23166 (window-iso-combination-p, walk-window-tree-1)
23167 (window-atom-check-1, window-tree-1, delete-window)
23168 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23169 new naming conventions - window-vchild, window-hchild,
23170 window-next and window-prev are now called window-top-child,
23171 window-left-child, window-next-sibling and window-prev-sibling
23172 respectively.
23173 (resize-window-reset): Rename to window-resize-reset.
23174 (resize-window-reset-1): Rename to window-resize-reset-1.
23175 (resize-window): Rename to window-resize.
23176 (window-min-height, window-min-width)
23177 (resize-mini-window, resize-this-window, resize-root-window)
23178 (resize-root-window-vertically, adjust-window-trailing-edge)
23179 (enlarge-window, shrink-window, maximize-window)
23180 (minimize-window, delete-window, quit-restore-window)
23181 (split-window, balance-windows, balance-windows-area-adjust)
23182 (balance-windows-area, window-state-put-2)
23183 (display-buffer-even-window-sizes, display-buffer-set-height)
23184 (display-buffer-set-width, set-window-text-height)
23185 (fit-window-to-buffer): Rename all "resize-window" prefixed
23186 calls to use the "window-resize" prefix convention.
23187 (display-buffer-alist): Fix symbol for label specifier.
23188 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23189 corresponding specifier.
23190 Reported by Juanma Barranquero <lekktu@gmail.com>.
23191
23192 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23193
23194 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23195 convention.
23196 (ses-call-printer): Does not pass an empty string to formatter when the
23197 cell is empty to keep from barking printer Calc math-format-value.
23198
23199 2011-06-27 Richard Stallman <rms@gnu.org>
23200
23201 * battery.el (battery-mode-line-limit): New variable.
23202 (battery-update): Handle it.
23203
23204 * mail/rmailmm.el (rmail-mime-process-multipart):
23205 Handle truncated messages.
23206
23207 2011-06-27 Glenn Morris <rgm@gnu.org>
23208
23209 * progmodes/flymake.el (flymake-err-line-patterns):
23210 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23211
23212 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23213
23214 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23215 (ses--clean-!, ses--clean-_): New functions.
23216 (ses-range): Add configurability of readout order, and conversion
23217 to Calc vector.
23218
23219 * ses.el (ses-repair-cell-reference-all): New function.
23220 (ses-cell-symbol): Set macro as safe, so that it can be used in
23221 formulas.
23222
23223 * ses.el: Update cycle detection algorithm.
23224 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23225 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23226 (ses-set-localvars): New function.
23227 (ses-make-cell): Add property-list as a cell element.
23228 (ses-cell-property-get-fun, ses-cell-property-get)
23229 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23230 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23231 New functions.
23232 (ses-cell-property-set, ses-cell-property-pop)
23233 (ses-cell-property-get-handle): New macro.
23234 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23235 New aliases, used for code readability.
23236 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23237 cycle detection.
23238 (ses-self-reference-early-detection): New defcustom.
23239 (ses-formula-references): Robustify against self-referring cells.
23240 (ses-mode): Use ses-set-localvars.
23241 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23242 before lauching the update processing.
23243 (ses-initialize-Dijkstra-attempt): New function.
23244 (ses-recalculate-cell): Update for cycle detection based on
23245 Dijkstra algorithm.
23246
23247 * ses.el: Fix commenting and indenting convention.
23248
23249 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23250
23251 * bs.el (bs-cycle-next): Complete last change.
23252
23253 2011-06-27 Drew Adams <drew.adams@oracle.com>
23254
23255 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23256
23257 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23258
23259 * net/network-stream.el (network-stream-open-starttls):
23260 Don't re-get capabilities unless we've reestablished connection.
23261 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23262
23263 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23264 to binary to possibly avoid line encoding issues on Windows (among
23265 other things).
23266
23267 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23268
23269 * net/network-stream.el (open-network-stream): Return an :error
23270 saying what the problem was, if possible.
23271
23272 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23273 server.
23274
23275 * net/network-stream.el (network-stream-open-starttls): If we
23276 wanted to use STARTTLS, and the server offered it, but we weren't
23277 able to because we had no STARTTLS support, then close the connection.
23278 (open-network-stream): Return an :error element, if present.
23279
23280 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23281
23282 * hl-line.el (hl-line-sticky-flag): Doc fix.
23283 (global-hl-line-sticky-flag): New option (Bug#8323).
23284 (global-hl-line-highlight): Obey it.
23285
23286 * vc/vc.el (vc-revert-show-diff): Default to t.
23287
23288 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23289
23290 * allout-widgets.el (allout-widgets-post-command-business):
23291 Stop decorating intermediate isearch matches. They're not being
23292 undecorated when an isearch is continued past, and isearch
23293 automatically collapses them. This leads to "widget leaks", where
23294 decorated items accumulate in collapsed areas. Lines with lots of
23295 hidden widgets can slow down cursor travel, substantially.
23296 Too much complicated machinery would be needed to ensure undecoration,
23297 so we're doing without this nicety.
23298
23299 (allout-widgets-tally-string): Don't try to do a hash-table-count
23300 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23301 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23302 *Messages* when allout-widgets-maintain-tally is t.
23303
23304 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23305
23306 * window.el (display-buffer-normalize-argument): Rename to
23307 display-buffer-normalize-arguments. Handle special meaning of
23308 LABEL argument. Respect special-display-function when popping up
23309 a new frame. Fix code searching for a window showing the buffer
23310 on another frame.
23311 (display-buffer-normalize-specifiers):
23312 Call display-buffer-normalize-arguments.
23313 (display-buffer-in-window): Don't undedicate the window if its
23314 buffer remains the same.
23315 Reported by Drew Adams <drew.adams@oracle.com>.
23316 (display-buffer-alist): Add choice for same-window macro
23317 specfier.
23318 (display-buffer): Mention special meaning of LABEL argument in
23319 doc-string. Fix quoting. Don't pop up a new frame even as
23320 fallback.
23321
23322 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23323
23324 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23325 avoid deleting the current window in some cases (bug#8911).
23326
23327 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23328
23329 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23330 (Bug#8934)
23331
23332 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23333
23334 * net/network-stream.el (network-stream-open-starttls):
23335 Use built-in TLS support if `gnutls-available-p' is true.
23336 (network-stream-open-tls): Ditto.
23337
23338 2011-06-26 Leo Liu <sdl.web@gmail.com>
23339
23340 * register.el (registerv): New struct.
23341 (registerv-make): New function.
23342 (jump-to-register, describe-register-1, insert-register):
23343 Support the jump-func, print-func and insert-func slot of a registerv
23344 struct. (Bug#8415)
23345
23346 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23347
23348 * vc/vc.el (vc-revert-show-diff): New defcustom.
23349 (vc-diff-internal): New arg specifying diff buffer.
23350 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23351 reuse an existing *vc-diff* buffer (Bug#8927).
23352
23353 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23354
23355 2011-06-26 Glenn Morris <rgm@gnu.org>
23356
23357 * progmodes/f90.el (f90-critical-indent): New option.
23358 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23359 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23360 (f90-mode): Doc fix.
23361 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23362 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23363 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23364 (f90-match-end): Handle block, critical.
23365
23366 2011-06-25 Glenn Morris <rgm@gnu.org>
23367
23368 * calendar/diary-lib.el (diary-included-files): Doc fix.
23369 (diary-include-files): New function, extracted from
23370 diary-include-other-diary-files and diary-mark-included-diary-files.
23371 (diary-include-other-diary-files, diary-mark-included-diary-files):
23372 Just call diary-include-files.
23373 (diary-mark-entries): Reset diary-included-files on first call.
23374
23375 * calendar/diary-lib.el (diary-mark-entries)
23376 (diary-mark-included-diary-files):
23377 Visit included diary-files in temp buffers.
23378
23379 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23380 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23381 (f90-start-block-re, f90-imenu-generic-expression)
23382 (f90-looking-at-program-block-start, f90-no-block-limit):
23383 Add support for submodules.
23384
23385 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23386 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23387
23388 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23389
23390 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23391 buffer-file-type before setting its value, to avoid disastrous
23392 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23393
23394 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23395
23396 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23397
23398 * ses.el (ses-unload-function):
23399 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23400
23401 * proced.el (proced-unload-function):
23402 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23403
23404 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23405
23406 * server.el (server-create-window-system-frame): Add parameters arg.
23407 (server-process-filter): Doc fix. Handle frame-parameters.
23408
23409 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23410
23411 Fix bug#8730, bug#8781.
23412
23413 * loadhist.el (unload--set-major-mode): New function.
23414 (unload-feature): Use it.
23415
23416 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23417 (python-unload-function): New function.
23418
23419 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23420
23421 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23422
23423 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23424
23425 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23426 the candidates list.
23427
23428 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23429
23430 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23431
23432 2011-06-23 Richard Stallman <rms@gnu.org>
23433
23434 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23435 (rmail-variables): Set next-error-move-function.
23436 (rmail-what-message): Take argument POS.
23437 (rmail-next-error-move): New function.
23438
23439 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23440
23441 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23442 messages for adjacent non-terminals.
23443
23444 2011-06-23 Richard Stallman <rms@gnu.org>
23445
23446 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23447 (rmail-show-message-1): Preserve buffer modified flag.
23448 (rmail-start-mail): Don't specify use of rmail-mail-return;
23449 that's done by mail-bury now.
23450 (rmail-mail-return): Handle arg NEWBUF.
23451
23452 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23453
23454 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23455 SIZE is a number.
23456
23457 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23458
23459 * window.el (get-lru-window, get-mru-window)
23460 (get-largest-window): Never return a minibuffer window.
23461 (display-buffer-pop-up-window): Fix a bug that could lead to
23462 reusing the minibuffer window.
23463 (display-buffer): Pass original specifier argument to
23464 display-buffer-function instead of the normalized one.
23465 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23466
23467 2011-06-22 Leo Liu <sdl.web@gmail.com>
23468
23469 * minibuffer.el (completing-read-function)
23470 (completing-read-default): Move from minibuf.c.
23471
23472 2011-06-22 Richard Stallman <rms@gnu.org>
23473
23474 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23475 to Rmail even if not started by a special Rmail command.
23476
23477 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23478 Copy the buffer currently showing just one message.
23479
23480 2011-06-22 Roland Winkler <winkler@gnu.org>
23481
23482 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23483 (bibtex-clean-entry): First delete the old key so that a
23484 customized algorithm for generating the new key does not get
23485 confused by the old key.
23486 (bibtex-url): Obey regexp of first step.
23487 (bibtex-search-entries): Do not use add-to-list with local
23488 list-var.
23489
23490 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23491
23492 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23493 stored a user name, then query for the password first, instead of
23494 waiting for SMTP to give an error message and the trying again.
23495
23496 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23497
23498 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23499 BUFFER in call-process.
23500
23501 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23502
23503 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23504 QUIT twice.
23505 (smtpmail-try-auth-methods): Require user name and password from
23506 auth-source.
23507
23508 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23509
23510 * window.el (display-buffer-default-specifiers)
23511 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23512 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23513 (split-window): Normalize SIDE argument (Bug#8916).
23514
23515 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23516 (special-display-frame-alist, special-display-popup-frame):
23517 Remove duplicate declarations. These are now in window.el.
23518
23519 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23520
23521 * mail/smtpmail.el (smtpmail-via-smtp):
23522 Set :use-starttls-if-possible so that we always use STARTTLS if the
23523 server supports it. SMTP servers that support STARTTLS commonly
23524 require it.
23525
23526 * net/network-stream.el (network-stream-open-starttls): Support
23527 upgrading to STARTTLS always, even if we don't have built-in support.
23528 (open-network-stream): Add the :always-query-capabilities keyword.
23529
23530 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23531 upgrades with `open-network-stream', and rely solely on
23532 auth-source for all credentials. Big changes throughout the file,
23533 but in particular:
23534 (smtpmail-auth-credentials): Remove.
23535 (smtpmail-starttls-credentials): Remove.
23536 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23537 MAIL FROM, too.
23538
23539 * net/network-stream.el (network-stream-open-starttls):
23540 Provide support for client certificates both for external and built-in
23541 STARTTLS.
23542 (auth-source): Require.
23543 (open-network-stream): Document the :client-certificate keyword.
23544 (network-stream-certificate): Change cert-cert to cert and
23545 cert-key to key.
23546
23547 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23548
23549 * net/tramp-cache.el (top): Don't load the persistency file when
23550 "emacs -Q" has been called.
23551
23552 2011-06-21 Tim Harper <timcharper@gmail.com>
23553
23554 * term/ns-win.el (ns-initialize-window-system):
23555 Set application-specific `ApplePressAndHoldEnabled' system
23556 resource to NO as it is not yet supported by the NS port.
23557
23558 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23559
23560 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23561 (list-dynamic-libraries): ...not here.
23562
23563 2011-06-21 Leo Liu <sdl.web@gmail.com>
23564
23565 * subr.el (sha1): Implement sha1 using secure-hash.
23566
23567 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23568
23569 * window.el (display-buffer-alist): In default value do not
23570 enforce searching a window on any but the selected frame.
23571 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23572 (display-buffer-select-window): Remove function.
23573 (display-buffer-in-window): When a window on another frame gets
23574 reused, do not select it any more but just raise its frame if
23575 necessary (Bug#8851) and (Bug#8856).
23576 (display-buffer-normalize-options): Handle pop-up-frames related
23577 options more faithfully.
23578 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23579 window if it is on another frame.
23580 (display-buffer-alist, display-buffer-default-specifiers):
23581 Don't make new frame unsplittable by default.
23582 (display-buffer-normalize-argument): Fix doc-string typo and use
23583 'same-frame-other-window instead of 'other-window when associating
23584 with display-buffer-macro-specifiers.
23585
23586 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23587
23588 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23589 New functions.
23590 (5x5-mode-map, 5x5-mode-menu): Bind them.
23591 (5x5-draw-grid): Tweak the solver's rendering.
23592
23593 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23594
23595 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23596 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23597
23598 2011-06-21 Drew Adams <drew.adams@oracle.com>
23599
23600 * menu-bar.el: Use function variable instead of switch-to-buffer.
23601 (menu-bar-select-buffer-function): New variable.
23602 (menu-bar-update-buffers): Use it (bug#8876).
23603
23604 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23605
23606 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23607 variable's status.
23608
23609 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23610
23611 * x-dnd.el (x-dnd-version-from-flags)
23612 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23613 and long as number (Bug#8899).
23614 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23615
23616 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23617
23618 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23619 (completion-try-completion, completion-all-completions): Compute the
23620 metadata argument if it's missing; make it optional (bug#8795).
23621
23622 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23623 (widget-complete): Use new :completion-function property.
23624 (widget-completions-at-point): New function.
23625 (default): Use :completion-function instead of :complete.
23626 (widget-default-completions): Rename from widget-default-complete;
23627 Rewrite.
23628 (widget-string-complete, widget-file-complete, widget-color-complete):
23629 Remove functions.
23630 (file, symbol, function, variable, coding-system, color):
23631 * international/mule-cmds.el (default-input-method, charset)
23632 (language-info-custom-alist):
23633 * cus-edit.el (face): Use new property :completions.
23634
23635 * progmodes/pascal.el (pascal-completions-at-point): New function.
23636 (pascal-mode): Use it.
23637 (pascal-mode-map): Use completion-at-point.
23638 (pascal-toggle-completions): Make obsolete.
23639 (pascal-complete-word, pascal-show-completions):
23640 * progmodes/octave-mod.el (octave-complete-symbol):
23641 Redefine as obsolete alias.
23642 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23643 Signal absence of completion info for old Octave,
23644 (inferior-octave-complete): Redefine as obsolete alias.
23645 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23646 (meta-completions-at-point): Rename from meta-complete-symbol and
23647 adapt it for use on completion-at-point-functions.
23648 (meta-common-mode): Use it.
23649 (meta-looking-at-backward, meta-match-buffer): Remove.
23650 (meta-complete-symbol): Redefine as obsolete alias.
23651 (meta-common-mode-map): Use completion-at-point.
23652 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23653 (makefile-mode-map): Use completion-at-point.
23654 (makefile-completions-at-point): Rename from makefile-complete and
23655 adapt it for use on completion-at-point-functions.
23656 (makefile-mode): Use it.
23657 (makefile-complete): Redefine as obsolete alias.
23658
23659 2011-06-20 Deniz Dogan <deniz@dogan.se>
23660
23661 * net/rcirc.el: Delete trailing whitespaces once and for all.
23662
23663 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23664
23665 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23666
23667 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23668
23669 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23670
23671 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23672
23673 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23674
23675 * window.el (display-buffer-other-window-means-other-frame):
23676 Call display-buffer-normalize-alist.
23677 (display-buffer-normalize-specifiers-1): Rename to
23678 display-buffer-normalize-argument. New argument other-frame.
23679 Rewrite.
23680 (display-buffer-normalize-specifiers-2): Rename to
23681 display-buffer-normalize-options.
23682 (display-buffer-normalize-alist-1): New function.
23683 (display-buffer-normalize-specifiers-3): Rename to
23684 display-buffer-normalize-alist.
23685 Call display-buffer-normalize-alist-1.
23686 (display-buffer-normalize-options-inhibit): New variable.
23687 (display-buffer-normalize-specifiers): Rewrite calling
23688 display-buffer-normalize-alist,
23689 display-buffer-normalize-argument, and
23690 display-buffer-normalize-options. Don't call the latter if
23691 display-buffer-normalize-options-inhibit is non-nil.
23692 (frame-auto-delete): New option.
23693 (window-deletable-p): Use frame-auto-delete.
23694 (window-list-no-nils, window-state-ignored-parameters)
23695 (window-state-get-1, window-state-get, window-state-put-list)
23696 (window-state-put-1, window-state-put-2, window-state-put):
23697 New functions.
23698 (display-buffer-normalize-options): Move special-display-p group
23699 after pop-up-frame group (Bug#8851) and (Bug#8856).
23700
23701 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23702
23703 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23704 groups (Bug#8776).
23705 (rx-submatch-n): New function.
23706 (rx): Document it.
23707
23708 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23709 (Bug#8768).
23710
23711 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23712
23713 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23714
23715 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23716 anytime existing face settings are present (Bug#8889).
23717
23718 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23719 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23720 Remove unused argument.
23721
23722 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23723
23724 * window.el (display-buffer-default-specifiers):
23725 Remove pop-up-frame. Add pop-up-window-min-height,
23726 pop-up-window-min-width, and another reuse-window specifier
23727 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23728 (display-buffer-normalize-specifiers-2):
23729 Handle split-height-threshold and split-width-threshold also when
23730 pop-up-windows is unset. Add a reuse-window specifier for the
23731 case popping up a new window fails.
23732 (special-display-popup-frame): Remove double quoting.
23733 (display-buffer-normalize-specifiers-1): Fix thinko.
23734
23735 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23736
23737 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23738 according to comint-completion-addsuffix.
23739
23740 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23741 (pcomplete-suffix-list): Mark as obsolete.
23742 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23743 pcomplete-seen in the closure.
23744 (pcomplete-comint-setup): Setup completion-at-point as well.
23745 (pcomplete--entries): New function.
23746 (pcomplete--env-regexp): New var.
23747 (pcomplete-entries): Rewrite to work with partial-completion and
23748 without relying on pcomplete-suffix-list.
23749 (pcomplete-pare-list): Remove, unused.
23750
23751 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23752
23753 * window.el (display-buffer-alist): Set pop-up-window-min-height
23754 and pop-up-window-min-width in default value. Reported by
23755 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23756 other-window-means-other-frame.
23757 (display-buffer-macro-specifiers): Comment out entry for
23758 other-window specifier.
23759 (display-buffer-other-window-means-other-frame): New function.
23760 (display-buffer-normalize-specifiers-1): New arguments
23761 buffer-name and label. Treat other-window case specially.
23762 (display-buffer-normalize-specifiers-2): Treat other-window case
23763 specially.
23764 (display-buffer-normalize-specifiers-3): New function.
23765 (display-buffer-normalize-specifiers):
23766 Call display-buffer-normalize-specifiers-3.
23767
23768 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23769
23770 * window.el (same-window-p): Fix two typos introduced when
23771 adding with-no-warnings.
23772 (display-buffer-normalize-specifiers-1): Don't check
23773 pop-up-frames for 'unset initialization.
23774 (display-buffer-normalize-specifiers-2): Major rewrite using
23775 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23776 (pop-up-frames, display-buffer-reuse-frames)
23777 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23778 Suggested by David Engster <deng@randomsample.de>.
23779 (even-window-heights): Initialize to 'unset.
23780 (display-buffer-alist-set): Handle new 'unset initializations.
23781 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23782 other window case.
23783
23784 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23785
23786 * window.el (display-buffer-normalize-specifiers-1):
23787 Respect current value of pop-up-frames for most reasonable values of
23788 second argument of display-buffer (Bug#8865).
23789 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23790 (switch-to-buffer-other-window-same-frame)
23791 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23792 Adams (Bug#8875).
23793 (display-buffer): Don't check noninteractive when calling
23794 display-buffer-pop-up-frame.
23795 (display-buffer-pop-up-frame): Never pop up a frame in
23796 noninteractive mode (Bug#8857).
23797 (enlarge-window, shrink-window): Don't report an error when the
23798 window can't be resized as requested (Bug#8862).
23799
23800 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23801
23802 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23803
23804 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23805
23806 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23807
23808 2011-06-15 Alan Mackenzie <acm@muc.de>
23809
23810 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23811 for declarators, disable knr checking to speed up for normal files.
23812 2: Refactor, replacing a sequence of nested if forms by a cond form.
23813
23814 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23815
23816 * net/network-stream.el (open-network-stream): Add the keyword
23817 :always-query-capabilities for the case where you want to force a
23818 `plain' network connection, but the protocol still requires the
23819 capabilitiy command (i.e., SMTP and EHLO).
23820
23821 * subr.el (process-live-p): Rename from `process-alive-p' for
23822 consistency with other `-live-p' functions.
23823
23824 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23825
23826 * window.el (same-window-buffer-names, same-window-regexps)
23827 (special-display-frame-alist, special-display-popup-frame)
23828 (special-display-function, special-display-buffer-names)
23829 (special-display-regexps, pop-up-frame-alist)
23830 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23831 (pop-up-windows, split-window-preferred-function)
23832 (split-height-threshold, split-width-threshold, even-window-heights)
23833 (display-buffer-mark-dedicated): Don't encourage the use of
23834 display-buffer-alist from Elisp code.
23835
23836 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23837
23838 * progmodes/python.el (python-mode): Derive from prog-mode.
23839 * progmodes/ps-mode.el (ps-mode):
23840 * progmodes/mixal-mode.el (mixal-mode):
23841 * progmodes/cfengine.el (cfengine-mode):
23842 * progmodes/ld-script.el (ld-script-mode): Likewise.
23843
23844 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23845
23846 * window.el (display-buffer-alist): Trim default value to avoid
23847 popping up a new frame (Bug#8857) or reusing an arbitrary window
23848 on another frame.
23849 (display-buffer): Do not fall back on popping up a new frame in
23850 batch mode (Bug#8857).
23851
23852 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23853
23854 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23855 (custom-theme-summary): New function.
23856 (customize-themes): Use it.
23857
23858 2011-06-13 Glenn Morris <rgm@gnu.org>
23859
23860 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23861
23862 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23863
23864 * help.el (help-window): Remove variable.
23865 (help-window-point-marker, temp-buffer-max-height)
23866 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23867 (help-print-return-message): Don't set help-window.
23868 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23869 (help-window-setup-finish): Remove.
23870 (help-window-display-message, help-window-setup)
23871 (with-help-window): Major rewrite based on new
23872 display-buffer-window variable.
23873
23874 * help-mode.el (help-mode-finish): Remove help-window related
23875 code.
23876
23877 * view.el (view-exits-all-viewing-windows): Remove reference to
23878 view-return-to-alist in doc-string.
23879 (view-return-to-alist): Make obsolete.
23880 (view-buffer): Call pop-to-buffer-same-window and remove
23881 undo-window code.
23882 (view-buffer-other-window): Call pop-to-buffer-other-window and
23883 simplify code. Ignore second argument.
23884 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23885 simplify code. Ignore second argument.
23886 (view-return-to-alist-update): Make obsolete.
23887 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23888 Rewrite using quit-restore window parameters.
23889 (view-mode-exit): Rename second argument to EXIT-ONLY.
23890 Rewrite using quit-restore-window.
23891 (View-exit, View-exit-and-edit, View-leave, View-quit)
23892 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23893 appropriate arguments.
23894 (view-end-message): Use quit-restore window parameter.
23895
23896 * window.el (display-buffer-function): Rewrite doc-string.
23897 (display-buffer-window, display-buffer-alist): New variables.
23898 (display-buffer-split-specifiers)
23899 (display-buffer-side-specifiers)
23900 (display-buffer-macro-specifiers): New constants.
23901 (display-buffer-even-window-sizes, display-buffer-set-height)
23902 (display-buffer-set-width, display-buffer-select-window)
23903 (display-buffer-in-window, display-buffer-reuse-window)
23904 (display-buffer-split-window-1, display-buffer-split-window)
23905 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23906 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23907 (display-buffer-in-side-window, normalize-buffer-to-display)
23908 (display-buffer-normalize-specifiers-1)
23909 (display-buffer-normalize-specifiers-2)
23910 (display-buffer-normalize-specifiers, display-buffer-frame):
23911 New functions.
23912 (display-buffer): Major rewrite.
23913 (display-buffer-other-window, display-buffer-other-frame)
23914 (pop-to-buffer, switch-to-buffer-other-window)
23915 (switch-to-buffer-other-frame): Rewrite.
23916 (display-buffer-same-window, display-buffer-same-frame)
23917 (display-buffer-same-frame-other-window)
23918 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23919 (pop-to-buffer-other-window)
23920 (pop-to-buffer-same-frame-other-window)
23921 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23922 (switch-to-buffer-other-window-same-frame): New functions.
23923 (same-window-p, special-display-p): Rewrite disabling warnings.
23924 Make obsolete.
23925 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23926 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23927 Make obsolete
23928 (same-window-buffer-names, same-window-regexps)
23929 (special-display-frame-alist, special-display-popup-frame)
23930 (special-display-function, special-display-buffer-names)
23931 (special-display-regexps, pop-up-frame-alist)
23932 (pop-up-frame-function, split-window-preferred-function)
23933 (split-height-threshold, split-width-threshold)
23934 (even-window-heights): Make obsolete.
23935
23936 2011-06-12 Glenn Morris <rgm@gnu.org>
23937
23938 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23939 Misc simplifications.
23940
23941 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23942
23943 * window.el (window-safely-shrinkable-p): Restore function which
23944 was inadvertently removed in change from 2011-06-11. Declare as
23945 obsolete.
23946
23947 * calendar/calendar.el (calendar-generate-window):
23948 Use window-iso-combined-p instead of combination of one-window-p and
23949 window-safely-shrinkable-p.
23950
23951 2011-06-12 Glenn Morris <rgm@gnu.org>
23952
23953 * progmodes/fortran.el (fortran-mode-syntax-table):
23954 * progmodes/f90.el (f90-mode-syntax-table):
23955 Set % to punctuation. (Bug#8820)
23956 (f90-find-tag-default): Remove, no longer needed.
23957
23958 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23959
23960 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23961
23962 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23963
23964 * image.el (image-animated-p): Return animation delay in seconds.
23965 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23966 (image-animate-timeout): Remove DELAY argument. Don't assume
23967 every subimage has the same delay; get it from image-animated-p.
23968 (image-animate): Caller changed.
23969
23970 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23971
23972 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23973 to ignored backtrace functions.
23974
23975 2011-06-11 Glenn Morris <rgm@gnu.org>
23976
23977 * calendar/appt.el (appt-disp-window-function): Doc fix.
23978 (appt-check): Handle overlapping appointments. (Bug#8337)
23979
23980 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23981
23982 * window.el (window-tree-1, window-tree): New functions, moving
23983 the latter to window.el.
23984 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23985 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23986 (bw-refresh-edges): Remove.
23987 (balance-windows-1, balance-windows-2): New functions.
23988 (balance-windows): Rewrite in terms of window tree functions,
23989 balance-windows-1 and balance-windows-2.
23990 (bw-adjust-window): Remove.
23991 (balance-windows-area-adjust): New function with functionality of
23992 bw-adjust-window but using resize-window.
23993 (set-window-text-height): Rewrite doc-string.
23994 Use normalize-live-window and resize-window.
23995 (enlarge-window-horizontally, shrink-window-horizontally):
23996 Rename argument to DELTA.
23997 (window-buffer-height): New function.
23998 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23999 Rewrite using new window resize routines.
24000 (kill-buffer-and-window, mouse-autoselect-window-select):
24001 Use ignore-errors instead of condition-case.
24002 (quit-window): Call delete-frame instead of delete-windows-on
24003 for the only buffer on frame.
24004
24005 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24006
24007 * loadup.el (top-level): Load window before files for the sake
24008 of replace-buffer-in-windows.
24009
24010 * files.el (read-buffer-to-switch)
24011 (switch-to-buffer-other-window)
24012 (switch-to-buffer-other-frame, display-buffer-other-frame):
24013 Move to window.el.
24014
24015 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24016 (previous-buffer): Move to window.el.
24017
24018 * bindings.el (unbury-buffer): Move to window.el.
24019
24020 * window.el (delete-other-windows-vertically): Move after
24021 definition of delete-other-windows.
24022 (other-window, delete-windows-on, replace-buffer-in-windows):
24023 Move here from window.c.
24024 (record-window-buffer, unrecord-window-buffer)
24025 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24026 (switch-to-next-buffer): New functions.
24027 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24028 from simple.el. Call switch-to-next-buffer.
24029 (previous-buffer): Move here from simple.el.
24030 Call switch-to-prev-buffer.
24031 (bury-buffer): Move here from buffer.c. Switch to previous
24032 buffer when window cannot be deleted.
24033 (unbury-buffer): Move here from bindings.el.
24034 (ctl-x-map): Move binding for other-window from window.c to
24035 here.
24036 (read-buffer-to-switch, switch-to-buffer-other-window)
24037 (switch-to-buffer-other-frame): Move here from files.el.
24038 (normalize-buffer-to-switch-to): New functions.
24039 (switch-to-buffer): Move here from buffer.c.
24040 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24041
24042 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24043
24044 * window.el (window-min-height, window-min-width): Move here
24045 from window.c. Add defcustoms and rewrite doc-strings.
24046 (resize-mini-window, resize-window): New functions.
24047 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24048 Move here from window.c.
24049 (maximize-window, minimize-window): New functions.
24050 (delete-window, delete-other-windows, split-window): Move here
24051 from window.c.
24052 (window-split-min-size): New function.
24053 (split-window-keep-point): Mention split-window-above-each-other
24054 instead of split-window-vertically.
24055 (split-window-above-each-other, split-window-vertically):
24056 Rename split-window-vertically to split-window-above-each-other
24057 and provide defalias for old definition.
24058 (split-window-side-by-side, split-window-horizontally):
24059 Rename split-window-horizontally to split-window-side-by-side
24060 and provide defalias for the old definition.
24061 (ctl-x-map): Move bindings for delete-window,
24062 delete-other-windows and enlarge-window here from window.c.
24063 Replace bindings for split-window-vertically and
24064 split-window-horizontally by bindings for
24065 split-window-above-each-other and split-window-side-by-side.
24066
24067 * cus-start.el (all): Remove entries for window-min-height and
24068 window-min-width. Add entries for window-splits and
24069 window-nest.
24070
24071 2011-06-09 Glenn Morris <rgm@gnu.org>
24072
24073 * calendar/appt.el (appt-mode-line): New function.
24074 (appt-check, appt-disp-window): Use it.
24075
24076 * files.el (hack-one-local-variable-eval-safep):
24077 Allow minor-modes with explicit +/-1 arguments.
24078
24079 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24080
24081 * term/xterm.el (xterm): Add defgroup.
24082 (xterm-extra-capabilities): Add defcustom to supply known xterm
24083 capabilities, skip querying them, or query them (default).
24084 (terminal-init-xterm): Use it.
24085 (terminal-init-xterm-modify-other-keys): New function to set up
24086 modifyOtherKeys support to simplify `terminal-init-xterm'.
24087
24088 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24089
24090 * window.el (resize-window-reset, resize-window-reset-1)
24091 (resize-subwindows-skip-p, resize-subwindows-normal)
24092 (resize-subwindows, resize-other-windows, resize-this-window)
24093 (resize-root-window, resize-root-window-vertically)
24094 (window-deletable-p, window-or-subwindow-p)
24095 (frame-root-window-p): New functions.
24096
24097 2011-06-09 Glenn Morris <rgm@gnu.org>
24098
24099 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24100 (ange-ftp-get-files): Use it.
24101
24102 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24103
24104 * mail/sendmail.el (mail-recover-1, mail-recover):
24105 * files.el (recover-file, recover-session):
24106 Handle dired-listing-switches not being just a single short option.
24107
24108 2011-06-09 Glenn Morris <rgm@gnu.org>
24109
24110 * calendar/appt.el (appt-display-message, appt-disp-window):
24111 Handle lists of appointments.
24112
24113 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24114
24115 * window.el (one-window-p): Move down in code.
24116 Rewrite doc-string.
24117 (window-current-scroll-bars): Rewrite doc-string.
24118 Normalize live window argument.
24119 (walk-windows, get-window-with-predicate, count-windows):
24120 Rewrite doc-string. Use window-list-1.
24121 (window-in-direction-2, window-in-direction, get-mru-window):
24122 New functions.
24123
24124 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24125
24126 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24127 Doc fix (Bug#8713).
24128
24129 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24130
24131 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24132
24133 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24134
24135 * loadhist.el (unload-feature-special-hooks):
24136 Add `comint-output-filter-functions'.
24137
24138 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24139
24140 * calendar/appt.el (appt-check): Move some initializations into the let.
24141
24142 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24143
24144 * window.el (window-height): Defalias to window-total-height.
24145 (window-width): Defalias to window-body-width.
24146
24147 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24148
24149 * image-mode.el (image-toggle-animation): New command.
24150 (image-mode-map): Bind it to RET.
24151 (image-mode): Update message.
24152 (image-toggle-display-image): Avoid a spurious cache flush.
24153 (image-transform-rotation): Doc fix.
24154 (image-transform-properties): Return quickly in the normal case.
24155 (image-animate-loop): Rename from image-animate-max-time.
24156
24157 * image.el (image-animate-max-time): Move to image-mode.el.
24158 (create-animated-image): Remove unnecessary function.
24159 (image-animate): Rename from image-animate-start. New arg.
24160 (image-animate-stop): Remove; just use image-animate-timer.
24161 (image-animate-timer): Use car-safe.
24162 (image-animate-timeout): Rename argument.
24163
24164 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24165
24166 * window.el (get-lru-window, get-largest-window): Move here from
24167 window.c. Rename first argument to ALL-FRAMES.
24168 Rephrase doc-strings.
24169 (get-buffer-window-list): Rewrite using window-list-1.
24170 Rephrase doc-string.
24171 (window-safe-min-height, window-safe-min-width): New constants.
24172 (window-size-ignore, window-min-size, window-min-size-1)
24173 (window-sizable, window-sizable-p, window-size-fixed-1)
24174 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24175 (window-max-delta-1, window-max-delta, window-resizable)
24176 (window-resizable-p, window-total-height, window-total-width)
24177 (window-body-width): New functions.
24178 (window-full-height-p, window-full-width-p): Rewrite using
24179 window-total-size.
24180 (window-body-height): Rewrite using window-body-size.
24181
24182 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24183
24184 * window.el (window-right, window-left, window-child)
24185 (window-child-count, window-last-child, window-any-p)
24186 (normalize-live-buffer, normalize-live-frame)
24187 (normalize-any-window, normalize-live-window)
24188 (window-iso-combination-p, window-iso-combined-p)
24189 (window-iso-combinations)
24190 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24191 (windows-with-parameter, window-with-parameter)
24192 (window-atom-root, make-window-atom, window-atom-check-1)
24193 (window-atom-check, window-side-check, window-check):
24194 New functions.
24195 (ignore-window-parameters, window-sides, window-sides-vertical)
24196 (window-sides-slots): New variables.
24197 (window-size-fixed): Move down in code. Minor doc-string fix.
24198
24199 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24200
24201 * comint.el (comint-dynamic-complete-as-filename)
24202 (comint-dynamic-complete-filename): Correctly call
24203 completion-in-region.
24204
24205 2011-06-05 Deniz Dogan <deniz@dogan.se>
24206
24207 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24208 in last change.
24209
24210 2011-06-05 Deniz Dogan <deniz@dogan.se>
24211
24212 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24213 (rcirc): Use it to prompt for encryption.
24214
24215 2011-06-05 Roland Winkler <winkler@gnu.org>
24216
24217 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24218 (bibtex-search-entries): New command bound to C-c C-a.
24219 (bibtex-display-entries): New function.
24220
24221 2011-06-05 Roland Winkler <winkler@gnu.org>
24222
24223 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24224 (bibtex-insert-kill): After yanking insert newline if necessary.
24225 (bibtex-initialize): Call bibtex-string-files-init only once.
24226 (bibtex-mode): Do not call easy-menu-add.
24227 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24228 (bibtex-yank): Set arg properly if nil.
24229
24230 2011-06-05 Roland Winkler <winkler@gnu.org>
24231
24232 * textmodes/bibtex.el (bibtex-search-entry-globally):
24233 New variable.
24234 (bibtex-search-entry): Use it.
24235
24236 2011-06-05 Roland Winkler <winkler@gnu.org>
24237
24238 * textmodes/bibtex.el (bibtex-entry-format): New option
24239 sort-fields.
24240 (bibtex-format-entry, bibtex-reformat): Honor this option.
24241 (bibtex-parse-entry): Return fields in proper order.
24242
24243 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24244
24245 * doc-view.el (doc-view-remove-if): Move computation of result out
24246 of `dolist' to silence misleading lexical-binding warning.
24247
24248 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24249
24250 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24251 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24252
24253 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24254
24255 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24256 "SunOS 5.10".
24257
24258 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24259
24260 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24261 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24262 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24263 (tramp-parse-putty):
24264 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24265 (tramp-completion-function-alist-ssh)
24266 (tramp-completion-function-alist-telnet)
24267 (tramp-completion-function-alist-su)
24268 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24269 cookie.
24270
24271 * net/tramp-ftp.el:
24272 * net/tramp-sh.el:
24273 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24274 load "tramp.el" `tramp-set-completion-function'.
24275
24276 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24277
24278 * shell.el: Require and use pcomplete.
24279 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24280 (shell-completion-vars): Set pcomplete-default-completion-function.
24281
24282 2011-06-04 Deniz Dogan <deniz@dogan.se>
24283
24284 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24285 `memq' (Bug#8799).
24286
24287 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24288
24289 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24290
24291 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24292
24293 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24294 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24295 * vc/log-view.el (log-view-beginning-of-defun):
24296 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24297 (smerge-refine-forward, smerge-refine-chopup-region):
24298 Silence warning for unused `dotimes' counter variables.
24299
24300 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24301
24302 * net/tramp.el (tramp-with-progress-reporter): Rename from
24303 with-progress-reporter. Use `declare'.
24304 * net/tramp-smb.el:
24305 * net/tramp-sh.el:
24306 * net/tramp-gvfs.el: Update all uses.
24307
24308 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24309
24310 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24311 buffer isn't killed before making it current.
24312
24313 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24314
24315 Silence various byte-compiler warnings.
24316 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24317 `access-type' and new obsolescence format.
24318 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24319 new format.
24320 (byte-compile-check-variable): New `access-type' argument.
24321 Only warn if the access-type is obsolete.
24322 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24323 (byte-compile-variable-set): Adjust callers.
24324 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24325 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24326 setting it as obsolete.
24327 * simple.el (minibuffer-completing-symbol):
24328 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24329 access as obsolete.
24330 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24331 obsolete yet.
24332 * international/quail.el (quail-mouse-choose-completion): Remove unused
24333 code referring to obsolete var.
24334 (quail-choose-completion-string): Remove.
24335 * server.el (server-clients-with, server-kill-buffer-query-function)
24336 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24337 * proced.el (proced-send-signal):
24338 * emacs-lisp/lisp.el (lisp-complete-symbol):
24339 Replace completion-annotate-function with completion-extra-properties.
24340
24341 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24342
24343 * simple.el (goto-line): Use read-number.
24344 (overriding-map-is-bound): Remove.
24345 (saved-overriding-map): Change default.
24346 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24347 Take the map as argument.
24348 (universal-argument, negative-argument, digit-argument): Use it.
24349 (restore-overriding-map): Adjust.
24350 (do-auto-fill): Use fill-forward-paragraph.
24351 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24352
24353 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24354 (minibuffer-inactive-mode): New major mode.
24355 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24356 the *Messages* buffer" hack.
24357 (mouse-popup-menubar): Don't burp if the event is a normal key.
24358
24359 Miscellaneous tweaks.
24360 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24361 lexical scoping as in subr.el's dolist and dotimes.
24362 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24363 Silence compiler warning.
24364 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24365 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24366 * international/ccl.el (ccl-compile): Trivial simplification.
24367 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24368 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24369 `printflag' argument.
24370 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24371 Purecopy the whole obsolescence data.
24372
24373 2011-06-01 Leo Liu <sdl.web@gmail.com>
24374
24375 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24376 improve doc-string as suggested by Marco Pessotto
24377 <melmothx@gmail.com>.
24378 (rcirc-print): Fix last change.
24379
24380 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24381
24382 * minibuffer.el (complete-with-action): Return nil for the metadata and
24383 boundaries of non-functional tables.
24384 (completion-table-dynamic): Return nil for the metadata.
24385 (completion-table-with-terminator): Add default case, using
24386 complete-with-action.
24387 (completion--metadata): New function.
24388 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24389 to try and avoid pathological performance problems.
24390 (completion--embedded-envvar-table): Return `category' metadata.
24391
24392 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24393
24394 * subr.el (process-alive-p): New tiny convenience function.
24395
24396 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24397
24398 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24399 content but also its previous major mode.
24400
24401 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24402
24403 * emacs-lisp/debug.el (debug): Restore the previous content of the
24404 *Backtrace* buffer when we exit with C-M-c.
24405
24406 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24407
24408 * minibuffer.el: Add metadata method to completion tables.
24409 (completion-category-overrides): New defcustom.
24410 (completion-metadata, completion--field-metadata)
24411 (completion-metadata-get, completion--styles)
24412 (completion--cycle-threshold): New functions.
24413 (completion-try-completion, completion-all-completions):
24414 Add `metadata' argument to choose completion-styles.
24415 (completion--do-completion): Use metadata to choose cycling.
24416 (completion-all-sorted-completions): Use metadata for sorting.
24417 Remove :completion-cycle-penalty which is not needed any more.
24418 (completion--try-word-completion): Add `metadata' argument.
24419 (minibuffer-completion-help): Check metadata for annotation function
24420 and sorting.
24421 (completion-file-name-table): Return `category' metadata.
24422 (minibuffer-completing-file-name): Make obsolete.
24423 * simple.el (minibuffer-completing-symbol): Make obsolete.
24424 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24425 completion-try-completion.
24426
24427 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24428
24429 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24430
24431 2011-05-30 Leo Liu <sdl.web@gmail.com>
24432
24433 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24434 (rcirc-print): Decode all incoming messages (bug#8744).
24435 (rcirc-decode-coding-system): Allow value nil for automatic coding
24436 system detection.
24437
24438 2011-06-01 Glenn Morris <rgm@gnu.org>
24439
24440 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24441
24442 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24443
24444 * image.el (image-animate-max-time): Allow nil and t values.
24445 Default to nil.
24446 (create-animated-image): Doc fix.
24447 (image-animate-start): Remove second arg; just use
24448 image-animate-max-time.
24449 (image-animate-timeout): Doc fix. Args changed.
24450
24451 * image-mode.el (image-toggle-display-image): Ensure that the
24452 image spec passed to the animate timer is the same object as in
24453 the buffer's display property (Bug#6981).
24454 (image-transform-properties): Doc fix.
24455
24456 * image.el (image-animate-max-time): Default to nil.
24457
24458 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24459
24460 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24461 entire buffer list (Bug#8184).
24462
24463 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24464
24465 * image.el (imagemagick-types-inhibit)
24466 (imagemagick-register-types): Doc fix.
24467
24468 2011-05-29 Deniz Dogan <deniz@dogan.se>
24469
24470 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24471 default.
24472
24473 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24474
24475 * select.el: Don't perform clipboard-manager saving in hooks;
24476 leave the hooks empty.
24477
24478 2011-05-28 Leo Liu <sdl.web@gmail.com>
24479
24480 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24481 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24482 (occur-edit-mode): New major mode (Bug#8463).
24483 (occur-after-change-function): New function.
24484 (occur-engine): Give Occur tags a read-only property.
24485
24486 2011-05-28 Kevin Ryde <user42@zip.com.au>
24487
24488 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24489
24490 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24491
24492 * bindings.el (help-echo): Make the initial non-indicator dash
24493 empty on graphical terminals (Bug#7295).
24494
24495 * files.el (auto-mode-alist): Move config rule after the
24496 in-stripping one (Bug#8547).
24497
24498 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24499
24500 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24501 setting (Bug#8740).
24502
24503 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24504
24505 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24506 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24507 (Bug#8539).
24508
24509 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24510
24511 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24512
24513 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24514
24515 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24516 (hs-hide-block-at-point, hs-find-block-beginning)
24517 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24518 (Bug#8279).
24519
24520 2011-05-28 Glenn Morris <rgm@gnu.org>
24521
24522 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24523
24524 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24525
24526 * help-fns.el (describe-function-1): If the function is a derived
24527 major mode, print the parent mode.
24528
24529 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24530 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24531
24532 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24533
24534 * minibuffer.el (completion--capf-wrapper): Check applicability before
24535 returning non-nil for non-exclusive completion data.
24536 * progmodes/etags.el (tags-completion-at-point-function):
24537 * info-look.el (info-lookup-completions-at-point): Mark as
24538 non-exclusive.
24539 (info-complete): Adjust accordingly.
24540
24541 * info-look.el: Convert to lexical-binding and completion-at-point.
24542 (info-lookup-completions-at-point): New function.
24543 (info-complete): Use it and completion-in-region.
24544
24545 2011-05-28 Drew Adams <drew.adams@oracle.com>
24546
24547 * isearch.el: Let M-e start with point at the first mismatched char.
24548 (isearch-fail-pos): New function.
24549 (isearch-edit-string): Use it.
24550
24551 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24552
24553 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24554
24555 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24556
24557 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24558 traversal functions for avl-trees.
24559 (avl-tree--stack): New struct.
24560 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24561 (avl-tree-enter): Add optional `updatefun' arg.
24562 (avl-tree--do-enter): Add optional `updatefun' arg.
24563 Change return value.
24564 (avl-tree-delete): Add optional `test' and `nilflag' args.
24565 (avl-tree--do-delete): Add `test' and `nilflag' args.
24566 Change return value.
24567 (avl-tree-member): Add optional `nilflag'
24568 (avl-tree-member-p): New function.
24569 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24570 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24571 (avl-tree-stack-empty-p): New functions.
24572
24573 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24574 avl-tree--del-balance1 and make it work both ways.
24575 (avl-tree--del-balance2): Remove.
24576 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24577 make it work both ways.
24578 (avl-tree--enter-balance2): Remove.
24579 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24580 New macros.
24581 (avl-tree--mapc, avl-tree-map): Add direction argument.
24582
24583 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24584
24585 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24586
24587 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24588
24589 * select.el: Support clipboard managers with built-in function
24590 x-clipboard-manager-save, via delete-frame-functions and
24591 kill-emacs-hook.
24592 (xselect-convert-to-targets): Add MULTIPLE target to list.
24593 (xselect-convert-to-save-targets): New function.
24594
24595 2011-05-27 Kenichi Handa <handa@m17n.org>
24596
24597 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24598 let-binding rfc2047-encode-encoded-words to nil.
24599
24600 2011-05-27 Glenn Morris <rgm@gnu.org>
24601
24602 * mail/emacsbug.el: Don't require url-util.
24603
24604 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24605
24606 * files.el (set-auto-mode):
24607 Also respect mode: entries at the end of the file. (Bug#8586)
24608
24609 2011-05-26 Glenn Morris <rgm@gnu.org>
24610
24611 * files.el (hack-local-variables-prop-line, hack-local-variables):
24612 Downcase mode names, as seems to be traditional.
24613 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24614
24615 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24616 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24617
24618 2011-05-25 Julien Danjou <julien@danjou.info>
24619
24620 * textmodes/rst.el (rst-define-level-faces): Do not define face
24621 symbol if it is already defined.
24622
24623 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24624
24625 * play/5x5.el (5x5-new-game, 5x5-randomize):
24626 Reset 5x5-solver-output to nil when a new grid is cast.
24627 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24628 these debugging traces, as defmacro breaks the compiled code.
24629
24630 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24631
24632 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24633
24634 2011-05-24 Leo Liu <sdl.web@gmail.com>
24635
24636 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24637 (vc-bzr-sha1): Adapt.
24638
24639 * sha1.el: Remove. Function `sha1' is now builtin.
24640
24641 * bindings.el: Provide sha1 feature.
24642
24643 2011-05-24 Kenichi Handa <handa@m17n.org>
24644
24645 * mail/sendmail.el: Require `rfc2047'.
24646 (mail-insert-from-field): Do not perform RFC2047 encoding.
24647 (mail-encode-header): New function.
24648 (sendmail-send-it): Set buffer-file-coding-system of the work
24649 buffer to the return value of select-message-coding-system.
24650 Call mail-encode-header.
24651
24652 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24653
24654 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24655
24656 * mail/supercite.el (sc-default-cite-frame):
24657 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24658
24659 2011-05-24 Glenn Morris <rgm@gnu.org>
24660
24661 * progmodes/python.el (brm-menu): Declare.
24662
24663 * emulation/viper.el (viper-set-hooks): Declare.
24664
24665 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24666 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24667 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24668 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24669 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24670 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24671
24672 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24673
24674 Add an :exit-function for completion-at-point.
24675
24676 * minibuffer.el (completion--done): New fun.
24677 (completion--do-completion): Use it. New arg `expect-exact'.
24678 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24679 since completion--do-completion does it for us now.
24680 (minibuffer-force-complete): Use completion--done and
24681 completion--replace. Handle sole-completion case with more care.
24682 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24683 (completion-extra-properties): New var.
24684 (completion-annotate-function): Make obsolete.
24685 (minibuffer-completion-help): Adjust accordingly.
24686 Use completion-list-insert-choice-function.
24687 (completion-at-point, completion-help-at-point):
24688 Bind completion-extra-properties.
24689 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24690 * simple.el (completion-list-insert-choice-function): New var.
24691 (completion-setup-function): Preserve it.
24692 (choose-completion): Pay attention to it, shuffle the code a bit.
24693 (choose-completion-string): New arg `insert-function'.
24694
24695 * textmodes/bibtex.el: Convert to lexical binding.
24696 (bibtex-mode-map): Use completion-at-point.
24697 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24698 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24699 (bibtex-complete): Define as obsolete alias.
24700 (bibtex-complete-internal): Remove.
24701 (bibtex-format-entry): Remove unused sub-group in regexp.
24702 * shell.el (shell--command-completion-data)
24703 (shell-environment-variable-completion):
24704 * pcomplete.el (pcomplete-completions-at-point):
24705 * comint.el (comint--complete-file-name-data): Use :exit-function
24706 instead of completion-table-with-terminator so it also works for
24707 choose-completion.
24708
24709 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24710
24711 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24712
24713 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24714 (bug#8710).
24715
24716 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24717
24718 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24719
24720 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24721 customization variable and implement: If non-nil, auto-fill will
24722 be inhibited while on topic's header line.
24723
24724 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24725
24726 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24727 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24728 always have a solution in grid size = 5 cases.
24729 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24730 (5x5-solver-output, 5x5-log-buffer): New vars.
24731 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24732 Make these variables buffer local to achieve 5x5 multi-session-ness.
24733 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24734 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24735 (5x5-solve-suggest): New funs.
24736 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24737 randomize a grid so that we ensure that there is always a solution.
24738 (5x5-make-random-grid): Allow other movement than flipping.
24739
24740 2011-05-23 Kevin Ryde <user42@zip.com.au>
24741
24742 * emacs-lisp/advice.el (ad-read-advised-function):
24743 Use `function-called-at-point' as the default, if it has
24744 advice and passes PREDICATE.
24745
24746 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24747
24748 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24749 byte-compile-lambda if it's actually a lambda.
24750
24751 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24752 Fix function quoting. Use backquote better.
24753
24754 2011-05-22 Yuanle Song <sylecn@gmail.com>
24755
24756 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24757 matching (Bug#8516).
24758
24759 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24760
24761 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24762 different face (Bug#8178).
24763
24764 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24765
24766 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24767 defface (Bug#8144).
24768
24769 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24770
24771 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24772 funcall as well (bug#8712). Warn when performing those conversions.
24773 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24774
24775 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24776
24777 2011-05-22 Glenn Morris <rgm@gnu.org>
24778
24779 * files.el (hack-local-variables-prop-line): Small simplifications.
24780 (hack-local-variables, hack-local-variables-prop-line):
24781 If MODE-ONLY, return the mode, rather than just `t'.
24782
24783 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24784
24785 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24786
24787 2011-05-21 Glenn Morris <rgm@gnu.org>
24788
24789 * files.el (hack-local-variables-prop-line, hack-local-variables):
24790 If only interested in the mode, don't bother doing the other stuff.
24791
24792 * image-mode.el (image-after-revert-hook):
24793 Redraw all frames on which the image is visible. (Bug#8567)
24794
24795 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24796
24797 * wid-edit.el (widget-checklist-match-inline):
24798 Fix 2011-04-19 change. (Bug#8649)
24799
24800 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24801
24802 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24803 Also allow singlespace after single-letter capitals followed by a dot.
24804
24805 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24806 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24807
24808 2011-05-20 Nix <nix@esperi.org.uk>
24809
24810 * files.el (basic-save-buffer-2):
24811 Fix handling of break-hardlink-on-save with non-existent files.
24812
24813 2011-05-19 Deniz Dogan <deniz@dogan.se>
24814
24815 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24816 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24817
24818 2011-05-19 Glenn Morris <rgm@gnu.org>
24819
24820 * progmodes/f90.el (f90-type-def-re):
24821 Handle "type, bind(c)". (Bug#8691)
24822
24823 * emacs-lisp/autoload.el (batch-update-autoloads):
24824 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24825
24826 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24827
24828 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24829 property for the correct connection in case of multihops.
24830
24831 2011-05-18 Glenn Morris <rgm@gnu.org>
24832
24833 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24834 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24835
24836 Rationalize calendar handling of day and month abbrev-arrays.
24837 * calendar/calendar.el (calendar-customized-p): New function.
24838 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24839 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24840 Add :set function.
24841 (calendar-abbrev-length, calendar-day-abbrev-array)
24842 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24843 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24844 Elements may no longer be nil.
24845 (calendar-day-name, calendar-month-name):
24846 Update for changed nature of abbrev arrays.
24847 * calendar/diary-lib.el (diary-name-pattern):
24848 Update for changed nature of abbrev arrays.
24849 (diary-mark-entries-1): Update calendar-make-alist calls.
24850 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24851 * calendar/cal-html.el (cal-html-day-abbrev-array):
24852 Simply inherit from calendar-day-abbrev-array.
24853
24854 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24855
24856 * progmodes/grep.el (grep-mode): Disable default
24857 compilation-directory-matcher setting (bug#8684).
24858
24859 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24860
24861 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24862 instead of "head" and "tail". There were problems with SunOS 5.9,
24863 and it performs better.
24864
24865 2011-05-17 Glenn Morris <rgm@gnu.org>
24866
24867 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24868
24869 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24870 Replace obsolete function.
24871
24872 * shell.el (pcomplete-parse-arguments-function): Declare.
24873
24874 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24875 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24876 (appt-check): Doc fixes.
24877 (appt-disp-window-function, appt-delete-window-function):
24878 Remove needless special case in custom :type.
24879 (appt-display-count): Default to 0, not nil.
24880 (appt-check): Reset appt-display-count to 0, not nil.
24881
24882 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24883
24884 * progmodes/python.el (python-font-lock-keywords):
24885 Add the Python 3.X keyword "nonlocal" (bug#8639).
24886
24887 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24888
24889 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24890
24891 2011-05-16 Kevin Ryde <user42@zip.com.au>
24892
24893 * info-look.el (makefile-automake-mode): New setups, looking in
24894 automake manual, then makefile-mode.
24895 (makefile-mode): Remove automake manual, have it just in
24896 makefile-automake-mode since there's various things different or
24897 not relevant to plain make.
24898 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24899 believe a hypothetical automake-mode would go to makefile-mode,
24900 not the other way around.
24901
24902 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24903
24904 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24905 hunk-end tags (Bug#8672).
24906
24907 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24908 vc-annotate-show-diff-revision-at-line (Bug#8671).
24909
24910 2011-05-14 Glenn Morris <rgm@gnu.org>
24911
24912 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24913 in the middle of an existing one with multiple authors. (Bug#8645)
24914 (change-log-font-lock-keywords): Also handle multiple author lines
24915 with leading tabs. (Bug#8644)
24916
24917 * calendar/appt.el (appt-check): Rename some local variables.
24918 Some simplification/reordering.
24919
24920 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24921 (feedmail-sendmail-f-doesnt-sell-me-out)
24922 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24923 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24924 (feedmail-queue-runner-message-sender): Set :version.
24925 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24926 (bbdb-dwim-net-address, vm-mail): Declare.
24927 (feedmail-binmail-gnulinuxish-template):
24928 Rename from feedmail-binmail-linuxish-template.
24929 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24930 Use insert-buffer-substring.
24931
24932 2011-05-14 Bill Carpenter <bill@carpenter.org>
24933
24934 * mail/feedmail.el (feedmail-patch-level): Increase.
24935 (feedmail-debug): New custom group.
24936 (feedmail-confirm-outgoing-timeout)
24937 (feedmail-sendmail-f-doesnt-sell-me-out)
24938 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24939 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24940 (feedmail-sender-line, feedmail-from-line)
24941 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24942 (feedmail-spray-this-address)
24943 (feedmail-spray-address-fiddle-plex-list)
24944 (feedmail-queue-use-send-time-for-date)
24945 (feedmail-queue-use-send-time-for-message-id)
24946 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24947 (feedmail-buffer-eating-function):
24948 Doc fixes.
24949 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24950 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24951 (feedmail-message-action-scroll-down): New functions.
24952 (feedmail-queue-directory, feedmail-queue-draft-directory):
24953 Use expand-file-name.
24954 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24955 Remove C-v help entry.
24956 (feedmail-queue-buffer-file-name): New variable.
24957 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24958 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24959 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24960 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24961 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24962 (feedmail-message-action-toggle-spray)
24963 (feedmail-run-the-queue-no-prompts)
24964 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24965 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24966 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24967 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24968 (feedmail-envelope-deducer, feedmail-fiddle-from)
24969 (feedmail-fiddle-sender, feedmail-default-date-generator)
24970 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24971 (feedmail-fiddle-spray-address)
24972 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24973 (feedmail-fiddle-list-of-fiddle-plexes)
24974 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24975 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24976 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24977 Change default. Doc fix.
24978 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24979 (feedmail-binmail-linuxish-template): New constant.
24980 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24981 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24982 (feedmail-send-it): Add debug call.
24983 Use feedmail-queue-buffer-file-name, and
24984 feedmail-send-it-immediately-wrapper.
24985 (feedmail-message-action-send): Add debug call.
24986 Use feedmail-send-it-immediately-wrapper.
24987 (feedmail-queue-express-to-queue): Add debug call.
24988 Run feedmail-queue-express-hook.
24989 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24990 (feedmail-message-action-help-blat):
24991 Rename from feedmail-queue-send-edit-prompt-help-first.
24992 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24993 Check line-endings. Handle errors better.
24994 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24995 Doc fix. Add debug call.
24996 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24997 Use feedmail-queue-send-edit-prompt-inner.
24998 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24999 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25000 from feedmail-queue-send-edit-prompt.
25001 (feedmail-queue-send-edit-prompt-help)
25002 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25003 (feedmail-tidy-up-slug): Add debug call.
25004 Respect feedmail-queue-slug-suspect-regexp.
25005 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25006 (feedmail-dump-message-to-queue): Add debug call.
25007 Expand queue-directory.
25008 (feedmail-dump-message-to-queue): Change message slightly.
25009 Use feedmail-say-chatter.
25010 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25011 (feedmail-send-it-immediately-wrapper): New function.
25012 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25013 Insert empty string rather than newline. Handle full-frame case.
25014 Use catch/throw. Use feedmail-say-chatter.
25015 (feedmail-fiddle-from): Try mail-host-address.
25016 (feedmail-default-message-id-generator): Doc fix.
25017 Bind system-time-locale. Handle missing end.
25018 (feedmail-fiddle-x-mailer): Add debug call.
25019 Handle feedmail-x-mailer-line being nil.
25020 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25021 Add debug call. Use buffer-substring-no-properties.
25022 (feedmail-say-debug, feedmail-say-chatter): New functions.
25023 (feedmail-find-eoh): Give an explicit error.
25024
25025 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25026
25027 * net/newst-treeview.el (newsticker-treeview-face): Change default
25028 family from helvetica to sans.
25029 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25030 etc/images/newsticker.
25031
25032 * net/newst-reader.el (newsticker-feed-face): Change default
25033 family from helvetica to sans.
25034
25035 * net/newst-plainview.el (newsticker-new-item-face)
25036 (newsticker-old-item-face, newsticker-immortal-item-face)
25037 (newsticker-obsolete-item-face, newsticker-date-face)
25038 (newsticker-statistics-face): Change default family from
25039 helvetica to sans.
25040 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25041 etc/images/newsticker.
25042
25043 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25044 (newsticker--process-auto-mark-filter-match): Tell user about
25045 auto-marking.
25046
25047 2011-05-13 Didier Verna <didier@xemacs.org>
25048
25049 Common Lisp indentation improvements on defmethod and lambda-lists.
25050 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25051 TODO entries.
25052 (lisp-lambda-list-keyword-parameter-indentation)
25053 (lisp-lambda-list-keyword-parameter-alignment)
25054 (lisp-lambda-list-keyword-alignment): New customizable user options.
25055 (lisp-indent-defun-method): Improve docstring.
25056 (extended-loop-p): Fix comment.
25057 (lisp-indent-lambda-list-keywords-regexp): New variable.
25058 (lisp-indent-lambda-list): New function.
25059 (lisp-indent-259): Use it.
25060 (lisp-indent-defmethod): Support for more than one
25061 method qualifier and properly indent methods lambda-lists.
25062 (defgeneric): Provide a missing common-lisp-indent-function property.
25063
25064 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25065
25066 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25067 bounds for the empty string (bug#8667).
25068
25069 2011-05-13 Glenn Morris <rgm@gnu.org>
25070
25071 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25072
25073 * mail/sendmail.el (sendmail-program): Try executable-find first.
25074 (sendmail-send-it): `sendmail-program' cannot be unbound.
25075
25076 * calendar/appt.el (appt-make-list): Simplify.
25077 (appt-time-msg-list): Doc fix.
25078 (appt-check): Change mode-line message at the time of the appointment.
25079
25080 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25081
25082 * progmodes/ld-script.el (ld-script-keywords)
25083 (ld-script-builtins): Update keywords list.
25084
25085 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25086
25087 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25088
25089 * shell.el (shell-completion-vars): New function.
25090 (shell-mode):
25091 * simple.el (read-shell-command): Use it.
25092 (blink-matching-open): No need for " [...]" in minibuffer-message.
25093
25094 2011-05-12 Glenn Morris <rgm@gnu.org>
25095
25096 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25097 (appt-check): Simplify.
25098
25099 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25100
25101 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25102 literal "/dev/null".
25103
25104 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25105
25106 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25107 Fix typo.
25108
25109 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25110
25111 * progmodes/which-func.el (which-function):
25112 Use add-log-current-defun instead of add-log-current-defun-function,
25113 which might not be defined (Bug#8260).
25114
25115 2011-05-12 Glenn Morris <rgm@gnu.org>
25116
25117 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25118 Let byte-compile-initial-macro-environment always take precedence.
25119
25120 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25121
25122 * net/rcirc.el: Add support for SSL/TLS connections.
25123 (rcirc-server-alist): New field `encryption'.
25124 (rcirc): Check `encryption' settings.
25125 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25126 Merge make-local-variable into `set'.
25127 (rcirc--connection-open-p): New function.
25128 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25129 the process is not a network process (e.g. running gnutls-cli).
25130 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25131 Make rcirc-(en|de)code-coding-system local here.
25132 (rcirc-mode): Merge make-local-variable into `set'.
25133 (rcirc-parent-buffer): Make permanent buffer-local.
25134 (rcirc-multiline-minor-mode): Don't do it here.
25135 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25136 there's no server buffer.
25137
25138 2011-05-11 Glenn Morris <rgm@gnu.org>
25139
25140 * newcomment.el (comment-kill): Prefix "unused" local.
25141
25142 * term/w32console.el (get-screen-color): Declare.
25143
25144 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25145 Handle symbol elements of byte-compile-initial-macro-environment.
25146
25147 2011-05-10 Leo Liu <sdl.web@gmail.com>
25148
25149 * bookmark.el (bookmark-bmenu-mode-map):
25150 Bind bookmark-bmenu-search to `/'.
25151
25152 * mail/footnote.el: Convert to utf-8 encoding.
25153 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25154 (Footnote-unicode): New function.
25155 (footnote-style-alist): Add unicode style to the list.
25156 (footnote-style): Doc fix.
25157
25158 2011-05-10 Jim Meyering <meyering@redhat.com>
25159
25160 Fix doubled-word typos.
25161 * international/quail.el (quail-insert-kbd-layout): and and -> and
25162 * kermit.el: and and -> and
25163 * net/ldap.el (ldap-search-internal): to to -> to
25164 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25165 * progmodes/js.el (js-mode): and and -> and
25166 * textmodes/artist.el (artist-move-to-xy): at at -> at
25167 (artist-draw-region-trim-line-endings): if if -> if
25168 And Safetyc -> Safety.
25169 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25170
25171 2011-05-10 Glenn Morris <rgm@gnu.org>
25172 Stefan Monnier <monnier@iro.umontreal.ca>
25173
25174 * files.el (hack-one-local-variable-eval-safep):
25175 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25176
25177 2011-05-10 Glenn Morris <rgm@gnu.org>
25178
25179 * calendar/diary-lib.el (diary-list-entries-hook)
25180 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25181 (diary-nongregorian-marking-hook, diary-list-entries)
25182 (diary-include-other-diary-files, diary-mark-entries)
25183 (diary-mark-included-diary-files): Doc fixes.
25184
25185 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25186
25187 * misc.el: Require tabulated-list.el during compilation.
25188
25189 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25190
25191 * progmodes/compile.el (compilation-start):
25192 Run compilation-filter-hook for the async case too.
25193 (compilation-filter-hook): Doc fix.
25194
25195 2011-05-09 Deniz Dogan <deniz@dogan.se>
25196
25197 * wdired.el: Remove outdated installation comment. Fix usage
25198 comment.
25199
25200 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25201
25202 * misc.el: Implement new command `list-dynamic-libraries'.
25203 (list-dynamic-libraries--loaded-only-p): New variable.
25204 (list-dynamic-libraries--refresh): New function.
25205 (list-dynamic-libraries): New command.
25206
25207 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25208
25209 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25210 Fix the ant regexp to handle end-line and end-column info from jikes.
25211 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25212 higher priority to avoid clobbering by gnu.
25213
25214 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25215
25216 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25217 if the face has existing theme settings (Bug#8454).
25218
25219 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25220
25221 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25222 Only match variables declared via `my' or `our' (Bug#8261).
25223
25224 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25225 special file names `.' and `..' (Bug#8259).
25226
25227 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25228
25229 * progmodes/grep.el (grep-mode-font-lock-keywords):
25230 Remove buffer-changing entries.
25231 (grep-filter): New function.
25232 (grep-mode): Add it to compilation-filter-hook.
25233
25234 * progmodes/compile.el (compilation-filter-hook)
25235 (compilation-filter-start): New defvars.
25236 (compilation-filter): Call compilation-filter-hook prior to
25237 updating the process mark.
25238
25239 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25240
25241 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25242
25243 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25244
25245 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25246 mailclient-send-it even if window-system is nil. (Bug#8595)
25247
25248 * term/w32console.el (terminal-init-w32console):
25249 Call get-screen-color and use its output to set the frame
25250 background-mode. (Bug#8597)
25251
25252 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25253
25254 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25255 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25256 New functions.
25257 (defgeneric, eieio--defmethod): Use them.
25258 (eieio-defgeneric): Remove.
25259 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25260
25261 2011-05-07 Glenn Morris <rgm@gnu.org>
25262
25263 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25264 Use let rather than let*.
25265 (timeclock-find-discrep): Remove unused local.
25266
25267 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25268
25269 * calendar/appt.el (appt-time-msg-list): Doc fix.
25270
25271 2011-05-06 Noah Friedman <friedman@splode.com>
25272
25273 * apropos.el (apropos-print-doc): Only use
25274 emacs-lisp-docstring-fill-column when it is bound to an integer,
25275 per that variable's documentation.
25276
25277 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25278
25279 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25280 and warnings are not silently discarded (e.g. use -d instead of -P).
25281
25282 2011-05-06 Glenn Morris <rgm@gnu.org>
25283
25284 * calendar/appt.el (appt-message-warning-time): Doc fix.
25285 (appt-warning-time-regexp): New option.
25286 (appt-make-list): Respect appt-message-warning-time.
25287
25288 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25289 New options.
25290 (diary-add-to-list): Strip comments from the displayed string.
25291 (diary-mode): Set comment-start and comment-end.
25292
25293 * vc/diff-mode.el (smerge-refine-subst): Declare.
25294 (diff-refine-hunk): Don't require smerge-mode when compiling.
25295
25296 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25297
25298 * simple.el (list-processes): Return nil as the docstring says.
25299
25300 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25301
25302 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25303 to "".
25304 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25305 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25306 determining of binary transfer. (Bug#7383)
25307
25308 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25309
25310 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25311 Fix port computation bug. (Bug#8618)
25312
25313 2011-05-05 Glenn Morris <rgm@gnu.org>
25314
25315 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25316
25317 * simple.el (shell-dynamic-complete-functions)
25318 (comint-dynamic-complete-functions): Declare.
25319
25320 * net/network-stream.el (gnutls-negotiate):
25321 * simple.el (tabulated-list-print): Fix declarations.
25322
25323 * progmodes/gud.el (syntax-symbol, syntax-point):
25324 Remove unnecessary and incorrect declarations.
25325
25326 * emacs-lisp/check-declare.el (check-declare-scan):
25327 Handle byte-compile-initial-macro-environment in bytecomp.el.
25328
25329 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25330
25331 Fix earlier half-done eieio-defmethod change (bug#8338).
25332 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25333 Streamline and change calling convention.
25334 (defmethod): Adjust accordingly and simplify.
25335 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25336 new eieio--defmethod.
25337 (slot-boundp): Minor CSE simplification.
25338
25339 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25340
25341 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25342 (glasses-make-readable): Use glasses-separate-capital-groups.
25343
25344 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25345
25346 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25347 (warning-series): Doc fix.
25348 (display-warning): Don't try to create the buffer if we just found it.
25349
25350 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25351
25352 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25353 (autoload-find-generated-file): New function.
25354 (generate-file-autoloads): Bind generated-autoload-file to
25355 buffer-file-name.
25356 (update-file-autoloads, update-directory-autoloads):
25357 Use autoload-find-generated-file. If called interactively, prompt for
25358 output file (Bug#7989).
25359 (batch-update-autoloads): Doc fix.
25360
25361 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25362
25363 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25364
25365 2011-05-04 Glenn Morris <rgm@gnu.org>
25366
25367 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25368 function, so it follows changes in calendar-date-style.
25369 (diary-fancy-date-matcher): New function.
25370 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25371 (diary-fancy-font-lock-fontify-region-function):
25372 Use diary-fancy-date-pattern as a function.
25373
25374 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25375 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25376
25377 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25378
25379 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25380 instead of positional arguments. Allow :keylist and :crlfiles
25381 arguments.
25382 (open-gnutls-stream): Call it.
25383
25384 * net/network-stream.el (network-stream-open-starttls): Adjust to
25385 call `gnutls-negotiate' with :process and :hostname arguments.
25386
25387 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25388
25389 * minibuffer.el (completion--message): New function.
25390 (completion--do-completion, minibuffer-complete)
25391 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25392 (completion--do-completion): Don't ignore completion-auto-help when in
25393 icomplete-mode.
25394
25395 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25396 internal encoding (e.g. tibetan zero is not whitespace).
25397 (global-whitespace-mode): Prefer save-current-buffer.
25398 (whitespace-trailing-regexp): Remove useless save-match-data.
25399 (whitespace-empty-at-bob-regexp): Minor simplification.
25400
25401 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25402
25403 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25404
25405 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25406
25407 * textmodes/ispell.el (ispell-add-per-file-word-list):
25408 Use `concat' to create string for insertion.
25409
25410 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25411
25412 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25413 Avoid open-line which runs post-self-insert-hook.
25414 (bibtex-fill-entry): Remove unused `end' var.
25415
25416 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25417
25418 * textmodes/ispell.el (ispell-add-per-file-word-list):
25419 Protect against `nil' value of `comment-start' (Bug#8579).
25420
25421 2011-05-03 Leo Liu <sdl.web@gmail.com>
25422
25423 * isearch.el (isearch-yank-pop): New command.
25424 (isearch-mode-map): Bind it to `M-y'.
25425 (isearch-forward): Mention it.
25426
25427 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25428
25429 * simple.el (minibuffer-complete-shell-command): Remove.
25430 (minibuffer-local-shell-command-map): Use completion-at-point.
25431 (read-shell-command): Setup completion vars here instead.
25432 (read-expression-map): Bind TAB to symbol completion.
25433
25434 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25435 error directly rather via storing it into `results'.
25436
25437 2011-05-02 Leo Liu <sdl.web@gmail.com>
25438
25439 * vc/diff.el: Fix description.
25440
25441 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25442
25443 * server.el (server-eval-at): New function.
25444
25445 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25446
25447 * net/network-stream.el (open-network-stream): Take a :nowait
25448 parameter and pass it on to `make-network-process'.
25449 (network-stream-open-plain): Ditto.
25450
25451 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25452
25453 * faces.el (face-spec-set-match-display): Don't match toolkit
25454 options on terminal frames.
25455
25456 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25457
25458 * progmodes/pascal.el: Use lexical binding.
25459 (pascal-mode-map): Remove author preferences.
25460
25461 * pcomplete.el (pcomplete-std-complete): Don't abuse
25462 completion-at-point.
25463
25464 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25465
25466 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25467 removing code that has been dead since 1991 or so.
25468
25469 * startup.el (command-line): When warning about "_emacs", use a
25470 delayed warning to allow the user to filter it out.
25471
25472 2011-04-28 Deniz Dogan <deniz@dogan.se>
25473
25474 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25475 user has not joined.
25476
25477 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25478
25479 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25480 aren't any completions at point.
25481
25482 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25483
25484 * subr.el (display-delayed-warnings): New function.
25485 (delayed-warnings-hook): New variable.
25486
25487 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25488
25489 * minibuffer.el (completion-at-point, completion-help-at-point):
25490 Don't presume that a given completion-at-point-function will always
25491 use the same calling convention.
25492
25493 * pcomplete.el (pcomplete-completions-at-point):
25494 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25495 pcomplete-seen is non-nil.
25496 (pcomplete-comint-setup): Also recognize the new comint/shell
25497 completion functions.
25498 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25499 pcomplete-seen is non-nil.
25500
25501 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25502
25503 * calendar/icalendar.el (diary-lib): Add require statement.
25504 (icalendar--create-uid): Read out a uid from a text-property on
25505 the first character in the entry. This allows for code to add its
25506 own uid to the entry.
25507 (icalendar--convert-float-to-ical): Add export of
25508 `diary-float'-entries save for those with the optional DAY
25509 argument.
25510
25511 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25512
25513 * subr.el (shell-quote-argument): Use alternate escaping strategy
25514 when we spot a variable reference in a string.
25515
25516 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25517
25518 * cus-start.el (all): Define customization for debug-on-event.
25519
25520 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25521
25522 * subr.el (shell-quote-argument): Escape correctly under Windows.
25523
25524 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25525
25526 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25527
25528 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25529
25530 * net/tramp.el (tramp-process-actions): Add POS argument.
25531 Delete region between POS and (pos).
25532
25533 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25534 Use `nil' position in `tramp-process-actions' call.
25535 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25536
25537 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25538 position in `tramp-process-actions' call.
25539
25540 * net/trampver.el: Update release number.
25541
25542 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25543
25544 * custom.el (defcustom): Obey lexical-binding.
25545
25546 Fix octave-inf completion problems reported by Alexander Klimov.
25547 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25548 Inherit from octave-mode-syntax-table.
25549 (inferior-octave-mode): Set info-lookup-mode.
25550 (inferior-octave-completion-at-point): New function.
25551 (inferior-octave-complete): Use it and completion-in-region.
25552 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25553 comint-filename-completion.
25554 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25555 symbol elements which shouldn't be word elements.
25556 (octave-font-lock-keywords, octave-beginning-of-defun)
25557 (octave-function-header-regexp): Adjust regexps accordingly.
25558 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25559
25560 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25561
25562 * net/gnutls.el (gnutls-errorp): Declare before first use.
25563
25564 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25565
25566 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25567 verify-error, and verify-hostname-error parameters. Check whether
25568 default trustfile exists before going to use it. Add missing
25569 argument to gnutls-message-maybe call. Return value.
25570 Reported by Claudio Bley <claudio.bley@gmail.com>.
25571 (open-gnutls-stream): Add usage example.
25572
25573 * net/network-stream.el (network-stream-open-starttls): Give host
25574 parameter to `gnutls-negotiate'.
25575 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25576 * subr.el (shell-quote-argument): Escape correctly under Windows.
25577
25578 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25579
25580 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25581 Use correct match group (bug#8438).
25582
25583 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25584
25585 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25586 (package-menu--generate): New arg specifying packages to show.
25587 (package-menu-refresh, package-menu-execute, list-packages):
25588 Callers changed.
25589 (package-show-package-list): New function, replacing deleted
25590 package--list-packages (renamed because it is non-internal).
25591
25592 * finder.el (finder-list-matches): Use package-show-package-list
25593 instead of deleted package--list-packages.
25594
25595 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25596 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25597 (vc-annotate-mode-map): Bind it to RET.
25598
25599 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25600
25601 * progmodes/etags.el (next-file): Don't use set-buffer to change
25602 buffers (Bug#8478).
25603
25604 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25605
25606 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25607
25608 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25609 (apropos-accumulator): Doc fix.
25610 (apropos-function, apropos-macro, apropos-command)
25611 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25612 (apropos-plist): Add face property.
25613 (apropos-symbols-internal): Fix indentation.
25614 (apropos-print): Simplify help, and recognize apropos-multi-type.
25615 (apropos-print-doc): Use button-type-get to extract the button's
25616 face property. Fill docstring (Bug#8352).
25617
25618 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25619
25620 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25621
25622 * play/mpuz.el (mpuz-silent): Doc fix.
25623 (mpuz-mode-map): Use mapc.
25624 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25625 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25626 Fix typos in docstrings.
25627
25628 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25629 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25630
25631 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25632
25633 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25634
25635 * minibuffer.el (completion--do-completion): Avoid the "Next char
25636 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25637
25638 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25639 mouse-2 into unread-command-events, it is interpreted correctly.
25640
25641 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25642 (image-toggle-display): Doc fix.
25643
25644 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25645
25646 * textmodes/page.el (what-page): Use line-number-at-pos to
25647 calculate line number (Bug#6825).
25648
25649 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25650
25651 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25652 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25653 Pass argument NO-DEFAULT to `find-tag-interactive'.
25654
25655 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25656
25657 Lexical-binding cleanup.
25658
25659 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25660 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25661 * progmodes/ada-prj.el (ada-prj-initialize-values)
25662 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25663 (ada-prj-show-value):
25664 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25665 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25666 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25667 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25668 * progmodes/bug-reference.el (bug-reference-push-button):
25669 * progmodes/fortran.el (fortran-line-length):
25670 * progmodes/glasses.el (glasses-change):
25671 * progmodes/octave-mod.el (octave-fill-paragraph):
25672 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25673 (python-pdbtrack-grub-for-buffer, python-sentinel):
25674 * progmodes/sql.el (sql-save-connection):
25675 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25676 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25677 Mark unused parameters.
25678
25679 * progmodes/compile.el (compilation--flush-directory-cache)
25680 (compilation--flush-parse, compile-internal): Mark unused parameters.
25681 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25682 (compilation-next-error-function): Remove unused variable `timestamp'.
25683
25684 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25685 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25686
25687 * progmodes/dcl-mode.el (dcl-end-of-command):
25688 Remove unused variable `start'.
25689 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25690 (dcl-option-value-basic, dcl-option-value-offset)
25691 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25692 Mark unused parameters.
25693 (dcl-save-local-variable): Remove unused variable `val'.
25694 (mode): Declare.
25695
25696 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25697 Mark unused parameters.
25698 (delphi-ignore-changes): Move before first use.
25699 (delphi-charset-token-at): Remove unused variable `start'.
25700 (delphi-else-start): Remove unused variable `if-count'.
25701 (delphi-comment-block-start, delphi-comment-block-end):
25702 Remove unused variable `kind'.
25703 (delphi-indent-line): Remove unused variable `new-point'.
25704
25705 * progmodes/ebrowse.el (ebrowse-files-list)
25706 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25707 Mark unused parameters. Don't quote `lambda'.
25708 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25709 Don't quote `lambda'.
25710 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25711 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25712 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25713 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25714 Use `ignore-errors'.
25715 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25716 (ebrowse-view/find-file-and-search-pattern)
25717 (ebrowse-view/find-member-declaration/definition):
25718 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25719 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25720 Rename parameter PREFIX-ARG to PREFIX.
25721 (ebrowse-tags-read-name): Remove unused variables `start' and
25722 `member-info'.
25723 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25724 to `tags-file'.
25725
25726 * progmodes/etags.el (local-find-tag-hook): Declare.
25727 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25728 Mark unused parameters.
25729
25730 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25731 (executable-interpret): Mark unused parameter.
25732
25733 * progmodes/flymake.el (flymake-process-sentinel)
25734 (flymake-after-change-function)
25735 (flymake-create-temp-with-folder-structure)
25736 (flymake-get-include-dirs-dot): Mark unused parameters.
25737 (flymake-safe-delete-directory): Remove unused variable `err'.
25738
25739 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25740 (speedbar-timer-fn, speedbar-line-text)
25741 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25742 (speedbar-center-buffer-smartly): Declare functions.
25743 (gdb-find-watch-expression): Remove unused variable `array'.
25744 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25745 (gdb-starting): Mark unused parameters.
25746 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25747 (gdb-table-string): Remove unused variable `res'.
25748 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25749 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25750 (gdb-display-buffer): Remove unused variable `cur-size'.
25751
25752 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25753 allow lexical-binding compilation.
25754 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25755 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25756 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25757 Mark unused parameters.
25758 (gud-gdb-marker-filter): Remove unused variable `match'.
25759 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25760 lambda expressions and funcall them, instead of using `fset'.
25761
25762 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25763 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25764
25765 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25766 variable `header-beg'; use `let'.
25767
25768 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25769 `restart', `last-sexp' and `at-do'.
25770
25771 * progmodes/js.el (js--debug): Mark unused parameter.
25772 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25773 (js--splice-into-items): Remove unused variable `item'.
25774 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25775
25776 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25777 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25778 (makefile-complete): Remove unused variable `try'.
25779 (makefile-fill-paragraph, makefile-match-function-end):
25780 Mark unused parameters.
25781
25782 * progmodes/octave-inf.el (inferior-octave-complete):
25783 Remove unused variable `proc'.
25784 (inferior-octave-output-digest): Mark unused parameter.
25785
25786 * progmodes/perl-mode.el (perl-calculate-indent):
25787 Remove unused variable `err'.
25788
25789 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25790 (prolog-indent-line): Mark unused parameters.
25791 (prolog-indent-line): Remove unused variable `beg'.
25792
25793 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25794 (reporter-dont-compact-list): Declare.
25795
25796 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25797 Remove unused variable `char'.
25798 (sh-debug): Mark unused parameter.
25799 (sh-get-indent-info): Remove unused variable `start'.
25800 (sh-calculate-indent): Remove unused variable `var'.
25801
25802 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25803 (simula-electric-keyword): Remove unused variable `null'.
25804 (simula-search-backward, simula-search-forward): Remove unused
25805 variables `begin' and `end'.
25806
25807 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25808 Remove unused variable `pos'.
25809 (vera-electric-tab, vera-comment-uncomment-region):
25810 Mark unused parameters.
25811 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25812
25813 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25814
25815 * emacs-lisp/package.el (package--builtins, package-alist)
25816 (package-load-descriptor, package-built-in-p, package-activate)
25817 (define-package, package-installed-p)
25818 (package-compute-transaction, package-buffer-info)
25819 (package--push): Doc fix. Distinguish more clearly between
25820 version strings and version lists.
25821
25822 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25823
25824 Lexical-binding cleanup.
25825
25826 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25827 (5x5-make-mutate-best):
25828 * play/fortune.el (fortune-in-buffer):
25829 * play/gomoku.el (gomoku-init-display):
25830 * play/solitaire.el (solitaire, solitaire-do-check):
25831 * play/tetris.el (tetris-default-update-speed-function):
25832 Mark unused parameters.
25833
25834 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25835 (bubbles--shift): Remove unused variable `char-org'.
25836 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25837 (bubbles--show-images): Remove unused variable `char'.
25838
25839 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25840 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25841 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25842 (decipher-analyze-buffer): Use ?\s.
25843 (decipher-make-checkpoint): Remove unused variable `mapping'.
25844
25845 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25846
25847 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25848 Remove unused variable `result'; use `let'.
25849
25850 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25851 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25852 (gametree-children-shown-p, gametree-compute-reduced-score):
25853 Use `ignore-errors'.
25854
25855 * play/handwrite.el (ps-lpr-switches): Declare.
25856 (handwrite): Remove unused variables `pmin' and `lastp'.
25857
25858 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25859
25860 * play/landmark.el (landmark-init-display)
25861 (landmark-update-naught-weights): Mark unused parameters.
25862 (landmark-y): Remove unused variable `noise'. Simplify.
25863 (landmark-human-plays): Remove unused variable `score'.
25864
25865 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25866 (mpuz-try-proposal): Remove unused variable `game'.
25867
25868 * play/zone.el (life-patterns): Declare.
25869
25870 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25871
25872 * vc/vc.el (ediff-vc-internal): Declare function.
25873
25874 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25875
25876 * shell.el: Use lexical-binding and std completion UI.
25877 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25878 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25879 comint-preoutput-filter-functions rather than on
25880 comint-output-filter-functions.
25881 (shell-command-completion, shell--command-completion-data)
25882 (shell-filename-completion, shell-environment-variable-completion)
25883 (shell-c-a-p-replace-by-expanded-directory): New functions.
25884 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25885 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25886 (shell-dynamic-complete-environment-variable): Use them.
25887 (shell-dynamic-complete-as-environment-variable)
25888 (shell-dynamic-complete-as-command): Remove.
25889 (shell-match-partial-variable): Match past point.
25890 * comint.el: Clean up use of completion-at-point-functions.
25891 (comint-completion-at-point): New function.
25892 (comint-mode): Use it completion-at-point-functions.
25893 (comint-dynamic-complete): Make it obsolete.
25894 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25895 (comint-c-a-p-replace-by-expanded-history): New function.
25896 (comint-dynamic-complete-functions)
25897 (comint-replace-by-expanded-history): Use it.
25898 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25899 termination strings. Try harder to avoid second try-completion.
25900 (completion-in-region-mode-map): Disable bindings that don't work yet.
25901
25902 * comint.el: Use lexical-binding. Require CL.
25903 (comint-dynamic-complete-functions): Use comint-filename-completion.
25904 (comint-completion-addsuffix): Tweak custom type.
25905 (comint-filename-completion, comint--common-suffix)
25906 (comint--common-quoted-suffix, comint--table-subvert)
25907 (comint--complete-file-name-data): New functions.
25908 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25909 (comint-dynamic-list-filename-completions): Use them.
25910 (comint-dynamic-simple-complete): Make obsolete.
25911
25912 * minibuffer.el (completion-in-region-mode):
25913 Keep completion-in-region-mode--predicate global.
25914 (completion-in-region--postch):
25915 Assume completion-in-region-mode--predicate is not null.
25916
25917 * progmodes/flymake.el (flymake-start-syntax-check-process):
25918 Obey `dir'. Simplify.
25919
25920 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25921 we're in VC after all.
25922
25923 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25924
25925 * vc/vc.el (vc-diff-build-argument-list-internal)
25926 (vc-version-ediff, vc-ediff): New commands.
25927 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25928
25929 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25930
25931 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25932 add sanity check.
25933
25934 * obsolete/erc-hecomplete.el: Make obsolete.
25935 * obsolete/: Standardize obsolescence info in the header.
25936
25937 2011-04-20 Glenn Morris <rgm@gnu.org>
25938
25939 * calendar/solar.el (solar-horizontal-coordinates):
25940 Use the longitude argument rather than `calendar-longitude'.
25941 (solar-date-next-longitude): Remove unused locals.
25942
25943 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25944
25945 * whitespace.el: New version 13.2.1.
25946
25947 2011-04-20 felix <EmacsWiki> (tiny change)
25948
25949 * whitespace.el (global-whitespace-mode): Keep highlight when
25950 switching between major modes on a file.
25951
25952 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25953
25954 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25955 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25956 multi-line comments as well.
25957
25958 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25959
25960 Lexical-binding cleanup.
25961
25962 * arc-mode.el (archive-mode-revert):
25963 * cmuscheme.el (scheme-interactively-start-process):
25964 * custom.el (custom-initialize-delay):
25965 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25966 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25967 * emacs-lock.el (emacs-lock-clear-sentinel):
25968 * ezimage.el (defezimage):
25969 * follow.el (follow-avoid-tail-recenter):
25970 * fringe.el (set-fringe-mode-1):
25971 * generic-x.el (bat-generic-mode-compile):
25972 * help-mode.el (help-info-variable, help-do-xref)
25973 (help-mode-revert-buffer):
25974 * help.el (view-emacs-todo):
25975 * iswitchb.el (iswitchb-completion-help):
25976 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25977 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25978 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25979 * locate.el (locate-update):
25980 * longlines.el (longlines-encode-region)
25981 (longlines-after-change-function):
25982 * outline.el (outline-isearch-open-invisible):
25983 * ps-def.el (declare-function, charset-dimension, char-width)
25984 (encode-char):
25985 * ps-mule.el (ps-mule-plot-string):
25986 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25987 (recentf-edit-list-select, recentf-edit-list-validate)
25988 (recentf-open-files-action):
25989 * rect.el (delete-whitespace-rectangle-line)
25990 (rectangle-number-line-callback):
25991 * register.el (window-configuration-to-register)
25992 (frame-configuration-to-register):
25993 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25994 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25995 (xselect-convert-to-targets, xselect-convert-to-delete)
25996 (xselect-convert-to-filename, xselect-convert-to-charpos)
25997 (xselect-convert-to-lineno, xselect-convert-to-colno)
25998 (xselect-convert-to-os, xselect-convert-to-host)
25999 (xselect-convert-to-user, xselect-convert-to-class)
26000 (xselect-convert-to-name, xselect-convert-to-integer)
26001 (xselect-convert-to-atom, xselect-convert-to-identity):
26002 * subr.el (declare, ignore, process-kill-without-query)
26003 (text-clone-maintain):
26004 * terminal.el (te-get-char, te-tic-sentinel):
26005 * tool-bar.el (tool-bar-make-keymap):
26006 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26007 * type-break.el (type-break-mode, type-break-noninteractive-query):
26008 * view.el (View-back-to-mark):
26009 * wid-browse.el (widget-browse-action, widget-browse-widget)
26010 (widget-browse-widgets, widget-browse-sexp):
26011 * widget.el (define-widget-keywords):
26012 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26013 Mark unused parameters.
26014
26015 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26016 (align-areas): Remove unused variable `look'.
26017 (align-region): Remove unused variables `real-end' and `pos-list'.
26018
26019 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26020
26021 * bindings.el (mode-line-modified, mode-line-remote):
26022 Mark unused parameters.
26023 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26024
26025 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26026 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26027
26028 * comint.el (comint-history-isearch-pop-state)
26029 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26030 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26031 (comint-substitute-in-file-name): Doc fix.
26032
26033 * completion.el (cmpl-statistics-block): Mark unused parameter.
26034 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26035 (save-completions-to-file, load-completions-from-file):
26036 Remove unused local variable `e'.
26037
26038 * composite.el (compose-chars): Remove unused variable `len'.
26039 (lgstring-insert-glyph): Remove unused variable `g'.
26040 (compose-glyph-string): Remove unused variables `ascent',
26041 `descent', `lbearing' and `rbearing'.
26042 (compose-glyph-string-relative): Remove unused variables
26043 `lbearing', `rbearing' and `wadjust'.
26044 (compose-gstring-for-graphic): Remove unused variables `header',
26045 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26046 (compose-gstring-for-terminal): Remove unused variables `header'
26047 and `nchars'. Use `let', not `let*'.
26048
26049 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26050 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26051 (Custom-buffer-done, custom-buffer-create-internal)
26052 (custom-browse-visibility-action, custom-browse-group-tag-action)
26053 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26054 (widget-magic-mouse-down-action, custom-toggle-parent)
26055 (custom-add-parent-links, custom-toggle-hide-variable)
26056 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26057 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26058 (custom-face-menu-create, custom-variable-menu-create, get)
26059 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26060 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26061 (customize-apropos): Remove unused variable `tests'.
26062 (custom-group-value-create): Remove unused variable `hidden-p'.
26063 (sort-fold-case): Declare.
26064
26065 * cus-theme.el (custom-reset-standard-faces-list)
26066 (custom-reset-standard-variables-list): Declare.
26067 (customize-create-theme, custom-theme-revert, custom-theme-write)
26068 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26069 Mark unused parameters.
26070
26071 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26072
26073 * delim-col.el (delimit-columns-max): Move defvar before first use.
26074
26075 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26076 (describe-char): Don't quote `lambda'. Mark unused parameter.
26077
26078 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26079 (auto-insert): Declare.
26080 (desktop-restore-file-buffer): Rename desktop-* parameters;
26081 mark unused ones.
26082 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26083 (desktop-buffer): Rename desktop-* parameters.
26084
26085 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26086 (dframe-reposition-frame-xemacs, dframe-help-echo)
26087 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26088 Mark unused parameters.
26089
26090 * dired-aux.el (backup-extract-version-start, overwrite-query)
26091 (overwrite-backup-query, rename-regexp-query)
26092 (rename-non-directory-query): Declare.
26093 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26094 (dired-add-entry): Remove unused variable `orig-file-name'.
26095 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26096 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26097 `dired-copy-preserve-time' directly.
26098 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26099 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26100
26101 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26102 (dired-virtual-revert, dired-make-relative-symlink):
26103 Mark unused parameters.
26104 (manual-program): Declare.
26105 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26106 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26107 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26108
26109 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26110
26111 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26112
26113 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26114 Declare.
26115
26116 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26117
26118 * electric.el (Electric-command-loop): Rename parameter
26119 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26120
26121 * expand.el (expand-in-literal): Remove unused variable `here'.
26122
26123 * facemenu.el (facemenu-add-new-color):
26124 Remove unused variable `docstring'.
26125
26126 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26127 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26128 (face-attr-construct): Mark unused parameter. Doc fix.
26129 (read-color): Remove unused variable `hex-string'.
26130
26131 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26132 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26133 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26134 (display-buffer-other-frame): Remove unused variable `old-window'.
26135 (kill-buffer-hook): Declare.
26136 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26137 Mark unused parameters.
26138 (after-find-file): Pass 1 to `auto-save-mode', not t.
26139
26140 * files-x.el (auto-insert): Declare.
26141 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26142
26143 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26144 variable `buf'. Mark unused parameter.
26145 (find-lisp-insert-directory): Mark unused parameter.
26146
26147 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26148 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26149 (format-common-tail): Remove, unused.
26150 (format-deannotate-region): Remove unused variable `loc'.
26151 (format-annotate-region): Remove unused variable `p'.
26152 (format-annotate-single-property-change): Remove unused variables
26153 `default' and `tail'.
26154
26155 * forms.el (read-file-filter): Declare.
26156 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26157
26158 * frame.el (frame-creation-function-alist): Mark unused parameter.
26159 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26160
26161 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26162 Remove unused parameters.
26163 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26164 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26165
26166 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26167 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26168 (hfy-prepare-tag-map): Mark unused parameters.
26169 (htmlfontify-buffer): Use `called-interactively-p'.
26170
26171 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26172 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26173 (ibuffer-do-occur): Mark unused parameters.
26174 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26175 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26176
26177 * ibuffer.el: Don't quote `lambda'.
26178 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26179 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26180 Mark unused parameters.
26181
26182 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26183 (ido-completing-read): Mark unused parameters.
26184 (ido-copy-current-word): Mark unused parameters;
26185 remove unused variable `name'.
26186 (ido-sort-merged-list): Remove unused parameter `dirs'.
26187
26188 * ielm.el (ielm-input-sender): Mark unused parameter.
26189 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26190 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26191 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26192 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26193 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26194
26195 * image-dired.el (image-dired-display-thumbs): Remove unused
26196 variables `curr-file' and `count'.
26197 (image-dired-remove-tag): Remove unused variable `start'.
26198 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26199 variable `curr-file'
26200 (image-dired-rotate-original): Remove unused variable `temp-file'.
26201 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26202 Remove unused variable `file'.
26203 (image-dired-gallery-generate): Remove unused variable `curr'.
26204 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26205
26206 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26207
26208 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26209
26210 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26211
26212 * isearch.el (minibuffer-history-symbol): Declare.
26213 (isearch-edit-string): Remove unused variable `err'.
26214 (isearch-message-prefix, isearch-message-suffix):
26215 Mark unused parameters.
26216
26217 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26218
26219 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26220
26221 * makesum.el (double-column): Remove unused variable `cnt'.
26222
26223 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26224 (ido-ignore-item-temp-list): Declare.
26225
26226 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26227 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26228 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26229 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26230 `mouse-col-delta'.
26231
26232 * mouse-sel.el (mouse-extend-internal):
26233 Remove unused variable `orig-window-frame'.
26234
26235 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26236 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26237 Move declarations before first use.
26238 (pcomplete-opt): Mark unused parameters; doc fix.
26239
26240 * proced.el (proced-revert): Mark unused parameter.
26241 (proced-send-signal): Remove unused variable `err'.
26242
26243 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26244 Rename parameter PREFIX-ARG to ARG.
26245 (ps-basic-plot-string, ps-basic-plot-whitespace):
26246 Mark unused parameters.
26247
26248 * replace.el (replace-count): Define.
26249 (occur-revert-function): Mark unused parameters.
26250 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26251 (isearch-case-fold-search, isearch-string): Declare.
26252 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26253 bind `case-fold-search'. Remove unused variables `beg' and `end',
26254 and simplify.
26255 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26256 COUNT and bind `replace-count'.
26257 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26258 to COUNT.
26259
26260 * savehist.el (print-readably, print-string-length): Declare.
26261
26262 * shadowfile.el (shadow-expand-cluster-in-file-name):
26263 Remove unused variable `cluster'.
26264 (shadow-copy-file): Remove unused variable `i'.
26265 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26266 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26267 (shadow-define-literal-group, shadow-define-regexp-group)
26268 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26269
26270 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26271 (shell): Use `called-interactively-p'.
26272 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26273
26274 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26275 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26276 (delete-backward-char): Remove unused variable `ocol'.
26277 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26278 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26279 (event-apply-hyper-modifier, event-apply-shift-modifier)
26280 (event-apply-control-modifier, event-apply-meta-modifier):
26281 Mark unused parameters.
26282 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26283 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26284
26285 * speedbar.el (speedbar-ignored-directory-expressions)
26286 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26287 (speedbar-find-file, speedbar-dir-follow)
26288 (speedbar-directory-buttons-follow, speedbar-tag-find)
26289 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26290 (speedbar-buffers-line-directory, speedbar-buffer-click):
26291 Mark unused parameters.
26292 (speedbar-tag-file): Remove unused variable `mode'.
26293 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26294
26295 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26296
26297 * talk.el (talk): Remove unused variable `display'.
26298
26299 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26300 (tar-write-region-annotate): Mark unused parameter.
26301
26302 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26303 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26304 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26305 warning by another.
26306
26307 * time-stamp.el (time-stamp-string-preprocess):
26308 Remove unused variable `require-padding'.
26309
26310 * tree-widget.el (widget-glyph-enable): Declare.
26311 (tree-widget-action): Mark unused parameter.
26312
26313 * w32-fns.el (x-get-selection): Mark unused parameter.
26314 (autoload-make-program, generated-autoload-file): Declare.
26315
26316 * wdired.el (wdired-revert): Mark unused parameters.
26317 (wdired-xcase-word): Remove unused variable `err'.
26318
26319 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26320 (whitespace-help-scroll): Remove unused variable `data-help'.
26321
26322 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26323 (widget-image-insert, widget-after-change, default)
26324 (widget-default-format-handler, widget-default-notify)
26325 (widget-default-prompt-value, widget-info-link-action)
26326 (widget-url-link-action, widget-function-link-action)
26327 (widget-variable-link-action, widget-file-link-action)
26328 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26329 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26330 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26331 (widget-insert-button-action, widget-delete-button-action, visibility)
26332 (widget-documentation-link-action, widget-documentation-string-action)
26333 (widget-const-prompt-value, widget-regexp-match, symbol)
26334 (widget-coding-system-prompt-value)
26335 (widget-key-sequence-value-to-external, sexp)
26336 (widget-sexp-value-to-internal, character, vector, cons)
26337 (widget-choice-prompt-value, widget-boolean-prompt-value)
26338 (widget-color--choose-action): Mark unused parameters.
26339 (widget-item-match-inline, widget-choice-match-inline)
26340 (widget-checklist-match, widget-checklist-match-inline)
26341 (widget-group-match): Rename parameter VALUES to VALS.
26342 (widget-field-value-set): Remove unused variable `size'.
26343 (widget-color-action): Remove unused variables `value' and `start'.
26344
26345 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26346 variable `dir'. Doc fix.
26347 (windmove-find-other-window): Don't pass it.
26348
26349 * window.el (count-windows): Mark unused parameter.
26350 (bw-adjust-window): Remove unused variable `err'.
26351
26352 * woman.el (woman-file-name): Remove unused variable `default'.
26353 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26354 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26355 (global-font-lock-mode): Declare.
26356 (woman-decode-region): Mark unused parameter.
26357 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26358
26359 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26360 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26361 (x-dnd-handle-moz-url): Remove unused variable `title'.
26362 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26363
26364 * xml.el (xml-parse-tag, xml-parse-attlist):
26365 Remove unused variable `pos'.
26366
26367 2011-04-19 Glenn Morris <rgm@gnu.org>
26368
26369 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26370 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26371 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26372 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26373 * calendar/cal-html.el (cal-html-insert-minical):
26374 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26375 (calendar-mark-date-pattern):
26376 Prefix "unused" locals.
26377
26378 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26379 optional argument `style'.
26380
26381 * calendar/appt.el (appt-make-list):
26382 * calendar/cal-china.el (calendar-chinese-date-string):
26383 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26384 (diary-hebrew-yahrzeit):
26385 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26386 * calendar/calendar.el (calendar-generate-window):
26387 * calendar/time-date.el (time-to-days):
26388 Remove unused local variables.
26389
26390 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26391
26392 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26393 glyphless-char-display table.
26394 (tabulated-list-glyphless-char-display): New var.
26395
26396 2011-04-18 Sam Steingold <sds@gnu.org>
26397
26398 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26399 to acknowledgments.
26400
26401 2011-04-17 Glenn Morris <rgm@gnu.org>
26402
26403 * calendar/diary-lib.el (diary-sexp-entry):
26404 * calendar/holidays.el (holiday-sexp):
26405 Set debug-on-error rather than the removed stack-trace-on-error.
26406
26407 2011-04-16 Glenn Morris <rgm@gnu.org>
26408
26409 * progmodes/f90.el: Use lexical-binding.
26410 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26411
26412 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26413
26414 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26415 (mail-mode): Setup mailalias completion here instead.
26416 * mail/mailalias.el: Use lexical-binding.
26417 (pattern, mailalias-done): Declare dynamic.
26418 (mail-completion-at-point-function): New function, from mail-complete.
26419 (mail-complete): Use it.
26420 (mail-completion-expand): New function.
26421 (mail-get-names): Use it.
26422 (mail-directory, mail-directory-process, mail-directory-stream):
26423 Don't use `pattern' for lexically bound arg.
26424
26425 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26426
26427 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26428 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26429 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26430
26431 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26432 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26433 (byte-interactive-p): Define them again, for use when inlining
26434 old code.
26435
26436 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26437
26438 * loadup.el: Use `string-to-number', not `string-to-int'.
26439
26440 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26441
26442 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26443 gud-gdb-complete-command.
26444 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26445 (gud-gdb-completion-at-point): New function.
26446 (gud-gdb-completions): Remove.
26447
26448 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26449
26450 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26451 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26452 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26453 whether `executable-find' is bound.
26454
26455 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26456
26457 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26458
26459 * minibuffer.el (completion-in-region-mode-predicate)
26460 (completion-in-region-mode--predicate): New vars.
26461 (completion-in-region, completion-in-region--postch)
26462 (completion-in-region-mode): Use them.
26463 (completion--capf-wrapper): Also return the hook function.
26464 (completion-at-point, completion-help-at-point):
26465 Adjust and provide a predicate.
26466
26467 Preserve arg names for advice of subr and lexical functions (bug#8457).
26468 * help-fns.el (help-function-arglist): Consolidate the subr and
26469 new-byte-code cases. Add argument `preserve-names' to extract names
26470 from the docstring when needed.
26471 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26472 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26473 (ad-arglist): Use help-function-arglist's new arg.
26474 (ad-definition-type): Use cond.
26475
26476 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26477
26478 * autorevert.el (auto-revert-handler):
26479 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26480 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26481 Don't quote lambda.
26482
26483 * image-mode.el (image-transform-set-scale):
26484 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26485
26486 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26487
26488 * net/network-stream.el (network-stream-open-starttls): Only do
26489 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26490 Upgrades via gnutls-cli are too slow to be done opportunistically.
26491
26492 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26493
26494 * dframe.el (dframe-current-frame): Remove spurious quote.
26495
26496 2011-04-12 Glenn Morris <rgm@gnu.org>
26497
26498 * calendar/cal-tex.el (cal-tex-end-document):
26499 Try to automatically use latin1 input if needed.
26500
26501 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26502 Don't try to cons a mark onto an empty element.
26503
26504 2011-04-11 Leo Liu <sdl.web@gmail.com>
26505
26506 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26507 buffers.
26508 (ido-kill-buffer-at-head): Support killing virtual buffers.
26509
26510 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26511
26512 * minibuffer.el (completion-show-inline-help): New var.
26513 (completion--do-completion, minibuffer-complete)
26514 (minibuffer-force-complete, minibuffer-complete-word):
26515 Inhibit minibuffer messages if completion-show-inline-help is nil.
26516
26517 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26518 to avoid interference from inline help (Bug#5849).
26519
26520 2011-04-10 Leo Liu <sdl.web@gmail.com>
26521
26522 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26523 Fix typo.
26524
26525 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26526
26527 * image-mode.el (image-toggle-display-image): Signal an error if
26528 not in Image mode.
26529 (image-transform-mode, image-transform-resize)
26530 (image-transform-set-rotation): Doc fix.
26531 (image-transform-set-resize): Delete.
26532 (image-transform-set-scale, image-transform-fit-to-height)
26533 (image-transform-fit-to-width): Handle image-toggle-display-image
26534 and image-transform-resize directly.
26535
26536 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26537
26538 * doc-view.el (doc-view-fit-width-to-window)
26539 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26540 New functions for fitting the shown image to the Emacs window size.
26541 (doc-view-mode-map): Add bindings for the new functions.
26542
26543 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26544
26545 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26546 Fix typo in docstring.
26547
26548 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26549
26550 * files.el (file-size-human-readable): Produce one digit after
26551 decimal, like "ls -lh" does.
26552
26553 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26554 the file size representation.
26555
26556 * simple.el (list-processes): If async subprocesses are not
26557 available, error out with a clear error message.
26558
26559 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26560
26561 * help.el (help-form-show): New function, to be called from C.
26562 Put help-form output in a buffer named differently than *Help*.
26563
26564 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26565
26566 * files.el (file-size-human-readable): New function.
26567
26568 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26569 computing the representation inline. Don't require `cl'.
26570
26571 2011-04-08 Glenn Morris <rgm@gnu.org>
26572
26573 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26574
26575 * net/browse-url.el (browse-url-firefox):
26576 Test system-type, not system-configuration.
26577
26578 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26579 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26580 Use log-edit-empty-buffer-p. (Bug#7598)
26581
26582 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26583 (rlogin-mode-map): Initialize in the defvar.
26584 (rlogin): Use ignore-errors.
26585
26586 * replace.el (occur-mode-map): Some fixes for menu items.
26587
26588 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26589
26590 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26591
26592 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26593
26594 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26595 issuing unused warnings.
26596
26597 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26598 macro directly.
26599
26600 * simple.el: Lisp reimplement of list-processes. Based on an
26601 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26602 (process-menu-mode): New major mode.
26603 (list-processes--refresh, list-processes):
26604 (process-menu-visit-buffer): New functions.
26605
26606 * files.el (save-buffers-kill-emacs): Don't assume any return
26607 value of list-processes, which is undocumented anyway.
26608
26609 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26610
26611 * emacs-lisp/tabulated-list.el: New file.
26612
26613 * emacs-lisp/package.el: Use Tabulated List mode.
26614 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26615 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26616 table format using Tabulated List mode variables.
26617 (package--push): New macro, replacing package-list-maybe-add.
26618 (package-menu--generate): Use package--push. Renamed from
26619 package--generate-package-list.
26620 (package-menu-refresh, list-packages): Use it.
26621 (package-menu--print-info): Rename from package-print-package.
26622 Return insertion data instead of inserting it directly.
26623 (package-menu-describe-package, package-menu-execute):
26624 Use tabulated-list-get-id.
26625 (package-menu-mark-delete, package-menu-mark-install)
26626 (package-menu-mark-unmark, package-menu-backup-unmark)
26627 (package-menu-mark-obsolete-for-deletion):
26628 Use tabulated-list-put-tag.
26629 (package--list-packages, package-menu-revert)
26630 (package-menu-get-package, package-menu-get-version)
26631 (package-menu-sort-by-column): Functions deleted.
26632 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26633 (package-menu--status-predicate, package-menu--version-predicate)
26634 (package-menu--name-predicate)
26635 (package-menu--description-predicate): Handle arguments in the
26636 Tabulated List format.
26637 (package-list-packages-no-fetch): Call list-packages.
26638
26639 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26640
26641 * files.el (after-find-file-from-revert-buffer): Remove variable.
26642 (after-find-file): Don't bind it.
26643 (revert-buffer-in-progress-p): New variable.
26644 (revert-buffer): Bind it.
26645 Pass nil for `after-find-file-from-revert-buffer'.
26646
26647 * saveplace.el (save-place-find-file-hook): Use new variable
26648 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26649
26650 2011-04-06 Glenn Morris <rgm@gnu.org>
26651
26652 * Makefile.in (AUTOGEN_VCS): New variable.
26653 (autoloads): Use $AUTOGEN_VCS.
26654
26655 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26656 * calendar/calendar.el (calendar-mode-map):
26657 Check for toolkit scroll bars. (Bug#8305)
26658
26659 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26660
26661 * minibuffer.el (completion-in-region--postch)
26662 (completion-in-region-mode): Remove unnecessary messages.
26663
26664 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26665
26666 * font-lock.el (font-lock-refresh-defaults):
26667 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26668 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26669
26670 * info.el (Info-directory-list, Info-read-node-name-2)
26671 (Info-split-parameter-string): Doc fixes.
26672 (Info-virtual-nodes): Reflow docstring.
26673 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26674 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26675 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26676 Fix typos in docstrings.
26677 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26678 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26679 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26680 (Info-restore-desktop-buffer): Mark unused parameters.
26681 (Info-directory-find-file, Info-directory-find-node)
26682 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26683 (Info-virtual-index-find-node, Info-apropos-find-file)
26684 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26685 Mark unused parameters; fix typos in docstrings.
26686 (Info-virtual-index): Remove unused local variable `nodename'.
26687
26688 2011-04-05 Deniz Dogan <deniz@dogan.se>
26689
26690 * net/rcirc.el: Update my e-mail address.
26691 (rcirc-mode-map): Remove M-o binding.
26692
26693 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26694
26695 * startup.el (command-line): Save the cursor's theme-face
26696 directly, instead of using face-override-spec.
26697
26698 * custom.el (load-theme): Minor optimization in assigning faces.
26699
26700 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26701
26702 * help-fns.el (describe-variable): Complete all variables having
26703 documentation, including keywords.
26704 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26705
26706 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26707
26708 Convert to lexical-binding.
26709
26710 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26711 (bs--get-marked-string, bs--get-modified-string)
26712 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26713 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26714 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26715
26716 * ehelp.el (electric-help-execute-extended)
26717 (electric-help-ctrl-x-prefix):
26718 * hexl.el (hexl-revert-buffer-function):
26719 * linum.el (linum-after-change, linum-after-scroll):
26720 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26721
26722 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26723
26724 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26725
26726 * epa-dired.el:
26727 * epa-mail.el:
26728 * epa-hook.el:
26729 * epa-file.el:
26730 * epa.el:
26731 * epg.el: Use lexical binding.
26732
26733 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26734
26735 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26736
26737 * textmodes/flyspell.el (flyspell-word): Recognize default
26738 dictionary case for flyspell-mark-duplications-exceptions.
26739 Use regexp matching for languages.
26740 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26741 default dictionary (Bug#7926).
26742
26743 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26744
26745 * emacs-lisp/package.el (package--with-work-buffer):
26746 Recognize https URLs.
26747
26748 * net/network-stream.el: Move from gnus/proto-stream.el.
26749 Change prefix to network-stream throughout.
26750 (open-protocol-stream): Merge into open-network-stream, leaving
26751 open-protocol-stream as an alias. Handle nil BUFFER args.
26752
26753 * subr.el (open-network-stream): Move to net/network-stream.el.
26754
26755 2011-04-02 Glenn Morris <rgm@gnu.org>
26756
26757 * find-dired.el (find-exec-terminator): New option.
26758 (find-ls-option): Test for -ls support.
26759 (find-ls-subdir-switches): Test for -b in find-ls-option.
26760 (find-dired, find-grep-dired): Doc fixes.
26761 (find-dired): Use find-exec-terminator.
26762
26763 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26764 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26765 (find-name-arg): Remove purecopy.
26766
26767 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26768 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26769 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26770 accordingly. Don't add the null-device if not needed.
26771
26772 * files.el (save-some-buffers): Doc fix.
26773
26774 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26775
26776 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26777
26778 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26779
26780 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26781 Use `dolist' rather than `mapcar'.
26782
26783 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26784
26785 Add lexical binding.
26786
26787 * subr.el (apply-partially): Use new closures rather than CL.
26788 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26789 (dolist, dotimes): Use slightly different expansion for lexical code.
26790 (functionp): Move to C.
26791 (letrec): New macro.
26792 (with-wrapper-hook): Use it and apply-partially instead of CL.
26793 (eval-after-load): Preserve lexical-binding.
26794 (save-window-excursion, with-output-to-temp-buffer): Turn them
26795 into macros.
26796
26797 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26798
26799 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26800 than the arglist.
26801 (help-add-fundoc-usage): Don't add `Not documented'.
26802 (help-function-arglist): Handle closures, subroutines, and new
26803 byte-code-functions.
26804 (help-make-usage): Remove leading underscores.
26805 (describe-function-1): Handle closures.
26806 (describe-variable): Use special-variable-p for completion.
26807
26808 * files.el (lexical-binding): Declare safe.
26809
26810 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26811 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26812 (pcase): Add `let' pattern.
26813 Change memoization so it actually works.
26814 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26815 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26816 <let>: New case.
26817
26818 * emacs-lisp/macroexp.el: Use lexical binding.
26819 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26820 Don't convert ' to #' without checking that it's indeed quoting
26821 a lambda.
26822
26823 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26824 Use eval-sexp-add-defvars.
26825 (eval-sexp-add-defvars): New fun.
26826
26827 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26828
26829 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26830 Don't autoload.
26831 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26832 than the internal `byte-compile-lambda'.
26833 (defmethod): Don't hide code under quotes.
26834 (eieio-defmethod): New `code' argument.
26835
26836 * emacs-lisp/eieio-comp.el: Remove.
26837
26838 * emacs-lisp/edebug.el (edebug-eval-defun)
26839 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26840 (edebug-toggle): Avoid `eval'.
26841
26842 * emacs-lisp/disass.el (disassemble-internal): Handle new
26843 `closure' objects.
26844 (disassemble-1): Handle new byte codes.
26845
26846 * emacs-lisp/cl.el (pushnew): Silence warning.
26847
26848 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26849 (cl-byte-compile-throw): Remove.
26850 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26851
26852 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26853 closures.
26854
26855 * emacs-lisp/cconv.el: New file.
26856
26857 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26858 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26859 (byte-compile-initial-macro-environment):
26860 Handle declare-function here.
26861 (byte-compile--lexical-environment): New var.
26862 (byte-stack-ref, byte-stack-set, byte-discardN)
26863 (byte-discardN-preserve-tos): New lap codes.
26864 (byte-interactive-p): Don't use any more.
26865 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26866 New macros.
26867 (byte-compile-lapcode): Use them and handle new lap codes.
26868 (byte-compile-obsolete): Remove.
26869 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26870 (byte-compile-arglist-warn): Check late def of inlinable funs.
26871 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26872 since they should have been expanded by now.
26873 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26874 (byte-compile-from-buffer): Remove unused second arg.
26875 (byte-compile-preprocess): New function.
26876 (byte-compile-toplevel-file-form): New function to distinguish
26877 file-form calls from outside from file-form calls from hunk-handlers.
26878 (byte-compile-file-form): Simplify.
26879 (byte-compile-file-form-defsubst): Remove.
26880 (byte-compile-file-form-defmumble): Simplify now that
26881 byte-compile-lambda always returns a byte-code-function.
26882 (byte-compile): Preprocess.
26883 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26884 Remove, not used any more.
26885 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26886 (byte-compile-make-args-desc): New funs.
26887 (byte-compile-lambda): Handle lexical functions. Always return
26888 a byte-code-function.
26889 (byte-compile-reserved-constants): New var, to make up room for
26890 closed-over variables.
26891 (byte-compile-constants-vector): Obey it.
26892 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26893 (byte-compile-macroexpand-declare-function): New function.
26894 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26895 byte-code-functions.
26896 (byte-compile-form): Check obsolescence here.
26897 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26898 (byte-compile-variable-ref): Remove.
26899 (byte-compile-dynamic-variable-op): New fun.
26900 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26901 (byte-compile-variable-set): New funs.
26902 (byte-compile-discard): Add 2 args.
26903 (byte-compile-stack-ref, byte-compile-stack-set)
26904 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26905 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26906 macroexpand-all instead.
26907 (byte-compile-quote-form): Remove.
26908 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26909 (byte-compile-bind, byte-compile-unbind): New funs.
26910 (byte-compile-let): Handle let* and lexical binding.
26911 (byte-compile-let*): Remove.
26912 (byte-compile-catch, byte-compile-unwind-protect)
26913 (byte-compile-track-mouse, byte-compile-condition-case):
26914 Handle a new :fun-body form, used for lexical scoping.
26915 (byte-compile-save-window-excursion)
26916 (byte-compile-with-output-to-temp-buffer): Remove.
26917 (byte-compile-defun): Simplify.
26918 (byte-compile-stack-adjustment): New fun.
26919 (byte-compile-out): Use it.
26920 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26921
26922 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26923 handler any more.
26924
26925 * emacs-lisp/byte-opt.el: Use lexical binding.
26926 (byte-inline-lapcode): Remove (to bytecomp).
26927 (byte-compile-inline-expand): Pay attention to inlining to/from
26928 lexically bound code.
26929 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26930 any more.
26931 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26932 any more and don't call compiler-macros.
26933 (byte-compile-splice-in-already-compiled-code): Remove.
26934 (byte-code): Don't inline any more.
26935 (disassemble-offset): Receive `bytes' as argument rather than via
26936 dynamic scoping.
26937 (byte-compile-tag-number): Declare before first use.
26938 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26939 `return' even if make-spliceable.
26940 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26941 obsolete interactive-p.
26942 (byte-optimize-lapcode): Optimize new lap-codes.
26943 Don't trip up on new form of `byte-constant' lap code.
26944
26945 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26946
26947 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26948
26949 * custom.el (custom-initialize-default, custom-declare-variable):
26950 Use `defvar'.
26951
26952 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26953 New variables.
26954 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26955 (COMPILE_FIRST): Add macroexp and cconv.
26956 * makefile.w32-in: Mirror changes in Makefile.in.
26957
26958 * vc/cvs-status.el:
26959 * vc/diff-mode.el:
26960 * vc/log-edit.el:
26961 * vc/log-view.el:
26962 * vc/smerge-mode.el:
26963 * textmodes/bibtex-style.el:
26964 * textmodes/css-mode.el:
26965 * startup.el:
26966 * uniquify.el:
26967 * minibuffer.el:
26968 * newcomment.el:
26969 * reveal.el:
26970 * server.el:
26971 * mpc.el:
26972 * emacs-lisp/smie.el:
26973 * doc-view.el:
26974 * dired.el:
26975 * abbrev.el: Use lexical binding.
26976
26977 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26978
26979 * info.el (info-display-manual): New function.
26980
26981 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26982
26983 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26984
26985 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26986
26987 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26988 an entry for that server in rcirc-authinfo. (Bug#8385)
26989
26990 2011-03-31 Glenn Morris <rgm@gnu.org>
26991
26992 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26993
26994 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26995
26996 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26997
26998 * progmodes/python.el (python-default-interpreter)
26999 (python-python-command-args, python-jython-command-args)
27000 (python-which-shell, python-which-args, python-which-bufname)
27001 (python-file-queue, python-comint-output-filter-function)
27002 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27003 variables and functions.
27004
27005 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27006
27007 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27008 (completion-in-region-mode): New minor mode.
27009 (completion-in-region): Use it.
27010 (completion-in-region--data, completion-in-region-mode-map): New vars.
27011 (completion-in-region--postch): New function.
27012 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27013 New vars.
27014 (completion--capf-wrapper): New function.
27015 (completion-at-point): Use it to track well-behavedness of
27016 hook functions.
27017 (completion-help-at-point): New command.
27018
27019 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27020
27021 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27022 syntax class to search for whitespace on a single line
27023 (Message-ID: <4D938140.4030905@redhat.com>).
27024
27025 2011-03-30 Leo Liu <sdl.web@gmail.com>
27026
27027 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27028 New commands.
27029 (edit-abbrevs-map): Bind them here.
27030 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27031
27032 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27033
27034 * allout.el (allout-hide-by-annotation, allout-flag-region):
27035 Reduce possibility of overlay leakage by making them volatile.
27036
27037 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27038 hash is not shared between buffers. Mode initialization is
27039 responsible for giving it a useful starting value.
27040 (allout-item-span): Reduce possibility of overlay leakage by
27041 making them volatile.
27042 (allout-widgets-count-buttons-in-region): Add diagnostic function
27043 for tracking down button overlay leaks.
27044
27045 2011-03-29 Leo Liu <sdl.web@gmail.com>
27046
27047 * ido.el (ido-read-internal): Use the default history var
27048 minibuffer-history if no HISTORY is specified.
27049
27050 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27051
27052 * net/imap.el (imap-shell-open, imap-process-connection-type):
27053 Use imap-process-connection-type for 'shell' streams as well as
27054 Kerberos, SSL, other subprocesses.
27055
27056 2011-03-28 Leo Liu <sdl.web@gmail.com>
27057
27058 * abbrev.el (abbrev-table-empty-p): New function.
27059 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27060 nonempty ones. (Bug#5937)
27061
27062 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27063
27064 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27065
27066 2011-03-27 Leo Liu <sdl.web@gmail.com>
27067
27068 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27069 for foreground and background colors.
27070 (ansi-color-make-color-map): Adapt.
27071
27072 2011-03-25 Leo Liu <sdl.web@gmail.com>
27073
27074 * midnight.el (midnight-time-float): Remove. Note it calculates
27075 the microsecond component incorrectly and seconds-to-time does the
27076 same job.
27077 Remove redundant (require 'timer).
27078
27079 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27080 (ido-completions): Remove unused arguments. (Bug#8329)
27081
27082 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27083
27084 * minibuffer.el (completion--flush-all-sorted-completions):
27085 Remove itself from hook.
27086 (completion-at-point): Let the functions perform the completion
27087 immediately and return nil or t.
27088 * comint.el (comint-dynamic-complete-functions): Now identical to
27089 completion-at-point-functions.
27090 (comint-dynamic-list-input-ring): Remove unused var `index'.
27091 (comint--match-partial-filename, comint--unquote&expand-filename):
27092 New funs, split from comint-match-partial-filename.
27093 (comint-dynamic-complete): Use completion-at-point.
27094 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27095
27096 2011-03-24 Drew Adams <drew.adams@oracle.com>
27097
27098 * thingatpt.el: Support `defun'.
27099
27100 2011-03-23 Leo Liu <sdl.web@gmail.com>
27101
27102 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27103
27104 * help-mode.el (help-mode-finish): Tweak regexp.
27105
27106 2011-03-23 Glenn Morris <rgm@gnu.org>
27107
27108 * eshell/esh-opt.el (eshell-eval-using-options):
27109 Do not bind unused local variable `eshell-option-stub'.
27110
27111 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27112
27113 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27114
27115 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27116 keymap variable in `with-no-warnings' to avoid a warning when the
27117 keymap has been already `defconst'ed.
27118
27119 2011-03-22 Leo Liu <sdl.web@gmail.com>
27120
27121 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27122 encode all chars in abbrevs; otherwise use emacs-mule or
27123 utf-8-emacs. (Bug#8308)
27124
27125 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27126
27127 * simple.el (backward-delete-char-untabify):
27128 Avoid warning about using `delete-backward-char'.
27129
27130 * image.el (image-type-file-name-regexps): Make it variable.
27131 `imagemagick-register-types' modifies it, and the user may want
27132 to add new extensions for known image types.
27133 (imagemagick-register-types): Throw error if not using ImageMagick.
27134
27135 2011-03-22 Leo Liu <sdl.web@gmail.com>
27136
27137 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27138 located before rcirc-prompt-end-marker.
27139 (rcirc-complete): Error if point is not after rcirc prompt.
27140 Handle the case when table is nil.
27141 (rcirc-user-authenticated): Define to fix compiler warning.
27142
27143 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27144
27145 * custom.el (custom--inhibit-theme-enable): Make it affect only
27146 custom-theme-set-variables and custom-theme-set-faces.
27147 (provide-theme): Ignore custom--inhibit-theme-enable.
27148 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27149 (custom-enabling-themes): Delete variable.
27150 (enable-theme): Accept only loaded themes as arguments.
27151 Ignore the special custom-enabled-themes variable.
27152 (custom-enabled-themes): Forbid themes from setting this.
27153 Eliminate use of custom-enabling-themes.
27154 (custom-push-theme): Quote "changed" custom var entry.
27155
27156 2011-03-21 Leo Liu <sdl.web@gmail.com>
27157
27158 * ido.el (ido-read-internal): Add ido-selected to history instead
27159 of user input.
27160
27161 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27162
27163 * subr.el (deferred-action-list, deferred-action-function):
27164 Mark obsolete.
27165
27166 2011-03-21 Leo Liu <sdl.web@gmail.com>
27167
27168 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27169 change on 2011-02-13 (bug#8309).
27170
27171 * minibuffer.el (read-file-name-function): Change default value.
27172 (read-file-name--defaults): Rename from read-file-name-defaults.
27173 (read-file-name-default): Rename from read-file-name.
27174 (read-file-name): Call read-file-name-function.
27175
27176 2011-03-21 Glenn Morris <rgm@gnu.org>
27177
27178 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27179 Doc fixes.
27180
27181 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27182
27183 * cus-theme.el: Add missing provide statement.
27184 (customize-create-theme): Extract theme value correctly.
27185 (custom-theme-visit-theme): Autoload.
27186 (customize-create-theme): Prompt before inserting default faces.
27187
27188 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27189
27190 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27191 units and musical notes.
27192
27193 2011-03-20 Leo Liu <sdl.web@gmail.com>
27194
27195 * ido.el (ido-read-internal): Use completing-read-default.
27196 (ido-completing-read): Fix compatibility with completing-read.
27197
27198 2011-03-20 Christian Ohler <ohler@gnu.org>
27199
27200 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27201 (ert-delete-all-tests): Use `called-interactively-p' rather than
27202 `interactive-p'.
27203 (ert--make-xrefs-region): Respect END.
27204
27205 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27206
27207 * dired-aux.el (dired-create-directory): Signal an error if the
27208 directory already exists (Bug#8246).
27209
27210 * facemenu.el (list-colors-display): Call list-faces-display
27211 inside with-help-window.
27212 (list-colors-print): Use display property to align the final
27213 column, instead of checking window-width.
27214
27215 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27216
27217 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27218 windows-nt systems.
27219 (emerge-protect-metachars): Quote correctly for ms-dos and
27220 windows-nt systems.
27221
27222 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27223
27224 * info.el (info-initialize): Replace all uses of `:' with
27225 path-separator for compatibility with non-Unix systems.
27226 Cache quoting of path-separator. (Bug#8258)
27227
27228 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27229
27230 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27231 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27232 (mouse-avoidance-mode): Fix typos in docstrings.
27233
27234 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27235
27236 * startup.el (package-subdirectory-regexp): Move from package.el.
27237 Omit \\` and \\', and let callers add them.
27238
27239 * emacs-lisp/package.el (package-strip-version)
27240 (package-load-all-descriptors): Add \\` and \\' to
27241 package-subdirectory-regexp before using it.
27242 (package-untar-buffer): New arg DIR; ensure that file untars only
27243 into this expected directory. Remove superfluous delete-region.
27244 (package-unpack): Caller changed.
27245 (package-tar-file-info): Use package-subdirectory-regexp.
27246
27247 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27248
27249 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27250 diff-mode-shared-map (bug#8284).
27251 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27252
27253 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27254
27255 * calendar/time-date.el (format-seconds): Use assoc instead of
27256 assoc-string, since assoc-string doesn't exist in XEmacs.
27257
27258 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27259
27260 * custom.el (custom-known-themes): Reflow docstring.
27261 (custom-theme-load-path): Fix typo in docstring.
27262 (load-theme): Fix typo in error message.
27263 (custom-available-themes, custom-variable-theme-value):
27264 Use `let', not `let*'.
27265
27266 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27267
27268 * calc/README: Mention inclusion of musical notes.
27269
27270 * calc/calc-units.el (calc-lu-quant): Rename from
27271 `calc-logunits-quantity'.
27272 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27273 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27274 (calc-db): Rename from `calc-dblevel'.
27275 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27276 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27277 (calc-np): Rename from `calc-nplevel'.
27278 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27279 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27280 (calc-lu-plus): Rename from `calc-logunits-add'.
27281 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27282 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27283 (calc-lu-minus): Rename from `calc-logunits-sub'.
27284 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27285 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27286 (calc-lu-times): Rename from `calc-logunits-mul'.
27287 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27288 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27289 (calc-lu-divide): Rename from `calc-logunits-div'.
27290 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27291 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27292
27293 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27294 functions being autoloaded.
27295
27296 * calc/calc.el (calc-lu-power-reference): Rename from
27297 `calc-logunits-power-reference'.
27298 (calc-lu-field-reference): Rename from
27299 `calc-logunits-field-reference'.
27300
27301 * calc/calc-help.el (calc-l-prefix-help):
27302 Mention musical note functions.
27303
27304 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27305
27306 * minibuffer.el (completion-all-sorted-completions):
27307 Use :completion-cycle-penalty text property if present.
27308
27309 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27310
27311 * allout.el (allout-yank-processing): Adjust for new rebulleting
27312 regime so bullet being yanked is used without prompting the user
27313 for a choice.
27314
27315 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27316
27317 * startup.el (command-line): Warn the user that _emacs is deprecated.
27318
27319 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27320
27321 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27322 (delphi-verbose, delphi-comment-face, delphi-string-face)
27323 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27324 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27325 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27326 (delphi-new-comment-line, delphi-font-lock-defaults)
27327 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27328 Fix typos in docstrings.
27329
27330 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27331
27332 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27333 Invert the roles of character and string values for INSTEAD, so a
27334 string is used for the more common case of a defaulting prompt.
27335
27336 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27337
27338 * progmodes/ruby-mode.el (ruby-backward-sexp):
27339 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27340 * play/gamegrid.el (gamegrid-make-face):
27341 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27342 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27343 * notifications.el (notifications-notify):
27344 * net/xesam.el (xesam-search-engines):
27345 * net/quickurl.el (quickurl-list-insert):
27346 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27347
27348 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27349
27350 * startup.el (command-line): Update package subdirectory regexp.
27351
27352 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27353
27354 * allout.el (allout-abbreviate-flattened-numbering)
27355 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27356
27357 * subr.el (read-char-choice): Only show the cursor after the prompt,
27358 not after the answer.
27359
27360 2011-03-15 Kevin Ryde <user42@zip.com.au>
27361
27362 * help-fns.el (variable-at-point): Skip leading quotes, if any
27363 (bug#8253).
27364
27365 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27366
27367 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27368 warning message.
27369
27370 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27371
27372 * shell.el (shell): When called interactively, offer to change the
27373 shell file name on remote hosts.
27374
27375 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27376
27377 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27378 integration for LDAP parameters. The host, base, user or binddn,
27379 and secret tokens can be specified in a netrc file, for instance.
27380 This is optional because an `auth-source' parameter must be
27381 specified in the search attributes.
27382
27383 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27384
27385 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27386
27387 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27388
27389 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27390 into declaration. Remove redundant and harmful binding.
27391
27392 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27393
27394 * files.el (file-ownership-preserved-p): Pass `integer' as an
27395 explicit 2nd argument to `file-attributes'. If the file's owner
27396 is the Administrators group on Windows, and the current user is
27397 Administrator, consider that a match.
27398
27399 * server.el (server-ensure-safe-dir): Consider server directory
27400 safe on MS-Windows if its owner is the Administrators group while
27401 the current Emacs user is Administrator. Use `=' to compare
27402 numerical UIDs, since they could be integers or floats.
27403
27404 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27405
27406 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27407
27408 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27409
27410 Sync with Tramp 2.2.1.
27411
27412 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27413
27414 * net/trampver.el: Update release number.
27415
27416 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27417
27418 * progmodes/compile.el (compilation--previous-directory): Fix up
27419 various nil/dead-marker mismatches (bug#8014).
27420 (compilation-directory-properties, compilation-error-properties):
27421 Don't call it at a position past the one we're about to change.
27422
27423 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27424 Disable obsolescence warnings in the file that declares it.
27425
27426 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27427
27428 * allout-widgets.el (allout-widgets-tally):
27429 Initialize allout-widgets-tally as a hash table rather than nil to
27430 prevent mode-line redisplay warnings. Also, clarify the module
27431 description and fix a comment typo.
27432
27433 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27434
27435 * help-fns.el (describe-variable): Don't complete keywords.
27436 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27437
27438 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27439
27440 * emacs-lisp/package.el (package-version-join): Impose a standard
27441 string representation for pre/alpha/beta version lists.
27442 (package-unpack-single): Standardize the directory name by passing
27443 it through package-version-join.
27444 (package-strip-rcs-id): Accept any version string that does not
27445 signal an error in version-to-list.
27446
27447 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27448
27449 * simple.el (delete-trailing-whitespace): Return nil for the
27450 benefit of `write-file-functions'.
27451
27452 2011-03-10 Glenn Morris <rgm@gnu.org>
27453
27454 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27455
27456 * vc/vc-git.el (vc-git-program): New option.
27457 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27458 (vc-git--call): Use it.
27459
27460 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27461
27462 * cus-edit.el (Custom-newline): If no button at point, look
27463 for a subgroup button at start-of-line. (Bug#2298)
27464
27465 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27466
27467 2011-03-10 Julien Danjou <julien@danjou.info>
27468
27469 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27470 `cursor-type' is nil.
27471
27472 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27473
27474 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27475
27476 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27477
27478 * allout.el: Change so yank of distinctive-bullet items
27479 preserves the existing header prefix, rebulleting it if necessary,
27480 rather than replacing it. This is necessary for proper operation
27481 of cooperative addons like allout-widgets.
27482 (allout-make-topic-prefix, allout-rebullet-heading):
27483 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27484 value as alternate bullet to be used, instead of prompting the user
27485 for a bullet character.
27486
27487 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27488
27489 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27490 Do not use `tramp-file-name-port', because this returns also
27491 `tramp-default-port'.
27492
27493 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27494
27495 * net/rcirc.el (rcirc-handler-001): Remove useless
27496 with-rcirc-process-buffer.
27497 (rcirc-check-auth-status): Swap arguments to string-match.
27498
27499 2011-03-09 Glenn Morris <rgm@gnu.org>
27500
27501 * shell.el (shell-mode):
27502 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27503
27504 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27505 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27506
27507 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27508
27509 * emacs-lisp/package.el (package-refresh-contents)
27510 (package-menu-execute): Use condition-case-no-debug.
27511
27512 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27513
27514 * simple.el (shell-command-to-string): Use `process-file'.
27515
27516 * emacs-lisp/package.el (package-tar-file-info): Handle also
27517 remote files.
27518
27519 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27520 Use `equal' for upload base check.
27521
27522 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27523
27524 * textmodes/texinfo.el (texinfo-environments):
27525 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27526
27527 2011-03-08 Glenn Morris <rgm@gnu.org>
27528
27529 * cus-start.el (cursor-in-non-selected-windows):
27530 Fix :set quoting oddness. (Bug#8192)
27531
27532 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27533 in some setf expressions. (Bug#2159)
27534
27535 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27536
27537 * custom.el (custom-available-themes): Return themes in
27538 alphabetical order.
27539
27540 See ChangeLog.15 for earlier changes.
27541
27542 ;; Local Variables:
27543 ;; coding: utf-8
27544 ;; End:
27545
27546 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27547
27548 This file is part of GNU Emacs.
27549
27550 GNU Emacs is free software: you can redistribute it and/or modify
27551 it under the terms of the GNU General Public License as published by
27552 the Free Software Foundation, either version 3 of the License, or
27553 (at your option) any later version.
27554
27555 GNU Emacs is distributed in the hope that it will be useful,
27556 but WITHOUT ANY WARRANTY; without even the implied warranty of
27557 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27558 GNU General Public License for more details.
27559
27560 You should have received a copy of the GNU General Public License
27561 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.