* progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-24 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
4
5 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6 (ediff-window-C): Declare.
7
8 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9 Tweak requires to silence compiler.
10
11 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
12 (he-search-string, he-tried-table, he-expand-list)
13 (he-init-string, he-string-member, he-substitute-string)
14 (he-reset-string): Declare.
15
16 * obsolete/options.el (list-options): Use custom-variable-p,
17 rather than obsolete alias.
18
19 2013-05-23 Sam Steingold <sds@gnu.org>
20
21 * simple.el (shell-command-on-region): Pass the `replace' argument
22 down to `call-process-region' to comply with the doc as reported on
23 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
24
25 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * emacs-lisp/smie.el (smie-indent-forward-token)
28 (smie-indent-backward-token): Handle string tokens (bug#14381).
29
30 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
31
32 * ielm.el (ielm-menu): New menu.
33 (inferior-emacs-lisp-mode): Set comment-start.
34
35 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
36
37 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
38 Fix deactivate action.
39
40 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
41 Add cleveref macros.
42
43 * lisp/textmodes/reftex-parse.el
44 (reftex-locate-bibliography-files): Accept options for
45 bibliography commands.
46 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
47 Add addbibresource. Basic Biblatex support.
48
49 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/tramp-gvfs.el (top):
52 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
53 when loading package. (Bug#14447)
54
55 2013-05-23 Glenn Morris <rgm@gnu.org>
56
57 * progmodes/js.el: No need to load comint when compiling.
58 (ring-insert, comint-send-string, comint-send-input)
59 (comint-last-input-end, ido-chop): Declare.
60
61 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
62 * vc/ediff-mult.el: Adjust requires.
63 (ediff-directories-internal, ediff-directory-revisions-internal)
64 (ediff-patch-file-internal): Declare.
65 * vc/ediff-ptch.el: Adjust requires.
66 (ediff-use-last-dir, ediff-buffers-internal): Declare.
67 (ediff-find-file): Autoload.
68 * vc/ediff-util.el: No need to load ediff when compiling.
69 (ediff-regions-internal): Declare.
70 * vc/ediff-wind.el: Adjust requires.
71 (ediff-compute-toolbar-width): Define when compiling.
72 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
73 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
74 (dired-get-filename, dired-get-marked-files)
75 (ediff-last-dir-patch, ediff-patch-default-directory)
76 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
77 (ediff-patch-buffer-internal): Declare.
78
79 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
80 (ispell-process, ispell-buffer-local-words, lm-summary)
81 (lm-section-start, lm-section-end): Declare.
82 (checkdoc-ispell-init): Simplify.
83
84 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
85 (he-string-member, he-reset-string, he-substitute-string): Declare.
86
87 * eshell/em-ls.el: Adjust requires.
88 (eshell-glob-regexp): Declare.
89 * eshell/em-tramp.el: Adjust requires.
90 (eshell-parse-command): Autoload.
91 * eshell/em-xtra.el: Adjust requires.
92 (eshell-parse-command): Autoload.
93 * eshell/esh-ext.el: Adjust requires.
94 (eshell-parse-command, eshell-close-handles): Autoload.
95 * eshell/esh-io.el: Adjust requires.
96 (eshell-output-filter): Autoload.
97 * eshell/esh-util.el: No need to load tramp when compiling.
98 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
99 Declare.
100 (eshell-parse-ange-ls): Require ange-ftp and tramp.
101 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
102 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
103 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
104 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
105 * eshell/esh-opt.el, eshell/esh-proc.el:
106 * eshell/esh-var.el: Adjust requires.
107 * eshell/eshell.el: Do not require esh-util twice.
108 (eshell-add-input-to-history): Declare.
109 (eshell-command): Check history module is active before using it.
110
111 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
112
113 2013-05-22 Leo Liu <sdl.web@gmail.com>
114
115 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
116
117 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
118
119 * autorevert.el (auto-revert-notify-add-watch)
120 (auto-revert-notify-handler): Add `attrib' for the inotify case,
121 it indicates changes in file modification time.
122
123 2013-05-22 Glenn Morris <rgm@gnu.org>
124
125 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
126 Always delete the autoloaded function from the noruntime and
127 unresolved functions lists.
128
129 * allout.el: No need to load epa, epg, overlay when compiling.
130 (epg-context-set-passphrase-callback, epg-list-keys)
131 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
132 (epg-key-user-id-list): Declare.
133
134 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
135 (viper-set-parsing-style-toggling-macro)
136 (viper-set-emacs-state-searchstyle-macros):
137 Use called-interactively-p on Emacs.
138 (viper-looking-back): Make it an obsolete alias. Update callers.
139 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
140 Use looking-back rather than viper-looking-back.
141 (viper-tmp-insert-at-eob, viper-enlarge-region)
142 (viper-read-string-with-history, viper-register-to-point)
143 (viper-append-to-register, viper-change-state-to-vi)
144 (viper-backward-char-carefully, viper-forward-char-carefully)
145 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
146 (viper-change-state-to-emacs): Declare.
147 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
148 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
149 * emulation/viper-mous.el: Do not load viper-cmd.
150 (viper-backward-char-carefully, viper-forward-char-carefully)
151 (viper-forward-word, viper-adjust-window): Declare.
152
153 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
154
155 * progmodes/idlw-help.el (idlwave-help-fontify):
156 Use called-interactively-p.
157
158 * term/w32console.el (w32-get-console-codepage)
159 (w32-get-console-output-codepage): Declare.
160
161 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
162 Remove unnecessary declarations.
163 (dframe-message): Doc fix.
164
165 * info.el (dframe-select-attached-frame, dframe-current-frame):
166 Declare.
167
168 * speedbar.el (speedbar-message): Make it an obsolete alias.
169 Update all callers.
170 (speedbar-with-attached-buffer)
171 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
172 (speedbar-with-writable): Use backquote.
173 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
174 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
175 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
176 rather than speedbar- aliases.
177 * mail/rmail.el: Load dframe rather than speedbar when compiling.
178 (speedbar-make-specialized-keymap, speedbar-insert-button)
179 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
180 (speedbar-do-function-pointer): Declare.
181 (rmail-speedbar-button, rmail-speedbar-find-file)
182 (rmail-speedbar-move-message):
183 Use dframe-with-attached-buffer rather than speedbar- alias.
184 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
185 (dframe-message, speedbar-make-specialized-keymap)
186 (speedbar-add-expansion-list, speedbar-mode-functions-list)
187 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
188 (speedbar-insert-button, dframe-select-attached-frame)
189 (dframe-maybee-jump-to-attached-frame)
190 (speedbar-change-initial-expansion-list)
191 (speedbar-previously-used-expansion-list-name): Declare.
192 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
193 Use dframe-message, dframe-with-attached-buffer rather than
194 speedbar- aliases.
195 (gud-sentinel): Silence compiler.
196 * progmodes/vhdl-mode.el (speedbar-refresh)
197 (speedbar-do-function-pointer, speedbar-add-supported-extension)
198 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
199 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
200 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
201 (speedbar-file-lists, speedbar-make-tag-line)
202 (speedbar-line-directory, speedbar-goto-this-file)
203 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
204 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
205 (speedbar-make-button, speedbar-reset-scanners)
206 (speedbar-files-item-info, speedbar-line-text)
207 (speedbar-find-file-in-frame, speedbar-set-timer)
208 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
209 (speedbar-with-writable): Do not (re)define it.
210 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
211 rather than speedbar- alias.
212
213 2013-05-21 Leo Liu <sdl.web@gmail.com>
214
215 * progmodes/octave.el (octave-mode-menu): Update and re-organize
216 menu items.
217 (octave-mode): Tweak fill-nobreak-predicate.
218 (inferior-octave-startup): Check process to avoid infinite loop.
219 (inferior-octave): Pop to buffer first to show abornmal process
220 exit information.
221
222 2013-05-21 Glenn Morris <rgm@gnu.org>
223
224 * printing.el (pr-menu-bar): Define when compiling.
225
226 2013-05-21 Leo Liu <sdl.web@gmail.com>
227
228 * progmodes/octave.el (octave-auto-fill): Remove.
229 (octave-indent-new-comment-line): Improve.
230 (octave-mode): Use auto fill mode through
231 comment-line-break-function and fill-nobreak-predicate
232 (octave-goto-function-definition): Support DEFUN_DLD.
233 (octave-beginning-of-defun): Small Tweak
234 (octave-help): Show parent directory.
235
236 2013-05-21 Glenn Morris <rgm@gnu.org>
237
238 * files.el (dired-unmark):
239 * progmodes/gud.el (gdb-input): Update declarations.
240
241 * calculator.el (electric, ehelp): No need to load when compiling.
242 (Electric-command-loop, electric-describe-mode): Declare.
243
244 * doc-view.el (doc-view-current-converter-processes): Move before use.
245
246 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
247 Move MODE-set-explicitly definition before use.
248
249 * international/mule-diag.el (mule-diag):
250 Don't use obsolete window-system-version.
251
252 * mail/feedmail.el (smtpmail): No need to load when compiling.
253 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
254
255 * mail/mail-utils.el (rfc822): No need to load when compiling.
256 (rfc822-addresses): Autoload it.
257 (mail-strip-quoted-names): Trivial simplification.
258
259 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
260 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
261
262 * net/snmp-mode.el (tempo): Don't duplicate requires.
263
264 * progmodes/prolog.el (info): No need to load when compiling.
265 (comint): Require before shell requires it.
266 (Info-goto-node): Autoload it.
267 (Info-follow-nearest-node): Declare.
268 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
269
270 * textmodes/artist.el (picture-mode-exit): Declare.
271
272 * textmodes/reftex-parse.el (reftex-parse-from-file):
273 Trivial rewrite so the compiler can parse it better.
274
275 2013-05-20 Leo Liu <sdl.web@gmail.com>
276
277 * progmodes/octave.el (octave-help-mode-map)
278 (octave-help-mode-finish-hook): New variables.
279 (octave-help-mode, octave-help-mode-finish): New functions.
280 (octave-help): Use octave-help-mode.
281
282 2013-05-20 Glenn Morris <rgm@gnu.org>
283
284 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
285
286 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
287
288 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
289 start at point, so that expansion starting right after opening
290 slash in a regexp is recognized.
291 (ruby-syntax-before-regexp-re): New defvar, extracted from
292 ruby-syntax-propertize-function. Since the value of this regexp
293 is looked up at runtime now, we should be able to turn
294 `ruby-syntax-methods-before-regexp' into a defcustom later.
295 (ruby-syntax-propertize-function): Split regexp matching into two
296 parts, for opening and closing slashes. That allows us to skip
297 over string interpolations and support multiline regexps.
298 Don't call `ruby-syntax-propertize-expansions', instead use another rule
299 for them, which calls `ruby-syntax-propertize-expansion'.
300 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
301 call to `ruby-syntax-propertize-function'.
302 (ruby-syntax-propertize-expansion): Extracted from
303 `ruby-syntax-propertize-expansions'. Handles one expansion.
304 (ruby-syntax-propertize-percent-literal): Leave point right after
305 the percent symbol, so that the expression expansion rule can
306 propertize the contents.
307 (ruby-syntax-propertize-heredoc): Leave point at bol following the
308 heredoc openers.
309 (ruby-syntax-propertize-expansions): Remove.
310
311 2013-05-18 Juri Linkov <juri@jurta.org>
312
313 * man.el (Man-default-man-entry): Remove `-' from the end
314 of the default value. (Bug#14400)
315
316 2013-05-18 Glenn Morris <rgm@gnu.org>
317
318 * comint.el (comint-password-prompt-regexp):
319 Allow "password for XXX" where XXX contains colons (eg https://...).
320
321 2013-05-18 Leo Liu <sdl.web@gmail.com>
322
323 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
324 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
325 (octave-source-directories): Don't check process.
326 (octave-source-directories, octave-find-definition): Doc fix.
327
328 2013-05-18 Glenn Morris <rgm@gnu.org>
329
330 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
331 Remove backspace/delete bindings. (Bug#14392)
332
333 * cus-dep.el (custom-make-dependencies): Sort the output.
334 (custom-versions-load-alist): Convert comment to doc.
335
336 2013-05-17 Leo Liu <sdl.web@gmail.com>
337
338 * newcomment.el (comment-search-backward): Stricter in finding
339 comment start. (Bug#14303)
340
341 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
342 (octave-comment-start-skip): Properly anchored.
343
344 2013-05-17 Leo Liu <sdl.web@gmail.com>
345
346 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
347 Clean up when turned off. (Bug#14395)
348 (smie--highlight-matching-block-overlay): No longer buffer-local.
349 (smie-highlight-matching-block): Adjust.
350
351 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
352
353 Doc string fix for "nanoseconds" (Bug#14406).
354 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
355 Fix doc string typo that had "nanoseconds" instead of "microseconds".
356
357 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
358
359 * calc/calc-units.el (math-extract-units): Preserve powers
360 of units.
361
362 2013-05-17 Leo Liu <sdl.web@gmail.com>
363
364 * subr.el (delete-consecutive-dups): New function.
365 * ido.el (ido-set-matches-1): Use it.
366 * progmodes/octave.el (inferior-octave-completion-table): Use it.
367 * ido.el (ido-remove-consecutive-dups): Remove.
368
369 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
370
371 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
372 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
373 regexp-opt's `words'.
374
375 2013-05-16 Leo Liu <sdl.web@gmail.com>
376
377 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
378 (smie--highlight-matching-block-overlay)
379 (smie--highlight-matching-block-lastpos)
380 (smie--highlight-matching-block-timer): New variables.
381 (smie-highlight-matching-block): New function.
382 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
383 (smie-setup): Conditionally enable smie-blink-matching-open.
384
385 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
386
387 Sync with upstream verilog-mode r840.
388 * progmodes/verilog-mode.el (verilog-mode-version)
389 (verilog-mode-release-date): Update.
390 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
391 (verilog-sig-tieoff): Fix string error on
392 AUTORESET with colon define, bug594. Reported by Andrew Hou.
393 (verilog-read-decls): Fix parameters confusing
394 AUTOINST interfaces, bug565. Reported by Leith Johnson.
395
396 2013-05-16 Eli Zaretskii <eliz@gnu.org>
397
398 * subr.el (reveal-filename): New function.
399
400 * loadup.el: Compute Emacs executable versions on MS-Windows,
401 where executables have the .exe extension. Add a hard link
402 emacs-XX.YY.ZZ.exe on MS-Windows.
403
404 * Makefile.in (XARGS_LIMIT): New variable.
405 (custom-deps, finder-data, autoloads)
406 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
407 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
408 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
409 (compile-main): Limit xargs according to $(XARGS_LIMIT).
410
411 2013-05-16 Leo Liu <sdl.web@gmail.com>
412
413 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
414 (octave-mode-menu, octave-mode-map): Remove its uses.
415
416 2013-05-16 Reto Zimmermann <reto@gnu.org>
417
418 Sync with upstream vhdl mode v3.34.2.
419 * progmodes/vhdl-mode.el: Use `push' throughout.
420 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
421 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
422 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
423 (vhdl-actual-generic-name): New option to derive actual generic name.
424 (vhdl-port-paste-signals): Replace formal by actual generics.
425 (vhdl-beautify): New name for old group vhdl-align. Update users.
426 (vhdl-beautify-options): New option.
427 (vhdl-last-input-event): New compat alias. Use throughout.
428 (vhdl-goto-line): Replace user level function `goto-line'.
429 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
430 vhdl-fix-statement-buffer.
431 (vhdl-create-mode-menu): Add some entries.
432 (vhdl-align-region-groups): Respect vhdl-beautify-options.
433 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
434 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
435 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
436 to force statements on one line.
437 (vhdl-remove-trailing-spaces-region):
438 New, split from vhdl-remove-trailing-spaces.
439 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
440 Respect vhdl-beautify-options.
441 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
442 (vhdl-update-sensitivity-list): Not add with index if exists without.
443 Not include array index with signal. Ignore keywords in comments.
444 (vhdl-get-visible-signals): Regexp tweaks.
445 (vhdl-template-component-inst): Handle empty library.
446 (vhdl-template-type): Add template for 'enum' type.
447 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
448 Use vhdl-replace-string.
449 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
450 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
451 (vhdl-speedbar-initialize): Update for above name change.
452 (vhdl-compose-wire-components): Fix in handling of constants.
453 (vhdl-error-regexp-emacs-alist): New variable.
454 (vhdl-error-regexp-add-emacs): New function;
455 adds support for new compile.el (Emacs 22+)
456 (vhdl-generate-makefile-1): Change target order for single lib. units.
457 Allow use of absolute file names.
458
459 2013-05-16 Leo Liu <sdl.web@gmail.com>
460
461 * simple.el (prog-indent-sexp): Indent enclosing defun.
462
463 2013-05-15 Glenn Morris <rgm@gnu.org>
464
465 * cus-start.el (show-trailing-whitespace): Move to editing basics.
466 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
467 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
468 (whitespace-highlight): Move to whitespace group.
469
470 * comint.el (comint-source):
471 * pcmpl-linux.el (pcmpl-linux):
472 * shell.el (shell-faces):
473 * eshell/esh-opt.el (eshell-opt):
474 * international/ccl.el (ccl): Remove empty custom groups.
475
476 * completion.el (dynamic-completion-mode):
477 * jit-lock.el (jit-lock-debug-mode):
478 * minibuffer.el (completion-in-region-mode):
479 * type-break.el (type-break-mode-line-message-mode)
480 (type-break-query-mode):
481 * emulation/tpu-edt.el (tpu-edt-mode):
482 * progmodes/subword.el (global-subword-mode, global-superword-mode):
483 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
484 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
485
486 * term/xterm.el (xterm): Change parent group to terminals.
487
488 * master.el (master): Remove empty custom group.
489 (master-mode): Remove unused :group argument.
490 * textmodes/refill.el (refill): Remove empty custom group.
491 (refill-mode): Remove unused :group argument.
492
493 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
494
495 * cus-dep.el: Provide a feature.
496 (custom-make-dependencies): Ignore dotfiles (dir-locals).
497 Don't mistakenly ignore files whose basenames match a basename
498 from preloaded-file-list (eg cedet/ede/simple.el).
499 Add a fallback method for getting :group.
500
501 2013-05-15 Juri Linkov <juri@jurta.org>
502
503 * isearch.el (isearch-char-by-name): Rename from
504 `isearch-insert-char-by-name'. Doc fix.
505 (isearch-forward): Mention `isearch-char-by-name' in
506 the docstring. (Bug#13348)
507
508 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
509 `exit-minibuffer' instead of
510 `isearch-nonincremental-exit-minibuffer'.
511 (isearch-edit-string): Remove mention of
512 `isearch-nonincremental-exit-minibuffer' from docstring.
513 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
514 (isearch-forward-exit-minibuffer)
515 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
516
517 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * loadup.el: Just use unversioned DOC.
520
521 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
522 literals as extending to EOB.
523 (nxml-last-fontify-end): Remove unused variable.
524 (nxml-after-change1): Use with-silent-modifications.
525 (nxml-extend-after-change-region): Simplify.
526 (nxml-extend-after-change-region1): Remove function.
527 (nxml-after-change1): Don't adjust for dependent regions.
528 (nxml-fontify-matcher): Simplify.
529 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
530 (xmltok-add-dependent): Remove function.
531 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
532 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
533 (xmltok-scan-prolog-after-processing-instruction-open): Treat
534 unclosed <[[, <?, comment, and other literals as extending to EOB.
535 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
536 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
537 Remove functions.
538 (rng-do-some-validation-1): Don't mark dependent regions.
539 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
540 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
541 (nxml-clear-dependent-regions): Remove functions.
542 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
543 (nxml-ensure-scan-up-to-date):
544 Don't clear&mark dependent regions.
545
546 2013-05-15 Leo Liu <sdl.web@gmail.com>
547
548 * progmodes/octave.el (octave-goto-function-definition):
549 Improve and fix callers.
550
551 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
554 the setter (bug#14387).
555
556 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
557 surrounding group (bug#14402).
558
559 2013-05-14 Juri Linkov <juri@jurta.org>
560
561 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
562 (Bug#14390)
563
564 2013-05-14 Glenn Morris <rgm@gnu.org>
565
566 * progmodes/f90.el (f90-imenu-generic-expression):
567 Fix typo in 2013-05-08 change. (Bug#14402)
568
569 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
570
571 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
572 Remove signals for which replies are never received.
573
574 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
575
576 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
577 (gdb-handler-alist, gdb-handler-number): Remove variables.
578 (gdb-handler-list): New variable.
579 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
580 (gdb-pending-handler-p, gdb-handle-reply)
581 (gdb-remove-all-pending-triggers): New functions.
582 (gdb-discard-unordered-replies): New defcustom.
583 (gdb-handler): New defstruct.
584 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
585 instead of gdb-pending-triggers. Update docstring.
586 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
587 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
588 (gdb-var-update-handler, def-gdb-auto-update-trigger)
589 (def-gdb-auto-update-handler, gdb-get-changed-registers)
590 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
591 (gdb-frame-handler): Pending triggers are now automatically managed.
592 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
593 Remove argument.
594 (gdb-input): Automatically handles pending triggers. Update docstring.
595 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
596 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
597 Update comments.
598 (gdb-done-or-error): Now use gdb-handle-reply.
599
600 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
601
602 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
603 gdb-debug-log.
604
605 2013-05-14 Glenn Morris <rgm@gnu.org>
606
607 * subr.el (user-emacs-directory-warning): New option.
608 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
609
610 2013-05-14 Leo Liu <sdl.web@gmail.com>
611
612 * progmodes/octave.el (octave-font-lock-keywords): Fix error
613 during redisplay.
614 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
615 (octave-font-lock-texinfo-comment): Fix invalid search bound
616 error: wrong side of point.
617
618 2013-05-14 Glenn Morris <rgm@gnu.org>
619
620 * progmodes/flymake.el (flymake-xml-program): New option.
621 (flymake-xml-init): Use it.
622
623 * term/xterm.el: Provide a feature.
624
625 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
626
627 2013-05-13 Glenn Morris <rgm@gnu.org>
628
629 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
630 Add compat aliases as a hack workaround. (Bug#14384)
631
632 2013-05-13 Leo Liu <sdl.web@gmail.com>
633
634 * progmodes/octave.el (octave-indent-comment): Fix indentation for
635 ###, and %!.
636 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
637 C-M-q.
638 (octave-comment-start-skip): Include %!.
639 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
640
641 2013-05-12 Leo Liu <sdl.web@gmail.com>
642
643 * progmodes/octave.el (inferior-octave-startup): Store the value
644 of __octave_srcdir__ for octave-source-directories.
645 (inferior-octave-check-process): New function refactored out of
646 inferior-octave-send-list-and-digest.
647 (octave-source-directories)
648 (octave-find-definition-filename-function): New variables.
649 (octave-source-directories)
650 (octave-find-definition-default-filename): New functions.
651 (octave-find-definition): Improve to find functions implemented in C++.
652
653 2013-05-12 Glenn Morris <rgm@gnu.org>
654
655 * calendar/diary-lib.el (diary-outlook-format-1):
656 Don't include dayname in the output. (Bug#14349)
657
658 2013-05-11 Glenn Morris <rgm@gnu.org>
659
660 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
661
662 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
663 Treat cc-provide like provide.
664
665 2013-05-11 Kevin Ryde <user42@zip.com.au>
666
667 * cus-dep.el (custom-make-dependencies):
668 Use generated-autoload-load-name for the sake of files such
669 such cedet/semantic/bovine/c.el, where the base file name
670 is not in load-path. (Bug#5277)
671
672 2013-05-11 Glenn Morris <rgm@gnu.org>
673
674 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
675 Provide features.
676
677 2013-05-11 Leo Liu <sdl.web@gmail.com>
678
679 * progmodes/octave.el (octave-indent-comment): Improve.
680 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
681 (octave-eldoc-function-signatures, octave-eldoc-function):
682 New functions.
683 (octave-mode, inferior-octave-mode): Add eldoc support.
684
685 2013-05-11 Richard Stallman <rms@gnu.org>
686
687 * epa.el (epa-decrypt-file): Take output file name as argument
688 and read it using `interactive'.
689
690 2013-05-11 Leo Liu <sdl.web@gmail.com>
691
692 * progmodes/octave.el (octave-beginning-of-line)
693 (octave-end-of-line): Check before using up-list because it jumps
694 out of more syntactic contructs since moving to smie.
695 (octave-indent-comment): New function.
696 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
697 (octave-begin-keywords, octave-end-keywords)
698 (octave-reserved-words, octave-smie-bnf-table)
699 (octave-smie-rules): Add new keywords from Octave 3.6.4.
700
701 2013-05-11 Glenn Morris <rgm@gnu.org>
702
703 * faces.el (internal-face-x-get-resource):
704 * frame.el (ns-display-monitor-attributes-list):
705 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
706
707 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
708
709 * calc/calc-menu.el: Make it loadable in isolation.
710
711 * net/eudcb-bbdb.el: Make it loadable without bbdb.
712 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
713 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
714 (eudc-bbdb-query-internal): Require 'bbdb.
715
716 * lpr.el (lpr-headers-switches):
717 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
718
719 * progmodes/sql.el (sql-login-params): Fix and improve :type.
720
721 * emulation/edt-mapper.el: In batch mode, error rather than hang.
722
723 * term.el (term-set-escape-char): Make it idempotent.
724
725 2013-05-10 Leo Liu <sdl.web@gmail.com>
726
727 * progmodes/octave.el (inferior-octave-completion-table):
728 No longer a function and all uses changed. Use cache to speed up
729 completion due to bug#11906.
730 (octave-beginning-of-defun): Re-write to be more general.
731
732 2013-05-10 Glenn Morris <rgm@gnu.org>
733
734 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
735
736 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 * comint.el (comint-redirect-send-command-to-process): Use :around
739 rather than :override for comint-redirect-filter.
740 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
741 Call it instead of comint-redirect-original-filter-function (which
742 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
743
744 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
745
746 * frame.el (display-monitor-attributes-list): Add NS case.
747 (ns-display-monitor-attributes-list): Declare.
748
749 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
750
751 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
752
753 2013-05-09 Glenn Morris <rgm@gnu.org>
754
755 * international/fontset.el (vertical-centering-font-regexp):
756 Set standard-value.
757
758 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
759
760 * bookmark.el (bookmark-search-delay):
761 * cus-start.el (vertical-centering-font-regexp):
762 * ps-mule.el (ps-mule-font-info-database-default):
763 * ps-print.el (ps-default-fg, ps-default-bg):
764 * type-break.el (type-break-good-break-interval):
765 * whitespace.el (whitespace-indentation-regexp)
766 (whitespace-space-after-tab-regexp):
767 * emacs-lisp/testcover.el (testcover-1value-functions)
768 (testcover-noreturn-functions, testcover-progn-functions)
769 (testcover-prog1-functions):
770 * emulation/viper-init.el (viper-emacs-state-cursor-color):
771 * eshell/em-glob.el (eshell-glob-translate-alist):
772 * play/tetris.el (tetris-tty-colors):
773 * progmodes/cpp.el (cpp-face-default-list):
774 * progmodes/flymake.el (flymake-allowed-file-name-masks):
775 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
776 (idlwave-help-browser-generic-args):
777 * progmodes/make-mode.el (makefile-special-targets-list):
778 * progmodes/python.el (python-shell-virtualenv-path):
779 * progmodes/verilog-mode.el (verilog-active-low-regexp)
780 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
781 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
782 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
783 * textmodes/reftex-vars.el (reftex-format-label-function):
784 * textmodes/remember.el (remember-diary-file): Fix custom types.
785
786 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
787 Add :version.
788
789 2013-05-09 Leo Liu <sdl.web@gmail.com>
790
791 * progmodes/octave.el (inferior-octave-completion-at-point):
792 Restore file completion. (Bug#14300)
793 (inferior-octave-startup): Fix incorrect highlighting for the
794 first prompt.
795
796 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * progmodes/ruby-mode.el: First cut at SMIE support.
799 (ruby-use-smie): New var.
800 (ruby-smie-grammar): New constant.
801 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
802 (ruby-smie--forward-token, ruby-smie--backward-token)
803 (ruby-smie-rules): New functions.
804 (ruby-mode-variables): Setup SMIE if applicable.
805
806 2013-05-08 Eli Zaretskii <eliz@gnu.org>
807
808 * simple.el (line-move-visual): Signal beginning/end of buffer
809 only if vertical-motion moved less than it was requested. Avoids
810 silly incorrect error messages when there are display strings with
811 multiple newlines at EOL.
812
813 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
814
815 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
816 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
817 (prolog-char-quote-workaround):
818 * progmodes/cperl-mode.el (cperl-under-as-char):
819 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
820 Mark as obsolete.
821 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
822 their declaration.
823 (vhdl-mode-syntax-table-init): Remove.
824
825 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
826 last change.
827
828 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
829 syntax for "_".
830 (ld-script-font-lock-keywords):
831 Change regexps to use things like \_< and \_>.
832
833 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
834 Change all regexps to use things like \_< and \_>.
835
836 * progmodes/autoconf.el (autoconf-definition-regexp)
837 (autoconf-font-lock-keywords, autoconf-current-defun-function):
838 Handle a _ with symbol syntax.
839 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
840
841 * progmodes/ada-mode.el (ada-mode-abbrev-table):
842 Consolidate declaration.
843 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
844 the declaration.
845 (ada-create-syntax-table): Remove.
846 (ada-capitalize-word): Don't mess with the syntax of "_" since it
847 already has the right syntax nowadays.
848 (ada-goto-next-word): Don't change the syntax of "_".
849
850 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
851 with-wrapper-hook.
852
853 2013-05-08 Sam Steingold <sds@gnu.org>
854
855 * thingatpt.el (thing-at-point): Accept optional second argument
856 NO-PROPERTIES to strip the text properties from the return value.
857 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
858 to `thing-at-point' instead of stripping the properties ourselves.
859 Also, when `thing-at-point' fails to find a url, prepend "http://"
860 to the filename at point on the assumption that the user is
861 pointing at something like gnu.org/gnu.
862
863 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
864
865 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
866 * faces.el (crm-separator):
867 Silence byte-compiler.
868
869 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
870 (tool-bar-map): Remove unneeded defvars.
871
872 2013-05-08 Leo Liu <sdl.web@gmail.com>
873
874 Re-work a fix for bug#10994 based on Le Wang's patch.
875 * ido.el (ido-remove-consecutive-dups): New helper.
876 (ido-completing-read): Use it.
877 (ido-chop): Revert fix for bug#10994.
878
879 2013-05-08 Adam Spiers <emacs@adamspiers.org>
880
881 * cus-edit.el (custom-save-variables):
882 Pretty-print long values. (Bug#14187)
883
884 2013-05-08 Glenn Morris <rgm@gnu.org>
885
886 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
887 (m4-mode-syntax-table): Init in the defvar.
888 (m4-mode-abbrev-table): Let define-derived-mode define it.
889
890 2013-05-08 Tom Tromey <tromey@redhat.com>
891
892 * progmodes/m4-mode.el (m4-mode-syntax-table):
893 Do not treat "_" as word constituent. (Bug#14167)
894
895 2013-05-07 Glenn Morris <rgm@gnu.org>
896
897 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
898 Remove explicit eshell-isearch-cancel-map.
899
900 * progmodes/f90.el (f90-smart-end-names): New option.
901 (f90-smart-end): Doc fix.
902 (f90-end-block-optional-name): New constant.
903 (f90-block-match): Respect f90-smart-end-names.
904
905 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
906
907 * progmodes/octave.el (octave-smie-forward-token): Be more careful
908 about implicit semi-colons (bug#14218).
909
910 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
911
912 * frame.el (display-monitor-attributes-list)
913 (frame-monitor-attributes): New functions.
914
915 2013-05-06 Leo Liu <sdl.web@gmail.com>
916
917 * progmodes/octave.el (octave-syntax-propertize-function): Change
918 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
919 (octave-font-lock-keywords): Use octave-operator-regexp.
920 (octave-completion-at-point): Rename from
921 octave-completion-at-point-function.
922 (inferior-octave-directory-tracker): Robustify.
923 (octave-text-functions): Remove and fix its uses. No such things
924 any more.
925
926 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * emacs-lisp/trace.el (trace--display-buffer): New function.
929 (trace-make-advice): Use it.
930
931 2013-05-06 Juri Linkov <juri@jurta.org>
932
933 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
934 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
935 Doc fix.
936 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
937 in the help string. (Bug#12985)
938
939 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
940
941 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
942
943 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 * progmodes/perl-mode.el: Add support for here documents.
946 (perl-syntax-propertize-function): Match here-doc markers.
947 (perl-syntax-propertize-special-constructs): Find their end.
948 (perl-imenu-generic-expression): Use [:alnum:].
949
950 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
951 (advice--add-function): Refresh the advice if already present
952 (bug#14317).
953
954 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
955
956 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
957
958 2013-05-06 Glenn Morris <rgm@gnu.org>
959
960 * w32-fns.el (w32-charset-info-alist): Declare.
961
962 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
963 of its defcustom properties.
964 (eshell-cmpl-initialize): No need to load pcomplete.
965
966 * generic-x.el: No need to require comint when compiling.
967
968 * net/eudc-export.el: Make it loadable without bbdb.
969 (top-level): Use require rather than load-library.
970 (eudc-create-bbdb-record, eudc-bbdbify-phone)
971 (eudc-batch-export-records-to-bbdb)
972 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
973 Require bbdb.
974
975 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
978 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
979 some tweaks, instead.
980
981 2013-05-05 Leo Liu <sdl.web@gmail.com>
982
983 * progmodes/octave.el (octave-font-lock-keywords)
984 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
985 (inferior-octave-send-list-and-digest): Improve error message.
986 (octave-mode, inferior-octave-mode): Use setq-local.
987 (octave-help): Set info-lookup-mode.
988
989 2013-05-05 Richard Stallman <rms@gnu.org>
990
991 * vc/compare-w.el (compare-windows-whitespace):
992 Treat no-break space as whitespace.
993
994 * mail/rmailsum.el (rmail-summary-rmail-update):
995 Detect empty summary and don't change selected message.
996 (rmail-summary-goto-msg): Likewise.
997
998 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
999 Doc fixes, rename args.
1000
1001 2013-05-05 Alan Mackenzie <acm@muc.de>
1002
1003 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
1004
1005 2013-05-05 Juri Linkov <juri@jurta.org>
1006
1007 * info.el (Info-read-subfile): Use (point-min) instead of (point)
1008 to not add the length of the summary segment to the return value.
1009 (Bug#14125)
1010
1011 2013-05-05 Leo Liu <sdl.web@gmail.com>
1012
1013 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
1014 (inferior-octave-output-filter): Remove.
1015 (octave-send-region, inferior-octave-startup): Fix callers.
1016 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
1017 (octave-binary-file-extensions): New user variable.
1018 (octave-find-definition): Confirm if opening binary files.
1019 (octave-help-file): Use octave-find-definition to get the binary
1020 confirmation.
1021 (octave-help): Adjust for octave-help-file change.
1022
1023 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1024
1025 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
1026 Merge the two entries that handle function definitions.
1027 (pascal--syntax-propertize): New const.
1028 (pascal-mode): Use it. Use setq-local.
1029
1030 2013-05-04 Glenn Morris <rgm@gnu.org>
1031
1032 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
1033 (diary-from-outlook): Respect diary-from-outlook-function.
1034
1035 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1036
1037 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
1038 Move the declaration from C.
1039 (read-minibuffer, eval-minibuffer): Move from C.
1040 (completion-setup-function): Avoid minibuffer-completion-contents.
1041
1042 2013-05-03 Leo Liu <sdl.web@gmail.com>
1043
1044 * progmodes/octave.el (octave-font-lock-keywords): Do not
1045 dehighlight 'end' in comments or strings.
1046 (octave-completing-read, octave-goto-function-definition):
1047 New helpers.
1048 (octave-help-buffer): New user variable.
1049 (octave-help-file, octave-help-function): New button types.
1050 (octave-help): New command and bind it to C-h ;.
1051 (octave-find-definition): New command and bind it to M-.
1052 (user-error): Alias to error if not defined.
1053
1054 2013-05-02 Leo Liu <sdl.web@gmail.com>
1055
1056 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1057 for \. (bug#14332)
1058 (octave-font-lock-keywords): Include [ and {.
1059
1060 2013-05-02 Leo Liu <sdl.web@gmail.com>
1061
1062 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1063 (inferior-octave): Remove calling comint-mode and return the buffer.
1064 (inferior-octave-startup): Cosmetic changes.
1065
1066 2013-05-02 Leo Liu <sdl.web@gmail.com>
1067
1068 * progmodes/octave.el (octave-syntax-propertize-function):
1069 Include the case when ' is at line beginning. (Bug#14336)
1070
1071 2013-05-02 Glenn Morris <rgm@gnu.org>
1072
1073 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1074 * desktop.el (vc-dir-mode): Just autoload it here.
1075
1076 2013-05-02 Alan Mackenzie <acm@muc.de>
1077
1078 Eliminate variable c-standard-font-lock-fontify-region-function.
1079 * progmodes/cc-mode.el
1080 (c-standard-font-lock-fontify-region-function): Remove.
1081 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1082
1083 2013-05-01 Leo Liu <sdl.web@gmail.com>
1084
1085 * progmodes/octave.el: Compatible with older emacs-24 releases.
1086 (inferior-octave-has-built-in-variables): Remove. Built-in
1087 variables were removed from Octave in 2007.
1088 (inferior-octave-startup): Fix uses.
1089 (comint-line-beginning-position): Remove compatibility code for
1090 emacs 21.
1091
1092 2013-05-01 Juri Linkov <juri@jurta.org>
1093
1094 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1095
1096 2013-05-01 Juri Linkov <juri@jurta.org>
1097
1098 * comint.el (comint-previous-matching-input): Don't print message
1099 "History item: %d" when `isearch-mode' is active.
1100 (comint-history-isearch-message): Print message "History item: %d"
1101 when `comint-input-ring-index' is not empty and this function is
1102 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1103
1104 2013-05-01 Leo Liu <sdl.web@gmail.com>
1105
1106 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1107 definitions. Use completion-at-point to insert keywords.
1108 (octave-abbrev-start): Remove.
1109 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1110
1111 2013-04-30 Leo Liu <sdl.web@gmail.com>
1112
1113 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1114 change.
1115
1116 2013-04-30 Alan Mackenzie <acm@muc.de>
1117
1118 Handle arbitrarily long C++ member initialisation lists.
1119 * progmodes/cc-engine.el (c-back-over-member-initializers):
1120 new function.
1121 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1122 (most) member init lists.
1123
1124 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1125
1126 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1127 variable.
1128
1129 2013-04-30 Leo Liu <sdl.web@gmail.com>
1130
1131 * progmodes/octave.el (octave-variables): Remove. No builtin
1132 variables any more. All converted to functions.
1133 (octave-font-lock-keywords, octave-completion-at-point-function):
1134 Fix uses.
1135 (octave-font-lock-texinfo-comment): New user variable.
1136 (octave-texinfo-font-lock-keywords): New variable for texinfo
1137 comment block.
1138 (octave-function-comment-block): New face.
1139 (octave-font-lock-texinfo-comment): New function.
1140 (octave-mode): Font lock texinfo comment block.
1141
1142 2013-04-29 Leo Liu <sdl.web@gmail.com>
1143
1144 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1145 indexing expression.
1146 (octave-continuation-string): Do not use \.
1147 (inferior-octave-complete-impossible): Remove.
1148 (inferior-octave-completion-table)
1149 (inferior-octave-completion-at-point): Remove its uses.
1150 (inferior-octave-startup): completion_matches was introduced to
1151 Octave in 1996 so safe to assume it.
1152 (octave-function-file-comment): Improve to follow how Octave does it.
1153 (octave-update-function-file-comment): Tweak.
1154
1155 2013-04-29 Leo Liu <sdl.web@gmail.com>
1156
1157 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1158 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1159 (octave-function-file-comment): Fix typo.
1160 (octave-sync-function-file-names): Use read-char-choice.
1161
1162 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1163
1164 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1165 to t for the less important warnings.
1166
1167 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1168
1169 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1170
1171 2013-04-27 Glenn Morris <rgm@gnu.org>
1172
1173 * vc/log-view.el (log-view-current-entry):
1174 Treat "---" separator lines as part of the following rev. (Bug#14169)
1175
1176 2013-04-27 Juri Linkov <juri@jurta.org>
1177
1178 * subr.el (read-number): Doc fix about using it by interactive
1179 code letter `n'. (Bug#14254)
1180
1181 2013-04-27 Juri Linkov <juri@jurta.org>
1182
1183 * desktop.el (desktop-auto-save-timeout): New option.
1184 (desktop-file-checksum): New variable.
1185 (desktop-save): Add optional arg `auto-save' and don't auto-save
1186 if nothing changed.
1187 (desktop-auto-save-timer): New variable.
1188 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1189 (after-init-hook): Call `desktop-auto-save-set-timer'.
1190 Suggested by Reuben Thomas <rrt@sc3d.org> in
1191 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1192
1193 2013-04-27 Leo Liu <sdl.web@gmail.com>
1194
1195 * progmodes/octave.el (octave-function-file-p)
1196 (octave-skip-comment-forward, octave-function-file-comment)
1197 (octave-update-function-file-comment): New functions.
1198 (octave-mode-map): Bind C-c ; to
1199 octave-update-function-file-comment.
1200 (octave-mode-menu): Add octave-update-function-file-comment.
1201 (octave-mode, inferior-octave-mode): Fix doc-string.
1202 (octave-insert-defun): Conform to Octave's coding convention.
1203 (Bug#14285)
1204
1205 * files.el (basic-save-buffer): Don't let errors in
1206 before-save-hook prevent saving buffer.
1207
1208 2013-04-20 Roland Winkler <winkler@gnu.org>
1209
1210 * faces.el (read-face-name): Use completing-read if arg multiple
1211 is nil.
1212
1213 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1214
1215 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1216 displayed, move point to after the totals line.
1217 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1218 for the details.
1219
1220 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1221
1222 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1223 Add current dir to the load-path.
1224 (package-generate-autoloads): Don't rely on
1225 autoload-ensure-default-file.
1226
1227 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1228
1229 * textmodes/remember.el (remember-store-in-files): Document that
1230 the file name format is passed to `format-time-string'.
1231
1232 2013-04-26 Leo Liu <sdl.web@gmail.com>
1233
1234 * progmodes/octave.el (octave-sync-function-file-names): New function.
1235 (octave-mode): Use it in before-save-hook.
1236
1237 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1240 (bug#14274).
1241
1242 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1243 \n and comment, even if it's not an implicit ; (bug#14218).
1244
1245 2013-04-26 Glenn Morris <rgm@gnu.org>
1246
1247 * subr.el (read-number): Once more use `read' rather than
1248 `string-to-number', to trap non-numeric input. (Bug#14254)
1249
1250 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1251
1252 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1253 Use `syntax-multiline' text property consistently instead of
1254 `font-lock-multiline'. (bug#14237).
1255
1256 2013-04-26 Glenn Morris <rgm@gnu.org>
1257
1258 * emacs-lisp/shadow.el (list-load-path-shadows):
1259 No longer necessary to check for duplicate simple.el, since
1260 2012-07-07 change to init_lread to not include installation lisp
1261 directories in load-path when running uninstalled. (Bug#14270)
1262
1263 2013-04-26 Leo Liu <sdl.web@gmail.com>
1264
1265 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1266 (octave-mode, inferior-octave-mode): Use setq-local.
1267 (octave-not-in-string-or-comment-p): Rename to
1268 octave-in-string-or-comment-p.
1269 (octave-in-comment-p, octave-in-string-p)
1270 (octave-in-string-or-comment-p): Replace defsubst with defun.
1271
1272 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1273
1274 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1275
1276 2013-04-25 Bastien Guerry <bzg@gnu.org>
1277
1278 * textmodes/remember.el (remember-data-directory)
1279 (remember-directory-file-name-format): Fix custom types.
1280
1281 2013-04-25 Leo Liu <sdl.web@gmail.com>
1282
1283 * progmodes/octave.el (octave-completion-at-point-function):
1284 Make use of inferior octave process.
1285 (octave-initialize-completions): Remove.
1286 (inferior-octave-completion-table): New function.
1287 (inferior-octave-completion-at-point): Use it.
1288 (octave-completion-alist): Remove.
1289
1290 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1293 (opascal-mode-syntax-table): New var.
1294 (opascal-literal-kind, opascal-is-literal-end)
1295 (opascal-literal-token-at): Rewrite.
1296 (opascal--literal-start-re, opascal-font-lock-keywords)
1297 (opascal--syntax-propertize): New constants.
1298 (opascal-font-lock-defaults): Adjust.
1299 (opascal-mode): Use them. Set comment-<foo> variables as well.
1300 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1301 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1302 (delphi-other-face, opascal-other-face): Remove face variables.
1303 (opascal-save-state): Remove macro.
1304 (opascal-fontifying-progress-step): Remove constant.
1305 (opascal--ignore-changes): Remove var.
1306 (opascal-set-token-property, opascal-parse-next-literal)
1307 (opascal-is-stable-literal, opascal-complete-literal)
1308 (opascal-is-literal-start, opascal-face-of)
1309 (opascal-parse-region, opascal-parse-region-until-stable)
1310 (opascal-fontify-region, opascal-after-change)
1311 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1312 (opascal-debug-parse-region, opascal-debug-parse-window)
1313 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1314 (opascal-debug-fontify-buffer): Remove.
1315 (opascal-debug-mode-map): Adjust accordingly.
1316
1317 2013-04-25 Leo Liu <sdl.web@gmail.com>
1318
1319 Merge octave-mod.el and octave-inf.el into octave.el with some
1320 cleanups.
1321 * progmodes/octave.el: New file renamed from octave-mod.el.
1322 * progmodes/octave-inf.el: Merged into octave.el.
1323 * progmodes/octave-mod.el: Renamed to octave.el.
1324
1325 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1326
1327 * textmodes/reftex-vars.el
1328 (reftex-label-ignored-macros-and-environments): New defcustom.
1329
1330 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1331
1332 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1333
1334 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1335 (smie-indent-keyword): Improve the check to ensure that the next
1336 comment is really on the same line.
1337 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1338
1339 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1340 semi-colons if the line is not otherwise empty (bug#14218).
1341
1342 2013-04-25 Glenn Morris <rgm@gnu.org>
1343
1344 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1345
1346 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * progmodes/opascal.el (opascal-set-token-property): Rename from
1349 opascal-set-text-properties and only set `token' (bug#14134).
1350 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1351 (opascal-literal-text-properties): Remove.
1352 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1353 Adjust callers.
1354
1355 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1356
1357 * textmodes/remember.el (remember-handler-functions): Add an
1358 option for a new handler `remember-store-in-files'.
1359 (remember-data-directory, remember-directory-file-name-format):
1360 New options.
1361 (remember-store-in-files): New function to store remember notes
1362 as separate files within a directory.
1363
1364 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1365
1366 * progmodes/compile.el (compilation-next-error-function):
1367 Pass "formats" to compilation-find-file (bug#11777).
1368
1369 2013-04-24 Glenn Morris <rgm@gnu.org>
1370
1371 * vc/vc-bzr.el (vc-bzr-print-log):
1372 * vc/vc-hg.el (vc-hg-print-log):
1373 * vc/vc-svn.el (vc-svn-print-log):
1374 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1375
1376 * vc/vc-bzr.el (vc-bzr-print-log):
1377 * vc/vc-cvs.el (vc-cvs-print-log):
1378 * vc/vc-git.el (vc-git-print-log):
1379 * vc/vc-hg.el (vc-hg-print-log):
1380 * vc/vc-mtn.el (vc-mtn-print-log):
1381 * vc/vc-rcs.el (vc-rcs-print-log):
1382 * vc/vc-sccs.el (vc-sccs-print-log):
1383 * vc/vc-svn.el (vc-svn-print-log):
1384 * vc/vc.el (vc-print-log-internal): Doc fixes.
1385
1386 2013-04-23 Glenn Morris <rgm@gnu.org>
1387
1388 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1389 Remove venerable code attempting to avoid substitute-command-keys.
1390
1391 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1392
1393 * textmodes/reftex-vars.el (reftex-label-regexps):
1394 Call `reftex-compile-variables' after changes to this variable.
1395
1396 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1397
1398 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1399 Use lexical-binding.
1400 (jit-lock-force-redisplay): Use markers, check buffer's continued
1401 existence and beware narrowed buffers.
1402 (jit-lock-fontify-now): Adjust call accordingly.
1403
1404 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1407 to avoid misleading the user.
1408
1409 2013-04-22 Leo Liu <sdl.web@gmail.com>
1410
1411 * info-look.el: Prefer latex2e.info. (Bug#14240)
1412
1413 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1414
1415 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1416
1417 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1418 * net/tramp.el (tramp-call-process): ... here
1419 (tramp-set-completion-function, tramp-parse-putty):
1420 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1421 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1422 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1423 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1424 (tramp-call-local-coding-command): Use `tramp-call-process'
1425 instead of `tramp-compat-call-process'.
1426
1427 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1428 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1429 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1430 (tramp-find-inline-compress): Improve traces.
1431 (tramp-maybe-send-script): Check for Perl binary.
1432 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1433
1434 2013-04-22 Daiki Ueno <ueno@gnu.org>
1435
1436 * epg.el (epg-context-pinentry-mode): New function.
1437 (epg-context-set-pinentry-mode): New function.
1438 (epg--start): Pass --pinentry-mode option to gpg command.
1439
1440 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1441
1442 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1443 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1444 `completion-at-point'. (Bug#13774)
1445
1446 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1447 default key binding for `describe-distribution' has been moved to
1448 `C-h C-o'. (Bug#13970)
1449
1450 2013-04-21 Glenn Morris <rgm@gnu.org>
1451
1452 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1453 Add doc strings.
1454 (vc-print-log): Clarify interactive prompt.
1455
1456 2013-04-20 Glenn Morris <rgm@gnu.org>
1457
1458 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1459 No longer include timestamp etc information.
1460
1461 2013-04-20 Roland Winkler <winkler@gnu.org>
1462
1463 * faces.el (read-face-name): Bug fix, return just one face if arg
1464 multiple is nil. (Bug#14209)
1465
1466 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1469 (remove-function): Autoload.
1470
1471 * comint.el (comint-redirect-original-filter-function): Remove.
1472 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1473 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1474 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1475 * progmodes/prolog.el (prolog-consult-compile):
1476 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1477 Use add/remove-function instead.
1478 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1479 (gud-tooltip-process-output, gud-tooltip-tips):
1480 Use add/remove-function instead.
1481 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1482 (scheme-interaction-mode, exit-scheme-interaction-mode):
1483 Use add/remove-function instead.
1484
1485 * vc/vc-dispatcher.el: Use lexical-binding.
1486 (vc--process-sentinel): Rename from vc-process-sentinel.
1487 Change last arg to be the code to run. Don't use vc-previous-sentinel
1488 and vc-sentinel-commands any more.
1489 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1490 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1491
1492 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1493
1494 * progmodes/sh-script.el (sh-imenu-generic-expression):
1495 Handle function names with a single character. (Bug#14111)
1496
1497 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1498
1499 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1500 for subroutines defined in an eval (bug#14182).
1501
1502 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1503
1504 * bookmark.el (bookmark-completing-read): Improve handling of empty
1505 string (bug#14176).
1506
1507 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1508
1509 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1510
1511 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1512
1513 New faster Imenu implementation (bug#14058).
1514 * progmodes/python.el:
1515 (python-imenu-prev-index-position):
1516 (python-imenu-format-item-label-function)
1517 (python-imenu-format-parent-item-label-function)
1518 (python-imenu-format-parent-item-jump-label-function):
1519 New vars.
1520 (python-imenu-format-item-label)
1521 (python-imenu-format-parent-item-label)
1522 (python-imenu-format-parent-item-jump-label)
1523 (python-imenu--put-parent, python-imenu--build-tree)
1524 (python-imenu-create-index, python-imenu-create-flat-index)
1525 (python-util-popn): New functions.
1526 (python-mode): Set imenu-create-index-function to
1527 python-imenu-create-index.
1528
1529 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * winner.el (winner-active-region): Use region-active-p, activate-mark
1532 and deactivate-mark (bug#14225).
1533
1534 * simple.el (deactivate-mark): Don't inline it.
1535
1536 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1539
1540 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1541
1542 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1543 file extensions from the archive-mode entry in order to prefer
1544 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1545
1546 2013-04-18 Leo Liu <sdl.web@gmail.com>
1547
1548 * bindings.el (help-event-list): Add ?\?.
1549
1550 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * subr.el (with-wrapper-hook): Declare obsolete.
1553 * simple.el (filter-buffer-substring-function): New hook.
1554 (filter-buffer-substring): Use it.
1555 (filter-buffer-substring-functions): Mark obsolete.
1556 * minibuffer.el (completion-in-region-function): New hook.
1557 (completion-in-region): Use it.
1558 (completion-in-region-functions): Mark obsolete.
1559 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1560 * abbrev.el (abbrev-expand-function): New hook.
1561 (expand-abbrev): Use it.
1562 (abbrev-expand-functions): Mark obsolete.
1563 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1564 and :filter-return.
1565
1566 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1567
1568 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1569 and do not care about match data.
1570
1571 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1572
1573 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1574 completion tables when completing error conditions and
1575 `declare' arguments.
1576 (lisp-complete-symbol, field-complete): Mark as obsolete.
1577 (check-parens): Unmatched parens are user errors.
1578 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1579
1580 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1581
1582 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1583 command changed buffer (ie. `flyspell-pre-buffer' is not current
1584 buffer), which prevents making decisions based on invalid value of
1585 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1586 cause an error when `flyspell-pre-point' was nil after switching
1587 buffers.
1588 (flyspell-post-command-hook): No longer needs to change buffers when
1589 checking pre-word. While at it remove unnecessary progn.
1590
1591 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1592
1593 * textmodes/ispell.el (ispell-add-per-file-word-list):
1594 Fix `flyspell-correct-word-before-point' error when accepting
1595 words and `coment-padding' is an integer by using
1596 `comment-normalize-vars' (Bug #14214).
1597
1598 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1599
1600 New defun movement commands.
1601 * progmodes/python.el (python-nav--syntactically)
1602 (python-nav--forward-defun, python-nav-backward-defun)
1603 (python-nav-forward-defun): New functions.
1604
1605 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1606
1607 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1608 (python-syntax-context): Use named compiler-macro for backwards
1609 compatibility with Emacs 24.x.
1610
1611 2013-04-17 Leo Liu <sdl.web@gmail.com>
1612
1613 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1614 octave-hide-process-buffer.
1615
1616 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1619 (bug#14216).
1620
1621 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1622
1623 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1624 Fix adjustment of offset when receiving incomplete responses from GDB
1625 (bug#14129).
1626
1627 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1630 python-mode-abbrev-table.
1631 (python-skeleton-define): Adjust accordingly.
1632 (python-mode-abbrev-table): New table that inherits from it so that
1633 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1634
1635 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1636 (abbrev-symbol): Use it.
1637 (abbrev--before-point): Use it since we already handle inheritance.
1638
1639 2013-04-16 Leo Liu <sdl.web@gmail.com>
1640
1641 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1642 binding to info-lookup-symbol.
1643
1644 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1645
1646 * minibuffer.el (completion--twq-all):
1647 * term/ns-win.el (ns-initialize-window-system):
1648 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1649
1650 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1651
1652 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1653 global bindings.
1654
1655 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1656
1657 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1658
1659 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1660 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1661 to nil.
1662 (ruby-end-of-defun): Remove the unused arg, change the docstring
1663 to reflect that this function is only used as the value of
1664 `end-of-defun-function'.
1665 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1666 to reflect an earlier change that beginning/end-of-defun functions
1667 jump between methods in a class definition, as well as top-level
1668 functions.
1669
1670 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1671
1672 * minibuffer.el (minibuffer-complete): Don't just scroll
1673 a *Completions* that's been iconified.
1674 (minibuffer-force-complete): Make sure repetitions do cycle when going
1675 through completion-in-region -> minibuffer-complete.
1676
1677 2013-04-15 Alan Mackenzie <acm@muc.de>
1678
1679 Correct the placement of c-cpp-delimiters when there're #s not at
1680 col 0.
1681
1682 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1683 place a submatch around the #.
1684 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1685 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1686 on the #, not BOL.
1687
1688 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1689
1690 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1691 (advice--member-p): New arg `name'.
1692 (advice--add-function, advice-member-p): Use it (bug#14202).
1693
1694 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1695
1696 Reformulate java imenu-generic-expression.
1697 The old expression contained ill formed regexps.
1698
1699 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1700 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1701 (cc-imenu-java-method-arg-regexp): New defconsts.
1702 (cc-imenu-java-build-type-args-regex): New defun.
1703 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1704 handling of spaces in the regexp.
1705
1706 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1707
1708 * textmodes/ispell.el (ispell-command-loop): Remove
1709 flyspell highlight of a word when ispell accepts it (bug #14178).
1710
1711 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1712
1713 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1714 uses code from the previous `ange-ftp-run-real-handler'.
1715 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1716 only in case that function exist. This is needed for proper
1717 unloading of Tramp.
1718
1719 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1720
1721 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1722
1723 * textmodes/reftex.el (reftex-compile-variables): Use it.
1724
1725 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 * files.el (normal-mode): Only use default major-mode if no other mode
1728 was specified.
1729
1730 * emacs-lisp/trace.el (trace-values): New function.
1731
1732 * files.el: Allow : in local variables (bug#14089).
1733 (hack-local-variable-regexp): New var.
1734 (hack-local-variables-prop-line, hack-local-variables): Use it.
1735
1736 2013-04-13 Roland Winkler <winkler@gnu.org>
1737
1738 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1739 data before it gets modified by bibtex-beginning-of-entry.
1740
1741 2013-04-13 Roland Winkler <winkler@gnu.org>
1742
1743 * textmodes/bibtex.el (bibtex-url): Doc fix.
1744
1745 2013-04-13 Roland Winkler <winkler@gnu.org>
1746
1747 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1748 does not visit a BibTeX file, exclude it from the list of buffers
1749 returned by bibtex-initialize.
1750
1751 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1752
1753 * window.el (split-window): Remove interactive form, since as a
1754 command this function is a special case of split-window-below.
1755 Correct doc string.
1756
1757 2013-04-12 Roland Winkler <winkler@gnu.org>
1758
1759 * faces.el (read-face-name): Do not override value of arg default.
1760 Allow single faces and strings as default values. Remove those
1761 elements from return value that are not faces.
1762 (describe-face): Simplify.
1763 (face-at-point): New optional args thing and multiple so that this
1764 function can provide the same functionality previously provided by
1765 read-face-name.
1766 (make-face-bold, make-face-unbold, make-face-italic)
1767 (make-face-unitalic, make-face-bold-italic, invert-face)
1768 (modify-face, read-face-and-attribute): Use face-at-point.
1769
1770 * cus-edit.el (customize-face, customize-face-other-window)
1771 * cus-theme.el (custom-theme-add-face)
1772 * face-remap.el (buffer-face-set)
1773 * facemenu.el (facemenu-set-face): Use face-at-point.
1774
1775 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1776
1777 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1778
1779 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1780
1781 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1782 off leading { and trailing } from field values.
1783
1784 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * emacs-lisp/timer.el (timer--check): New function.
1787 (timer--time, timer-set-function, timer-event-handler): Use it.
1788 (timer-set-idle-time): Simplify.
1789 (timer--activate): CSE.
1790 (timer-event-handler): Give more info in error message.
1791 (internal-timer-start-idle): New function, moved from C.
1792
1793 * mpc.el (mpc-proc): Add `restart' argument.
1794 (mpc-proc-cmd): Use it.
1795 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1796 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1797 less often.
1798
1799 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1800
1801 * progmodes/sh-script.el: Implement `sh-mode' own
1802 `add-log-current-defun-function' (bug#14112).
1803 (sh-current-defun-name): New function.
1804 (sh-mode): Use the function.
1805
1806 2013-04-09 Bastien Guerry <bzg@gnu.org>
1807
1808 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1809
1810 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1811
1812 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1813
1814 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1815 timer (bug#14156).
1816
1817 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1818
1819 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1820 declaration.
1821
1822 2013-04-07 Leo Liu <sdl.web@gmail.com>
1823
1824 * pcmpl-x.el: New file.
1825
1826 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1827
1828 Do not set x-display-name until X connection is established.
1829 This is needed to prevent from weird situation described at
1830 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1831 * frame.el (make-frame): Set x-display-name after call to
1832 window system initialization function, not before.
1833 * term/x-win.el (x-initialize-window-system): Add optional
1834 display argument and use it.
1835 * term/w32-win.el (w32-initialize-window-system):
1836 * term/ns-win.el (ns-initialize-window-system):
1837 * term/pc-win.el (msdos-initialize-window-system):
1838 Add compatible optional display argument.
1839
1840 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1841
1842 * files.el (normal-backup-enable-predicate): On MS-Windows and
1843 MS-DOS compare truenames of temporary-file-directory and of the
1844 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1845 don't fail comparison by compare-strings. Also, compare file
1846 names case-insensitively on MS-Windows and MS-DOS.
1847
1848 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1851 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1852
1853 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1854
1855 * whitespace.el (whitespace-color-on, whitespace-color-off):
1856 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1857
1858 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1859
1860 * ispell.el (ispell-set-spellchecker-params):
1861 Really set `ispell-args' for all equivs.
1862
1863 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * ido.el (ido-completions): Use extra elements of ido-decorations
1866 (bug#14143).
1867 (ido-decorations): Update docstring.
1868
1869 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1870
1871 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1872 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1873 nil during initialization, in order not to miss changes since the
1874 file was opened. (Bug#14140)
1875
1876 2013-04-05 Leo Liu <sdl.web@gmail.com>
1877
1878 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1879
1880 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1881
1882 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1883
1884 2013-04-04 Glenn Morris <rgm@gnu.org>
1885
1886 * electric.el (electric-pair-inhibit-predicate): Add :version.
1887
1888 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1889
1890 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1891 when a package is required several times (bug#14082).
1892
1893 2013-04-04 Roland Winkler <winkler@gnu.org>
1894
1895 * faces.el (read-face-name): Behave as promised by the docstring.
1896 Assume that arg default is a list of faces.
1897 (describe-face): Call read-face-name with list of default faces.
1898
1899 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1900
1901 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1902 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1903 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1904 the header.
1905 (bookmark-exit-hook-internal): Save even if list is empty.
1906
1907 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1908
1909 * emacs-lisp/package.el (package-pinned-packages): New var.
1910 (package--add-to-archive-contents): Obey it (bug#14118).
1911
1912 2013-04-03 Alan Mackenzie <acm@muc.de>
1913
1914 Handle `parse-partial-sexp' landing inside a comment opener
1915 (Bug#13244). Also adapt to the new values of element 7 of a parse
1916 state.
1917
1918 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1919 parameter `not-in-delimiter'. Handle being inside comment opener.
1920 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1921 character in case we're typing a '*' after a '/'.
1922 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1923 instead by passing the parameter to c-state-pp-to-literal.
1924
1925 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1926 for elt. 7 of a parse state.
1927
1928 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1929
1930 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1931 * international/latin1-disp.el, international/mule-util.el:
1932 * language/cyril-util.el, language/european.el, language/ind-util.el:
1933 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1934 * language/tibetan.el, language/viet-util.el:
1935 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1936
1937 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1940 (electric-pair-post-self-insert-function): Use it.
1941 (electric-pair-default-inhibit): New function, extracted from
1942 electric-pair-post-self-insert-function.
1943
1944 2013-03-31 Roland Winkler <winkler@gnu.org>
1945
1946 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1947
1948 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1951
1952 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
1953
1954 Un-indent after "pass" and "return" statements (Bug#13888)
1955 * progmodes/python.el (python-indent-block-enders): New var.
1956 (python-indent-calculate-indentation): Use it.
1957
1958 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1959
1960 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1961 defun. Defining it as defalias could introduce too eager
1962 byte-compiler optimization. (Bug#14030)
1963
1964 2013-03-30 Chong Yidong <cyd@gnu.org>
1965
1966 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1967
1968 2013-03-30 Leo Liu <sdl.web@gmail.com>
1969
1970 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1971 (kmacro-execute-from-register): Pass the keyboard macro to
1972 kmacro-call-macro or repeating won't work correctly.
1973
1974 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1975
1976 * progmodes/subword.el: Back to using `forward-symbol'.
1977
1978 * subr.el (forward-whitespace, forward-symbol)
1979 (forward-same-syntax): Move from thingatpt.el.
1980
1981 2013-03-29 Leo Liu <sdl.web@gmail.com>
1982
1983 * kmacro.el (kmacro-to-register): New command.
1984 (kmacro-execute-from-register): New function.
1985 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1986
1987 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1988
1989 * mpc.el: Use defvar-local and setq-local.
1990 (mpc--proc-connect): Connection failures are not bugs.
1991 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1992 (mpc-volume-map): Bind to the up-events.
1993
1994 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1995
1996 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1997 instead of `forward-symbol'.
1998
1999 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
2002 (edebug--recursive-edit): Use it.
2003 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
2004 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
2005
2006 2013-03-28 Leo Liu <sdl.web@gmail.com>
2007
2008 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
2009
2010 2013-03-27 Eli Zaretskii <eliz@gnu.org>
2011
2012 * facemenu.el (list-colors-callback): New defvar.
2013 (list-colors-redisplay): New function.
2014 (list-colors-display): Install list-colors-redisplay as the
2015 revert-buffer-function. (Bug#14063)
2016
2017 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2018
2019 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
2020 and suffixes don't overlap (bug#14061).
2021
2022 * case-table.el: Use lexical-binding.
2023 (case-table-get-table): New function.
2024 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
2025
2026 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
2027
2028 * progmodes/subword.el: Add `superword-mode' to do word motion
2029 over symbol_words (parallels and leverages `subword-mode' which
2030 does word motion inside MixedCaseWords).
2031
2032 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
2033
2034 * eshell/em-unix.el: Move su and sudo to...
2035 * eshell/em-tramp.el: ...Eshell tramp module.
2036
2037 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2038
2039 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2040 Change return value to be a sexp. Delay `get-buffer' to after
2041 restoring the desktop (bug#13951).
2042
2043 2013-03-26 Leo Liu <sdl.web@gmail.com>
2044
2045 * register.el: Move semantic tag handling back to
2046 cedet/semantic/senator.el. (Bug#14052)
2047
2048 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2049
2050 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2051 into the prompt either (bug#13963).
2052
2053 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2054
2055 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2056 part of "(error-foo)".
2057
2058 2013-03-24 Juri Linkov <juri@jurta.org>
2059
2060 * replace.el (list-matching-lines-prefix-face): New defcustom.
2061 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2062 `occur-engine' if `face-differs-from-default-p' returns t.
2063 (occur-engine): Add `,' inside backquote construct to evaluate
2064 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2065 Pass `prefix-face' to the functions `occur-context-lines' and
2066 `occur-engine-add-prefix'.
2067 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2068 `prefix-face' and propertize the prefix with `prefix-face'.
2069 (Bug#14017)
2070
2071 2013-03-24 Leo Liu <sdl.web@gmail.com>
2072
2073 * nxml/rng-valid.el (rng-validate-while-idle)
2074 (rng-validate-quick-while-idle): Guard against deleted buffer.
2075 (Bug#13999)
2076
2077 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2078 is the last entry in kill-buffer-hook.
2079
2080 * files.el (kill-buffer-hook): Doc fix.
2081
2082 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2083
2084 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2085 Make it safe-local.
2086
2087 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2088
2089 2013-03-23 Leo Liu <sdl.web@gmail.com>
2090
2091 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2092 Remove.
2093
2094 * nxml/rng-valid.el (rng-validate-mode)
2095 (rng-after-change-function, rng-do-some-validation):
2096 * nxml/rng-maint.el (rng-validate-buffer):
2097 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2098 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2099 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2100 (nxml-extend-after-change-region): Use with-silent-modifications.
2101
2102 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2103 timer-idle-list.
2104
2105 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2106 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2107 timer-idle-list. (Bug#13999)
2108
2109 2013-03-23 Juri Linkov <juri@jurta.org>
2110
2111 * info.el (info-index-match): New face.
2112 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2113 main pattern and add text properties with the new face to matches
2114 in index entries relative to the beginning of the index entry.
2115 (Bug#14015)
2116
2117 2013-03-21 Eric Ludlam <zappo@gnu.org>
2118
2119 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2120 Inhibit read only while inserting objects.
2121
2122 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2123
2124 * progmodes/cfengine.el: Update docs to mention
2125 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2126 symbol motion. Remove "_" from the word syntax.
2127
2128 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2129
2130 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2131 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2132
2133 2013-03-20 Juri Linkov <juri@jurta.org>
2134
2135 * info.el (Info-next-reference-or-link)
2136 (Info-prev-reference-or-link): New functions.
2137 (Info-next-reference, Info-prev-reference): Use them.
2138 (Info-try-follow-nearest-node): Handle footnote navigation.
2139 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2140
2141 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2144 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2145
2146 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2147
2148 Suppress unnecessary non-ASCII chatter during build process.
2149 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2150 (batch-skkdic-convert): Suppress most of the chatter.
2151 It's not needed so much now that machines are faster,
2152 and its non-ASCII component was confusing; see Dmitry Gutov in
2153 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2154
2155 2013-03-20 Leo Liu <sdl.web@gmail.com>
2156
2157 * ido.el (ido-chop): Fix bug#10994.
2158
2159 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2160
2161 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2162 Remove vars.
2163 (whitespace-color-on, whitespace-color-off):
2164 Use `font-lock-fontify-buffer' (Bug#13817).
2165
2166 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2167
2168 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2169 remapping in mode-line.
2170 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2171
2172 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2173
2174 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2175 value for `whitespace-line' face (Bug#13875).
2176 (whitespace-font-lock-keywords): Change description.
2177 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2178 the constructed keywords instead.
2179 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2180
2181 2013-03-19 Leo Liu <sdl.web@gmail.com>
2182
2183 * progmodes/compile.el (compilation-display-error): New command.
2184 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2185 C-o. (Bug#13992)
2186
2187 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2188
2189 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2190
2191 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2192
2193 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2194
2195 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2196
2197 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2198
2199 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2200 * net/tramp-gvfs.el (top):
2201 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2202 (tramp-handle-shell-command): Use it.
2203 (tramp-dissect-file-name): Raise an error when hostname is a
2204 method name, and neither method nor user is specified.
2205
2206 * net/trampver.el: Update release number.
2207
2208 2013-03-18 Leo Liu <sdl.web@gmail.com>
2209
2210 Make sure eldoc can be turned off properly.
2211 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2212 eldoc-mode.
2213 (eldoc-display-message-p): Revert last change.
2214 (eldoc-display-message-no-interference-p)
2215 (eldoc-print-current-symbol-info): Tweak.
2216
2217 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2218
2219 * doc-view.el (doc-view-new-window-function): Check the new window
2220 overlay's display property instead the char property of the
2221 buffer's first char. Use `with-selected-window' instead of
2222 `save-window-excursion' with `select-window'.
2223 (doc-view-document->bitmap): Check the current doc-view overlay's
2224 display property instead the char property of the buffer's first char.
2225
2226 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2227
2228 Automate the build of ja-dic.el (Bug#13984).
2229 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2230 from the input, rather than assume that it's been done for us by the
2231 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2232 the current date into a ja-dic.el comment, as that complicates
2233 regression testing.
2234
2235 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2236
2237 * whitespace.el: Fix double evaluation.
2238 (whitespace-space, whitespace-hspace, whitespace-tab)
2239 (whitespace-newline, whitespace-trailing, whitespace-line)
2240 (whitespace-space-before-tab, whitespace-indentation)
2241 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2242 obsolete defvars.
2243 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2244 (whitespace-color-on): Use a single font-lock-add-keywords call.
2245 Fix double-evaluation of face variables.
2246
2247 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2248
2249 * net/tramp-adb.el (tramp-adb-parse-device-names):
2250 Use `start-process' instead of `call-process'. Otherwise, the
2251 function might be blocked under MS Windows. (Bug#13299)
2252
2253 2013-03-17 Leo Liu <sdl.web@gmail.com>
2254
2255 Extend eldoc to display info in the mode-line. (Bug#13978)
2256 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2257 (eldoc-mode-line-string): New variable.
2258 (eldoc-minibuffer-message): New function.
2259 (eldoc-message-function): New variable.
2260 (eldoc-message): Use it.
2261 (eldoc-display-message-p)
2262 (eldoc-display-message-no-interference-p):
2263 Support eldoc-post-insert-mode.
2264
2265 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2266 (eval-expression): Run it.
2267
2268 2013-03-17 Roland Winkler <winkler@gnu.org>
2269
2270 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2271 strings in the list of return values.
2272
2273 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2274
2275 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2276 radix before checking for HMS forms.
2277
2278 2013-03-16 Leo Liu <sdl.web@gmail.com>
2279
2280 * progmodes/scheme.el: Add indentation and font-locking for λ.
2281 (Bug#13975)
2282
2283 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2286 token before point (bug#13942).
2287
2288 2013-03-16 Leo Liu <sdl.web@gmail.com>
2289
2290 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2291
2292 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2293
2294 * startup.el (command-line-normalize-file-name): Fix handling of
2295 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2296 <xfq.free@gmail.com> in
2297 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2298
2299 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2300
2301 Sync with Tramp 2.2.7.
2302
2303 * net/trampver.el: Update release number.
2304
2305 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2306
2307 * doc-view.el Fix bug#13887.
2308 (doc-view-insert-image): Don't modify overlay associated to
2309 non-live windows, and implement horizontal centering of image in
2310 case it's smaller than the window.
2311 (doc-view-new-window-function): Force redisplay of new windows on
2312 doc-view buffers.
2313
2314 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2315
2316 * saveplace.el (save-place-alist-to-file): Don't sort
2317 `save-place-alist', just pretty-print it (bug#13882).
2318
2319 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2320
2321 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2322 whether `default-file-name-coding-system' is bound. It isn't in
2323 XEmacs.
2324
2325 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2326
2327 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2328 backquotes for `obsolete' (bug#13929).
2329
2330 * international/mule.el (find-auto-coding): Include file name in
2331 obsolescence warning (bug#13922).
2332
2333 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2334
2335 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2336 for CFEngine 3-specific indentation.
2337 (cfengine3-indent-line): Use it. Fix up category regex.
2338 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2339
2340 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2341
2342 * type-break.el (type-break-file-name):
2343 * textmodes/remember.el (remember-data-file):
2344 * strokes.el (strokes-file):
2345 * shadowfile.el (shadow-initialize):
2346 * saveplace.el (save-place-file):
2347 * ps-bdf.el (bdf-cache-file):
2348 * progmodes/idlwave.el (idlwave-config-directory):
2349 * net/quickurl.el (quickurl-url-file):
2350 * international/kkc.el (kkc-init-file-name):
2351 * ido.el (ido-save-directory-list-file):
2352 * emulation/viper.el (viper-custom-file-name):
2353 * emulation/vip.el (vip-startup-file):
2354 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2355 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2356
2357 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2358
2359 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2360 * language/thai-word.el: Switch to UTF-8.
2361
2362 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2363
2364 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2365
2366 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2367
2368 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2369 Use with-current-buffer and don't move point.
2370 (net-utils-run-simple): Remove useless code.
2371 (net-utils-remove-ctl-m): Remove unused custom.
2372
2373 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2374
2375 * international/characters.el (glyphless-set-char-table-range): New fun.
2376 (update-glyphless-char-display): Use it (bug#13744).
2377
2378 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2379
2380 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2381 namespaces in the syntax, indent closer for hanging brace
2382 correctly, allow single-quote delimited 'strings', and make
2383 `cfengine3-mode' the default.
2384
2385 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2386
2387 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2388 Use lexical-binding. Fix up docstring according to conventions.
2389 (gdbmi-debug-mode): New var.
2390 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2391 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2392 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2393 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2394 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2395 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2396 (gdbmi-bnf-incomplete-record-result): New functions.
2397 (gdb-car<): Remove function.
2398 (gdbmi-record-list): Remove variable.
2399 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2400 (gdbmi-bnf-result-state-configs): New const.
2401 (gud-gdbmi-marker-filter): Rewrite.
2402 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2403 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2404 Add `token' argument.
2405 (gdb-done, gdb-error): New functions.
2406 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2407
2408 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 * term/xterm.el (xterm--report-background-handler): Don't burp
2411 upon timeout.
2412 (xterm--version-handler): Extract from terminal-init-xterm.
2413 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2414 Allow multiple handlers.
2415 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2416
2417 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2418 (xterm--report-background-handler, xterm--query): New functions.
2419 (terminal-init-xterm): Use them.
2420
2421 2013-03-11 Michael R. Mauger <michael@mauger.com>
2422
2423 * progmodes/sql.el Version 3.2
2424 Please note that my address changed to <michael@mauger.com>;
2425 the <mmaug@yahoo.com> address remains active.
2426 (sql-connection-alist): Updates documentation to fix bug#13715.
2427 (sql-connect): Handle missing `sql-connection-alist' correctly.
2428 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2429 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2430 property.
2431 (sql-default-value): New function.
2432 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2433 values were not used.
2434 (sql-rename-buffer): Make sure alternate buffer name has no text
2435 properties.
2436 (sql-input-sender, sql-execute-feature): Fetch variable with
2437 `buffer-local-value' rather than `with-current-buffer'.
2438 (sql-*): Use #' function syntax consistently.
2439 (sql-*): Use message/error/user-error consistently.
2440
2441 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * xt-mouse.el (xterm-mouse-event-read): Remove.
2444 (xterm-mouse--read-event-sequence-1000)
2445 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2446
2447 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2448
2449 * term/xterm.el (xterm-function-map): Support format used with
2450 formatOtherKeys=1 (bug#13839).
2451
2452 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2453 (with-no-warnings): Use `declare'.
2454
2455 * whitespace.el (whitespace-enable-predicate): New variable.
2456 (whitespace-enable-predicate): Use it.
2457
2458 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2459 (comint-output-filter, comint-update-fence):
2460 Use with-silent-modifications.
2461
2462 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2463
2464 * replace.el (occur-read-regexp-defaults-function): New var.
2465 (occur-read-regexp-defaults): New defun.
2466 (occur-read-primary-args): Propagate above change (bug#13892).
2467
2468 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2471
2472 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2473
2474 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2475
2476 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2477 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2478 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2479 New defconst.
2480 (tramp-gvfs-file-name-handler-alist) [directory-files]
2481 [directory-files-and-attributes, file-exists-p, file-modes]:
2482 Use Tramp default handler.
2483 [file-acl, file-selinux-context, process-file, set-file-acl]:
2484 [set-file-modes, set-file-selinux-context, shell-command]:
2485 [start-file-process]: Remove handler.
2486 [verify-visited-file-modtime]: New handler.
2487 (tramp-gvfs-dbus-string-to-byte-array)
2488 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2489 calls of `dbus-string-to-byte-array' and
2490 `tramp-gvfs-dbus-byte-array-to-string'.
2491 (tramp-gvfs-handle-copy-file)
2492 (tramp-gvfs-handle-delete-directory)
2493 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2494 (tramp-gvfs-handle-file-directory-p)
2495 (tramp-gvfs-handle-file-executable-p)
2496 (tramp-gvfs-handle-file-name-all-completions)
2497 (tramp-gvfs-handle-file-readable-p)
2498 (tramp-gvfs-handle-file-writable-p)
2499 (tramp-gvfs-handle-insert-directory)
2500 (tramp-gvfs-handle-insert-file-contents)
2501 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2502 (tramp-gvfs-handle-set-visited-file-modtime)
2503 (tramp-gvfs-handle-write-region): Rewrite.
2504 (tramp-gvfs-handle-file-acl)
2505 (tramp-gvfs-handle-file-selinux-context)
2506 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2507 (tramp-gvfs-handle-set-file-modes)
2508 (tramp-gvfs-handle-set-file-selinux-context)
2509 (tramp-gvfs-handle-shell-command)
2510 (tramp-gvfs-handle-start-file-process)
2511 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2512 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2513 over the symlinks. Fix user handling.
2514 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2515 of the D-Bus signals.
2516 (tramp-gvfs-connection-mounted-p): Handle different names of the
2517 D-Bus methods.
2518 (tramp-gvfs-mount-spec-entry): New defun.
2519 (tramp-gvfs-mount-spec): Use it.
2520 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2521 there is a share name. Handle different names of the D-Bus
2522 signals and methods. Set connection properties needed for
2523 `tramp-check-cached-permissions'.
2524 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2525 Return t or nil.
2526
2527 * net/tramp.el (tramp-backtrace): Move up.
2528 (tramp-error): Dump a backtrace into the debug buffer when
2529 `tramp-verbose > 9.
2530 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2531 (tramp-file-mode-permissions, tramp-get-local-uid)
2532 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2533 tramp-sh.el.
2534
2535 * net/tramp-sh.el (tramp-file-mode-type-map)
2536 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2537 (tramp-file-mode-permissions, tramp-get-local-uid)
2538 (tramp-get-local-gid): Move to tramp.el.
2539
2540 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2541
2542 Separate mouse-1-click-follows-link from mouse-drag-region.
2543 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2544 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2545 (mouse-drag-line, mouse-drag-track):
2546 Remove mouse-1-click-follows-link code.
2547 (mouse--remap-link-click-p): Remove.
2548
2549 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2550
2551 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2552 (hi-lock-read-regexp-defaults): New defun.
2553 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2554 (hi-lock-face-phrase-buffer): Propagate above change.
2555 Update docstring (bug#13892).
2556
2557 * subr.el (find-tag-default-as-regexp): New defun.
2558 * replace.el (read-regexp): Propagate above change.
2559
2560 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2561
2562 * calc/calc-units.el (calc-convert-units): Fix the way that default
2563 new units are stored.
2564
2565 2013-03-07 Matthias Meulien <orontee@gmail.com>
2566
2567 * bookmark.el: Define a face to highlight bookmark names in
2568 bookmark menu buffers, where the default is a bold face similarly
2569 to buffer names in buffer menu buffers.
2570 (bookmark-menu-bookmark): New face to highlight bookmark names.
2571 (bookmark-insert-location): Remove duplicated text property to
2572 conform to buffer list (see `list-buffers').
2573 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2574 `bookmark-menu-bookmark' to bookmark names.
2575
2576 2013-03-07 Matthias Meulien <orontee@gmail.com>
2577 Karl Fogel <kfogel@red-bean.com>
2578
2579 * bookmark.el: Display the bookmark list header similarly to the
2580 buffer list header (see `list-buffers'), where the default is now
2581 an immovable/immutable header line.
2582 (bookmark-bmenu-use-header-line): New variable.
2583 (bookmark-bmenu-inline-header-height): New name for
2584 `bookmark-bmenu-header-height', to avoid confusion with the code
2585 for the new immovable header. All references changed.
2586 (bookmark-bmenu-set-header): New function.
2587 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2588 Conditionalize header construction accordingly.
2589 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2590 the inline header height.
2591 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2592 Conditionalize the skipping of the inline header height.
2593
2594 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2595
2596 * progmodes/js.el (js--multi-line-declaration-indentation):
2597 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2598
2599 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2600
2601 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2602 Only propertize regexp when not inside a string (Bug#13885).
2603
2604 2013-03-06 Alan Mackenzie <acm@muc.de>
2605
2606 Correct the position of point in some line-up functions.
2607 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2608 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2609 point at column 0 rather than at a random place in the line.
2610
2611 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2612
2613 * net/tramp-compat.el (tramp-compat-delete-directory):
2614 Implement TRASH argument.
2615
2616 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2617
2618 Keep pre-existing highlighting in completion candidates (Bug#13250).
2619 * minibuffer.el (completions-first-difference): State that the
2620 face is "added" in the docstring.
2621 (completions-common-part): Same. And don't inherit from default.
2622 (completion-hilit-commonality): Prepend 'completions-common-part
2623 and 'completion-first-difference faces to the 'face property,
2624 instead of replacing the value(s).
2625 (completion--insert-strings): Same with 'completions-annotations face.
2626 (completion-hilit-commonality): Use 'face instead of
2627 'font-lock-face, because it gets priority if the completion
2628 strings already have 'face set.
2629
2630 2013-03-04 Alan Mackenzie <acm@muc.de>
2631
2632 Replace `last-command-event' by `last-command-char' in XEmacs.
2633 * progmodes/cc-defs.el (c-last-command-char): New macro.
2634 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2635 (c-semi&comma-no-newlines-before-nonblanks)
2636 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2637 in place of `last-command-event'.
2638 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2639 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2640 (c-electric-paren, c-electric-continued-statement): Use the new
2641 macro in place of `last-command-event'.
2642
2643 2013-03-04 Glenn Morris <rgm@gnu.org>
2644
2645 * files.el (inhibit-local-variables-regexps):
2646 Add .diff and .patch. (Bug#13862)
2647
2648 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2649
2650 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2651 whether the "su" command is available on the device.
2652
2653 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2656 (tramp-adb-handle-process-file): Remove superfluous setting.
2657 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2658 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2659 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2660
2661 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2662
2663 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2664 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2665 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2666 Use dict-key rather than dict-name for the error message.
2667
2668 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2669
2670 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2671 when reverting (bug#13831).
2672
2673 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2674
2675 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2676 Always expand affix-file before storing to protect against changed
2677 `default-directory'.
2678 (ispell-print-if-debug): Make sure message is printed at the end
2679 of the debug buffer.
2680
2681 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * net/tramp.el (tramp-obsolete-methods): New defconst.
2684 (tramp-warned-obsolete-methods): New defvar.
2685 (tramp-find-method): Check for obsolete methods. Map them to a
2686 replacement method if appropriate.
2687
2688 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2689 Remove methods.
2690 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2691 "ssh2" and "plink1".
2692
2693 2013-02-28 Dale Sedivec <dale@codefu.org>
2694
2695 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2696 Return valid syntax-table property value when converting
2697 quotes within text from string syntax to punctuation syntax (bug#13844).
2698
2699 2013-02-28 Juri Linkov <juri@jurta.org>
2700
2701 * dired-aux.el (dired-diff): If file at point is a backup file,
2702 use its original as the default value, and reverse the order
2703 of arguments to the `diff' call. Doc fix. (Bug#13772)
2704
2705 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2706
2707 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2708 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2709
2710 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2711
2712 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2713
2714 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2715 Ask hunspell about available and default dictionaries.
2716 (ispell-parse-hunspell-affix-file): Extract relevant info from
2717 hunspell affix file.
2718 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2719 `ispell-dictionary-alist' entry for given dictionary after info
2720 provided by `ispell-parse-hunspell-affix-file'.
2721 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2722 of parsed hunspell dicts and associated affix files.
2723 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2724 of parsed hunspell dicts and associated parameters.
2725 (ispell-set-spellchecker-params):
2726 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2727 previously done.
2728 (ispell-start-process):
2729 Call `ispell-hunspell-fill-dictionary-entry' for current
2730 dictionary if it is not initialized.
2731
2732 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2733
2734 * imenu.el: Comment nitpicks.
2735
2736 2013-02-28 Sam Steingold <sds@gnu.org>
2737
2738 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2739 See <http://stackoverflow.com/questions/14720205>.
2740
2741 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2742
2743 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2744 (net-utils-mode): Use it.
2745 (net-utils--revert-cmd): New var.
2746 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2747 (traceroute): Use net-utils-run-simple.
2748
2749 2013-02-28 Glenn Morris <rgm@gnu.org>
2750
2751 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2752
2753 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2754
2755 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2756 (doc-view-fallback-mode): Remove overlays here.
2757 (doc-view-toggle-display): Instead of here. Don't throw away
2758 image-mode-winprops-alist.
2759 (doc-view-goto-page): Don't mess with hscroll.
2760
2761 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2762
2763 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2764 &optional (bug#13819).
2765
2766 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * net/tramp-adb.el (tramp-adb-parse-device-names)
2769 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2770
2771 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2774 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2775 defined. POSIX environments fall back to the "C" locale then and
2776 emit a warning, which shall be suppressed.
2777
2778 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2779
2780 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2781 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2782
2783 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2786
2787 2013-02-25 Juri Linkov <juri@jurta.org>
2788
2789 * replace.el (read-regexp): Let-bind `default' to the first
2790 element of `defaults' if it's a list, otherwise it should be
2791 a string or nil. Let-bind `suggestions' to `defaults' if it's
2792 a list, otherwise make a list with the string value. Doc fix.
2793 (Bug#13805)
2794
2795 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2796
2797 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2798 that match "\`\.#", to avoid compiling lock files, even if they
2799 are readable (as they are on MS-Windows).
2800
2801 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2802
2803 * files.el (basic-save-buffer): Remove redundant directory-creation.
2804
2805 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2806
2807 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2808 Add option to force `pi' to remain symbolic.
2809 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2810 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2811 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2812 derivatives, when necessary.
2813
2814 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2815
2816 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2817 (ps-mode-octal-region): Use string-make-unibyte.
2818
2819 2013-02-23 Glenn Morris <rgm@gnu.org>
2820
2821 * emulation/viper-cmd.el (viper-submit-report):
2822 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2823 * progmodes/vera-mode.el (vera-mode-help-address):
2824 * textmodes/artist.el (artist-maintainer-address):
2825 * textmodes/reftex.el (reftex-report-bug):
2826 * vc/ediff-util.el (ediff-submit-report):
2827 Add bug-gnu-emacs to bug report address.
2828
2829 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2830 Remove bug report entries.
2831 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2832
2833 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2834 (byte-compile-file, byte-compile-from-buffer):
2835 Use separate input/output buffers for each level of recursive
2836 byte-compile-file calls. (Bug#13787)
2837
2838 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2839
2840 * net/tramp.el (tramp-methods): Fix docstring.
2841 (tramp-ssh-controlmaster-options): Rename it from
2842 `tramp-ssh-controlmaster-template'. Return a string.
2843 (tramp-default-method): Adapt check for
2844 `tramp-ssh-controlmaster-options'.
2845
2846 * net/tramp-sh.el (tramp-methods):
2847 Replace `tramp-ssh-controlmaster-template' by "%c".
2848 (tramp-do-copy-or-rename-file-out-of-band)
2849 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2850 that it is applied for the first hop only.
2851
2852 2013-02-22 Juri Linkov <juri@jurta.org>
2853
2854 * isearch.el (isearch-lazy-highlight-new-loop):
2855 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2856 to `isearch-other-end' if it is not nil. (Bug#13402)
2857
2858 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2859 to `match-beg'.
2860
2861 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2862 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2863 and `isearch-error' to nil.
2864
2865 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2866
2867 * progmodes/python.el (python-info-current-defun):
2868 Enhance match-data cluttering prevention.
2869
2870 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2871
2872 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2873
2874 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2875 Handle multibyte file names.
2876
2877 2013-02-22 Glenn Morris <rgm@gnu.org>
2878
2879 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2880 (sgml-transformation-function): Give it a :set function.
2881 (sgml-tag): Doc fix.
2882
2883 * cmuscheme.el (scheme-buffer):
2884 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2885 * progmodes/tcl.el (inferior-tcl-buffer):
2886 * textmodes/tex-mode.el (tex-command): Doc fixes.
2887
2888 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2889
2890 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2891
2892 2013-02-21 Bastien Guerry <bzg@gnu.org>
2893
2894 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2895
2896 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2897
2898 * progmodes/python.el (python-info-current-defun):
2899 Enhance match-data cluttering prevention.
2900
2901 2013-02-21 Glenn Morris <rgm@gnu.org>
2902
2903 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2904 loaded while outline-regexp is let bound. (Bug#9584)
2905
2906 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2907
2908 * progmodes/python.el (python-info-current-defun): Fix failed
2909 defun name retrieval because of unwanted match-data cluttering.
2910
2911 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2912
2913 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2914 defconst. Apply independent check for ControlPersist.
2915
2916 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2917 temporarily, via "env".
2918
2919 2013-02-21 Glenn Morris <rgm@gnu.org>
2920
2921 * info.el (Info-enable-edit): Remove.
2922 (Info-edit): Disable it rather than using Info-enable.
2923 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2924 (Info-cease-edit): Make editing of Info files obsolete.
2925
2926 * informat.el (Info-tagify):
2927 Handle buffers not visiting files. (Bug#13763)
2928
2929 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2930
2931 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2932
2933 2013-02-21 Glenn Morris <rgm@gnu.org>
2934
2935 * files.el (basic-save-buffer): Move check for existing parent
2936 directory after hooks. (Bug#13773)
2937
2938 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2939
2940 * simple.el (command-execute): Move from C. Add obsolete check.
2941 (extended-command-history): Move from C.
2942
2943 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2944
2945 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2946 (jka-compr-mode-alist-additions): Handle .txz suffix for
2947 XZ-compressed tar archives (bug#13770).
2948
2949 2013-02-20 Bastien Guerry <bzg@gnu.org>
2950
2951 * outline.el (outline-regexp, outline-heading-end-regexp):
2952 Make variables, not options (bug#13731).
2953
2954 2013-02-20 Glenn Morris <rgm@gnu.org>
2955
2956 * image.el (image-current-frame): Change from variable to function.
2957 (image-show-frame): Rename from image-nth-frame. Update callers.
2958 * image-mode.el (image-multi-frame): New variable.
2959 (image-mode-map, image-mode, image-goto-frame):
2960 Use image-multi-frame rather than image-current-frame.
2961 (image-mode, image-goto-frame): Use image-current-frame as
2962 function rather than as variable.
2963
2964 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2965 * emacs-lisp/cl-macs.el (cl--make-type-test)
2966 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2967
2968 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2969
2970 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2971 (tramp-get-file-property, tramp-set-file-property)
2972 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2973 (tramp-flush-file-property, tramp-flush-directory-property):
2974 Rename argument to KEY.
2975 (tramp-flush-connection-property): Simplify a little bit.
2976 (tramp-connection-property-p): New defun.
2977 (top): Reapply saved values only if there isn't a corresponding
2978 entry in `tramp-connection-properties'.
2979
2980 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2981
2982 * progmodes/python.el (python-indent-context):
2983 Fix python-info-line-ends-backslash-p call.
2984 (python-info-line-ends-backslash-p)
2985 (python-info-beginning-of-backslash): Respect line-number argument.
2986 (python-info-current-line-comment-p):
2987 Fix behavior when not at beginning-of-line.
2988 (python-util-position): Remove function.
2989 (python-util-goto-line): New function.
2990
2991 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2992
2993 * eshell/em-unix.el (eshell/su): Require tramp.
2994 (eshell/sudo): Require tramp. Remove now unnecessary check.
2995
2996 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2997 `tramp-current-connection' in order to avoid an error when several
2998 commands are invoked in a short time in eshell and friends.
2999
3000 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
3001
3002 Cleanup some of EIEIO's namespace.
3003 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
3004 Use it to define all the class-* and object-* field accessors (renamed
3005 to eieio--class-* and eieio--object-*). Update all uses.
3006 (eieio--class-num-slots, eieio--object-num-slots): Rename from
3007 class-num-slots and object-num-slots.
3008 (eieio--check-type): New macro.
3009 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
3010 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
3011 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
3012 (object-assoc-list-safe): Use it.
3013 (eieio-defclass): Tighten regexp.
3014 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
3015 Remove unreachable code.
3016 (object-class-fast): Declare obsolete.
3017 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
3018 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
3019 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
3020 Rename from class-name, object-name, object-set-name-string,
3021 object-class, object-class-name, class-parents, class-children,
3022 class-precedence-list, class-parent; with obsolete alias.
3023 (class-of, class-direct-superclasses, class-direct-subclasses):
3024 Declare obsolete.
3025 (eieio-defmethod): Use `memq'; remove unreachable code.
3026 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3027 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
3028 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
3029
3030 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
3031
3032 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
3033 commentary.
3034
3035 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
3036
3037 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
3038 Use font-lock-keyword-face for macros and special forms (bug#8345).
3039
3040 2013-02-17 Didier Verna <didier@didierverna.net>
3041
3042 * net/network-stream.el (network-stream-open-starttls):
3043 Check that response to the starttls-command is non-nil. (Bug#13706)
3044
3045 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3046
3047 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3048 Don't assume all identifier chars have syntax word.
3049 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3050 Remove bar-not-symbol. Adjust callers.
3051 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3052
3053 2013-02-17 Leo Liu <sdl.web@gmail.com>
3054
3055 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3056
3057 2013-02-17 Glenn Morris <rgm@gnu.org>
3058
3059 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3060
3061 * image-mode.el (image-mode-map): Add image-dired menu entry.
3062
3063 * image-dired.el (tumme): Make this alias obsolete.
3064
3065 2013-02-16 Glenn Morris <rgm@gnu.org>
3066
3067 * image.el (image-animated-types): Remove.
3068 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3069 (image-animated-p): Make obsolete alias.
3070 (image-animate, image-nth-frame, image-animate-timeout):
3071 Use image-multi-frame-p.
3072 (image-animate-timeout): If no delay, use image-default-frame-delay.
3073 * image-mode.el (image-mode, image-toggle-animation):
3074 Use image-multi-frame-p. (Bug#763, bug#10739)
3075 (image-mode): Adjust startup message for a multi-frame image.
3076
3077 * image-mode.el (image-mode-map): Give it a menu.
3078
3079 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3080
3081 * net/tramp-cache.el (tramp-connection-properties): New customer
3082 option.
3083 (tramp-get-connection-property): Use it.
3084
3085 * net/tramp-compat.el (top): Require 'trampver.
3086
3087 * net/tramp-sh.el (tramp-remote-process-environment):
3088 Set tramp-autoload cookie.
3089
3090 2013-02-16 Kevin Ryde <user42@zip.com.au>
3091
3092 * info-look.el (info-lookup-select-mode): If major-mode has no
3093 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3094
3095 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3096
3097 * replace.el (read-regexp): Tighten the regexp that matches tag.
3098 When tag is retrieved with `find-tag-default', use regexp that
3099 matches tag at point. Also update docstring (Bug#13687).
3100
3101 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3102
3103 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3104 add watch for the file, not its parent directory, since w32notify
3105 sets up the watch for the directory internally. (Bug#13725)
3106
3107 2013-02-16 Glenn Morris <rgm@gnu.org>
3108
3109 * image.el (image-default-frame-delay): New variable.
3110 (image-animated-p): Use image-default-frame-delay.
3111 (image-minimum-frame-delay): New constant.
3112 (image-animate-timeout): Use image-minimum-frame-delay.
3113
3114 * image.el (image-nth-frame): New, split from image-animate-timeout.
3115 (image-animate-timeout): Use image-nth-frame.
3116 * image-mode.el (image-goto-frame, image-next-frame)
3117 (image-previous-frame): New commands.
3118 (image-mode-map): Add new frame commands.
3119
3120 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3121
3122 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3123 If col-desc already has help-echo, use it. (Bug#13563)
3124
3125 2013-02-16 Glenn Morris <rgm@gnu.org>
3126
3127 * image.el (image-current-frame): New variable.
3128 (image-animate-timeout): Set image-current-frame.
3129 * image-mode.el (image-mode): For animated images,
3130 display a frame counter via mode-line-process.
3131
3132 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3133
3134 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3135
3136 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3137
3138 2013-02-15 Alan Mackenzie <acm@muc.de>
3139
3140 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3141 global minor mode has been enabled, call the minor mode function
3142 for a new buffer once only, after the major mode hook, whilst
3143 allowing that hook explicitly to disable the minor mode.
3144 (MODE-disable-in-buffer): New (generated) function.
3145 (disable-MODE): New (generated) buffer local variable.
3146
3147 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3148
3149 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3150 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3151 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3152 `ido-next-match' and `ido-prev-match' resply.
3153 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3154 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3155 `icomplete-backward-completions' (Bug#13708).
3156
3157 2013-02-15 Glenn Morris <rgm@gnu.org>
3158
3159 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3160
3161 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3164 (goto-address-fontify-region): Use them instead of narrowing, so
3165 syntax-ppss has access to the whole buffer.
3166
3167 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3168
3169 * progmodes/python.el: Explain how to restore "cc-mode"-like
3170 forward-sexp movement in header documentation (Bug#13642).
3171 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3172 comments and strings (GH bug 114).
3173
3174 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3175
3176 * progmodes/python.el (python-info-current-defun): Fix current
3177 defun detection (Bug#13618).
3178
3179 2013-02-15 Chong Yidong <cyd@gnu.org>
3180
3181 * xml.el (xml-parse-string): Fix typo in handling of bad character
3182 references.
3183
3184 2013-02-15 Glenn Morris <rgm@gnu.org>
3185
3186 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3187
3188 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3189
3190 * net/tramp.el (tramp-debug-message):
3191 Add `tramp-condition-case-unless-debug'.
3192 (tramp-debug-on-error): New defvar.
3193 (tramp-condition-case-unless-debug): New defun.
3194 (tramp-file-name-handler): Use it.
3195
3196 2013-02-14 Juri Linkov <juri@jurta.org>
3197
3198 * info.el (Info-isearch-filter): Treat non-nil values of
3199 `search-invisible' including its default value `open'
3200 like the value `t' to match hidden text. (Bug#13402)
3201
3202 2013-02-14 Glenn Morris <rgm@gnu.org>
3203
3204 * help-fns.el (find-lisp-object-file-name): Give special treatment
3205 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3206
3207 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3208
3209 * net/quickurl.el (quickurl-save-urls):
3210 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3211
3212 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3213
3214 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3215 depth for unfinished percent literal. Not using it in the caller.
3216 (ruby-move-to-block): Jump over multiline literals of all types,
3217 ignoring code-looking contents inside them.
3218 (ruby-add-log-current-method): Improve performance at the expense
3219 of accuracy. `ruby-block-contains-point' is relatively slow, so
3220 only use it for method and singleton class blocks.
3221
3222 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3223
3224 Use ControlMaster where applicable. (Bug#13677)
3225
3226 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3227 replacing `tramp-detect-ssh-controlmaster'.
3228 (tramp-default-method): Use it.
3229
3230 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3231 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3232 arguments.
3233 [scpc, rsyncc]: Remove methods.
3234 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3235 and "ssh2_old".
3236 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3237 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3238
3239 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3240
3241 * emacs-lisp/package.el (package--initialized): Move before first use.
3242
3243 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3244
3245 * icomplete.el (icomplete-hide-common-prefix): New user option.
3246 (icomplete-first-match): New face.
3247 (icomplete-completions): Correct handling of "complete but not
3248 unique" (Bug#12638).
3249
3250 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3251
3252 * descr-text.el (describe-char): Display the script (bug#13698).
3253
3254 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3255
3256 * tmm.el: Use lexical-binding and current-active-maps.
3257 (tmm-menubar): Use map-keymap and pcase.
3258 (tmm--completion-table): New function.
3259 (tmm-prompt): Use it to fix the menu order.
3260 (tmm-get-keybind): Use current-active-maps.
3261
3262 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3263
3264 Add dired-hide-details-mode. (Bug#6799)
3265
3266 * locate.el (locate-mode): Set parent mode property to dired-mode.
3267
3268 * find-dired.el (find-dired): Call dired-insert-set-properties on
3269 initial information line. Set process mark on end of buffer.
3270 (find-dired-sentinel):
3271 Call dired-insert-set-properties on summary.
3272
3273 * dired.el (dired-hide-details-hide-symlink-targets)
3274 (dired-hide-details-hide-information-lines): New options.
3275 (dired-insert-directory):
3276 Set properties after final treatment of output.
3277 (dired-insert-set-properties):
3278 Set dired-hide-details-* properties.
3279 (dired-mode-map): Bind dired-hide-details-mode.
3280 (dired-mode): Set buffer-invisibility-spec to a list.
3281 (dired-next-line): Skip hidden lines.
3282 (dired-previous-line): Use dired-next-line.
3283 (dired-hide-details-mode): New minor mode.
3284 (dired-hide-details-update-invisibility-spec): New function.
3285
3286 2013-02-13 Glenn Morris <rgm@gnu.org>
3287
3288 * play/yow.el: Move to obsolete/. (Bug#9384)
3289
3290 2013-02-13 Juri Linkov <juri@jurta.org>
3291
3292 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3293 to select `ediff-control-frame' and set input focus correctly on Xfce.
3294 (Bug#12218)
3295
3296 2013-02-13 Juri Linkov <juri@jurta.org>
3297
3298 * image-mode.el (image-mode-map):
3299 * doc-view.el (doc-view-mode-map):
3300 * vc/ediff-util.el (ediff-setup-keymap):
3301 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3302
3303 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3304
3305 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3306 performance. Instead of recalculating indentation fully for each
3307 line, sum up indentation depth based only on visited lines.
3308 (ruby-parse-partial): Increase the depth after "do" even when END
3309 is right after it.
3310 (ruby-parse-partial): When END is in the middle of a percent
3311 literal, increase the depth if the delimiter chars belong to the
3312 paren syntax class.
3313
3314 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3315
3316 * play/fortune.el (fortune-compile): Also make the compiled file
3317 if it does not exist at all, not just if it is old. (Bug#5338)
3318
3319 2013-02-13 Glenn Morris <rgm@gnu.org>
3320
3321 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3322
3323 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3324
3325 * lisp/emacs-lisp/package.el (package-menu-execute):
3326 Add optional noquery argument. (Bug#13625)
3327
3328 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3329
3330 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3331 if DIR exists and PARENTS is non-nil.
3332
3333 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3334
3335 * progmodes/js.el (js--multi-line-declaration-indentation):
3336 Silence byte-compiler warning.
3337
3338 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3339
3340 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3341
3342 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3343 only if it doesn't exist.
3344
3345 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3346 Set process marker.
3347
3348 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3349
3350 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3351 UserInstallation when calling soffice to work around LibreOffice
3352 bug 37531.
3353
3354 2013-02-12 Glenn Morris <rgm@gnu.org>
3355
3356 * files.el (basic-save-buffer):
3357 Offer to create a non-existing directory. (Bug#3016)
3358
3359 * calc/calc-graph.el (calc-graph-show-dumb):
3360 * calendar/calendar.el (calendar-mode-map):
3361 * cus-edit.el (custom-mode-map):
3362 * ehelp.el (electric-help-map):
3363 * emulation/vip.el (vip-mode-map):
3364 * epa.el (epa-key-list-mode-map):
3365 * info.el (Info-mode-map):
3366 * mail/rmail.el (rmail-mode-map):
3367 * mail/rmailsum.el (rmail-summary-mode-map):
3368 * man.el (Man-mode-map):
3369 * net/newst-plainview.el (newsticker-mode-map):
3370 * progmodes/cpp.el (cpp-edit-mode-map):
3371 * progmodes/grep.el (grep-mode-map):
3372 * progmodes/idlw-help.el (idlwave-help-mode-map):
3373 * simple.el (special-mode-map):
3374 * startup.el (splash-screen-keymap):
3375 * view.el (view-mode-map):
3376 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3377
3378 2013-02-11 Elias Pipping <pipping@lavabit.com>
3379
3380 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3381 (bug#13679).
3382
3383 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3384
3385 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3386
3387 2013-02-11 Glenn Morris <rgm@gnu.org>
3388
3389 * vc/diff.el (diff-use-labels): New variable.
3390 (diff-no-select): Use --label rather than -L, and first
3391 check that it is supported. (Bug#11067)
3392
3393 * files.el (enable-dir-local-variables): New variable.
3394 (hack-dir-local-variables): Respect enable-dir-local-variables.
3395 * tutorial.el (help-with-tutorial):
3396 Ignore directory-local variables. (Bug#11127)
3397
3398 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3399 (vc-svn-global-switches): ... to here. (Bug#13513)
3400
3401 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3402
3403 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3404 Handle "foo (bar, default: xxx): " prompts.
3405
3406 2013-02-10 Chong Yidong <cyd@gnu.org>
3407
3408 * files.el (basic-save-buffer-1): Do not set
3409 buffer-file-coding-system-explicit (Bug#4533).
3410
3411 * mail/emacsbug.el (report-emacs-bug): Change binding of
3412 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3413
3414 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3415
3416 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3417 * calc/calc-units.el (calc-convert-units): Use new variable.
3418
3419 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3420
3421 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3422
3423 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3424 buffer-file-type.
3425
3426 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3427 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3428 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3429 coding-system-for-write instead.
3430
3431 * jka-compr.el (jka-compr-write-region): Don't bind
3432 buffer-file-type.
3433
3434 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3435 buffer-file-type.
3436
3437 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3438 (insert-file-contents-literally): Remove reference to
3439 file-name-buffer-file-type-alist.
3440
3441 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3442 make-obsolete.
3443 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3444 (find-buffer-file-type-coding-system): Remove references to
3445 find-buffer-file-type-match, find-buffer-file-type, and
3446 buffer-file-type.
3447 Don't put find-buffer-file-type-coding-system into
3448 file-coding-system-alist.
3449 (find-file-binary, find-file-text): Bind coding-system-for-read
3450 instead of file-name-buffer-file-type-alist.
3451
3452 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3453
3454 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3455 converter (Bug#13622).
3456 (doc-view-unoconv-program): Make obsolete alias.
3457 (doc-view-odf->pdf-converter-program): New variable.
3458 (doc-view-odf->pdf-converter-function): New variable.
3459 (doc-view-mode-p): Use it.
3460 (doc-view-odf->pdf-converter-unoconv):
3461 Rename from `doc-view-odf->pdf-converter-unoconv'.
3462 (doc-view-odf->pdf-converter-soffice): New function.
3463 (doc-view-convert-current-doc):
3464 Use `doc-view-odf->pdf-converter-function'.
3465
3466 2013-02-09 Chong Yidong <cyd@gnu.org>
3467
3468 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3469 view-echo-area-messages (Bug#13340).
3470
3471 * help.el (view-echo-area-messages): Use display-buffer.
3472
3473 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3474 (Bug#13561).
3475
3476 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3477
3478 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3479 Eval body right away, now that we do eager macroexpansion (bug#13605).
3480
3481 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3482 (fundamental-mode): Use run-mode-hooks.
3483
3484 * eshell/esh-proc.el (eshell/kill): Fix last change.
3485 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3486
3487 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3488
3489 * eshell/esh-proc.el (eshell/kill): Rewrite.
3490
3491 * eshell/em-ls.el (show-almost-all): Declare.
3492 (eshell-do-ls): Add support for -A argument.
3493
3494 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3495
3496 * icomplete.el (icomplete-forward-completions)
3497 (icomplete-backward-completions): Handle corner case (bug#13602).
3498
3499 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3500
3501 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3502 be nil. Handle this. (Bug#13636)
3503
3504 2013-02-07 Richard Stallman <rms@gnu.org>
3505
3506 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3507 `save-buffer-coding-system'.
3508
3509 2013-02-07 Alan Mackenzie <acm@muc.de>
3510
3511 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3512 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3513 (c-parse-state-get-strategy): Don't return 'BOD any more.
3514 (c-append-lower-brace-pair-to-state-cache):
3515 Extra parameter HERE instead of narrowing.
3516 Widen to top of buffer before searching backwards for a brace pair.
3517 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3518 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3519 Narrow to parameter HERE, in place of being called narrowed.
3520 (c-remove-stale-state-cache): Extra parameter HERE in place of
3521 narrowing. Check there's an open brace in the cache before
3522 searching for its match.
3523 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3524 (c-parse-state-1): Don't narrow here for 'forward strategy,
3525 instead passing extra parameter HERE to several functions.
3526 Remove 'BOD strategy.
3527
3528 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3529
3530 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3531 used to install the package.
3532
3533 2013-02-06 Glenn Morris <rgm@gnu.org>
3534
3535 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3536 if we can't get user input. (Bug#6567)
3537
3538 * startup.el (command-line): If simple.el is missing,
3539 test and warn about for some possible causes.
3540
3541 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3542
3543 * cus-start.el (all): Add ns-use-native-fullscreen.
3544
3545 2013-02-05 Glenn Morris <rgm@gnu.org>
3546
3547 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3548
3549 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3550 Fix directory creation in fallback case.
3551
3552 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3553
3554 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3555 (vc-update-change-log): Use dolist.
3556
3557 2013-02-04 Chong Yidong <cyd@gnu.org>
3558
3559 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3560 code from ffap.el.
3561 (thing-at-point-beginning-of-url-regexp): New var.
3562 (thing-at-point-uri-schemes): Update list of URI schemes.
3563 (thing-at-point-url-regexp): Variable deleted.
3564 (thing-at-point-markedup-url-regexp): Disallow newlines.
3565 (thing-at-point-newsgroup-regexp)
3566 (thing-at-point-newsgroup-heads)
3567 (thing-at-point-default-mail-uri-scheme): New variables.
3568 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3569 method to find the possible bounds of the URI at point.
3570 New optional argument to find ill-formed URIs.
3571 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3572 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3573 the scheme-adding heuristics from ffap-url-at-point.
3574 (thing-at-point--bounds-of-well-formed-url): New function.
3575 Do parens matching to decide whether to include parens in the URI
3576 (Bug#9153).
3577
3578 * ffap.el: Require thingatpt.
3579 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3580 All URI-valid characters are now recognized (Bug#5673).
3581 (ffap-string-at-point): Use use-region-p.
3582 (ffap-url-regexp): Extra character is handled by thing-at-point.
3583 (ffap-string-at-point-mode-alist): Allow parentheses.
3584 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3585 Convert to aliases; code moved to thingatpt.el.
3586 (ffap-gnus-hook): Use setq-local.
3587
3588 2013-02-04 Glenn Morris <rgm@gnu.org>
3589
3590 * emacs-lisp/ert.el (ert--explain-format-atom):
3591 Don't try to print non-characters as characters. (Bug#13543)
3592
3593 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3594
3595 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3596 (tramp-backtrace): New defun.
3597 (tramp-handle-insert-file-contents): Use `visit' when inserting
3598 the local copy.
3599
3600 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3601 Use `remote-file-name-inhibit-cache'.
3602
3603 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3606 (bug#13614).
3607
3608 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3609 current-load-list (bug#13366).
3610
3611 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3612
3613 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3614 Identify g++ template instantiation trace. (Bug#12287)
3615 (compilation-mode-hook, compilation-start-hook)
3616 (compilation-window-height): Simplify docstrings. (Bug#13379)
3617
3618 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * mouse.el (mouse-drag-track): Always deactivate the mark before
3621 running the final event's command since that command is in charge of
3622 activating the mark if needed (bug#13523).
3623
3624 2013-02-02 Juri Linkov <juri@jurta.org>
3625
3626 * replace.el (perform-replace): Move let-bindings of isearch-*
3627 variables deeper to the loop that searches for the next match.
3628 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3629 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3630 (Bug#13579)
3631
3632 * isearch.el (isearch-search-fun-default): Check for null
3633 first element of isearch-cmds as a precaution when it's used
3634 with inactive isearch.
3635
3636 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3637
3638 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3639 error when buffer in question is narrowed so position 1 is out of
3640 visible part.
3641
3642 2013-02-02 Glenn Morris <rgm@gnu.org>
3643
3644 * textmodes/remember.el (remember-clipboard): Doc fix.
3645
3646 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3649 properties (bug#13179).
3650
3651 2013-02-02 Juri Linkov <juri@jurta.org>
3652
3653 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3654 instead of hard-coded default face `match'. (Bug#9438)
3655
3656 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3657
3658 * vc/vc-arch.el (vc-arch-registered):
3659 * vc/vc-bzr.el (vc-bzr-registered):
3660 * vc/vc-cvs.el (vc-cvs-registered):
3661 * vc/vc-git.el (vc-git-registered):
3662 * vc/vc-hg.el (vc-hg-registered):
3663 * vc/vc-mtn.el (vc-mtn-registered):
3664 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3665 (Bug#13139)
3666
3667 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3668 prefix argument. (Bug#11656)
3669
3670 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3671
3672 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3673
3674 2013-02-01 Glenn Morris <rgm@gnu.org>
3675
3676 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3677 if the backend is known not to support it.
3678
3679 * imenu.el (imenu-default-create-index-function):
3680 Tweak infinite loop test to check for forward motion as well as none.
3681
3682 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3683
3684 * net/soap-client.el (soap-invoke): Encode the string for
3685 `url-request-data' as UTF-8.
3686 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3687
3688 2013-02-01 Glenn Morris <rgm@gnu.org>
3689
3690 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3691
3692 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3693
3694 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * net/tramp.el (tramp-tramp-file-p): Comment check for
3697 `string-as-unibyte'. The function does not exist on XEmacs, and
3698 likely we need another approach.
3699
3700 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3701 `tramp-gw-*' variables are bound.
3702
3703 2013-01-31 Glenn Morris <rgm@gnu.org>
3704
3705 * files.el (basic-save-buffer-2): Choose coding system for
3706 writing the file before backing it up, to reduce delay between
3707 backing up and writing the new version. (Bug#13522)
3708
3709 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3710
3711 * simple.el (cycle-spacing): New command.
3712 (just-one-space): Use it.
3713
3714 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3717 (opascal-newline-always-indents): Remove custom.
3718 (opascal-tab, opascal-newline): Remove commands.
3719 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3720 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3721 (opascal-save-match-data): Remove, use save-match-data instead.
3722 (opascal-save-state): Use with-silent-modifications.
3723
3724 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3725 (bug#13585).
3726
3727 2013-01-30 Juri Linkov <juri@jurta.org>
3728
3729 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3730 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3731 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3732
3733 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3734
3735 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3736 column if we're just deleting the backslashes.
3737 (makefile-fill-paragraph): Use eolp.
3738
3739 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3740
3741 * autorevert.el (auto-revert-use-notify): Fix docstring.
3742
3743 2013-01-30 Leo Liu <sdl.web@gmail.com>
3744
3745 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3746
3747 2013-01-30 Glenn Morris <rgm@gnu.org>
3748
3749 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3750 unread-command-events twice in some cases. This tries to implement
3751 the 2012-07-26 changes in a different way. (Bug#13560)
3752
3753 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3754
3755 * progmodes/python.el
3756 (python-pdbtrack-comint-output-filter-function): Enhancements on
3757 stacktrace detection. (thanks @gnovak)
3758
3759 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3760
3761 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3762 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3763 Use defvar-local.
3764 (jit-lock-register): Use setq-local.
3765
3766 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3767
3768 * calc-units.el (math-default-units-table): Remove initial value.
3769 (calc-convert-units): Treat expressions where all the units cancel as
3770 if they didn't have units.
3771
3772 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3773
3774 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3775 (tramp-completion-reread-directory-timeout): Fix type.
3776 (tramp-connection-min-time-diff): New defcustom.
3777
3778 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3779
3780 2013-01-30 Glenn Morris <rgm@gnu.org>
3781
3782 * imenu.el (imenu-default-create-index-function):
3783 Put back a version of the infinite loop test removed 2013-01-23.
3784
3785 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3786
3787 * progmodes/python.el (python-shell-parse-command):
3788 Find python-shell-interpreter with modified environment.
3789
3790 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3791
3792 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3793
3794 2013-01-29 Alan Mackenzie <acm@muc.de>
3795
3796 Amend to fontify /regexp/s in actions correctly.
3797 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3798 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3799 are no longer included.
3800 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3801 What used to be these variables without "-line" in the name.
3802 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3803 (c-awk-non-arith-op-bra-re): Now also matches {.
3804 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3805 "return", and "case".
3806 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3807 by /.
3808 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3809 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3810
3811 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3812
3813 * autorevert.el (auto-revert-use-notify):
3814 Use `custom-initialize-default' for initialization. (Bug#13583)
3815
3816 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3817
3818 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3819 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3820 in `tramp-file-name-handler'.
3821 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3822 compatibility.
3823 (tramp-compute-multi-hops): Check, whether
3824 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3825
3826 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3829 (bug#13297).
3830
3831 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3832
3833 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3834 checks made superfluous by the \_< operator.
3835 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3836 temporarily) broken indentation.
3837 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3838 Highlight nested constants, too. \_< broke that.
3839
3840 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3841
3842 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3843 instead of "\\b".
3844
3845 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3846
3847 * autorevert.el (auto-revert-handler): Notifications which result
3848 from a saved file shall not be taken into account. (Bug#13557)
3849
3850 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3851
3852 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3853 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3854 (lisp-mode): Pass t for it. (Bug#13556)
3855
3856 2013-01-25 Alan Mackenzie <acm@muc.de>
3857
3858 AWK Mode: Fix indentation bug at top level. Bug #12274.
3859
3860 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3861 just before CASE 5D.
3862
3863 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3864
3865 * net/socks.el (socks-nslookup-host): Use string-to-number.
3866
3867 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3868
3869 * autorevert.el (auto-revert-remote-files)
3870 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3871 (auto-revert-notify-enabled, auto-revert-use-notify)
3872 (auto-revert-notify-watch-descriptor-hash-list)
3873 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3874 (auto-revert-notify-event-descriptor)
3875 (auto-revert-notify-event-action)
3876 (auto-revert-notify-event-file-name): Doc fix.
3877 (global-auto-revert-mode): Reorder checks.
3878 (auto-revert-notify-rm-watch): Respect changed values of
3879 `auto-revert-notify-watch-descriptor-hash-list'.
3880 (auto-revert-notify-add-watch): Check for
3881 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3882 `inotify-add-watch'. Watch `default-directory' instead of
3883 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3884 has a changed meaning now. (Bug#13540)
3885 (auto-revert-notify-handler): Change implementation wrt events
3886 returning from a directory.
3887 (auto-revert-handler): Reorder implementation for checks of remote
3888 files.
3889 (auto-revert-buffers): Fix parentheses error.
3890
3891 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3892
3893 * progmodes/python.el: Enhancements to header documentation about
3894 skeletons. (Bug#5716)
3895
3896 * imenu.el (imenu-default-create-index-function): Remove useless
3897 infinite loop check. (Bug#13438)
3898
3899 2013-01-25 Alan Mackenzie <acm@muc.de>
3900
3901 Fix a bug in the state cache mechanism. Refactor this a bit.
3902
3903 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3904 `cache-pos' element from the return value.
3905 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3906 buffer to enable proper searching from beyond HERE. Amend the
3907 test for detecting the sought brace pair. Amend the value written
3908 to the "brace desert cache" when the brace isn't found.
3909 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3910 and several other variables analogously.
3911 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3912 parameter to a locally calculated variable.
3913 (c-parse-state-1): Change the calling conventions to the two
3914 defuns involving `cache-pos'.
3915
3916 2013-01-25 Chong Yidong <cyd@gnu.org>
3917
3918 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3919
3920 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3921
3922 * paren.el (show-paren-function): Make sure to set 'priority and
3923 'face only if the overlay does exist.
3924
3925 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3926
3927 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3928
3929 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3930 basic attributes.
3931 (tramp-sh-handle-set-file-acl): Improve error checking.
3932
3933 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3934
3935 * doc-view.el (doc-view-display): Force mode line update until all
3936 document is converted. Suggested by Stefan Monnier (Bug#13164).
3937
3938 2013-01-23 Bastien Guerry <bzg@gnu.org>
3939
3940 * paren.el (show-paren-function): Make sure an overlay exists
3941 before trying to delete it. Also use `pos' as a position only
3942 when it is an integer.
3943
3944 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3945
3946 * play/gametree.el (gametree-break-line-here): Use point-marker.
3947
3948 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3949
3950 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3951 Mark descriptive parts with `display' property.
3952
3953 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3954
3955 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3956 New variable to map standard dict names to hunspell ones.
3957 (ispell-set-spellchecker-params): Make sure specific dict names
3958 are used for standard dicts with hunspell.
3959
3960 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3961
3962 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3963 chars for note (%N) and url (%U).
3964 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3965
3966 2013-01-21 Juri Linkov <juri@jurta.org>
3967
3968 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3969 in addition to existing separate binding `meta f10' in `global-map'.
3970 (Bug#13484)
3971
3972 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3973
3974 Improve XEmacs compatibility.
3975
3976 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3977
3978 * net/tramp-adb.el (top): Require `time-date'.
3979 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3980 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3981 Use `tramp-file-name-handler'.
3982 (tramp-adb-maybe-open-connection):
3983 Use `tramp-compat-set-process-query-on-exit-flag'.
3984
3985 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3986 Use `tramp-compat-funcall'.
3987
3988 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3989 `tramp-compat-funcall'.
3990
3991 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
3992
3993 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3994 reimplementation using "adb shell command ..." instead of running
3995 remote shell interactively.
3996
3997 2013-01-20 Glenn Morris <rgm@gnu.org>
3998
3999 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4000 Add native profiler menu entries.
4001
4002 * profiler.el (profiler-running-p): New function.
4003 (profiler-cpu-profile): Use profiler-running-p.
4004 (profiler-report-mode-map): Add some more menu entries.
4005
4006 2013-01-19 Glenn Morris <rgm@gnu.org>
4007
4008 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
4009 fixes 2012-12-07 change. (Bug#13499)
4010
4011 2013-01-19 Leo Liu <sdl.web@gmail.com>
4012
4013 * dired.el (dired-get-marked-files): Prune erroneous values due to
4014 last change. (Bug#13152)
4015
4016 2013-01-19 Glenn Morris <rgm@gnu.org>
4017
4018 * progmodes/etags.el (tags-table-check-computed-list):
4019 Preserve point in tags buffer. (Bug#13412)
4020
4021 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
4022
4023 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
4024 Chong Yidong <cyd@gnu.org>
4025
4026 * image-mode.el (image-next-file, image-previous-file):
4027 New commands (Bug#8453).
4028 (image-mode-map): Bind them to n and p.
4029 (image-mode--images-in-directory): New helper function.
4030
4031 2013-01-19 Chong Yidong <cyd@gnu.org>
4032
4033 * image-mode.el (image-mode-fit-frame): Add a frame argument.
4034 Suggested by Drew Adams (Bug#7730). Handle window decorations;
4035 save and restore the old window configuration.
4036
4037 2013-01-18 Leo Liu <sdl.web@gmail.com>
4038
4039 * progmodes/js.el: Tweak autoload cookie for alias.
4040
4041 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4042
4043 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4044 buffer local, again. This was lost with the fix on 2013-01-12.
4045
4046 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4047
4048 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4049 order to support several eshell buffers in parallel.
4050
4051 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4052
4053 * autorevert.el (auto-revert-use-notify): In the :set function, do
4054 not modify `kill-buffer-hook'.
4055 (auto-revert-notify-rm-watch):
4056 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4057 (auto-revert-notify-add-watch): Do not call
4058 `auto-revert-notify-rm-watch', but add it to a buffer local
4059 `kill-buffer-hook'.
4060
4061 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4064 call to `eval' rather than a backquoted lambda.
4065
4066 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4069 to return an explicit nil.
4070 (advice--remove-function): Change accordingly.
4071
4072 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4073 the use of nadvice.el.
4074
4075 * progmodes/which-func.el (which-function): Silence imenu errors
4076 (bug#13433).
4077
4078 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4079
4080 * progmodes/sql.el (sql-imenu-generic-expression):
4081 (sql-mode-font-lock-object-name): Match schema qualified names.
4082 (sql-connect): Use string keys.
4083 (sql-product-interactive): Wait for interpreter prompt.
4084 (sql-comint-oracle): Set process coding based on NLS_LANG.
4085
4086 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4087
4088 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4089 (sql-interactive-remove-continuation-prompt):
4090 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4091
4092 2013-01-14 Leo Liu <sdl.web@gmail.com>
4093
4094 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4095 (Bug#13420)
4096
4097 2013-01-14 Glenn Morris <rgm@gnu.org>
4098
4099 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4100 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4101
4102 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4103
4104 * progmodes/python.el (python-nav-end-of-statement):
4105 Fix cornercase when handling multiline strings.
4106
4107 2013-01-13 Richard Stallman <rms@gnu.org>
4108
4109 * mail/sendmail.el (mail-position-on-field): Add doc string.
4110
4111 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4112 Get current message boundaries and pass them to
4113 message-forward-make-body-mime. Minor style changes.
4114
4115 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4116
4117 * cus-start.el (all): Avoid warnings about
4118 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4119
4120 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4121
4122 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4123
4124 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4125
4126 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4127 (jit-lock--debug-fontifying): New var.
4128 (jit-lock--debug-fontify): New function.
4129 * subr.el (condition-case-unless-debug): Don't prevent catching the
4130 error, just let the debbugger run.
4131 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4132 timer code and don't drop errors silently.
4133
4134 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4135
4136 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4137 `permanent-local' property.
4138 (auto-revert-notify-handler): Use `file-equal-p'.
4139
4140 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4141
4142 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4143 file notification by ACTION. For filtering by file name, compare
4144 only the non-directory part of the file name.
4145
4146 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * autorevert.el: Use cl-lib instead of cl.
4149
4150 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4151 (vc-bzr-checkin): Use it.
4152 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4153 will preserve match-data.
4154
4155 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4156
4157 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4158 (js--declaration-keyword-re): New var.
4159 (js--multi-line-declaration-indentation): New function.
4160 (js--proper-indentation): Use it.
4161
4162 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4163
4164 * calc/calc.el (calc-highlight-selections-with-faces)
4165 (calc-dispatch):
4166 * comint.el (comint-history-isearch-message):
4167 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4168 * ffap.el (ffap-string-at-point-region, ffap-next)
4169 (ffap-string-at-point, ffap-string-around)
4170 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4171 (ffap-literally):
4172 * font-lock.el (font-lock-keywords-alist)
4173 (font-lock-removed-keywords-alist):
4174 * help-mode.el (help-xref-symbol-regexp):
4175 * info.el (Info-find-emacs-command-nodes):
4176 * international/mule.el (add-to-coding-system-list):
4177 * isearch.el (isearch-message-function, isearch-fail-pos):
4178 * misearch.el (multi-isearch-next-buffer-function):
4179 * newcomment.el (comment-box):
4180 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4181 (pr-setting-database):
4182 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4183 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4184 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4185 (pike-font-lock-keywords-3):
4186 * progmodes/compile.el (compile):
4187 * progmodes/etags.el (tags-table-files)
4188 (tags-table-files-function, tags-included-tables-function):
4189 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4190 (gdb-restore-windows):
4191 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4192 (ps-n-up-filling-database):
4193 * server.el (server-buffer, server-log):
4194 * simple.el (newline, delete-backward-char, delete-forward-char)
4195 (minibuffer-history-isearch-message, kill-line, track-eol)
4196 (temporary-goal-column):
4197 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4198 (flyspell-default-deplacement-commands):
4199 * textmodes/ispell.el (ispell-accept-output):
4200 * textmodes/sgml-mode.el (html-tag-help):
4201 * vc/compare-w.el (compare-ignore-whitespace)
4202 (compare-ignore-case, compare-windows-dehighlight):
4203 * vc/diff.el (diff):
4204 * whitespace.el (whitespace-point)
4205 (whitespace-font-lock-refontify, whitespace-bob-marker)
4206 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4207
4208 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4211 (auto-revert-notify-rm-watch): Ignore errors.
4212 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4213 inotify, and '(size last-write-time) for w32notify.
4214 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4215 watch fails - this is a fallback to the file modification check.
4216 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4217 (auto-revert-notify-event-action)
4218 (auto-revert-notify-event-file-name): New defuns.
4219 (auto-revert-notify-handler): Use them. Implement first
4220 plausibility checks.
4221 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4222
4223 2013-01-11 Julien Danjou <julien@danjou.info>
4224
4225 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4226 max are almost equal. Also return the correct value for V which is
4227 already between 0 and 1.
4228
4229 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4230
4231 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4232
4233 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4234
4235 * autorevert.el (auto-revert-notify-rm-watch)
4236 (auto-revert-notify-add-watch): Fix typos in w32notify function
4237 names.
4238
4239 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4240
4241 * autorevert.el (auto-revert-notify-enabled): Move up.
4242 (auto-revert-use-notify): New defcustom.
4243 (auto-revert-mode, global-auto-revert-mode)
4244 (auto-revert-notify-add-watch, auto-revert-handler)
4245 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4246 `auto-revert-notify-enabled'.
4247
4248 2013-01-10 Elias Pipping <pipping@exherbo.org>
4249
4250 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4251 * doc-view.el (doc-view-document->bitmap):
4252 Use doc-view-single-page-converter-function instead of
4253 single-page-converter arg; adjust callers.
4254
4255 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4256
4257 * progmodes/which-func.el (which-function): Understand Semantic's use
4258 of overlays in imenu--index-alist.
4259
4260 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4261
4262 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4263 (Man-man-k-use-anchor): New var.
4264 (Man-parse-man-k): New function.
4265 (Man-completion-table): Use it.
4266 (man): Flush the completion cache between uses.
4267
4268 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4269
4270 * autorevert.el: Add file watch support.
4271 (auto-revert-notify-enabled): New defconst.
4272 (auto-revert-notify-watch-descriptor-hash-list)
4273 (auto-revert-notify-watch-descriptor)
4274 (auto-revert-notify-modified-p): New defvars.
4275 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4276 (auto-revert-notify-handler): New defuns.
4277 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4278 when mode is disabled.
4279 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4280 (auto-revert-buffers): Add file watches for active buffers.
4281
4282 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4283
4284 * cus-start.el (toplevel): Only allow float values for
4285 scroll-up-aggressively and scroll-down-aggressively.
4286 Allow any number for line-spacing.
4287
4288 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4291 (doc-view-pdf->png-converter-function): Use mupdf if available.
4292 (doc-view-djvu->png-converter-function)
4293 (doc-view-ps->png-converter-function): Remove.
4294 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4295 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4296 (doc-view-already-converted-p): Adjust accordingly.
4297 (doc-view-mode-p): Simplify.
4298 (doc-view-enlarge): Use setq-local.
4299 (doc-view-pdf->png-converter-ghostscript)
4300 (doc-view-djvu->png-converter-ddjvu)
4301 (doc-view-pdf->png-converter-mupdf): Rework to call
4302 doc-view-start-process directly.
4303 (doc-view-pdf/ps->png): Simplify accordingly.
4304 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4305 (doc-view-document->bitmap): Rename from doc-view-document->png.
4306 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4307 (doc-view-set-slice-from-bounding-box): Fix completion table.
4308 (doc-view-mode): Use add-hook for after-revert-hook.
4309
4310 2013-01-10 Glenn Morris <rgm@gnu.org>
4311
4312 * emacs-lisp/authors.el (authors-ignored-files)
4313 (authors-valid-file-names, authors-renamed-files-alist):
4314 Add some more entries.
4315
4316 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4319 `t' pseudo-window entry.
4320
4321 2013-01-10 Alan Mackenzie <acm@muc.de>
4322
4323 Fix bugs in the c-parse-state mechanism. Reuse some markers
4324 instead of continually generating new ones.
4325
4326 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4327 (c-state-old-cpp-end-marker): New variables.
4328 (c-append-lower-brace-pair-to-state-cache): Start a backward
4329 search for "}" definitively outside CPP constructs.
4330 (c-remove-stale-state-cache): Inform the caller of a need to
4331 search back for a brace pair in certain circumstances.
4332 (c-state-maybe-marker): New macro.
4333 (c-parse-state): Reuse markers when appropriate.
4334
4335 2013-01-10 Glenn Morris <rgm@gnu.org>
4336
4337 * simple.el (execute-extended-command): Doc fix.
4338 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4339
4340 2013-01-10 Chong Yidong <cyd@gnu.org>
4341
4342 * faces.el (read-face-name): Doc fix.
4343
4344 2013-01-10 Roland Winkler <winkler@gnu.org>
4345
4346 * emacs-lisp/crm.el: Allow any regexp for separators.
4347 (crm-default-separator): All spaces around the default comma separator.
4348 (crm--completion-command): New macro.
4349 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4350 (crm-complete-and-exit): Handle non-single-char separators.
4351
4352 2013-01-09 Elias Pipping <pipping@lavabit.com>
4353
4354 * doc-view.el: Add support for DjVu (bug#13164).
4355 (doc-view-djvu->png-converter-function): New config var.
4356 (doc-view-single-page-converter-function, doc-view--image-type)
4357 (doc-view--image-file-extension): New vars.
4358 (doc-view-mode): Initialize them.
4359 (doc-view-goto-page): Use them.
4360 (doc-view-mode-p): Add support for ddjvu.
4361 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4362 (doc-view-set-up-single-converter): New funs.
4363 (doc-view-pdf/ps->png): Extend for djvu.
4364 (doc-view-document->png): Rename from doc-view-pdf->png.
4365 (doc-view-convert-current-doc): Handle djvu.
4366 (doc-view-insert-image, doc-view-display)
4367 (doc-view-already-converted-p): Don't hardcode png.
4368 (doc-view-set-doc-type): Recognize djvu docs.
4369
4370 2013-01-09 Elias Pipping <pipping@lavabit.com>
4371
4372 * doc-view.el: Add support for mupdf converter (bug#13164).
4373 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4374 (doc-view-ps->png-converter-function): New config vars.
4375 (doc-view-pdf->png-converter-ghostscript)
4376 (doc-view-ps->png-converter-ghostscript)
4377 (doc-view-pdf->png-converter-mupdf): New functions.
4378 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4379
4380 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4381
4382 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4383 first in session cache: When `tramp-own-remote-path' is in
4384 `tramp-remote-path', the remote path is only set in the session
4385 cache.
4386
4387 2013-01-09 Glenn Morris <rgm@gnu.org>
4388
4389 * emacs-lisp/trace.el (trace-function-foreground)
4390 (trace-function-background): Doc fix.
4391
4392 2013-01-09 Juri Linkov <juri@jurta.org>
4393
4394 * international/mule-cmds.el (read-char-by-name): Move let-binding
4395 of completion-ignore-case around completing-read to fix regression
4396 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4397 `string-match-p' using the nil value of `case-fold-search' and
4398 `completion-ignore-case' in `completion-pcm--all-completions'.
4399 (Bug#12615).
4400
4401 2013-01-09 Glenn Morris <rgm@gnu.org>
4402
4403 * progmodes/compile.el (compilation-parse-errors):
4404 Fix typo. (Bug#13369)
4405
4406 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4407
4408 * comint.el (comint-send-input): Check size of buffer before
4409 waiting for process output, in case already accepted. (Bug#13290)
4410
4411 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4412
4413 Spelling fixes.
4414 * net/tramp-adb.el (tramp-adb-get-toolbox):
4415 Fix misspelling of 'unknown'.
4416
4417 2013-01-08 Juri Linkov <juri@jurta.org>
4418
4419 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4420 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4421 Use underline style wave on terminals that support it. (Bug#13000)
4422
4423 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4424
4425 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4426 the predicate returns nil.
4427
4428 * simple.el: Use lexical-binding.
4429 (primitive-undo): Use pcase.
4430 (minibuffer-history-isearch-push-state): Use a closure.
4431
4432 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4433
4434 * simple.el (primitive-undo): Move from undo.c.
4435
4436 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4439 (cvs-mode-remove-handled): Use it (bug#13380).
4440
4441 * emacs-lisp/nadvice.el (advice--tweak): New function.
4442 (advice--remove-function, advice--subst-main): Use it.
4443
4444 * emacs-lisp/advice.el: Update commentary.
4445
4446 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4447
4448 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4449 Remove spurious entry.
4450
4451 2013-01-08 Glenn Morris <rgm@gnu.org>
4452
4453 * net/tramp.el (tramp-default-host-alist): Add :version.
4454
4455 2013-01-08 Juri Linkov <juri@jurta.org>
4456
4457 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4458 single completion. (Bug#12456)
4459 (info--manual-names): Expand node completions into an explicit list
4460 before appending it to another list. Filter out internal buffers
4461 with the leading space in the buffer name. (Bug#10771)
4462
4463 2013-01-08 Juri Linkov <juri@jurta.org>
4464
4465 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4466 that defaults to the Top node.
4467 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4468 the short format (FILENAME) goes to the Top node.
4469 (Info-build-node-completions): Rename arg `file' to `filename'.
4470 (Bug#13365)
4471
4472 2013-01-07 Bastien Guerry <bzg@gnu.org>
4473
4474 * menu-bar.el (menu-bar-search-documentation-menu):
4475 Use `apropos-user-option' and fix the help message.
4476
4477 2013-01-07 Bastien Guerry <bzg@gnu.org>
4478
4479 * apropos.el (apropos-do-all): Update docstring.
4480 (apropos-user-option-button): New face.
4481 (apropos-user-option): Rename from `apropos-variable' and update
4482 docstring.
4483 (apropos-variable): Rewrite, now show all variables by default.
4484 (apropos-print): Mention "User option" instead of "Variable" when
4485 printing doc for user options. (Bug#13276)
4486
4487 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4488
4489 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4490 Handle filename correctly, when parsing "source -> target" symlink
4491 output.
4492 (tramp-adb-handle-set-file-times): New defun.
4493
4494 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4495
4496 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4497 advice list when the interactive-spec of ad-Advice-* changes.
4498
4499 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4500
4501 * wid-edit.el (widget-default-get): Work for inlined elements.
4502 (Bug#12670)
4503
4504 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4505
4506 * net/tramp.el (tramp-default-host-alist): New defcustom.
4507 (tramp-find-host): Use it.
4508 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4509 `eshell-directory-change-hook'.
4510
4511 * net/tramp-adb.el (top): Add adb specific entry in
4512 `tramp-default-host-alist'.
4513 (tramp-adb-file-name-host): Remove function.
4514 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4515 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4516
4517 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4518
4519 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4520
4521 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4522
4523 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4524
4525 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4526 consist of more than one digit.
4527 (tramp-adb-file-name-handler-alist):
4528 Use `tramp-handle-file-exists-p' consistently.
4529 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4530 (tramp-adb-handle-file-exists-p): Remove function.
4531 (tramp-adb-file-name-host): New defun.
4532 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4533 Use it.
4534 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4535
4536 2013-01-06 Chong Yidong <cyd@gnu.org>
4537
4538 * vc/vc.el (vc-next-action): Detect buffer modifications
4539 conflicting with locking VCS operation (Bug#11490).
4540
4541 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4542
4543 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4544
4545 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4546 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4547
4548 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4549
4550 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4551 parsing of ls output using regular expression (handle filenames
4552 with spaces). Use virtual device number.
4553 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4554 cleanup).
4555
4556 2013-01-04 Daiki Ueno <ueno@gnu.org>
4557
4558 * epg.el: Silence byte-compiler warnings.
4559 (epg--start): Use delete-char instead of delete-backward-char.
4560 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4561
4562 2013-01-04 Daiki Ueno <ueno@gnu.org>
4563
4564 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4565 Suggested by Eli Zaretskii <eliz@gnu.org>.
4566
4567 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4568
4569 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4570 non-negative integers. Otherwise, the default values are used.
4571 (tramp-convert-file-attributes): Convert uid and gid to integers.
4572
4573 2013-01-04 Glenn Morris <rgm@gnu.org>
4574
4575 * term.el (term-handle-colors-array): Ensure face attributes
4576 are fully specified, not nil. (Bug#13337)
4577
4578 * term.el (term-default-fg-color, term-default-bg-color):
4579 Fix custom type.
4580
4581 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4582 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4583 rather than 'jka-compr being loaded. (Bug#13338)
4584
4585 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4586
4587 * icomplete.el (icomplete-completions):
4588 Honor icomplete-prospects-height once more following
4589 2012-11-29 changes. (Bug#13224)
4590
4591 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4594 of called-interactively-p as well (bug#13237).
4595
4596 * view.el (view--enable, view--disable): Rename from view-mode-enable
4597 and view-mode-disable and assume it's called from view-mode.
4598 (view-mode-enable, view-mode-disable): Redefine as obsolete
4599 compatibility layer above view-mode.
4600 (view-mode-enter): Call `view-mode'.
4601
4602 * files.el (after-find-file): Call `view-mode'.
4603
4604 * doc-view.el (doc-view-scale-internally): New var.
4605 (doc-view-enlarge, doc-view-insert-image): Obey it.
4606
4607 2013-01-03 Daiki Ueno <ueno@gnu.org>
4608
4609 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4610 exist. (Bug#13344)
4611
4612 2013-01-03 Glenn Morris <rgm@gnu.org>
4613
4614 * mail/rmail.el (rmail-set-header-1): Ignore case.
4615 Handle multi-line headers. (Bug#13330)
4616
4617 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4618 Handle paragraph starting at beginning of buffer.
4619
4620 * subr.el (eval-after-load): Don't purecopy the form, so that it
4621 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4622
4623 * emacs-lisp/byte-run.el (defun): Place cl declarations
4624 after any interactive spec. (Bug#13265)
4625
4626 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4627
4628 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4629 defun. Don't check for DECL if DOCSTRING isn't a string.
4630 (defun): Likewise.
4631
4632 2013-01-02 Glenn Morris <rgm@gnu.org>
4633
4634 * eshell/em-cmpl.el (eshell-pcomplete):
4635 More thoroughly imitate pcomplete. (Bug#13293)
4636
4637 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4638 Return nil for empty path elements. (Bug#13296)
4639
4640 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4641
4642 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4643 order to improve efficiency (Based on Daniel Colascione's
4644 <dancol@dancol.org> patch). (Bug#13182)
4645
4646 2013-01-02 Glenn Morris <rgm@gnu.org>
4647
4648 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4649
4650 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4651
4652 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4653 neither DOCSTRING nor DECL was given. (Bug#13316)
4654
4655 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4656
4657 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4658 `error' call.
4659 (tramp-do-copy-or-rename-file): Ignore errors when calling
4660 `set-file-extended-attributes'.
4661
4662 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4663 Add handler for `file-acl'.
4664 (tramp-smb-handle-file-acl): New defun.
4665
4666 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4667
4668 * calc/README: Mention ISO 8601 week-numbering dates.
4669
4670 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4671
4672 * view.el (view-mode-enable): New argument run-view-mode-hook.
4673 Run view-mode-hook only when it's non-nil (Bug#13315).
4674 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4675 argument t.
4676
4677 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4678
4679 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4680 (No device connected, invalid device name). (Bug #13299)
4681
4682 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4683
4684 * window.el (window-resizable--p): Rename to window-resizable-p.
4685 (window-resize-no-error): New function.
4686
4687 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4688 broken in fix from 2012-12-28.
4689
4690 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4691
4692 * subr.el (special-form-p): Don't signal errors on undef aliases.
4693
4694 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4695
4696 * calc/calc-forms.el (math-parse-date): Try using
4697 `math-parse-iso-date' when it looks like it might be needed.
4698 Allow times of 24:00.
4699 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4700 of 24:00.
4701
4702 2012-12-30 Glenn Morris <rgm@gnu.org>
4703
4704 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4705 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4706 (rmail-summary-displayed, rmail-summary): Declare.
4707 (mairix-rmail-display): Just require rmail.
4708
4709 2012-12-30 Chong Yidong <cyd@gnu.org>
4710
4711 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4712 check for the tarball contents.
4713
4714 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4715
4716 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4717 tarfile content listings (Bug#13136).
4718
4719 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4720
4721 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4722 Insert the undecoded text of the message being forwarded. (Bug#9521)
4723
4724 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4725
4726 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4727 integers, if they are real numbers. (Bug#13282)
4728
4729 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4730 Return `t' on success.
4731
4732 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4733 Add handler for `set-file-selinux-context'.
4734
4735 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4738 (tramp-sh-handle-set-file-acl): Return `t' on success.
4739
4740 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4741
4742 * files.el (backup-buffer-copy, basic-save-buffer-2):
4743 If set-file-extended-attributes fails, fall back on set-file-modes
4744 instead of signaling an error. (Bug#13298)
4745 (basic-save-buffer): Likewise.
4746
4747 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4748
4749 * progmodes/python.el: Support other commands triggering
4750 python-indent-line so indentation cycling continues to work.
4751 (python-indent-trigger-commands): New defcustom.
4752 (python-indent-line): Use it.
4753
4754 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4755
4756 * progmodes/python.el (python-shell-send-region): Add blank lines
4757 for non sent code so backtraces remain correct.
4758
4759 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4760
4761 * progmodes/python.el: Remove cl dependency.
4762 (python-syntax-count-quotes): Replace incf call.
4763 (python-fill-string): Replace setf call.
4764
4765 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4766
4767 * info.el (info-other-window): New arg, for consistency with info.
4768
4769 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4770
4771 * mail/rmail.el (rmail-maybe-display-summary):
4772 Rewrite (Bug#13066).
4773
4774 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4775
4776 * epg.el (epg--start): Modify process-environment locally.
4777
4778 2012-12-28 Daiki Ueno <ueno@gnu.org>
4779
4780 * epg.el: Support pinentry-curses.
4781 Suggested by Werner Koch in
4782 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4783 (epg-agent-file, epg-agent-mtime): New variable.
4784 (epg--start): Record the modified time of gpg-agent socket file,
4785 to restore Emacs frame after pinentry-curses termination.
4786 (epg-wait-for-completion): Restore Emacs frame here.
4787
4788 2012-12-27 Juri Linkov <juri@jurta.org>
4789
4790 * info.el (Info-file-completions): New variable.
4791 (Info-read-node-name-1): Complete node names in the Info file
4792 when a file name is given. Call `Info-build-node-completions'
4793 with a file name.
4794 (Info-build-node-completions): Add new arg `file'. When it is
4795 non-nil, visit it in a temporary buffer and cache its completions in
4796 `Info-current-file-completions'. Move most of the function body to
4797 `Info-build-node-completions-1'.
4798 (Info-build-node-completions-1): New function with the body from
4799 `Info-build-node-completions'. (Bug#12456)
4800
4801 2012-12-27 Juri Linkov <juri@jurta.org>
4802
4803 * frame.el (frame-maximization-style): Remove user option.
4804 (cycle-frame-maximized): Remove function.
4805 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4806 (toggle-frame-fullscreen): New command bound to <f11> instead of
4807 `toggle-frame-maximized'.
4808 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4809
4810 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4811
4812 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4813
4814 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4815 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4816 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4817 for `file-accessible-directory-p'. (Bug#13275)
4818
4819 2012-12-27 Sam Steingold <sds@gnu.org>
4820
4821 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4822 continuations, see <http://stackoverflow.com/questions/3582436>.
4823
4824 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4825
4826 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4827 "module" and "def" to have indentation before them.
4828 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4829
4830 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4831
4832 2012-12-27 Alan Mackenzie <acm@muc.de>
4833
4834 Speed up fontification where there's large brace blocks.
4835 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4836 to a call of c-beginning-of-decl-1.
4837
4838 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4839
4840 * comint.el (comint-adjust-window-point): New function.
4841 (comint-postoutput-scroll-to-bottom):
4842 Call comint-adjust-window-point (Bug#13248).
4843
4844 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4845
4846 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4847 Rakefile regexp.
4848 (auto-mode-alist): Associate .gemspec files with ruby-mode
4849 (https://bugs.ruby-lang.org/issues/5453).
4850
4851 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4852
4853 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4854 Suppress coloring, if possible (required for BusyBox based systems like
4855 CyanogenMod).
4856 (tramp-adb-handle-file-attributes)
4857 (tramp-adb-handle-insert-directory)
4858 (tramp-adb-handle-file-name-all-completions): Use it.
4859 (tramp-adb-get-toolbox): New defun. Check for remote shell
4860 implementation (BusyBox or Toolbox).
4861
4862 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4863
4864 * startup.el (initial-buffer-choice): Allow function as value
4865 (Bug#13251).
4866 (command-line-1): Handle case where initial-buffer-choice
4867 specifies a function.
4868 * server.el (server-execute): Handle case where
4869 initial-buffer-choice specifies a function.
4870
4871 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4872
4873 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4874 its own function.
4875 (smtpmail-try-auth-methods): Forget the user name/password if the
4876 login is unsuccessful (bug#12424).
4877
4878 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4879
4880 * notifications.el (notifications-notify): Protect body with
4881 `with-demoted-errors'.
4882
4883 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4884 Check properties of remote device. Restart connection, if there is a
4885 change.
4886
4887 2012-12-21 Chong Yidong <cyd@gnu.org>
4888
4889 * sort.el (sort-subr): Doc fix (Bug#13056).
4890
4891 2012-12-21 Bastien Guerry <bzg@gnu.org>
4892
4893 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4894
4895 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4896
4897 * simple.el (process-file): Overwrite stderr file, if exists.
4898
4899 2012-12-21 Daiki Ueno <ueno@gnu.org>
4900
4901 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4902 (epg-error): Set `error-message' property.
4903
4904 2012-12-21 Chong Yidong <cyd@gnu.org>
4905
4906 * international/mule-cmds.el (read-char-by-name): Signal an error
4907 if the user does not supply a valid character (Bug#13177).
4908
4909 * simple.el (transpose-subr-1): Preserve marker positions by
4910 changing the insertion sequence (Bug#13122).
4911
4912 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4913
4914 * simple.el (kill-region): Deactivate mark even for empty regions
4915 (Bug#13169).
4916
4917 2012-12-21 Chong Yidong <cyd@gnu.org>
4918
4919 * help-fns.el (describe-variable): Make sure we get the right
4920 buffer name (Bug#13105). Suggested by Kelly Dean.
4921
4922 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4923
4924 * comint.el (comint-redirect-previous-input-string): New variable.
4925 (comint-redirect-setup, comint-redirect-cleanup)
4926 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4927 (comint-redirect-preoutput-filter): Fix verbose message.
4928
4929 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4930
4931 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4932 is too long for Tramp. See discussion in
4933 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4934
4935 * progmodes/compile.el (compilation-start): Remove line escape
4936 template.
4937
4938 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4939
4940 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4941 Adjust comment.
4942
4943 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4944
4945 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4946 following non-comment text (bug#13207).
4947 (lm-header-multiline): Continuation lines need to be indented more than
4948 the first line.
4949 (lm-homepage): New function.
4950 (lm-with-file): Don't be confused if narrowing is in effect.
4951
4952 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4955 very beginning of a hunk (e.g. killing the first line).
4956
4957 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4958
4959 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4960 and text properties from returned ACL string.
4961 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4962 for "setfacl" command.
4963
4964 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4965
4966 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4967 `tramp-cleanup-this-connection', when the process has died.
4968 (Bug#13151)
4969
4970 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4973
4974 2012-12-17 Kevin Ryde <user42@zip.com.au>
4975
4976 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4977
4978 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4979
4980 Add support for preserving ACL entries of files.
4981
4982 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4983 `set-file-acl' handlers.
4984
4985 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4986 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4987
4988 * net/tramp-compat.el (tramp-compat-copy-file):
4989 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4990
4991 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4992 Add `file-acl' and `set-file-acl' handlers.
4993 (tramp-gvfs-handle-copy-file):
4994 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4995 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4996 New defuns.
4997
4998 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4999 Add `file-acl' and `set-file-acl' handlers.
5000 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
5001 (tramp-sh-handle-set-file-acl): New defuns.
5002 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
5003 Handle PRESERVE-EXTENDED-ATTRIBUTES.
5004
5005 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5006 Add `file-acl' and `set-file-acl' handlers.
5007 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
5008
5009 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5010
5011 * help-macro.el (make-help-screen): Instead of switch-to-buffer
5012 use pop-to-buffer with NORECORD argument t. As buffer name, use
5013 *Metahelp* with a leading space (Bug#13190).
5014
5015 2012-12-16 Romain Francoise <romain@orebokech.com>
5016
5017 * files.el (file-extended-attributes)
5018 (set-file-extended-attributes): New functions.
5019 (backup-buffer): Use them to handle both SELinux context and ACL
5020 entries.
5021 (backup-buffer-copy): Work with an alist of extended attributes,
5022 rather than an SELinux context.
5023 (basic-save-buffer-2): Ditto.
5024
5025 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
5026
5027 * battery.el (battery-bsd-apm): New function.
5028
5029 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
5030
5031 * calc/calc.el (calc-standard-date-formats): Adjust one of the
5032 standard date formats.
5033
5034 2012-12-15 Juri Linkov <juri@jurta.org>
5035
5036 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
5037 `isearch-insert-char-by-name'.
5038 (with-isearch-suspended): New defmacro with body mostly from
5039 `isearch-edit-string' except the part that sets
5040 `isearch-new-string' and `isearch-new-message'.
5041 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5042 body that sets `isearch-new-string' and `isearch-new-message'.
5043 (isearch-insert-char-by-name): New command.
5044 * international/mule-cmds.el (read-char-by-name): Let-bind
5045 `enable-recursive-minibuffers' to t.
5046 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5047
5048 2012-12-15 Juri Linkov <juri@jurta.org>
5049
5050 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5051 (Bug#13175)
5052
5053 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5054
5055 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5056 the prompt. (Bug#13045)
5057
5058 2012-12-14 Glenn Morris <rgm@gnu.org>
5059
5060 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5061 Try to include filename in non-bytecomp warning. (Bug#13132)
5062
5063 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5064
5065 Fix permissions bugs with setgid directories etc. (Bug#13125)
5066 * files.el (backup-buffer): Don't rely on 9th output of
5067 file-attributes, as it's now a placeholder. Instead, use the new
5068 optional arg of file-ownership-preserved-p.
5069 (file-ownership-preserved-p): New optional arg GROUP.
5070 Fix mishandling of setuid directories that would cause this
5071 function to return t when it should have returned nil.
5072 Document what happens if the file does not exist, and when
5073 it's not known whether the ownership will be preserved.
5074 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5075 Likewise.
5076 (tramp-get-local-gid): Use group-gid for integer, as that's
5077 faster and more reliable.
5078
5079 2012-12-14 Julien Danjou <julien@danjou.info>
5080
5081 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5082 Update keywords list, data type and PL/pgSQL.
5083
5084 2012-12-14 Dave Abrahams <dave@boostpro.com>
5085
5086 * vc/ediff-util.el (ediff-buffer-type): New function.
5087 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5088 rather than taking it as as argument.
5089 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5090
5091 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5092
5093 * json.el: Add pretty-print option (bug#12634).
5094 (json-encoding-separator, json-encoding-default-indentation)
5095 (json--encoding-current-indentation, json-encoding-pretty-print)
5096 (json-encoding-lisp-style-closings): New vars.
5097 (json--with-indentation): New macro.
5098 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5099 (json-encode-array): Use it to obey json-encoding-pretty-print.
5100 (json-pretty-print-buffer, json-pretty-print): New commands.
5101
5102 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5103
5104 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5105 Extract `ruby-syntax-propertize-expansions'.
5106 (ruby-syntax-propertize-expansions): Only change syntax on
5107 certain string delimiters, to punctuation. This way the common
5108 functions like forward-word and thing-at-point still work.
5109 (ruby-match-expression-expansion): Improve readability.
5110 (ruby-block-contains-point): New function.
5111 (ruby-add-log-current-method): Handle several edge cases.
5112
5113 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5114
5115 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5116 unload-feature finishes even when aborting an ongoing edebug session.
5117 Also, do not worry about edebug-mode, unload-feature takes care of it.
5118
5119 2012-12-13 Andreas Schwab <schwab@suse.de>
5120
5121 * net/tls.el (tls-program): Update customize type.
5122
5123 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5124
5125 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5126 (edebug-setup-hook, cl-read-load-hooks): Use it.
5127 (edebug-unload-function): New function. (Bug#13163)
5128
5129 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5130
5131 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5132 Otherwise, there could be errors in autoloading. (Bug#13151)
5133
5134 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5135
5136 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5137 sequences.
5138
5139 2012-12-13 Alan Mackenzie <acm@muc.de>
5140
5141 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5142 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5143 around `forward-comment' not recognizing ^M as whitespace.
5144
5145 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5146
5147 * progmodes/python.el (python-skeleton-class)
5148 (python-skeleton-def): Do not add space after defun name.
5149
5150 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5153 (cl--symbol-function): Remove (now that funbound is like nil).
5154
5155 2012-12-12 Glenn Morris <rgm@gnu.org>
5156
5157 * button.el (button--area-button-p): Fix typo.
5158
5159 2012-12-12 Sam Steingold <sds@gnu.org>
5160
5161 * frame.el (frame-maximization-style): New user option.
5162 (toggle-frame-maximized): Toggle frame maximization according to
5163 `frame-maximization-style', bound to <f11>.
5164 (cycle-frame-maximized): Cycle between all maximization styles and
5165 non-maximized frame, bound to shift-<f11>.
5166
5167 2012-12-12 David Cadé <codename68@gmail.com>
5168
5169 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5170
5171 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5172
5173 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5174 (eieio-override-prin1): Don't quote kewords and booleans.
5175 (object-write) <eieio-default-superclass>: Don't put closing parens
5176 on new line, avoid needless empty lines, align values that are objects
5177 with the slot keyword (instead of beginning on the same line).
5178 (eieio-list-prin1): Align value with slot keyword; increase
5179 eieio-print-depth before printing members of the list.
5180
5181 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5184 a display text-property.
5185 (report-emacs-bug-hook): Don't bother deleting it any more.
5186
5187 * hilit-chg.el (highlight-save-buffer-state): Delete.
5188 Use with-silent-modifications instead.
5189 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5190
5191 * button.el: Handle buttons in display text-properties.
5192 (button--area-button-p, button--area-button-string):
5193 Use (STRING . STRING-POS) representation instead of just STRING.
5194
5195 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5196
5197 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5198 subdirectory be skipped.
5199
5200 2012-12-11 Glenn Morris <rgm@gnu.org>
5201
5202 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5203
5204 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5205 Treat preprocessor lines embedded in continuations like comments.
5206 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5207
5208 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5209
5210 * calc/calc.el (calc-standard-date-formats): Add more date
5211 formats.
5212 * calc/calc-forms.el (math-parse-iso-date): New function.
5213 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5214 (math-parse-iso-date-validate): Add extra error checking.
5215 (calc-date-notation): Add ability to access new date formats.
5216
5217 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5218
5219 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5220 font-lock as well as when there's no text-property.
5221
5222 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5223
5224 * hi-lock.el: Refine the choice of default face.
5225 (hi-lock-keyword->face): New function. Use it wherever we used
5226 cadadadr instead.
5227 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5228 (hi-lock--last-face): Remove var.
5229 (hi-lock--unused-faces): New var to replace it.
5230 (hi-lock-read-face-name): Use/maintain it.
5231 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5232 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5233 if it has another face.
5234
5235 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5236
5237 * subr.el (w32notify-handle-event): New function.
5238 (inotify-handle-event): Doc fix.
5239
5240 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5241
5242 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5243
5244 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5245
5246 * simple.el (just-one-space): Doc fix.
5247
5248 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5249
5250 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5251
5252 2012-12-10 Le Wang <l26wang@gmail.com>
5253
5254 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5255 narrowed buffer (bug#12361).
5256
5257 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5258
5259 * vc/vc-hooks.el (vc-state): Doc fix.
5260
5261 2012-12-10 Glenn Morris <rgm@gnu.org>
5262
5263 * mail/rmail.el (rmail-maybe-display-summary):
5264 Preserve buffer, in case select-window changes it. (Bug#13066)
5265
5266 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5269 cl-load-hook where they belong.
5270
5271 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5274
5275 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5276
5277 Parallelize byte compilation on MS-Windows.
5278 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5279 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5280 (WINS_BASIC): Define as concatenation of the above.
5281 (compile): Subdivide into 4 separate and independent jobs that can
5282 be run in parallel.
5283 (compile0-CMD, compile0-SH): New targets for compiling
5284 COMPILE_FIRST files, which are prerequisites for the rest of the
5285 byte-compilation.
5286 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5287 New targets for parallel compilation with cmd.exe.
5288 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5289 compiling under a Unixy shell.
5290
5291 2012-12-09 Chong Yidong <cyd@gnu.org>
5292
5293 * simple.el (set-mark-default-inactive): Delete this
5294 accidentally-introduced option.
5295 (set-mark-command, exchange-point-and-mark): Remove calls.
5296
5297 2012-12-09 Glenn Morris <rgm@gnu.org>
5298
5299 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5300 Respect a defcustom's :set function, if appropriate. (Bug#109)
5301 (eval-defun): Doc fix.
5302
5303 2012-12-08 Juri Linkov <juri@jurta.org>
5304
5305 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5306 (Info-fontify-node, Info-bookmark-make-record): Remove the
5307 file extension from Info-current-file (Bug#13016).
5308
5309 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5312 point, still provide some default.
5313 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5314 names, since we don't use it right now. Actually return the list.
5315 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5316
5317 2012-12-07 Chong Yidong <cyd@gnu.org>
5318
5319 * novice.el (disabled-command-function): Remove a spurious help
5320 xref (Bug#13043). Suggested by Kelly Dean.
5321
5322 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5323 syntax is specified (Bug#13025).
5324
5325 * info.el (Info-set-mode-line): Remove the file extension from
5326 Info-current-file if there is one (Bug#13016).
5327
5328 2012-12-07 Glenn Morris <rgm@gnu.org>
5329
5330 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5331 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5332 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5333 and rmail-mime-decoded. (Bug#9841)
5334
5335 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5336 (batch-unrmail, unrmail): Doc fixes.
5337 (unrmail): Respect unrmail-mbox-format.
5338 * mail/rmail.el (rmail-mbox-format): New option.
5339 (rmail-show-message-1): Respect rmail-mbox-format.
5340
5341 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5342
5343 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5344
5345 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5346
5347 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5348 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5349 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5350 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5351 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5352 (cl-progv): Don't rely on dynamic scoping to find the body.
5353 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5354 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5355 (cl-declaim): Use backquotes.
5356 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5357 Use "cl--" prefix for the object's tag.
5358
5359 * ses.el: Use advice-add/remove.
5360 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5361 (copy-region-as-kill, yank): Use advice-add.
5362 (ses-unload-function): Use advice-remove.
5363
5364 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5365
5366 * button.el: Make them work in header-lines (bug#12817).
5367 (button-map): Add bindings for header-line and mode-line use.
5368 (button-get, button-put, button-label): `button' may now be a string.
5369 (button-activate): Don't make it a defsubst.
5370 (button--area-button-p, button--area-button-string): New functions.
5371 (make-text-button): Fix the return value when `beg' was a string.
5372 (push-button): Handle the mode-line case.
5373
5374 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5377 (sql-signum): Remove. Use `cl-signum' instead.
5378 (sql-read-passwd): Remove; use read-passwd instread.
5379 (sql-get-login-ext): Use read-string.
5380 (sql-get-login): Use dolist and pcase.
5381 (sql--completion-table): Rename from sql-try-completion.
5382 Use complete-with-action.
5383 (sql-mode): Don't change abbrev-all-caps globally.
5384 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5385 (sql-postgres-completion-object): Initialize vars in their `let'.
5386 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5387 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5388 (sql-comint-interbase): Use a single append, without setq.
5389 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5390
5391 * hi-lock.el: Rework the default face and the serialize regexp code.
5392 (hi-lock--auto-select-face-defaults): Remove.
5393 (hi-lock-string-serialize-serial): Remove.
5394 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5395 make weak.
5396 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5397 equal string.
5398 (hi-lock-set-pattern): Adjust accordingly.
5399 (hi-lock--regexps-at-point): Simplify accordingly.
5400 (hi-lock--auto-select-face-defaults): Remove.
5401 (hi-lock--last-face): New var to replace it.
5402 (hi-lock-read-face-name): Rewrite (bug#11095).
5403 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5404
5405 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5406
5407 * net/tramp.el (tramp-replace-environment-variables):
5408 Hide compiler warning.
5409 (tramp-file-name-for-operation): Remove `executable-find',
5410 `start-process', `call-process' and `call-process-region'.
5411
5412 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5413
5414 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5415 compatibility.
5416
5417 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5418
5419 2012-12-06 Chong Yidong <cyd@gnu.org>
5420
5421 * ffap.el (ffap-replace-file-component): Fix typo.
5422
5423 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5424
5425 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5426 fix open-paren-like token test (bug#12785).
5427
5428 2012-12-06 Glenn Morris <rgm@gnu.org>
5429
5430 * mail/rmailsum.el (rmail-new-summary): Tweak for
5431 rmail-maybe-display-summary changing buffer. (Bug#13066)
5432
5433 2012-12-06 Juri Linkov <juri@jurta.org>
5434
5435 * info.el (Info-fontify-node): Don't hide the last newline.
5436 (Bug#12272)
5437
5438 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5439
5440 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5441 so as to enable message-read-from-minibuffer to expand mail aliases.
5442
5443 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5446 the `intangible' property.
5447 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5448
5449 2012-12-05 Deniz Dogan <deniz@dogan.se>
5450
5451 * net/rcirc.el (rcirc-urls): Update documentation.
5452 (rcirc-condition-filter): New function.
5453 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5454 and exclude consecutive duplicate URLs (Bug#6082).
5455
5456 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5457
5458 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5459 Check return code of copy command.
5460
5461 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5462 Use group `tramp'. Add version.
5463
5464 2012-12-05 Chong Yidong <cyd@gnu.org>
5465
5466 * ffap.el (ffap-url-regexp): Don't require matching at front of
5467 string (Bug#4952).
5468 (ffap-url-p): If only a substring matches, return that.
5469 (ffap-url-at-point): Use the return value of ffap-url-p.
5470 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5471 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5472 (ffap-guess-file-name-at-point): Likewise.
5473 (ffap-replace-file-component): Fix typo.
5474
5475 * info.el (info-display-manual): Add existing Info buffers, whose
5476 files may not be in Info-directory-list, to the completion.
5477 (info--manual-names): New helper function.
5478
5479 2012-12-05 Glenn Morris <rgm@gnu.org>
5480
5481 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5482 New functions, for detecting and resolving conflicts. (Bug#10709)
5483
5484 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5485
5486 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5487 (hi-lock-auto-select-face-defaults): New buffer local variable.
5488 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5489 (hi-lock-unface-buffer): Prompt user with useful defaults.
5490 With prefix arg, unhighlight all hi-lock patterns in buffer.
5491
5492 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5495
5496 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5497
5498 * Makefile.in (TRAMP_SRC):
5499 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5500
5501 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5502
5503 * net/tramp-adb.el: New package.
5504
5505 2012-12-04 Chong Yidong <cyd@gnu.org>
5506
5507 * terminal.el: Move to obsolete/.
5508
5509 * longlines.el: Move to obsolete/.
5510
5511 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5512 Remove code referring to longlines mode.
5513
5514 2012-12-03 Juri Linkov <juri@jurta.org>
5515
5516 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5517
5518 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5519
5520 * textmodes/ispell.el (ispell-init-process)
5521 (ispell-start-process, ispell-internal-change-dictionary):
5522 Make sure personal dictionary name is expanded after initial
5523 `default-directory' value. Use expanded strings for
5524 keep/restart checks and for value (Bug#13019).
5525
5526 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5527
5528 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5529
5530 2012-12-03 Leo Liu <sdl.web@gmail.com>
5531
5532 * files.el (dir-locals-read-from-file): Check file non-empty
5533 before reading. (Bug#13038)
5534
5535 2012-12-03 Glenn Morris <rgm@gnu.org>
5536
5537 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5538 Remove any version extension before checking filename. (Bug#13006)
5539 (jka-compr-compression-info-list): Belated :version bump.
5540
5541 2012-12-03 Chong Yidong <cyd@gnu.org>
5542
5543 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5544
5545 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5546 (buffer-menu): Doc fix (Bug#12294).
5547
5548 2012-12-03 Roland Winkler <winkler@gnu.org>
5549
5550 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5551 of diary-show-all-entries in the diary buffer (Bug#12994).
5552
5553 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5554
5555 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5556 "<STDIN>". This is binary safe.
5557
5558 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5559
5560 * calc/calc-forms.el (math-absolute-from-iso-dt)
5561 (math-date-to-iso-dt, math-parse-iso-date-validate)
5562 (math-iso-dt-to-date): New functions.
5563 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5564 (math-fd-isoweekday): New variables.
5565 (calc-date-notation, math-parse-standard-date, math-format-date)
5566 (math-format-date-part): Add support for more formatting codes.
5567
5568 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5569
5570 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5571 current buffer's file name when called interactively (Bug#12488).
5572
5573 2012-12-02 Juri Linkov <juri@jurta.org>
5574
5575 * info.el (info-display-manual): Don't clobber an existing Info
5576 buffer (Bug#10770). Add completion (Bug#10771).
5577
5578 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5579
5580 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5581 before using it for comparison (Bug#5297).
5582
5583 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5584
5585 * textmodes/css-mode.el (css-current-defun-name): New function.
5586 (css-mode): Use it.
5587
5588 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5589 (html-mode): Use it.
5590
5591 2012-12-01 Chong Yidong <cyd@gnu.org>
5592
5593 Modularize add-log-current-defun (Bug#2224).
5594 Suggested by Jari Aalto.
5595
5596 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5597 (add-log-current-defun): Move mode-specific code to other files.
5598 (add-log-lisp-like-modes, add-log-c-like-modes)
5599 (add-log-tex-like-modes): Variables deleted.
5600
5601 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5602 (lisp-mode-variables): Use it.
5603
5604 * progmodes/cc-mode.el (c-common-init):
5605 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5606 add-log-current-defun-function.
5607
5608 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5609 (m4-mode): Use it.
5610
5611 * progmodes/perl-mode.el (perl-current-defun-name): New.
5612 (perl-mode): Use it.
5613
5614 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5615 Use lisp-current-defun-name.
5616
5617 * textmodes/tex-mode.el (tex-current-defun-name): New.
5618 (tex-common-initialization): Use it.
5619
5620 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5621 (texinfo-mode): Use it.
5622
5623 2012-12-01 Chong Yidong <cyd@gnu.org>
5624
5625 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5626 * progmodes/autoconf.el (autoconf-mode):
5627 * progmodes/js.el (js-mode):
5628 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5629 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5630 * progmodes/perl-mode.el (perl-mode):
5631 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5632 * textmodes/css-mode.el (css-mode):
5633 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5634 (sgml-tags-invisible, sgml-guess-indent):
5635 * textmodes/tex-mode.el (tex-common-initialization)
5636 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5637 (doctex-mode, plain-tex-mode, latex-mode):
5638 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5639
5640 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5641
5642 * vc/vc-hg.el (vc-hg-next-revision):
5643 Ensure use of default "tip" output format. (Bug#6968)
5644
5645 2012-12-01 Kim F. Storm <storm@cua.dk>
5646
5647 * startup.el (fancy-startup-tail): Add a clickable link
5648 (Bug#2176).
5649
5650 2012-12-01 Chong Yidong <cyd@gnu.org>
5651
5652 * startup.el (fancy-startup-tail): Improve the message about
5653 auto-save files (Bug#2176).
5654
5655 * files.el (recover-session): Improve the descriptive message, and
5656 use substitute-command-keys.
5657
5658 2012-12-01 Glenn Morris <rgm@gnu.org>
5659
5660 * ido.el (ido-file-internal):
5661 Handle other-window, other-frame for dired. (Bug#13036)
5662
5663 2012-11-30 Glenn Morris <rgm@gnu.org>
5664
5665 * icomplete.el (icomplete-separator): Fix :version.
5666
5667 2012-11-30 Chong Yidong <cyd@gnu.org>
5668
5669 * shell.el (shell): For C-u M-x shell, use an inactive shell
5670 buffer as the default (Bug#1975).
5671 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5672 (shell-mode): Use them to reapply ansi colorization if Shell mode
5673 is re-enabled.
5674
5675 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5676
5677 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5678
5679 2012-11-30 Samuel Bronson <naesten@gmail.com>
5680
5681 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5682 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5683
5684 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5685
5686 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5687 by move-to-column (Bug#3234).
5688
5689 2012-11-30 Chong Yidong <cyd@gnu.org>
5690
5691 * longlines.el (longlines-wrap-line, longlines-encode-region):
5692 Preserve text properties (Bug#1425).
5693
5694 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5695
5696 * vc/vc.el (vc-register): Allow registering a file which is
5697 already registered with a different backend (Bug#10589).
5698
5699 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5700 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * icomplete.el: Change separator; add ido-style commands.
5703 (icomplete-show-key-bindings): Remove custom var.
5704 (icomplete-get-keys): Remove function.
5705 (icomplete-forward-completions, icomplete-backward-completions):
5706 New commands.
5707 (icomplete-minibuffer-map): New var.
5708 (icomplete-minibuffer-setup): Use it.
5709 (icomplete-exhibit): Don't delay if the list of completions is known.
5710 (icomplete-separator): New custom.
5711 (icomplete-completions): Use it.
5712 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5713 (minibuffer-force-complete-and-exit): New command.
5714 (minibuffer--complete-and-exit): New function extracted from
5715 minibuffer-complete-and-exit.
5716 (minibuffer-complete-and-exit): Use it.
5717
5718 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5719 error message when the file doesn't exist (bug#12974).
5720
5721 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5722
5723 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5724
5725 2012-11-29 Glenn Morris <rgm@gnu.org>
5726
5727 * files.el (hack-dir-local-variables): Warn if try to set
5728 coding via dir-locals, since it doesn't work. (Bug#7169)
5729
5730 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5731 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5732 Set buffer-local value of desktop-save-buffer.
5733 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5734 New functions.
5735 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5736 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5737
5738 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5739 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5740 Doc fix.
5741 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5742 Doc fixes.
5743
5744 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5745
5746 * calc/calc-forms.el (calc-date-notation): Fix regexp
5747 used to find time codes. Fix symbol for seconds.
5748
5749 2012-11-27 Glenn Morris <rgm@gnu.org>
5750
5751 * emacs-lisp/derived.el (derived-mode-make-docstring):
5752 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5753
5754 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5757 lexically scoped variables (bug#13005).
5758
5759 2012-11-27 Glenn Morris <rgm@gnu.org>
5760
5761 * vc/vc-hooks.el (vc-mistrust-permissions):
5762 Default to t, to avoid data-loss. (Bug#11490)
5763
5764 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5765
5766 * progmodes/python.el (python-indent-guess-indent-offset):
5767 If indentation is guessed make python-indent-offset buffer-local.
5768
5769 Fix Imenu regression.
5770 * progmodes/python.el (python-nav-beginning-of-defun):
5771 Fix forward movement when statement(s) separates point from defun.
5772 (python-imenu-prev-index-position): New function.
5773
5774 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5775
5776 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5777
5778 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5779 Don't set buffer-file-type. Return nil. (Bug#12989)
5780
5781 2012-11-27 Glenn Morris <rgm@gnu.org>
5782
5783 * hippie-exp.el (hippie-expand-try-functions-list):
5784 Re-autoload it. (Bug#12982)
5785
5786 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5787
5788 * descr-text.el (describe-char-padded-string):
5789 Call internal-char-font only on GUI frames. (Bug#11964)
5790
5791 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5792
5793 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5794 and obsoletion message.
5795
5796 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5799 the constructs to keep outside of the `cl-block' (bug#12977).
5800
5801 2012-11-27 Chong Yidong <cyd@gnu.org>
5802
5803 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5804 keep reading until we get the up-event anyway, in order to process
5805 the up-event for mouse-1-click-follows-link (Bug#12971).
5806
5807 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5808
5809 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5810 base function is not yet defined (bug#12965).
5811 (ad-activate-advised-definition): Use ad-compile-function.
5812 (ad-activate): Use cond.
5813
5814 2012-11-25 Leo Liu <sdl.web@gmail.com>
5815
5816 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5817 (Bug#12979)
5818
5819 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5820
5821 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5822 reftex-section-info-function in order to be compatible with
5823 Texinfo integration.
5824
5825 * textmodes/reftex.el (reftex-section-pre-regexp)
5826 (reftex-section-post-regexp, reftex-section-info-function):
5827 New variable.
5828 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5829 reftex-section-post-regexp, and reftex-section-info-function in order
5830 to be compatible with Texinfo integration.
5831
5832 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5833 use reftex-section-pre-regexp variable in order to be compatible with
5834 Texinfo integration.
5835
5836 2012-11-25 Chong Yidong <cyd@gnu.org>
5837
5838 * faces.el: Make face-spec-set more analogous to setq.
5839 (face-spec-set): Change the third arg to specify whether this
5840 function is being called via defface, customize, or a third party.
5841 Set the appropriate symbol properties. Clear the override spec if
5842 setting via Custom. Initialize face if necessary. (Bug#4988)
5843 (face-spec-recalc): Allow theme faces to completely replace the
5844 defface spec, in the same way as custom faces (Bug#8454).
5845
5846 * cus-face.el (custom-declare-face): Move face initialization to
5847 face-spec-set.
5848 (custom-theme-set-faces): Don't initialize the face name here, as
5849 that is now done in face-spec-set.
5850
5851 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5852 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5853 Simplify by using the new arg to face-spec-set.
5854
5855 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5856 reset face-override-spec too, and use custom-declare-face.
5857
5858 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5859
5860 * term/ns-win.el (ns-initialize-window-system): Move creation of
5861 fontsets here (Bug#11964).
5862
5863 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5864
5865 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5866 cell renaming.
5867
5868 2012-11-24 Chong Yidong <cyd@gnu.org>
5869
5870 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5871 obsolete.
5872
5873 * custom.el (custom-theme-set-variables): Use a topological sort
5874 for ordering by custom dependencies (Bug#12952).
5875 (custom--sort-vars, custom--sort-vars-1): New functions.
5876
5877 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5878
5879 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5880 lexical-binding (bug#12938).
5881
5882 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5883
5884 * image-mode.el (image-transform-check-size): Use assertions only
5885 for images of type imagemagick.
5886
5887 Otherwise no error, image-transform-fit-to-{width,height} is
5888 silently ignored, as before. Doc fix.
5889
5890 2012-11-24 Chong Yidong <cyd@gnu.org>
5891
5892 * faces.el (color-defined-p): Doc fix (Bug#12853).
5893
5894 2012-11-24 Juri Linkov <juri@jurta.org>
5895
5896 * dired.el (dired-mark): Add optional arg `interactive'.
5897 Check for `use-region-p' if `interactive' is non-nil.
5898 (dired-unmark, dired-flag-file-deletion): Add optional arg
5899 `interactive'. Call `dired-mark' with the arg `interactive'.
5900 (Bug#10624)
5901
5902 * wdired.el: Revert 2012-10-17 change partly and replace it with
5903 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5904 (wdired-finish-edit): Add marks for new file names to
5905 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5906 after `revert-buffer'.
5907 (wdired-do-renames): Remove calls to `dired-remove-file',
5908 `dired-add-file', `dired-add-entry'. (Bug#11795)
5909
5910 2012-11-24 Alan Mackenzie <acm@muc.de>
5911
5912 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5913
5914 Fix bugs in the state cache. Enhance a debugging mechanism.
5915 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5916 "brace at column zero" strategy for C++.
5917 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5918 (c-parse-state-point): New variable.
5919 (c-record-parse-state-state): Record old parse state with
5920 `copy-tree'. Record previous value of point.
5921 (c-debug-parse-state-double-cons): New debugging function.
5922 (c-debug-parse-state): Call the above new function.
5923 (c-toggle-parse-state-debug): Output a confirmatory message.
5924
5925 * progmodes/cc-mode.el (c-before-change, c-after-change):
5926 Call c-invalidate-state-cache from `c-before-change' instead of
5927 `c-after-change'.
5928
5929 2012-11-23 Chong Yidong <cyd@gnu.org>
5930
5931 * find-cmd.el (find-constituents): Add executable, ipath,
5932 readable, samefile, writable, daystart, regextype (Bug#12856).
5933
5934 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5935
5936 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5937
5938 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5939
5940 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5941 definition. This fixes a bootstrap failure.
5942 (calc-gregorian-switch): In menu, put dates before regions.
5943 This is easier to follow, lines up better in the menu, and lets us
5944 coalesce regions that switch at the same time. Give country
5945 names, not "Vatican", as that's better for non-expert users.
5946 Use names that are stable between the date of switch and now, e.g.,
5947 Bohemia and Moravia (which existed then and now) and not
5948 Czechoslovakia (which didn't exist then and doesn't exist now).
5949 What is now the U.S. mostly did not switch at the same time as
5950 Britain, so omit the U.S. Correct spelling of "Britain".
5951 Catholic Switzerland was too much of a mess, so omit it.
5952
5953 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5954
5955 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5956 after the variable is changed.
5957
5958 2012-11-21 Daniel Colascione <dancol@dancol.org>
5959
5960 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5961 in SQL declarations for font-lock.
5962 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5963
5964 2012-11-21 Glenn Morris <rgm@gnu.org>
5965
5966 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5967 (face-italic-p): Add optional argument "inherit".
5968
5969 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5970 Remove -p suffix from names, for consistency with other set-face-*.
5971 (set-face-inverse-video): Fix interactive spec.
5972 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5973 * textmodes/table.el (table--update-cell-face):
5974 Use set-face-inverse-video rather than now obsolete alias.
5975
5976 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5977
5978 * simple.el (line-move): Don't call line-move-partial if
5979 scroll-conservatively is in effect. (Bug#12927)
5980
5981 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5982
5983 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5984 Fallback on completion-at-point rather than
5985 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5986 (eshell-cmpl-initialize): Setup completion-at-point.
5987
5988 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5989
5990 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5991
5992 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5993
5994 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5995 are remote, check out-of-band property for both.
5996
5997 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5998
5999 * window.el (switch-to-buffer): Re-add the warning that was lost in the
6000 code rewrite.
6001
6002 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
6003
6004 More minor time fixes.
6005 * calendar/time-date.el: Commentary fix.
6006 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
6007 too much other code depends on (0 0) time stamps.
6008 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
6009 Add a couple of FIXME comments.
6010
6011 Minor cleanup for times as lists of four integers.
6012 * files.el (dir-locals-directory-cache):
6013 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6014 Doc fixes.
6015 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
6016 * ps-bdf.el (bdf-file-newer-than-time):
6017 Process four-integers time stamps, not two. Doc fixes.
6018
6019 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * uniquify.el (uniquify-managed): Use defvar-local.
6022 (rename-buffer, create-file-buffer): Advise with advice-add.
6023 (uniquify-unload-function): Unadvise accordingly.
6024
6025 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
6026 (trace-buffer): Don't purecopy.
6027 (trace-entry-message, trace-exit-message): Add `context' arg.
6028 (trace--timer): New var.
6029 (trace-make-advice): Adjust for use in nadvice.
6030 Add `context' argument. Delay `display-buffer' via a timer.
6031 (trace-function-internal): Use advice-add.
6032 (trace--read-args): New function.
6033 (trace-function-foreground, trace-function-background): Use it.
6034 (trace-function): Rename to trace-function-foreground and redefine as
6035 an alias to that new name.
6036 (untrace-function, untrace-all): Adjust to the use of nadvice.
6037
6038 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
6039
6040 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6041
6042 * subr.el (called-interactively-p-functions): New var.
6043 (internal--called-interactively-p--get-frame): New macro.
6044 (called-interactively-p, interactive-p): Rewrite in Lisp.
6045 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6046 (called-interactively-p-functions): Use it.
6047 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6048 (called-interactively-p-functions): Use it.
6049 * allout.el (allout-called-interactively-p): Don't assume
6050 called-interactively-p is a subr.
6051
6052 2012-11-20 Glenn Morris <rgm@gnu.org>
6053
6054 * profiler.el (profiler-report-mode-map): Add a menu.
6055 No need to bind `q' because we derive from special-mode.
6056 (profiler-report-find-entry): Handle calls from the menu-bar.
6057
6058 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6059
6060 * emacs-lisp/byte-run.el (defun-declarations-alist):
6061 Allow a compiler-macro to be a lambda expression.
6062
6063 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6064 eval-when-compile.
6065 (python-syntax-context): Add compiler-macro.
6066 (python-font-lock-keywords): Simplify with De Morgan.
6067
6068 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6069
6070 * files.el (load-file): Require match in minibuffer selection, as was
6071 the case in Emacs-20 before we changed the spec to allow .elc files
6072 (bug#12935).
6073
6074 * json.el: Don't require cl since we don't use it.
6075 * color.el: Don't require cl.
6076 (color-complement): `caddr' -> `nth 2'.
6077
6078 * calendar/time-date.el (time-to-seconds): De-obsolete.
6079
6080 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6081
6082 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6083 year numbers.
6084 (math-date-to-julian-dt): Adjust the initial approximation for the
6085 year to deal with the new definition of the DATE.
6086
6087 2012-11-19 Daniel Colascione <dancol@dancol.org>
6088
6089 * term/w32-win.el (cygwin-convert-path-from-windows):
6090 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6091
6092 2012-11-18 Chong Yidong <cyd@gnu.org>
6093
6094 * filecache.el (file-cache--read-list): New function.
6095 (file-cache-add-directory-list, file-cache-add-file-list)
6096 (file-cache-delete-file-list, file-cache-delete-directory-list):
6097 Use it to read a list of files or directories (Bug#12846).
6098 (file-cache-add-file, file-cache-add-directory)
6099 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6100 (file-cache-delete-directory): Print an message.
6101
6102 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6103
6104 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6105 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6106
6107 2012-11-18 Glenn Morris <rgm@gnu.org>
6108
6109 * image.el (insert-image, insert-sliced-image): Doc fix.
6110
6111 2012-11-18 Chong Yidong <cyd@gnu.org>
6112
6113 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6114 (Bug#12810).
6115
6116 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6117
6118 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6119 response when the target file is in a subdirectory (Bug#12757).
6120
6121 2012-11-18 Chong Yidong <cyd@gnu.org>
6122
6123 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6124
6125 2012-11-18 Glenn Morris <rgm@gnu.org>
6126
6127 * emacs-lisp/cl-lib.el (face-underline-p):
6128 Use set-face-underline rather than the alias set-face-underline-p.
6129
6130 * window.el (with-temp-buffer-window): Doc fix.
6131 * subr.el (with-output-to-temp-buffer):
6132 Add doc xref to with-temp-buffer-window.
6133
6134 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6135
6136 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6137 * calc/calc.el (math-format-date-cache): Declare.
6138
6139 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6140
6141 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6142 It also uses January 1, 1 AD as its day number 1.
6143 * calc/calc-forms.el (math-julian-date-beginning)
6144 (math-julian-date-beginning-int): Implement this.
6145
6146 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6147
6148 * descr-text.el (quail-find-key):
6149 * dired.el (desktop-file-name):
6150 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6151 * generic-x.el (comint-mode, comint-exec):
6152 * image-dired.el (widget-forward):
6153 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6154 (speedbar-change-expand-button-char)
6155 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6156 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6157 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6158 (widget-field-action, widget-value-set):
6159 * speedbar.el (imenu--make-index-alist):
6160 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6161 (ring-length, ring-insert):
6162 * vcursor.el (compare-windows-skip-whitespace):
6163 * woman.el (dired-get-filename):
6164 Declare functions.
6165
6166 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6167
6168 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6169
6170 * calc/calc.el (calc-gregorian-switch): New variable.
6171
6172 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6173 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6174 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6175 (math-leap-year-p): Add option to distinguish between Julian
6176 and Gregorian calendars.
6177 (math-day-number): Use `math-day-in-year' to do the computations.
6178 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6179 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6180 to do the computations.
6181 (math-date-to-dt): Use `math-date-to-julian-dt' and
6182 `math-date-to-gregorian-dt' to do the computations.
6183 (calcFunc-weekday, math-format-date-part): Use the new version of
6184 the DATE to determine the weekday.
6185 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6186 when necessary.
6187
6188 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6189
6190 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6191 Cygwin; otherwise use 'file:'. (Bug#12914)
6192 (cygwin-convert-path-from-windows): Declare, to avoid
6193 byte-compiler warnings.
6194
6195 2012-11-17 Andreas Politz <politza@fh-trier.de>
6196
6197 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6198 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6199 prefix and negative numeric prefix args (Bug#12795).
6200
6201 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6202
6203 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6204 Don't signal an error with a score that is too low to add to the
6205 list of top scores. (Bug#12779)
6206
6207 2012-11-17 Chong Yidong <cyd@gnu.org>
6208
6209 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6210
6211 * filecache.el (file-cache-add-file): Handle relative file name in
6212 the argument (Bug#12694).
6213
6214 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6215
6216 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6217
6218 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6219
6220 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6221
6222 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6223
6224 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6225
6226 * window.el (enlarge-window, shrink-window): Don't mention return
6227 value in doc-string (Bug#12896).
6228 (window--display-buffer): Don't resize frames - it won't work
6229 with all window managers and defeat pop-up-frame-alist.
6230 (display-buffer-alist): In doc-string explain that CONDITION can
6231 be a function and which arguments are passed to it (Bug#12854).
6232 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6233 expressions (Bug#12854).
6234 (display-buffer): Pass ACTION argument to
6235 display-buffer-assq-regexp.
6236
6237 2012-11-16 Glenn Morris <rgm@gnu.org>
6238
6239 * window.el (fit-frame-to-buffer-bottom-margin)
6240 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6241
6242 * faces.el (face-underline-p): Use face-attribute-specified-or.
6243
6244 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6245
6246 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6247
6248 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6250 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6251
6252 2012-11-16 Glenn Morris <rgm@gnu.org>
6253
6254 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6255 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6256
6257 * faces.el (face-underline-p): Doc fix. Handle :underline being
6258 things other than `t' (a string, a list).
6259 (face-inverse-video-p): Doc fix.
6260 (set-face-underline): Rename it back from set-face-underline-p.
6261 Doc fix. Allow interactive input of values other than t.
6262 (read-face-attribute): Apply formatting to :underline,
6263 since like :box and :stipple it can take list values.
6264
6265 * term.el (ansi-term): Don't let C-x escape-char binding
6266 clobber the more standard C-c binding. (Bug#12842)
6267
6268 * subr.el (set-temporary-overlay-map): Doc fix.
6269
6270 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6271
6272 * window.el (record-window-buffer)
6273 (display-buffer-record-window): When copying the markers to
6274 window-point preserve window-point-insertion-type. (Bug#12588)
6275
6276 2012-11-16 Glenn Morris <rgm@gnu.org>
6277
6278 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6279 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6280 Use new names for hooks rather than obsolete aliases.
6281
6282 2012-11-15 Daniel Colascione <dancol@dancol.org>
6283
6284 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6285 prefix instead of "file:" so that when FILE-NAME begins with "//",
6286 as it does when the target file is on a network share, url-handler
6287 isn't confused.
6288
6289 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6292 a preactivated advice from an old advice.el; they're not compatible!
6293
6294 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6295
6296 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6297 Fix string-spec case.
6298
6299 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6300
6301 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6302
6303 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6304 (advice--buffer-local-function-sample): New var.
6305 (advice--set-buffer-local, advice--buffer-local): New functions.
6306 (add-function, remove-function): Use them.
6307
6308 2012-11-15 Drew Adams <drew.adams@oracle.com>
6309
6310 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6311
6312 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6313
6314 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6315 potential binding of print-gensym to t, and prettify (back)quotes in
6316 case they appear in args's default values (bug#12884).
6317
6318 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6319
6320 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6321 (advice-eval-interactive-spec): New function.
6322 (advice--make-interactive-form): Support around advice (bug#12844).
6323
6324 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6325
6326 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6327 more strict. Add docstring.
6328 (ruby-expression-expansion-re): Extract from
6329 `ruby-match-expression-expansion'.
6330 (ruby-syntax-propertize-function): After everything else, search
6331 for expansions in string literals, mark their insides as
6332 whitespace syntax and save match data for font-lock.
6333 (ruby-font-lock-keywords): Use the 2nd group from expression
6334 expansion matches.
6335 (ruby-match-expression-expansion): Use the match data saved to the
6336 text property in ruby-syntax-propertize-function.
6337
6338 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6339
6340 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6341 (bug#12879).
6342
6343 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6344
6345 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6346 start/end keyword a bit harder. Works with different values of N.
6347 Add more comments.
6348 (ruby-end-of-block): Update accordingly.
6349
6350 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * woman.el (woman-file-name): Don't mess with unread-command-events
6353 (bug#12861).
6354
6355 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6356 Remove out of date self-require hack.
6357 (ad-do-advised-functions): Use simple `dolist'.
6358 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6359 (ad-advice-definition): Redefine as functions.
6360 (ad-advice-classes): Move before first use.
6361 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6362 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6363 (ad--defalias-fset): Remove functions.
6364 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6365 (ad-get-orig-definition): Rewrite.
6366 (ad-make-advised-definition-docstring): Change base docstring.
6367 (ad-real-orig-definition): Rewrite.
6368 (ad-map-arglists): Change name of called function.
6369 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6370 (ad-make-advised-definition): Simplify.
6371 (ad-assemble-advised-definition): Tweak for new calling context.
6372 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6373 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6374 function and call ad-activate if needed.
6375 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6376 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6377 (ad-compile-function): Compile ad-Advice-*.
6378 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6379 (ad-start-advice, ad-stop-advice): Remove.
6380
6381 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6382
6383 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6384 period before class method names, not after. Remove handling of
6385 one impossible case. Add comments.
6386
6387 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6388
6389 * emacs-lisp/advice.el: Remove support for freezing.
6390 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6391 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6392 Remove support for `freeze'.
6393
6394 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6395 override the default.
6396 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6397 cl--dotimes/dolist.
6398 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6399 `cl' is loaded.
6400
6401 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6402 from add-advice.
6403 (advice--strip-macro): New function.
6404 (advice--defalias-fset): Use them to handle macros.
6405 (advice-add): Use them.
6406 (advice-member-p): Correctly handle macros.
6407
6408 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6409
6410 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6411 Never font-lock the beginning of singleton class as heredoc.
6412
6413 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6414
6415 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6416
6417 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6418
6419 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6420 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6421 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6422
6423 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6424
6425 Fix end-of-defun misbehavior.
6426 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6427 python-beginning-of-defun-function. Handle nested defuns
6428 correctly.
6429 (python-nav-end-of-defun): Rename from
6430 python-end-of-defun-function. Ensure forward movement.
6431 (python-info-current-defun): Reimplement to work as intended
6432 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6433 parent defuns as soon as possible.
6434
6435 2012-11-13 Glenn Morris <rgm@gnu.org>
6436
6437 * progmodes/flymake.el (flymake-error-bitmap)
6438 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6439 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6440
6441 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6442
6443 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6444 backward, always stop at indentation. Reverts the change from
6445 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6446
6447 2012-11-13 Glenn Morris <rgm@gnu.org>
6448
6449 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6450 Add ibuffer-filter-by-derived-mode.
6451
6452 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6453 the same name shadowing each other.
6454
6455 * window.el (with-temp-buffer-window): Doc tweak.
6456
6457 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6458
6459 * help.el (temp-buffer-max-height):
6460 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6461 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6462
6463 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6464
6465 * emacs-lisp/nadvice.el: New package.
6466 * subr.el (special-form-p): New function.
6467 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6468 (elp-all-instrumented-list): Remove var.
6469 (elp-not-profilable): Remove elp-wrapper.
6470 (elp-profilable-p): Use autoloadp and special-form-p.
6471 (elp--advice-name): New const.
6472 (elp-instrument-function): Use advice-add.
6473 (elp--instrumented-p): New predicate.
6474 (elp-restore-function): Use advice-remove.
6475 (elp-restore-all, elp-reset-all): Use mapatoms.
6476 (elp-set-master): Use elp--instrumented-p.
6477 (elp--make-wrapper): Rename from elp-wrapper, return a function
6478 suitable for advice-add. Use cl-inf.
6479 (elp-results): Use mapatoms+elp--instrumented-p.
6480 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6481 (debug-function-list): Remove var.
6482 (debug): Rename arg, and then let-bind it explicitly inside.
6483 (debugger-setup-buffer): Rename arg.
6484 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6485 (debugger-frame-number): Adjust to new debug-on-entry setup.
6486 (debug--implement-debug-on-entry): Rename from
6487 implement-debug-on-entry, add argument.
6488 (debugger-special-form-p): Remove, use special-form-p instead.
6489 (debug-on-entry): Use advice-add.
6490 (debug--function-list): New function.
6491 (cancel-debug-on-entry): Use it, along with advice-remove.
6492 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6493 (debugger-list-functions): Use debug--function-list instead of
6494 debug-function-list.
6495 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6496 (ad-special-form-p): Remove, use special-form-p instead.
6497 (ad-set-advice-info): Use add-function and remove-function.
6498 (ad--defalias-fset): Adjust accordingly.
6499
6500 2012-11-10 Glenn Morris <rgm@gnu.org>
6501
6502 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6503 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6504 (report-emacs-bug-create-existing-bugs-buffer)
6505 (report-emacs-bug-parse-query-results)
6506 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6507
6508 * term.el (term-default-fg-color, term-default-bg-color):
6509 Make obsolete, rather than just saying "deprecated" in the doc.
6510
6511 * term.el (term): Rename from `term-face'.
6512 (term-current-face, ansi-term-color-vector)
6513 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6514 Update all users.
6515
6516 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6517
6518 * server.el (server-create-window-system-frame): Handle Nextstep
6519 specially (Bug#12780).
6520
6521 2012-11-10 Glenn Morris <rgm@gnu.org>
6522
6523 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6524 Unautoload, and make obsolete. (Bug#7449)
6525
6526 2012-11-10 Chong Yidong <cyd@gnu.org>
6527
6528 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6529 rename from diff-remove-trailing-whitespace (Bug#12831).
6530
6531 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6534 miscompilation of trace.el.
6535
6536 2012-11-10 Glenn Morris <rgm@gnu.org>
6537
6538 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6539
6540 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6541
6542 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6543 (bug#12812).
6544
6545 2012-11-10 Chong Yidong <cyd@gnu.org>
6546
6547 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6548 a defcustom with an appropriate :set function.
6549 (minibuffer-default--in-prompt-regexps): New function.
6550
6551 2012-11-10 Glenn Morris <rgm@gnu.org>
6552
6553 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6554 (define-modify-macro): Doc fixes.
6555
6556 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6557 (gv-define-simple-setter): Update doc of `fix-return'.
6558
6559 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6562 twice when `fix-return' is set (bug#12813).
6563
6564 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6565 gv-define-simple-setter (bug#12812).
6566
6567 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6568 (bug#12756).
6569
6570 2012-11-10 Glenn Morris <rgm@gnu.org>
6571
6572 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6573
6574 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6575 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6576 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6577 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6578
6579 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6580
6581 2012-11-10 Leo Liu <sdl.web@gmail.com>
6582
6583 * ido.el (ido-set-matches-1): Improve flex matching performance by
6584 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6585
6586 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6587
6588 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6589 (ad--defalias-fset): New function.
6590 (ad-safe-fset): Remove.
6591 (ad-make-freeze-definition): Use cl-letf*.
6592
6593 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6594
6595 * subr.el (dolist): Don't bind VAR in RESULT.
6596
6597 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6598 (fset, documentation): Don't save real def since we don't advise.
6599 (ad-do-advised-functions): Remove problematic `result-form'.
6600 (ad-safe-fset): `ad-real-fset' => `fset'.
6601 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6602 uses CL's dolist internally.
6603 (ad-arglist): Remove unused arg `name'.
6604 (ad-docstring, ad-make-advised-docstring):
6605 `ad-real-documentation' => `documentation'.
6606 (warning-suppress-types): Declare.
6607 (ad-set-arguments): Simple CSE.
6608 (ad-recover-normality): Sanity check.
6609
6610 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6611 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6612
6613 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6614
6615 * ses.el: symbol to coordinate mapping is made by symbol property
6616 `ses-cell'. This means that the same mapping is done for all SES
6617 sheets. That is good enough for cells with standard A1 names, but
6618 not for named cell. So a hash map is added for the latter.
6619 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6620 (ses-sym-rowcol): Use hashmap for named cell.
6621 (ses-is-cell-sym-p): New defun.
6622 (ses-decode-cell-symbol): New defun.
6623 (ses-create-cell-variable): Add cell to hashmap when name is not
6624 A1-like.
6625 (ses-rename-cell): Check that cell new name is not already in
6626 spreadsheet with the use of ses-is-cell-sym-p
6627 (ses-rename-cell): Use hash map for named cells, but accept also
6628 renaming back to A1-like.
6629
6630 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * emacs-lisp/advice.el: Use new dynamic docstrings.
6633 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6634 Use dynamic-docstring-function instead of ad-advice-info.
6635 (ad--make-advised-docstring): New function extracted from
6636 ad-make-advised-docstring.
6637 (ad-make-advised-docstring): Use it.
6638 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6639 from sql-help.
6640 (sql-help): Use it with dynamic-docstring-function.
6641
6642 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6643
6644 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6645
6646 * files.el (hack-one-local-variable--obsolete): New function.
6647 (hack-one-local-variable): Use it for obsolete settings.
6648
6649 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6650 the new name.
6651
6652 * progmodes/js.el (js--filling-paragraph): New var.
6653 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6654 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6655 less sneaky.
6656
6657 2012-11-08 Julien Danjou <julien@danjou.info>
6658
6659 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6660 `auto-mode-alist' (Bug#12835).
6661
6662 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6663
6664 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6665 (perl--prettify-symbols-alist): New const.
6666 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6667 New functions.
6668 (perl-font-lock-keywords-2): Use them.
6669 (perl-electric-noindent-p): New function.
6670 (perl-mode): Use it to set up electric-indent-mode.
6671 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6672 (perl-mode-map): Remove bindings for them.
6673 (perl-imenu-generic-expression, perl-outline-level):
6674 Match functions&packages in column>0.
6675
6676 * env.el (env--substitute-vars-regexp): New const.
6677 (substitute-env-vars): Use it. Add `only-defined' arg.
6678 * net/tramp.el (tramp-replace-environment-variables): Use it.
6679
6680 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6681 Byte-compile *before* eval in eval-and-compile.
6682 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6683 (byte-compile-file-form-autoload): Don't hide actual definition.
6684 (byte-compile-maybe-guarded): Accept `functionp' as well.
6685
6686 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6687
6688 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6689
6690 * notifications.el (notifications-get-server-information-method):
6691 New defconst.
6692 (notifications-get-capabilities): Fix docstring.
6693 (notifications-get-server-information): New defun.
6694
6695 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6696
6697 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6698 readability.
6699
6700 * textmodes/ispell.el: Experimental support for support debugging.
6701 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6702 buffer for ispell.
6703 (ispell-print-if-debug): New function to print stuff to
6704 `ispell-debug-buffer' if debugging is enabled.
6705 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6706 show some debugging info.
6707 (ispell-buffer-with-debug): New function that creates a debugging
6708 buffer and calls `ispell-buffer' with debugging enabled.
6709
6710 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6711 comment in autoconf mode. (Bug#12768)
6712
6713 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6714
6715 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6716 frame-first-window, frame-root-window, frame-selected-window,
6717 minibuffer-selected-window, minibuffer-window,
6718 window-absolute-pixel-edges, window-at, window-body-height,
6719 window-body-width, window-display-table, window-combination-limit,
6720 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6721 window-inside-edges, window-inside-pixel-edges, window-left-child,
6722 window-left-column, window-margins, window-next-buffers,
6723 window-next-sibling, window-new-normal, window-new-total,
6724 window-normal-size, window-parameter, window-parameters, window-parent,
6725 window-pixel-edges, window-point, window-prev-buffers,
6726 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6727 window-start, window-text-height, window-top-child, window-top-line,
6728 window-total-height, window-total-width and window-use-time to the list
6729 of functions without side-effects.
6730 (toplevel): Add window-valid-p to the list of error-free functions
6731 without side-effects.
6732
6733 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6734
6735 * textmodes/ispell.el (ispell-program-name):
6736 Update spellchecker parameters when customized.
6737
6738 2012-11-04 Glenn Morris <rgm@gnu.org>
6739
6740 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6741
6742 2012-11-04 Chong Yidong <cyd@gnu.org>
6743
6744 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6745 same-window-* variables.
6746
6747 2012-11-04 Juri Linkov <juri@jurta.org>
6748
6749 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6750 (isearch-describe-key, isearch-describe-mode): Use a display
6751 action instead of binding same-window-* variables (Bug#10040).
6752
6753 2012-11-03 Glenn Morris <rgm@gnu.org>
6754
6755 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6756 Rename handler properties back from cl-- to cl-. (Bug#12788)
6757
6758 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6759
6760 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6761
6762 * term/pc-win.el: Don't load term/internal from here.
6763
6764 * loadup.el: Load term/internal from here.
6765
6766 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6767
6768 * progmodes/python.el (inferior-python-mode): Fix hang in
6769 jit-lock (Bug#12645).
6770
6771 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6772
6773 * window.el (switch-to-visible-buffer)
6774 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6775
6776 2012-11-03 Glenn Morris <rgm@gnu.org>
6777
6778 * emacs-lisp/cl-lib.el (cl--random-time):
6779 Rename from cl-random-time. (Bug#12773)
6780 (cl--gensym-counter, cl--random-state): Update callers.
6781 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6782
6783 2012-11-03 Chong Yidong <cyd@gnu.org>
6784
6785 * cus-start.el: Make cursor-type customizable (Bug#11633).
6786
6787 2012-11-02 Glenn Morris <rgm@gnu.org>
6788
6789 * filecache.el: No need to load find-lisp when compiling.
6790 (find-lisp-find-files): Autoload it.
6791 (file-cache-add-directory-recursively): Don't require find-lisp.
6792
6793 * image.el (image-type-from-file-name): Trivial simplification.
6794
6795 * emacs-lisp/bytecomp.el (byte-compile-eval):
6796 Decouple "noruntime" and "cl-functions" warnings.
6797
6798 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6799
6800 * play/gomoku.el (gomoku-display-statistics): Update mode line
6801 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6802
6803 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6804
6805 * window.el (quit-restore-window): If the window has been
6806 created on an existing frame and ended up as the sole window on
6807 that frame, do not delete it (Bug#12764).
6808
6809 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6812 Rename from sh--inside-arithmetic-expression, handle more cases
6813 (bug#11263).
6814
6815 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6816 (sh-font-lock-open-heredoc): Use it (bug#12770).
6817
6818 2012-10-30 Glenn Morris <rgm@gnu.org>
6819
6820 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6821
6822 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6823
6824 2012-10-29 Chong Yidong <cyd@gnu.org>
6825
6826 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6827 function key is stored in a keyboard macro (Bug#4894).
6828
6829 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6830
6831 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6832
6833 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6834 header comments".
6835 (diff-unified->context, diff-context->unified)
6836 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6837
6838 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6839
6840 * files.el (find-alternate-file): Only ask one question (bug#12487).
6841
6842 2012-10-29 Chong Yidong <cyd@gnu.org>
6843
6844 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6845 Suggested by Dan Nicolaescu (Bug#6326).
6846
6847 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6848
6849 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6850
6851 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6852
6853 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6854
6855 * face-remap.el (face-remap-add-relative): Handle the case where a
6856 face-remapping-alist entry is a cons cell (Bug#12762).
6857
6858 2012-10-29 Kevin Ryde <user42@zip.com.au>
6859
6860 * woman.el (woman-parse-numeric-value): Handle picas correctly
6861 (Bug#12639).
6862
6863 2012-10-29 Glenn Morris <rgm@gnu.org>
6864
6865 * emacs-lisp/cl.el (defsetf): Doc fix.
6866
6867 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6870 syntax to the matching opener, if any (bug#12547).
6871 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6872 matching open as a "case-(".
6873 (sh-smie-rc-grammar): Add a corresponding rule for it.
6874
6875 2012-10-28 Daniel Hackney <dan@haxney.org>
6876
6877 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6878 "PKGNAME-autoloads.el" in case we created it.
6879
6880 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6883 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6884 (completion--twq-all): Disable too-strict assertions.
6885
6886 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6887
6888 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6889
6890 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6891 text to match the real keybindings.
6892
6893 2012-10-27 Juri Linkov <juri@jurta.org>
6894
6895 * wdired.el (wdired-keep-marker-rename): New defcustom.
6896 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6897 (Bug#11795)
6898
6899 * dired.el (dired-keep-marker-rename): Add reference to
6900 `wdired-keep-marker-rename' in the docstring.
6901 Add default character value ?R to display initially in
6902 Customization UI instead of ?@.
6903
6904 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6905
6906 * window.el (display-buffer): In doc-string describe
6907 window-height and window-width alist entries.
6908
6909 * time.el (display-time-world): Restore fit-window-to-buffer
6910 behavior.
6911
6912 2012-10-27 Chong Yidong <cyd@gnu.org>
6913
6914 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6915
6916 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6917
6918 * minibuffer.el (completion-category-overrides): New completion
6919 category `bookmark' (bug#11131).
6920
6921 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6924 Silence bogus compiler warnings for ad-do-it.
6925
6926 * bookmark.el (bookmark-completing-read): Set the completion category
6927 to `bookmark' (bug#11131).
6928
6929 2012-10-26 Bastien <bzg@altern.org>
6930 Stefan Monnier <monnier@iro.umontreal.ca>
6931
6932 * face-remap.el: Use lexical-binding.
6933 (text-scale-adjust): Improve docstring. Use itself for the temporary
6934 overlay-map bindings, so as to repeat the "Use..." message each time.
6935
6936 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6937
6938 * emacs-lisp/macroexp.el (macroexp--expand-all):
6939 Obey byte-compile-warning-enabled-p (bug#12486).
6940
6941 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6942 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6943
6944 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6945
6946 * mouse.el (mouse-drag-line): Move last form into preceding when
6947 clause (Bug#12731).
6948
6949 * help.el (resize-temp-buffer-window): Fix doc-string.
6950
6951 2012-10-25 David Engster <deng@randomsample.de>
6952
6953 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6954 Remove. This feature is already integrated in imenu.
6955
6956 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6957 always loaded. Require `speedbar' unconditionally.
6958
6959 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6962
6963 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6964
6965 * net/ldap.el (ldap-search-internal): The official ldif format starts
6966 with a "version: 1" header (bug#12724).
6967
6968 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6969 (bug#12721).
6970
6971 2012-10-25 Glenn Morris <rgm@gnu.org>
6972
6973 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6974
6975 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6976
6977 * minibuffer.el (minibuffer-force-complete): Use one more marker
6978 for the temporary-overlay-map command (bug#12619).
6979
6980 2012-10-24 Chong Yidong <cyd@gnu.org>
6981
6982 * time.el (display-time-world-mode): Derive from special-mode.
6983 (display-time-world): Use display-buffer (Bug#12708).
6984 (display-time-world-mode-map): Variable deleted.
6985 (display-time-world-display): Wrap the final delete-char inside
6986 inhibit-read-only.
6987
6988 2012-10-24 Chong Yidong <cyd@gnu.org>
6989
6990 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6991 Doc fix.
6992
6993 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6994
6995 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * minibuffer.el (completion--all-sorted-completions-location): New var.
6998 (completion--cache-all-sorted-completions)
6999 (completion--flush-all-sorted-completions): Use it.
7000 (completion-in-region, completion-in-region--postch)
7001 (completion-at-point, completion-help-at-point): Use markers in
7002 completion-in-region--data (bug#12619).
7003
7004 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 * progmodes/compile.el (compilation-start): Try to handle common
7007 quoting of `cd' argument (bug#12640).
7008
7009 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
7010 (bug#12671).
7011
7012 2012-10-23 Glenn Morris <rgm@gnu.org>
7013
7014 * progmodes/gud.el (gud-menu-map):
7015 Check gdb-active-process is bound. (Bug#12358)
7016
7017 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * repeat.el (repeat): Set real-this-command (bug#12232).
7020
7021 * htmlfontify.el (hfy-post-html-hook):
7022 * filesets.el (filesets-cache-fill-content-hook):
7023 * arc-mode.el (archive-extract-hook):
7024 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
7025 * net/rcirc.el (rcirc-sentinel-functions)
7026 (rcirc-receive-message-functions, rcirc-activity-functions)
7027 (rcirc-print-functions):
7028 * net/dbus.el (dbus-event-error-functions):
7029 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
7030 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
7031 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
7032 * term/sun.el (sun-raw-prefix-hooks):
7033 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
7034
7035 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
7036
7037 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7038 Set `tramp-chunksize' to 1. This improves the performance.
7039 (tramp-smb-wait-for-output): Add timeout to
7040 `tramp-accept-process-output' calls.
7041
7042 2012-10-23 Chong Yidong <cyd@gnu.org>
7043
7044 * faces.el (font-list-limit): Define as an obsolete variable.
7045
7046 * startup.el (command-line):
7047 * cus-start.el: Don't refer to font-list-limit.
7048
7049 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7050
7051 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7052
7053 * subr.el (internal-temp-output-buffer-show): Rename from
7054 temp-output-buffer-show, since previously compiled files expect this name.
7055
7056 2012-10-23 Glenn Morris <rgm@gnu.org>
7057
7058 * image.el (image-type-from-file-name): If multiple types match,
7059 return the first one that is supported. (Bug#9045)
7060
7061 2012-10-22 Glenn Morris <rgm@gnu.org>
7062
7063 * image.el (imagemagick-enabled-types): Doc fix.
7064
7065 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7066
7067 * progmodes/which-func.el (which-func-current): The hash-table may have
7068 an explicit nil (bug#12338).
7069
7070 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7071
7072 * electric.el (electric-pair-delete-selection-self-insert-function):
7073 Rename to electric-pair-will-use-region, return a boolean.
7074 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7075
7076 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7077 (delete-selection-pre-hook): Use use-region-p.
7078 (delete-selection-self-insert-function): Remove.
7079 (self-insert-command): Obey self-insert-uses-region-functions.
7080 (self-insert-iso): Revert to previous setting, since we don't actually
7081 know what that command does.
7082 (delete-selection-self-insert-hooks): Remove.
7083
7084 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7085
7086 * delsel.el (delete-selection-helper): New function, extracted from
7087 delete-selection-pre-hook.
7088 (delete-selection-pre-hook): Use it.
7089 (delete-selection-self-insert-function): New function.
7090 (delete-selection-self-insert-hooks): New hook.
7091 (self-insert-command, self-insert-iso): Use it.
7092 * electric.el (electric-pair-syntax): New function, extracted from
7093 electric-pair-post-self-insert-function.
7094 (electric-pair-post-self-insert-function): Use it.
7095 (electric-pair-delete-selection-self-insert-function): New function.
7096 (electric-pair-mode): Require delsel and setup
7097 delete-selection-self-insert-hooks (bug#11520).
7098
7099 2012-10-20 Chong Yidong <cyd@gnu.org>
7100
7101 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7102 no changes to show (Bug#12586).
7103
7104 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7105 list explicitly (Bug#12571).
7106
7107 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7108
7109 * progmodes/flymake.el (flymake-create-temp-inplace):
7110 Use file-truename.
7111
7112 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7113
7114 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7115
7116 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7117
7118 * calc/calc-units.el (math-extract-units): Properly extract powers
7119 of units.
7120
7121 2012-10-20 Daniel Colascione <dancol@dancol.org>
7122
7123 * frame.el (make-frame): Set x-display-name as we used to in order
7124 to unbreak creating an X11 frame from an Emacs daemon started
7125 without a display.
7126
7127 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7128
7129 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7130 the same completion-field (bug#12221).
7131
7132 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7133
7134 * emacs-lisp/debug.el (debug): Record height of debugger window
7135 also when debugger will be back (Bug#8789).
7136
7137 2012-10-18 Chong Yidong <cyd@gnu.org>
7138
7139 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7140 Convert to defcustom.
7141 (gdb-get-source-file): Don't bind pop-up-windows.
7142
7143 * progmodes/gud.el (gud-display-line): Don't specially re-use
7144 other frames for the gdb-mi case (Bug#12648).
7145
7146 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 * emacs-lisp/advice.el: Clean up commentary a bit.
7149 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7150 (byte-code-function-p): Never redefine.
7151
7152 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7153
7154 2012-10-18 Glenn Morris <rgm@gnu.org>
7155
7156 * dired.el (dired-sort-toggle): Some ls implementations only allow
7157 a single option string. (Bug#12666)
7158
7159 * minibuffer.el (completion-cycle-threshold): Doc fix.
7160
7161 2012-10-17 Kenichi Handa <handa@gnu.org>
7162
7163 * international/mule.el (set-keyboard-coding-system):
7164 Recover input meta mode when the new coding system doesn not use 8-bit.
7165 Supply TERMINAL arg to set-input-meta-mode.
7166
7167 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7168
7169 * wdired.el (wdired-old-marks): New variable.
7170 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7171 (wdired-do-renames): Move point with renamed file and don't lose
7172 mark status (Bug#11795).
7173
7174 2012-10-16 Juri Linkov <juri@jurta.org>
7175
7176 * replace.el (query-replace-help): Mention multi-buffer replacement
7177 keys in the Help message. (Bug#12655)
7178
7179 2012-10-15 Chong Yidong <cyd@gnu.org>
7180
7181 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7182
7183 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7184
7185 * window.el (display-buffer): Doc fix.
7186
7187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7188 Adjust the msft regexp to the output of Studio 2010, and move msft
7189 before edg-1. See the discussion on emacs-devel,
7190 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7191 for the details.
7192
7193 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7196 (oset): Move uses of object-class-fast macro after its definition.
7197
7198 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7199
7200 2012-10-13 Chong Yidong <cyd@gnu.org>
7201
7202 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7203 enabled, re-enable it (Bug#11963).
7204
7205 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7206
7207 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7208 non-nil, restore window configuration (Bug#12623).
7209
7210 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * help-fns.el (describe-variable, describe-function-1):
7213 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7214
7215 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7216
7217 2012-10-12 Glenn Morris <rgm@gnu.org>
7218
7219 * mail/rmailsum.el (rmail-header-summary):
7220 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7221
7222 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7223
7224 * progmodes/python.el (python-mode-map):
7225 Replace subtitute-key-definition with proper command remapping.
7226 (python-nav--up-list): Fix behavior for blocks on the same level.
7227
7228 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7231
7232 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7233 changes to the format of load-history.
7234
7235 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7236 completion-ignore-case in case that var is buffer-local (bug#12615).
7237
7238 2012-10-11 Kenichi Handa <handa@gnu.org>
7239
7240 * international/eucjp-ms.el: Re-generated.
7241
7242 2012-10-10 Kenichi Handa <handa@gnu.org>
7243
7244 * select.el (xselect--encode-string): If a coding is specified for
7245 selection, and that is compatible with COMPOUND_TEXT, use it.
7246
7247 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7248
7249 * window.el (switch-to-buffer-preserve-window-point): New option.
7250 (switch-to-buffer):
7251 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7252
7253 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7254
7255 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7256 Don't document nil as a useful value (bug#12583).
7257
7258 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7259
7260 * net/tramp.el (tramp-debug-message):
7261 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7262 (with-tramp-progress-reporter): Rename from
7263 `tramp-with-progress-reporter'.
7264 (with-tramp-file-property, with-tramp-connection-property):
7265 Move from tramp-cache.el, rename from `with-file-property' and
7266 `with-connection-property', respectively.
7267
7268 * net/tramp-cache.el: Remove `with-file-property' and
7269 `with-connection-property'.
7270
7271 * net/tramp.el:
7272 * net/tramp-gvfs.el:
7273 * net/tramp-sh.el:
7274 * net/tramp-smb.el: Adapt callees.
7275
7276 * net/trampver.el: Update release number.
7277
7278 2012-10-09 Glenn Morris <rgm@gnu.org>
7279
7280 * w32-fns.el (set-message-beep):
7281 * term/w32-win.el (set-message-beep): Update declarations.
7282
7283 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7286 (mode-line-widen, mode-line-input-method-map)
7287 (mode-line-coding-system-map, mode-line-remote)
7288 (mode-line-unbury-buffer, mode-line-bury-buffer)
7289 (mode-line-next-buffer, mode-line-previous-buffer):
7290 Replace save-selected-window+select-window => with-selected-window.
7291
7292 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7293 * progmodes/cc-vars.el (bq-process): Remove, unused.
7294
7295 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7296
7297 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7298
7299 Implemented `backward-up-list'-like navigation.
7300 * progmodes/python.el (python-nav-up-list)
7301 (python-nav-backward-up-list): New functions.
7302 (python-mode-map): Define substitute key for backward-up-list to
7303 python-nav-backward-up-list.
7304
7305 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7306
7307 * progmodes/python.el (python-fill-paragraph): Rename from
7308 python-fill-paragraph-function. Fixed fill-paragraph for
7309 decorators (Bug#12605).
7310
7311 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7312
7313 * progmodes/python.el (python-shell-output-filter): Handle extra
7314 carriage return in OSX (Bug#12409).
7315
7316 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7317
7318 Fix shell handling of unbalanced quotes and parens in output.
7319 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7320 (python-syntax-propertize-function): Use it.
7321 (python-shell-output-syntax-table): New var.
7322 (inferior-python-mode): Prevent unbalanced parens/quotes from
7323 previous output mess with current input context.
7324
7325 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7326
7327 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7328 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7329
7330 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7331
7332 * ffap.el (ffap-replace-file-component): Support Tramp file name
7333 syntax, not only ange-ftp's one.
7334
7335 2012-10-08 Glenn Morris <rgm@gnu.org>
7336
7337 * cus-start.el (message-log-max): Set :version.
7338
7339 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7340
7341 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7342
7343 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7344 the minibuffer window (Bug#10851).
7345
7346 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7347
7348 Enhancements on forward-sexp movement.
7349 * progmodes/python.el (python-nav-beginning-of-statement)
7350 (python-nav-end-of-statement): Return point-marker.
7351 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7352 (python-info-current-symbol)
7353 (python-info-statement-starts-block-p): Rename from
7354 python-info-beginning-of-block-p.
7355 (python-info-statement-ends-block-p): Rename from
7356 python-info-end-of-block-p.
7357 (python-info-beginning-of-statement-p)
7358 (python-info-end-of-statement-p)
7359 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7360 New functions.
7361
7362 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7363
7364 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7365 frame-selected-windows.
7366
7367 2012-10-08 Daniel Colascione <dancol@dancol.org>
7368
7369 * battery.el (battery-status-function): Check for
7370 w32-battery-status itself, not system-time windows-nt.
7371
7372 * frame.el: Require cl-lib.
7373 (display-format-alist): New variable mapping frame types to
7374 functions that initialize them.
7375 (window-system-for-display): New function: interprets
7376 display-format-alist.
7377 (make-frame-on-display): Remove existing display-selection logic
7378 and just forward to make-frame, which will now DTRT.
7379 (make-frame): Restructure to use window-system-for-display to
7380 figure out how to create a frame on a given display.
7381 (display-mouse-p): Look for frame-type w32, not a particular
7382 system-type.
7383
7384 * loadup.el: Load w32 lisp code when we have the w32 feature.
7385
7386 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7387 system-type windows-nt.
7388
7389 * server.el (server-create-window-system-frame): Look for window
7390 type.
7391 (server-proces-filter): Only force a window system when windows-nt
7392 _and_ w32. Explain why.
7393
7394 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7395 of window systems we configure for the mode.
7396
7397 * startup.el (command-line): Mark window system is initialized
7398 after we've done it.
7399
7400 * common-win.el (x-select-text): Look for w32, not windows-nt.
7401
7402 * ns-win.el: Require cl-lib. Add ourselves to
7403 display-format-alist.
7404 (ns-initialize-window-system): Assert we're not initialized twice.
7405
7406 * w32-win.el: Enable lexical binding; require cl-lib; add
7407 ourselves to display-format-alist.
7408 (w32-handle-dropped-file): Convert incoming dropped files from
7409 Windows paths to Cygwin ones before passing them on to the rest of
7410 Emacs.
7411 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7412 (w32-initialize-window-system): Assert we're not initialized twice.
7413
7414 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7415 (x-initialize-window-system): Assert we're not initialized twice.
7416
7417 * w32-common-fns.el: New File.
7418 (w32-version, w32-using-nt, w32-get-clipboard-data)
7419 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7420 (w32-charset-info-alist, x-last-selected, text)
7421 (x-get-selection-value, x-selection-value): Move here.
7422
7423 * w32-fns.el: Require w32-common-fns.
7424 (w32-version, w32-using-nt, w32-get-clipboard-data)
7425 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7426 (w32-charset-info-alist, x-last-selected, text)
7427 (x-get-selection-value, x-selection-value): Move to
7428 w32-common-fns.
7429
7430 * w32-vars.el:
7431 (w32-allow-system-shell, w32-system-shells): Define only in
7432 non-cygwin case.
7433
7434 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7435
7436 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7437 (read-passwd): Remove a few more potential sources of leaks.
7438
7439 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7440
7441 * progmodes/python.el (inferior-python-mode)
7442 (python-shell-make-comint): Fix initialization of local
7443 variables copied from parent buffer.
7444
7445 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7446
7447 * term/ns-win.el (ns-read-file-name): Update declaration to match
7448 nsfns.m.
7449 (ns-respond-to-change-font): Change fontsize separately so we are sure
7450 it is set when font is acted upon.
7451
7452 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7453
7454 Enhancements to indentation.
7455 * progmodes/python.el (python-indent-context): Give priority to
7456 inside-string context. Make comments indentation markers.
7457 (python-indent-region): Do not mess with strings, unless it's the
7458 enclosing set of quotes.
7459
7460 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7461
7462 * window.el (internal--before-save-selected-window)
7463 (internal--after-save-selected-window): New functions extracted from
7464 save-selected-window. Make sure we return the `alist' we construct.
7465 (save-selected-window): Use them.
7466
7467 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7468 Use with-selected-window.
7469
7470 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7471 forms that define macros (bug#12593).
7472
7473 2012-10-07 Kenichi Handa <handa@gnu.org>
7474
7475 * international/mule-conf.el (compound-text-with-extensions):
7476 Add :mime-charset property as x-ctext.
7477
7478 2012-10-07 Stefan Merten <smerten@oekonux.de>
7479
7480 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7481 (rst-indent-literal-normal, rst-indent-literal-minimized)
7482 (rst-indent-comment): Correct :version tag.
7483 (rst-official-cvs-rev): Correct version string.
7484
7485 2012-10-07 Glenn Morris <rgm@gnu.org>
7486
7487 * mail/rmailmm.el (rmail-mime-process-multipart):
7488 Do not confuse a multipart message with an epilogue
7489 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7490
7491 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7492
7493 Fix shell output retrieval and comint-prompt-regexp init.
7494 * progmodes/python.el (inferior-python-mode):
7495 (python-shell-make-comint): Fix initialization of
7496 comint-prompt-regexp from copied file local variables.
7497 (python-shell-fetched-lines): Remove var.
7498 (python-shell-output-filter-in-progress): Rename from
7499 python-shell-fetch-lines-in-progress.
7500 (python-shell-output-filter-buffer): Rename from
7501 python-shell-fetch-lines-string.
7502 (python-shell-fetch-lines-filter): Delete function.
7503 (python-shell-output-filter): New function.
7504 (python-shell-send-string-no-output): Use them.
7505
7506 2012-10-07 Glenn Morris <rgm@gnu.org>
7507
7508 * hi-lock.el (hi-lock-process-phrase):
7509 Try to make it less fragile. (Bug#7161)
7510
7511 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7512
7513 2012-10-06 Glenn Morris <rgm@gnu.org>
7514
7515 * ehelp.el (electric-help-mode): Use help-mode rather than
7516 non-existent mode `help'.
7517 (electric-help-map): Use button-buffer-map. (Bug#10917)
7518
7519 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7520 (reftex-create-bibtex-footer): Fix custom types.
7521
7522 * progmodes/sh-script.el (sh-indent-after-continuation):
7523 Add explicit :group.
7524
7525 * textmodes/rst.el (rst-preferred-decorations)
7526 (rst-shift-basic-offset): Clarify obsolescence versions.
7527
7528 * profiler.el (profiler): Add missing group :version tag.
7529 * avoid.el (mouse-avoidance-banish-position):
7530 * proced.el (proced-renice-command):
7531 * calc/calc.el (calc-ensure-consistent-units):
7532 * calendar/icalendar.el (icalendar-import-format-uid):
7533 * net/tramp.el (tramp-save-ad-hoc-proxies):
7534 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7535 * progmodes/flymake.el (flymake-error-bitmap)
7536 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7537 * progmodes/sh-script.el (sh-indent-after-continuation):
7538 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7539 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7540 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7541 (vhdl-array-index-record-field-in-sensitivity-list)
7542 (vhdl-indent-comment-like-next-code-line):
7543 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7544 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7545 (reftex-cite-key-separator, reftex-create-bibtex-header)
7546 (reftex-create-bibtex-footer):
7547 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7548 (rst-indent-literal-normal, rst-indent-literal-minimized)
7549 (rst-indent-comment): Add missing custom :version tags.
7550
7551 * calendar/timeclock.el (timeclock-modeline-display):
7552 Add missing obsolete alias for renamed user option.
7553
7554 * strokes.el (strokes-modeline-string):
7555 * emulation/crisp.el (crisp-mode-modeline-string):
7556 * eshell/esh-mode.el (eshell-status-in-modeline):
7557 Aliases to defcustoms must come before the defcustom.
7558
7559 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7560 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7561 (cal-tex-cursor-week-monday): Doc fixes.
7562 (cal-tex-cursor-week2-summary): Doc fix.
7563 Rename from cal-tex-cursor-week-at-a-glance.
7564
7565 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7566 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7567
7568 * calendar/calendar.el (calendar-mode-map):
7569 Add cal-tex-cursor-week2-summary.
7570
7571 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7572
7573 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7574
7575 * subr.el (read-passwd-map): New var.
7576 (read-passwd): Use `read-string' again.
7577 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7578
7579 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7580
7581 * register.el (append-to-register, prepend-to-register):
7582 Deactivate mark, as does `copy-to-register' (bug#12389).
7583
7584 2012-10-06 Chong Yidong <cyd@gnu.org>
7585
7586 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7587
7588 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7589
7590 * international/characters.el: Fix simple mistake ((car chars) ->
7591 elt), delete duplicated code.
7592
7593 2012-10-06 Glenn Morris <rgm@gnu.org>
7594
7595 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7596
7597 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7598
7599 * color.el (color-hsl-to-rgb): Fix incorrect results for
7600 small and large hue values. (Bug#12559)
7601
7602 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7603
7604 Enhancements to docstring formatting when filling paragraphs.
7605 * progmodes/python.el (python-fill-docstring-style): Rename from
7606 python-fill-string-style. Added new style.
7607 (python-fill-string): Use new style. Better checks for
7608 docstrings.
7609
7610 2012-10-05 Glenn Morris <rgm@gnu.org>
7611
7612 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7613
7614 * color.el (color-name-to-rgb, color-rgb-to-hex)
7615 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7616 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7617 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7618 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7619
7620 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7621
7622 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7623
7624 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7625 to get the correct size across symlinks.
7626
7627 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7628
7629 2012-10-04 Juri Linkov <juri@jurta.org>
7630
7631 * replace.el (query-replace-interactive): Declare obsolete.
7632 (query-replace-read-from): Add the last incremental search string
7633 to the list of default values accessible via M-n.
7634 (map-query-replace-regexp): Use `read-regexp'.
7635 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7636 (map-query-replace-regexp, replace-string, replace-regexp):
7637 Fix docstrings to replace mentions of `query-replace-interactive'
7638 with alternatives. (Bug#12526)
7639
7640 2012-10-04 Juri Linkov <juri@jurta.org>
7641
7642 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7643 (dired-pop-to-buffer): Declare obsolete.
7644 (dired-mark-pop-up): Doc fix.
7645
7646 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7647
7648 Allow user to set docstring style for fill-paragraph.
7649 * progmodes/python.el
7650 (python-fill-comment-function, python-fill-string-function)
7651 (python-fill-decorator-function, python-fill-paren-function):
7652 Remove :safe for defcustoms.
7653 (python-fill-string-style): New defcustom
7654 (python-fill-paragraph-function): Enhance context detection.
7655 (python-fill-string): Honor python-fill-string-style settings.
7656
7657 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7658
7659 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7660 after setting its buffer (Bug#10805).
7661
7662 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7663
7664 Fix cornercase for string syntax.
7665 * progmodes/python.el (python-syntax-propertize-function):
7666 Simplify and enhance the regexp for unescaped quotes. Now it also
7667 matches quotes in weird situations like the single quote in
7668 "something\"'".
7669 (python-syntax-stringify): Simplify num-quotes detecting code.
7670
7671 2012-10-03 Glenn Morris <rgm@gnu.org>
7672
7673 * help-macro.el (three-step-help):
7674 Revert 2012-09-29 change. (Bug#12567)
7675
7676 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7677
7678 * menu-bar.el (kill-this-buffer): Don't do anything when
7679 `menu-frame' is not alive or visible (Bug#8184).
7680
7681 * emacs-lisp/debug.el (debug): When quitting the debugger window
7682 restore current buffer (Bug#12502).
7683
7684 2012-10-02 Chong Yidong <cyd@gnu.org>
7685
7686 * progmodes/hideif.el (hif-lookup, hif-defined):
7687 Handle semantic-c-takeover-hideif.
7688
7689 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7690
7691 Change sampling interval units from ms to ns.
7692 * profiler.el (profiler-sampling-interval): Change units
7693 from ms to ns, multiplying the default by 1000000 so that
7694 it remains 1 ms.
7695 (profiler-report-cpu-line-format): Give enough room for
7696 the maximum counters on 64-bit hosts.
7697 (profiler-report-render-calltree-1): Call them "CPU samples",
7698 not "Time (ms)", since they are not milliseconds now (and
7699 never really were).
7700
7701 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7702
7703 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7704 Fix querying BBDB for entries without a last name (Bug#11580).
7705
7706 2012-10-02 Chong Yidong <cyd@gnu.org>
7707
7708 * emacs-lisp/eieio.el: Restore Version header.
7709
7710 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7711
7712 * vc/diff-mode.el (diff--auto-refine-data): New var.
7713 (diff-hunk): Use it to delay refinement.
7714 (diff-mode): Remove overlays when we turn off font-lock.
7715
7716 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7717 (table-initialize-table-fixed-width-mode)
7718 (table-set-table-fixed-width-mode): Remove functions.
7719 (table-command-list): Move initialization into declaration.
7720 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7721 (table-with-cache-buffer): Use `declare'.
7722 (table-span-cell): Simplify via CSE.
7723 (table-fixed-width-mode): Use define-minor-mode.
7724 (table-call-interactively, table-funcall, table-apply): Remove.
7725 (table-function): New function, to replace them.
7726
7727 * bookmark.el (bookmark-search-pattern): Remove var.
7728 (bookmark-read-search-input): Remove function.
7729 (bookmark-bmenu-search): Reimplement using a minibuffer.
7730
7731 * faces.el (modeline): Remove obsolete face name.
7732
7733 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7734 and give a non-nil default value.
7735 (add-change-log-entry): Simplify accordingly.
7736
7737 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7738
7739 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7740 (vc-git-log-edit-toggle-amend): New function.
7741 (vc-git-log-edit-toggle-signoff): New function.
7742 (vc-git-log-edit-mode): New major mode.
7743 (vc-git-log-edit-mode-map): Keymap for it.
7744 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7745
7746 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7747 header names.
7748 (log-edit-toggle-header): New function.
7749 (log-edit-extract-headers): Accept function values in HEADERS alist.
7750
7751 2012-10-01 David Engster <deng@randomsample.de>
7752
7753 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7754 from symbol property and change message to be more consistent with
7755 Emacs proper.
7756 (eieio-describe-generic): Add filename for each implementation.
7757 Fix indices for generic and normal methods.
7758 (eieio-method-def, eieio-class-def): New buttons.
7759 (eieio-help-find-method-definition)
7760 (eieio-help-find-class-definition): New functions.
7761 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7762 class, constructor and method definitions.
7763
7764 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7765 information in symbol property.
7766 (scoped-class): Remove.
7767 (eieio-slot-name-index, call-next-method): Check if it is bound.
7768
7769 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7770
7771 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7772 (eieio-custom-mode): New major mode.
7773 (eieio-customize-object): Use it.
7774
7775 2012-10-01 Eric Ludlam <zappo@gnu.org>
7776
7777 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7778 specifying the expected class, and whether subclassing is allowed.
7779 (eieio-persistent-convert-list-to-object):
7780 (eieio-persistent-validate/fix-slot-value)
7781 (eieio-persistent-slot-type-is-class-p): New functions.
7782 (eieio-named::slot-missing): Doc fix.
7783
7784 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7785 Stop using unused publd variable.
7786
7787 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7788 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7789 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7790 (eieio-speedbar-handle-click): Do not specify a class for the
7791 method. Fixes method invocation order problems with EDE.
7792
7793 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7794
7795 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7796 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7797
7798 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7799
7800 * bookmark.el (bookmark-version-control): Give tags in the
7801 :type choices (Bug#12309), and improve doc string.
7802 (bookmark-write-file): Bind `print-circle' to `t' to allow
7803 circular custom bookmark types. (Bug#12503)
7804
7805 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7806
7807 Revert the FOLLOW-SYMLINKS change for file-attributes.
7808 * files.el (remote-file-name-inhibit-cache, after-find-file):
7809 * time.el (display-time-file-nonempty-p): Undo last change.
7810
7811 * profiler.el (profiler-sampling-interval): Change default back to 1.
7812 See Stefan Monnier in
7813 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7814
7815 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7816
7817 Shell output catching a la gud-gdb.
7818 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7819 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7820 New Vars.
7821 (python-shell-fetch-lines-filter): New function.
7822 (python-shell-send-string-no-output): Use them.
7823
7824 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7825
7826 * profiler.el (profiler-sampling-interval): Rename from
7827 profiler-sample-interval.
7828 (profiler-sampling-interval): Default to 10.
7829 (profiler-find-profile): New command (was profiler-find-log).
7830 (profiler-find-profile-other-window): New command.
7831 (profiler-find-profile-other-frame): New command.
7832 (profiler-profile): Introduce API-level data structure.
7833
7834 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7835
7836 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7837 * files.el (remote-file-name-inhibit-cache):
7838 * time.el (display-time-file-nonempty-p): Use it.
7839 * files.el (after-find-file): Don't chase links before calling
7840 file-exists-p, as file-exists-p already does the right thing.
7841
7842 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7843
7844 Merge from standalone RefTeX repository.
7845
7846 The following ChangeLog entries are shortened versions of the
7847 original ones with file paths adapted. A not so strongly edited
7848 version of the original ChangeLog can be found in the commit log.
7849
7850 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7851 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7852 Correctly handle new value type returned by `reftex-citation'.
7853
7854 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7855 that entries with whitespace at various places are found.
7856 Doc fix. Include entries that are cross-referenced from cited entries.
7857 Include @String definitions in the resulting bib file. Add header
7858 and footer defined in `reftex-create-bibtex-header' and
7859 `reftex-create-bibtex-footer'.
7860 (reftex-do-citation): Make it possible again to insert
7861 non-existent entries. Save match data when asking for optional
7862 arguments. Return all keys, not just the first one.
7863 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7864 all citations in the same line.
7865 (reftex-parse-bibtex-entry): Accept additional optional argument
7866 `raw' and keep quotes or braces if it is non-nil. Match fields
7867 containing hyphens besides word constituents.
7868 (reftex-get-string-refs): New function.
7869 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7870 and ask if it should be reread in case it did.
7871 (reftex-pop-to-bibtex-entry)
7872 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7873 entries with spaces or tabs in front of arguments.
7874 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7875 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7876 Match entries containing numbers and symbol constituents.
7877 (reftex-do-citation, reftex-figure-out-cite-format):
7878 Use `reftex-cite-key-separator'.
7879
7880 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7881 (reftex-mouse-view-crossref): Explain why point is set.
7882
7883 * textmodes/reftex-global.el: Whitespace changes.
7884
7885 * textmodes/reftex-index.el: Move provide statement to end of
7886 file.
7887 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7888 (reftex-index-visit-phrases-buffer): Set marker when visiting
7889 buffer. This allows for returning from the phrases file to the
7890 file one was just editing instead of the file where the last
7891 phrases was added from.
7892 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7893 punctuation syntax as it usually is not used as string quote in
7894 TeX-related modes and may occur unmatched. The change also
7895 prevents fontification of quoted content.
7896 (reftex-index-phrases-mode): Use it.
7897
7898 * textmodes/reftex-parse.el (reftex-parse-from-file):
7899 Move backward one char if a `\' was matched after a section macro.
7900 (reftex-parse-from-file): Use beginning of match instead of end as
7901 bound.
7902
7903 * textmodes/reftex-ref.el: Adapt creation of
7904 `reftex-<package>-<macro>' functions to new structure of
7905 `reftex-ref-style-alist'.
7906 (reftex-reference): Use `reftex-ref-style-list' function.
7907 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7908 reference macro if `reftex-ref-macro-prompt' is non-nil.
7909 (reftex-reference): Pass refstyle to `reftex-format-special'.
7910 Determine reference macro by looking at
7911 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7912 Use only one special format function.
7913 (reftex-varioref-vref, reftex-fancyref-fref)
7914 (reftex-fancyref-Fref): Remove definitions. The functions are now
7915 generated from `reftex-ref-style-alist'.
7916 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7917 Remove.
7918 (reftex-format-special): New function.
7919
7920 * textmodes/reftex-sel.el
7921 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7922 of `reftex-ref-style-alist'. Remove code for testing macro type.
7923 (reftex-select-toggle-varioref)
7924 (reftex-select-toggle-fancyref): Remove.
7925 (reftex-select-cycle-ref-style-internal)
7926 (reftex-select-cycle-ref-style-forward)
7927 (reftex-select-cycle-ref-style-backward): New functions.
7928 (reftex-select-label-map): Use `v' and `V' for general cycling
7929 through reference styles. Add `p' for switching between number
7930 and page reference types.
7931
7932 * textmodes/reftex-toc.el (reftex-re-enlarge):
7933 Call `enlarge-window' only if there is something to do because in Emacs
7934 the horizontal version throws an error even if the parameter is 0.
7935
7936 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7937 (reftex-plug-into-AUCTeX): Doc fix.
7938 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7939 string. Adapt to new name.
7940 (reftex-ref-style-alist): Change structure so that it is not
7941 possible to use multiple different package names within a style.
7942 Remove the symbols for symbols for macro type distinction.
7943 Add characters for macro selection.
7944 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7945 (reftex-create-bibtex-footer): New variables.
7946 (reftex-format-ref-function): Mention third argument of special
7947 format function.
7948 (reftex-ref-style-alist, reftex-ref-style-default-list):
7949 New variables.
7950 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7951 to new implementation. Mark as obsolete. Add compatibility code
7952 for honoring the variable values in case they are set.
7953 (reftex-cite-format-builtin, reftex-bibliography-commands):
7954 Add support for ConTeXt.
7955 (reftex-format-ref-function, reftex-format-cite-function):
7956 Fix custom type.
7957 (reftex-cite-key-separator): New variable.
7958
7959 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7960 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7961 `reftex-syntax-table' because parens have to retain their paren
7962 syntax in order for parsing of BibTeX entries like @book(...) to
7963 work.
7964 (reftex-in-comment): Do not error out if `comment-start-skip' is
7965 not set. Deal correctly with escaped comment characters.
7966 (reftex-tie-multifile-symbols): Add doc string.
7967 Initialize `reftex-ref-style-list'.
7968 (reftex-untie-multifile-symbols): Add doc string.
7969 (reftex-add-index-macros): Doc fix.
7970 (reftex-ref-style-activate, reftex-ref-style-toggle)
7971 (reftex-ref-style-list): New functions.
7972 (reftex-mode-menu): Use them. Adapt to new structure of
7973 `reftex-ref-style-alist'.
7974 (reftex-select-with-char): Kill the RefTeX Select buffer when
7975 done.
7976 (reftex-remove-if): New function.
7977 (reftex-erase-all-selection-and-index-buffers)
7978 (reftex-mode-menu): Reference styles are now computed from
7979 `reftex-ref-style-alist'. Fix typo.
7980 (reftex-report-bug): New function.
7981 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7982 algorithms with O(n log n). Introduce optional argument SORT (not
7983 yet used).
7984
7985 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7986
7987 Enhancements for triple-quote string syntax.
7988 * progmodes/python.el (python-syntax-propertize-function):
7989 Match both quote cases in one regexp.
7990 (python-syntax-stringify): Handle matches properly.
7991
7992 2012-09-30 Juri Linkov <juri@jurta.org>
7993
7994 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7995 to nil around the call to `insert' to prevent
7996 directory time modification by lock_file. (Bug#2295)
7997 * tar-mode.el (tar-summarize-buffer): Idem.
7998
7999 2012-09-30 Juri Linkov <juri@jurta.org>
8000
8001 * facemenu.el (list-colors-sort): Add option "Luminance".
8002 (list-colors-sort-key): Implement it.
8003
8004 * vc/diff-mode.el (diff-refine-removed):
8005 * vc/ediff-init.el (ediff-fine-diff-A):
8006 * vc/smerge-mode.el (smerge-refined-removed):
8007 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
8008
8009 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
8010
8011 * term/ns-win.el (x-file-dialog): New function.
8012
8013 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
8014
8015 * ido.el (ido-max-directory-size): Default to nil; the current
8016 default is small for POSIX systems, and impractical on Windows 7
8017 now that lstat returns directory sizes for NTFS.
8018
8019 2012-09-30 Martin Rudalics <rudalics@gmx.at>
8020
8021 In buffer display functions handle window-height/window-width
8022 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
8023 * window.el (window--display-buffer): New argument ALIST.
8024 Obey window-height and window-width alist entries.
8025 (window--try-to-split-window): New argument ALIST.
8026 Bind window-combination-limit to t when the window's size shall be
8027 changed and window-combination-limit equals `window-size'.
8028 (display-buffer-in-atom-window)
8029 (display-buffer-in-major-side-window)
8030 (display-buffer-in-side-window, display-buffer-same-window)
8031 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8032 (display-buffer-pop-up-window, display-buffer-below-selected)
8033 (display-buffer-at-bottom, display-buffer-in-previous-window)
8034 (display-buffer-use-some-window): Adjust all callers of
8035 window--display-buffer and window--try-to-split-window.
8036 (fit-frame-to-buffer): New option.
8037 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
8038 is non-nil.
8039 (display-buffer-in-major-side-window): Evaluate window-height /
8040 window-width alist entries.
8041
8042 * help.el (temp-buffer-resize-frames)
8043 (temp-buffer-resize-regexps): Remove options.
8044 (temp-buffer-resize-mode): Adjust doc-string.
8045 (resize-temp-buffer-window): Don't consult
8046 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8047 temp-buffer-resize-frames.
8048
8049 * dired.el (dired-mark-pop-up):
8050 Call display-buffer-below-selected with a fit-window-to-buffer alist
8051 entry.
8052
8053 2012-09-30 Chong Yidong <cyd@gnu.org>
8054
8055 * server.el (server-host): Document the security implications.
8056 (server-auth-key): Doc fix.
8057
8058 * startup.el (initial-buffer-choice): Doc fix.
8059
8060 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8061
8062 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8063 restriction change.
8064
8065 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8066
8067 * help-fns.el (help-fns--obsolete): Fix last change.
8068
8069 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8070
8071 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8072 (minor-mode-map-alist): Remove redundant code.
8073
8074 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8075 visited in a buffer.
8076 (cvs-insert-visited-file): New function.
8077 (find-file-hook): Use it.
8078
8079 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8080
8081 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8082 chose face.
8083 (log-edit-empty-buffer-p): Don't require a space after a header.
8084
8085 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8086
8087 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8088
8089 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8090 a proper minor-mode.
8091
8092 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8093
8094 2012-09-29 Glenn Morris <rgm@gnu.org>
8095
8096 * winner.el (winner-mode): Remove variable (let define-minor-mode
8097 handle it).
8098 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8099 Doc fixes.
8100 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8101 (winner-mode): Use define-minor-mode.
8102
8103 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8104 the full definition in loaddefs, rather than duplicating it.
8105
8106 * help-macro.el (three-step-help): No need to autoload defcustom.
8107
8108 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8109 (inferior-lisp-program, inferior-lisp-load-command)
8110 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8111 No need to autoload defcustoms.
8112
8113 * hippie-exp.el (hippie-expand-try-functions-list)
8114 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8115 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8116 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8117 (hippie-expand-only-buffers): No need to autoload defcustoms.
8118 * progmodes/vhdl-mode.el (vhdl-line-expand):
8119 Explicitly load hippie-exp, so it does not get autoloaded
8120 while hippie-expand-try-functions-list is let-bound.
8121
8122 2012-09-28 Glenn Morris <rgm@gnu.org>
8123
8124 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8125
8126 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8127 Only "cl.el" counts as cl these days.
8128
8129 2012-09-28 Juri Linkov <juri@jurta.org>
8130
8131 Display archive errors in the echo area instead of inserting
8132 to the file buffer.
8133
8134 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8135 to STDERR-TEST that can be a regexp matching a successful output.
8136 Create a temporary file and redirect stderr to it. Search for
8137 STDERR-TEST in the stderr output and display it in the echo area
8138 if no match is found.
8139 (archive-extract-by-file): New function like
8140 `archive-extract-by-stdout' but extracting archives to files
8141 and looking for successful matches in stdout. Function body is
8142 mostly copied from `archive-rar-extract'.
8143 (archive-rar-extract): Use `archive-extract-by-file'.
8144 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8145
8146 2012-09-28 Leo Liu <sdl.web@gmail.com>
8147
8148 * pcomplete.el (pcomplete-show-completions):
8149 Use minibuffer-message to make pcomplete usable in minibuffer.
8150
8151 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8152
8153 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * type-break.el: Use lexical-binding.
8156 (type-break-mode): Use define-minor-mode.
8157
8158 * emacs-lisp/pcase.el (pcase--mark-used): New.
8159 (pcase--u1): Use it (bug#12512).
8160
8161 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8162 in load-history with the right file name.
8163
8164 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8165
8166 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8167 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8168 (doc-view-get-bounding-box): Make bounding box slicing work for
8169 ODF and DVI documents.
8170
8171 2012-09-28 Glenn Morris <rgm@gnu.org>
8172
8173 * type-break.el (type-break-mode, type-break-interval)
8174 (type-break-good-rest-interval, type-break-keystroke-threshold):
8175 No need to autoload.
8176 (type-break-good-rest-interval, type-break-keystroke-threshold):
8177 Add :set-after.
8178
8179 2012-09-28 Chong Yidong <cyd@gnu.org>
8180
8181 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8182 Add :version tag.
8183
8184 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8187
8188 2012-09-27 Glenn Morris <rgm@gnu.org>
8189
8190 * faces.el (x-display-name): Declare (for without-x builds).
8191
8192 * linum.el (linum-format): Don't autoload it. Improve :type.
8193
8194 * progmodes/tcl.el: Don't require outline when compiling.
8195 (outline-regexp, outline-level): Declare.
8196 * textmodes/sgml-mode.el: Don't require outline when compiling.
8197 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8198
8199 * term.el (term-ansi-reset):
8200 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8201
8202 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8203 files for RCS and SCCS. (Bug#9781)
8204
8205 2012-09-27 Chong Yidong <cyd@gnu.org>
8206
8207 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8208 change; value should be t.
8209
8210 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8211
8212 * image-mode.el: Use lexical-binding.
8213 (image-mode-winprops): Use t to stand for the window of
8214 a buffer that's not displayed.
8215 * doc-view.el (doc-view-new-window-function): Handle the new
8216 t in winprops.
8217 (doc-view-enlarge): Make it a real nop if the size is not changed.
8218 (doc-view-display): Handle the case where the buffer is not (yet?)
8219 displayed in any window.
8220 (doc-view-saved-settings): New var.
8221 (doc-view-mode): Use it.
8222 (doc-view-fallback-mode): Set it.
8223
8224 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8225 Set lexical-binding.
8226 (minibuffer-eldef-shorten-default): New var.
8227 (minibuffer-default-in-prompt-regexps): Use it for new default.
8228 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8229
8230 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8231
8232 * international/uni-bidi.el:
8233 * international/uni-category.el:
8234 * international/uni-name.el:
8235 * international/uni-numeric.el: Regenerate.
8236
8237 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8238 Stefan Monnier <monnier@iro.umontreal.ca>
8239
8240 * profiler.el: New file.
8241
8242 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8243
8244 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8245 (testcover-reinstrument): Simplify with CSE.
8246
8247 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8248
8249 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8250
8251 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8252
8253 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8254 (verilog-auto-input, verilog-auto-insert-lisp)
8255 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8256 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8257 (verilog-auto-unused, verilog-auto-wire)
8258 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8259 newline. Reported by Andrew Jones.
8260 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8261 Reported by Brad Dobbie.
8262 (verilog-batch-delete-trailing-whitespace):
8263 Create verilog-batch-delete-trailing-whitespace.
8264 Reported by Brad Dobbie.
8265 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8266 parameters from another module. Reported by Dan Katz.
8267 (verilog-auto, verilog-auto-assign-modport)
8268 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8269 AUTOINOUTMODPORT for UVM interface module shell generation.
8270 Reported by Brad Dobbie.
8271 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8272 standard behavior.
8273 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8274 Reported by Matt Martin.
8275
8276 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8277
8278 * window.el (window--resize-child-windows): When resizing child
8279 windows proportionally, process them in reverse order to
8280 preserve the "when splitting a window the new one gets the odd
8281 line" behavior.
8282 (window--resize-root-window-vertically): When resizing the
8283 minibuffer window try to affect only windows at the bottom of the
8284 frame. (Bug#12419)
8285
8286 2012-09-25 Chong Yidong <cyd@gnu.org>
8287
8288 * subr.el (declare): Doc fix.
8289
8290 * help-fns.el (help-fns--obsolete): Handle macros properly.
8291
8292 2012-09-25 Chong Yidong <cyd@gnu.org>
8293
8294 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8295 this function obsolete.
8296
8297 * calendar/cal-x.el (calendar-two-frame-setup)
8298 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8299 * calendar/calendar.el (american-calendar, european-calendar)
8300 (calendar-for-loop):
8301 * comint.el (comint-dynamic-simple-complete)
8302 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8303 * desktop.el (desktop-load-default):
8304 * dired-x.el (dired-omit-here-always)
8305 (dired-hack-local-variables, dired-default-directory):
8306 * emacs-lisp/derived.el (derived-mode-class):
8307 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8308 * emacs-lock.el (toggle-emacs-lock):
8309 * epa.el (epa-display-verify-result):
8310 * epg.el (epg-sign-keys, epg-start-sign-keys)
8311 (epg-passphrase-callback-function):
8312 * eshell/esh-util.el (eshell-for):
8313 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8314 (eshell-add-to-window-buffer-names):
8315 * files.el (locate-file-completion):
8316 * imenu.el (imenu-example--create-c-index)
8317 (imenu-example--create-lisp-index)
8318 (imenu-example--lisp-extract-index-name)
8319 (imenu-example--name-and-position):
8320 * international/mule-cmds.el (princ-list):
8321 * international/mule-diag.el (decode-codepage-char):
8322 * international/mule-util.el (detect-coding-with-priority):
8323 * iswitchb.el (iswitchb-read-buffer):
8324 * mail/mailalias.el (mail-complete):
8325 * mail/sendmail.el (mail-sent-via):
8326 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8327 (mouse-major-mode-menu):
8328 * password-cache.el (password-read-and-add):
8329 * pcomplete.el (pcomplete-parse-comint-arguments):
8330 * progmodes/sh-script.el (sh-maybe-here-document):
8331 * replace.el (query-replace-regexp-eval):
8332 * savehist.el (savehist-load):
8333 * simple.el (choose-completion-delete-max-match):
8334 * term.el (term-dynamic-simple-complete):
8335 * vc/ediff-init.el (ediff-check-version):
8336 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8337 * vc/vc.el (vc-diff-switches-list):
8338 * view.el (view-return-to-alist-update): Likewise.
8339
8340 * subr.el (eval-next-after-load, makehash, insert-string)
8341 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8342 mark obsolete.
8343 (mode-line-inverse-video): Variable deleted.
8344
8345 * international/mule-util.el (string-to-sequence): Remove.
8346
8347 * calendar/calendar.el (calendar-version):
8348 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8349 (icalendar-convert-diary-to-ical):
8350 * cus-edit.el (custom-mode):
8351 * ansi-color.el (ansi-color-unfontify-region):
8352 * international/latin1-disp.el (latin1-char-displayable-p):
8353 * progmodes/cwarn.el (turn-on-cwarn-mode):
8354 * progmodes/which-func.el (which-func-update-1):
8355 Use define-obsolete-function-alias.
8356
8357 * net/newst-backend.el (newsticker-cache-filename):
8358 * net/newst-treeview.el (newsticker-groups-filename):
8359 Fix incorrect obsolescence declaration.
8360
8361 * allout.el (allout-passphrase-hint-string): Likewise.
8362 (allout-init): Use a declare form to mark obsolete.
8363
8364 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8365 this applies to functions.
8366
8367 * iswitchb.el (iswitchb-read-buffer): Move code of
8368 iswitchb-define-mode-map here, and delete that obsolete function.
8369
8370 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8371 font-lock-reference-face.
8372
8373 2012-09-25 Glenn Morris <rgm@gnu.org>
8374
8375 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8376 Doc fixes.
8377
8378 * eshell/em-term.el (eshell-term-name):
8379 Default to term-term-name. (Bug#12485)
8380
8381 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8382
8383 * progmodes/python.el (python-shell-send-buffer): Better handling
8384 of "if __name__ == '__main__':" conditionals when sending the buffer.
8385
8386 2012-09-24 Glenn Morris <rgm@gnu.org>
8387
8388 * eshell/esh-cmd.el (eshell-find-alias-function):
8389 Tighten up file-name regexp. (Bug#12499)
8390
8391 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8392
8393 Enhancements for triple-quote string syntax.
8394 * progmodes/python.el (python-quote-syntax): Remove.
8395 (python-syntax-propertize-function): New value.
8396 (python-syntax-count-quotes, python-syntax-stringify):
8397 New functions.
8398
8399 2012-09-24 Chong Yidong <cyd@gnu.org>
8400
8401 * mail/supercite.el (sc-version): Remove obsolete function.
8402 (sc-describe): Don't mark as obsolete, since it is bound.
8403 (sc-submit-bug-report): Remove.
8404
8405 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8406 (cvs-commit-buffer-require-final-newline): Remove.
8407 (log-edit-require-final-newline)
8408 (log-edit-changelog-full-paragraphs): Default to t.
8409
8410 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8411 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8412 * vc/vc.el (vc-checkout-carefully): Likewise.
8413
8414 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8415 (emerge-version): Remove.
8416
8417 * progmodes/compile.el (compile-internal): Remove.
8418 (compilation-parse-errors-function): Fix typo.
8419
8420 * international/mule.el (set-char-table-default): Remove.
8421 (set-coding-priority, make-coding-system, generic-char-p)
8422 (charset-list, charset-bytes, charset-id): Use declare to mark
8423 functions as obsolete.
8424
8425 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8426 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8427 * vc/vc-hooks.el (vc-default-registered): Don't use
8428 vc-master-templates.
8429
8430 * font-lock.el (font-lock-reference-face):
8431 Use define-obsolete-variable-alias.
8432
8433 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8434 * calendar/calendar.el (calendar-font-lock-keywords):
8435 * calendar/diary-lib.el (diary-font-lock-keywords)
8436 (diary-fancy-font-lock-keywords):
8437 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8438 * textmodes/reftex-index.el (reftex-insert-index):
8439 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8440 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8441 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8442 * progmodes/prolog.el (prolog-font-lock-keywords):
8443 * progmodes/idlwave.el (idlwave-idl-keywords):
8444 * progmodes/ada-mode.el (ada-font-lock-keywords):
8445 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8446
8447 2012-09-24 Glenn Morris <rgm@gnu.org>
8448
8449 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8450
8451 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8452
8453 * progmodes/python.el (python-indent-line): More consistent cursor
8454 movement behavior.
8455
8456 2012-09-23 Stefan Merten <smerten@oekonux.de>
8457
8458 * textmodes/rst.el: Fix compiler warning.
8459
8460 2012-09-23 Roland Winkler <winkler@gnu.org>
8461
8462 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8463 Transcribe also LaTeX hyphenation.
8464 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8465 bibtex-reformat-previous-options.
8466
8467 2012-09-23 Roland Winkler <winkler@gnu.org>
8468
8469 * proced.el (proced-renice-command): New variable.
8470 (proced-marked-processes): New function.
8471 (proced-with-processes-buffer): New macro.
8472 (proced-send-signal): Use them.
8473 (proced-renice): New command bound to r.
8474
8475 2012-09-23 Roland Winkler <winkler@gnu.org>
8476
8477 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8478 ibuffer-saved-filter-groups has one element, shortcut the call of
8479 completing-read. (Bug#12331)
8480
8481 2012-09-23 Chong Yidong <cyd@gnu.org>
8482
8483 * bindings.el (mode-line-toggle-read-only):
8484 * bs.el (bs-toggle-readonly):
8485 * buff-menu.el (Buffer-menu-toggle-read-only):
8486 * dired.el (dired-toggle-read-only):
8487 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8488
8489 2012-09-23 Chong Yidong <cyd@gnu.org>
8490
8491 * image.el (image-type-available-p): Adapt to init-image-library
8492 argument changes.
8493
8494 2012-09-22 Juri Linkov <juri@jurta.org>
8495
8496 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8497 `dired-toggle-read-only'. (Bug#12462)
8498
8499 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8500
8501 * subr.el (temp-output-buffer-show): New function.
8502 (with-output-to-temp-buffer): Call temp-output-buffer-show
8503 instead of internal-temp-output-buffer-show.
8504
8505 2012-09-22 Chong Yidong <cyd@gnu.org>
8506
8507 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8508 (Bug#12462).
8509
8510 * repeat.el (repeat): Doc fix (Bug#12348).
8511
8512 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8513 (Bug#10909).
8514
8515 * simple.el (shell-command-on-region): Doc fix.
8516 (read-only-mode): Doc fix.
8517
8518 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8519
8520 * emacs-lisp/timer.el (run-with-idle-timer)
8521 (timer-activate-when-idle): Warn against reinvoking an idle timer
8522 from within its own timer action. (Bug#12447)
8523
8524 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8525
8526 * cus-start.el (window-combination-limit): Add new optional
8527 values.
8528 * window.el (temp-buffer-window-show)
8529 (window--try-to-split-window): Handle new values of
8530 window-combination-limit (Bug#1806).
8531 (split-window): Test window-combination-limit for t instead of
8532 non-nil.
8533 (display-buffer-at-bottom): New buffer display action function.
8534 * help.el (temp-buffer-resize-regexps): New option.
8535 (temp-buffer-resize-mode): Rewrite doc-string.
8536 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8537 Don't resize reused window. Suggested by Glenn Morris.
8538
8539 2012-09-22 Stefan Merten <smerten@oekonux.de>
8540
8541 * textmodes/rst.el: Revamp section title faces.
8542 (rst-official-version)
8543 (rst-package-emacs-version-alist): Sync with official version
8544 V1.4.0.
8545 (rst-faces-defaults, rst-set-level-default)
8546 (rst-level-face-max, rst-level-face-base-color)
8547 (rst-level-face-base-light, rst-level-face-format-light)
8548 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8549 (rst-adornment-faces-alist): Match new setup.
8550 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8551 (rst-level-5, rst-level-6): New faces.
8552
8553 2012-09-22 Chong Yidong <cyd@gnu.org>
8554
8555 * simple.el (undo): Handle indirect buffers (Bug#8207).
8556
8557 2012-09-21 Leo Liu <sdl.web@gmail.com>
8558
8559 IDO: Disable match re-ordering for buffer switching.
8560 * ido.el (ido-buffer-disable-smart-matches): New variable.
8561 (ido-set-matches-1): Use it. (Bug#2042)
8562
8563 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8564
8565 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8566 Fix 2011-05-17 change. (Bug#12418)
8567
8568 2012-09-21 Leo Liu <sdl.web@gmail.com>
8569
8570 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8571
8572 2012-09-21 Glenn Morris <rgm@gnu.org>
8573
8574 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8575 Be more robust about locating simple.el.
8576
8577 2012-09-21 Glenn Morris <rgm@gnu.org>
8578
8579 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8580
8581 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8582
8583 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8584
8585 2012-09-20 Juri Linkov <juri@jurta.org>
8586
8587 * replace.el (query-replace-read-from): Use `read-regexp' instead
8588 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8589 (occur-read-primary-args): Use `read-regexp' instead of
8590 `read-string'.
8591 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8592 `read-from-minibuffer'.
8593 * isearch.el (isearch-occur): Use `read-regexp' instead of
8594 `read-string'.
8595 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8596 `read-from-minibuffer'.
8597 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8598 of `read-string'. (Bug#7567)
8599
8600 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8601 and allow accepting a list of strings prepended to a list of
8602 standard default values. Doc fix. (Bug#12321)
8603
8604 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8605
8606 * replace.el (read-regexp): Don't add ": " when PROMPT already
8607 ends with a colon and space. (Bug#12321)
8608
8609 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8610
8611 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8612 error.
8613
8614 2012-09-20 Stefan Merten <smerten@oekonux.de>
8615
8616 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8617 Fixes feature request bug#11711.
8618 (rst-mode): Create `imenu-create-index-function'.
8619 (rst-get-stripped-line): Delete after refactoring.
8620 (rst-section-tree, rst-section-tree-rec)
8621 (rst-section-tree-point): Refactor and document properly.
8622 (rst-imenu-find-adornments-for-position)
8623 (rst-imenu-convert-cell, rst-imenu-create-index):
8624 New function.
8625
8626 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8627
8628 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8629 (macroexp--expand-all): Use it.
8630 (macroexp--funcall-and-return): Remove by folding it into its sole
8631 caller (macroexp--warn-and-return).
8632 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8633 Use macroexp--obsolete-warning.
8634
8635 * calc/calc.el: Fix last change by removing the whole chunk, since it
8636 was only needed back when Calc was not bundled.
8637
8638 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8639
8640 * emacs-lisp/debug.el (debug): Restore assignment to
8641 debugger-old-buffer removed on 2012-09-08.
8642
8643 2012-09-20 Juri Linkov <juri@jurta.org>
8644
8645 * dired-aux.el (dired-diff): Remove (require 'diff) since
8646 `diff-latest-backup-file' is now autoloaded.
8647
8648 2012-09-20 Chong Yidong <cyd@gnu.org>
8649
8650 * vc/diff.el (diff-latest-backup-file): Autoload.
8651
8652 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8653
8654 * calc/calc.el: Remove redundant autoload shape check.
8655 (sel-mode): Don't defvar.
8656 (calc-get-stack-element): Add `sel-mode' arg instead.
8657 (calc-top, calc-top-list): Pass it this additional argument.
8658 * calc/calc-store.el (calc-store-map):
8659 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8660 (calc-map-equation, calc-outer-product, calc-inner-product):
8661 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8662
8663 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8664
8665 2012-09-19 Juri Linkov <juri@jurta.org>
8666
8667 * dired-aux.el (dired-diff): Add (require 'diff) because
8668 `diff-latest-backup-file' is not autoloaded.
8669 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8670 of `dired-get-filename' to t to not report error when there is
8671 no default file on the current line.
8672
8673 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8674
8675 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8676 macroexp--eval-if-compile.
8677 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8678 (macroexp--expand-all): Use them (bug#12371).
8679
8680 * doc-view.el (doc-view-guess-paper-size)
8681 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8682
8683 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8684
8685 New feature: set optimal slice from BoundingBox information.
8686 * doc-view.el (doc-view-mode-map): Add keybinding.
8687 (doc-view-menu): Add menu entry.
8688 (doc-view-set-slice): Adapt docstring.
8689 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8690 (doc-view-scale-bounding-box)
8691 (doc-view-set-slice-from-bounding-box): New functions.
8692 (doc-view-paper-sizes): New defvar.
8693
8694 2012-09-19 Glenn Morris <rgm@gnu.org>
8695
8696 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8697 (byte-compile-log-warning): Autoload. (Bug#12371)
8698
8699 * calendar/calendar.el (calendar-american-month-header)
8700 (calendar-european-month-header, calendar-iso-month-header)
8701 (calendar-month-header): New options.
8702 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8703 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8704
8705 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8706
8707 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8708
8709 2012-09-18 Juri Linkov <juri@jurta.org>
8710
8711 * dired-aux.el (dired-diff): Restore original functionality of
8712 getting the default value, but keep new feature of using the
8713 latest existing backup file (`diff-latest-backup-file').
8714
8715 2012-09-18 Juri Linkov <juri@jurta.org>
8716
8717 * dired.el (dired-mark): If the region is active in Transient Mark
8718 mode, mark all files in the active region. Doc fix.
8719 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8720 Doc fix. (Bug#10624)
8721
8722 2012-09-18 Juri Linkov <juri@jurta.org>
8723
8724 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8725 attributes for M-n are pulled from the file at point.
8726 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8727 Suggested by Drew Adams. (Bug#10624)
8728
8729 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8730
8731 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8732 whitespace after "end".
8733 (ruby-do-end-to-brace): Collapse block to one line if it fits
8734 within fill-column.
8735
8736 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8737
8738 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8739 value.
8740 (debug): Don't remove debugger window when debugger is expected
8741 to be back.
8742
8743 2012-09-18 Chong Yidong <cyd@gnu.org>
8744
8745 * custom.el (defface): Doc fix.
8746
8747 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8748
8749 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8750
8751 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8752 to initialize query-on-exit; then test that instead (bug#12288).
8753
8754 2012-09-17 Stefan Merten <smerten@oekonux.de>
8755
8756 * textmodes/rst.el: Add support for `testcover'.
8757 (rst-defcustom-testcover, rst-testcover-add-compose)
8758 (rst-testcover-add-1value): New functions.
8759 (rst-portable-mark-active-p): Replace by `use-region-p'.
8760 (rst-update-section, rst-classify-adornment)
8761 (rst-find-title-line): Mark `1value' forms.
8762 (rst-classify-adornment): Remove superfluous form.
8763 (rst-update-section, rst-get-adornments-around)
8764 (rst-adornment-complete-p, rst-get-next-adornment)
8765 (rst-adjust, rst-promote-region)
8766 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8767 (rst-find-pfx-in-region, rst-section-tree-rec)
8768 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8769 (rst-toc-node, rst-toc, rst-forward-section)
8770 (rst-iterate-leftmost-paragraphs)
8771 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8772 (rst-bullet-list-region)
8773 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8774 (rst-compile-find-conf, rst-compile)
8775 (rst-repeat-last-character): Fix style.
8776
8777 2012-09-17 Chong Yidong <cyd@gnu.org>
8778
8779 * comint.el (comint--complete-file-name-data): Don't add a space
8780 if the status is `sole'; that adds a gratuitous space in the
8781 completion-cycling case (Bug#12092).
8782
8783 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8784
8785 2012-09-17 Richard Stallman <rms@gnu.org>
8786
8787 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8788 only in the mime-shown mode, not in raw mode.
8789 (rmail-mime): Toggle off mime by displaying the message without
8790 mime processing. (Bug#12305)
8791
8792 * mail/rmail.el (rmail-retry-failure):
8793 Turn off mime processing first. (Bug#12037)
8794
8795 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8796
8797 2012-09-17 Chong Yidong <cyd@gnu.org>
8798
8799 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8800 (shell-dynamic-complete-functions): Convert to defcustom.
8801 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8802
8803 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8804 * comint.el (comint-prompt-read-only):
8805 * custom.el (defcustom):
8806 * hi-lock.el (hi-lock-mode):
8807 * ibuffer.el (ibuffer-formats):
8808 * ielm.el (ielm-prompt-read-only):
8809 * novice.el (disable-command):
8810 * saveplace.el (toggle-save-place):
8811 * speedbar.el (speedbar-supported-extension-expressions):
8812 * startup.el (auto-save-list-file-prefix, init-file-user)
8813 (after-init-hook, inhibit-startup-echo-area-message):
8814 * strokes.el (strokes-help):
8815 * time-stamp.el (time-stamp):
8816 * calendar/calendar.el (calendar, diary-file):
8817 * calendar/diary-lib.el (diary-mail-entries, diary)
8818 (diary-list-entries-hook):
8819 * calendar/holidays.el (holidays, calendar-holidays):
8820 * calendar/lunar.el (lunar-phases):
8821 * calendar/solar.el (sunrise-sunset):
8822 * emulation/edt.el (edt-load-keys):
8823 * emulation/viper.el (viper-mode):
8824 * eshell/em-alias.el (eshell-command-aliases-list):
8825 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8826 * international/ogonek.el (ogonek-information):
8827 * net/tramp-cmds.el (tramp-bug):
8828 * net/quickurl.el (quickurl-reread-hook-postfix):
8829 * play/decipher.el (decipher-font-lock-keywords):
8830 * progmodes/cc-styles.el (c-set-style):
8831 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8832 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8833 * progmodes/octave-mod.el (octave-mode):
8834 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8835 * progmodes/verilog-mode.el (verilog-read-defines):
8836 * textmodes/two-column.el (2C-mode): Likewise.
8837
8838 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8839
8840 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8841 that holds many addresses.
8842
8843 2012-09-16 Chong Yidong <cyd@gnu.org>
8844
8845 * align.el (align-areas): Call the indication function with
8846 positions instead of markers for arguments (Bug#12343).
8847
8848 * files.el (parse-colon-path): Use split-string (Bug#12351).
8849
8850 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8851 (display-buffer-function): Mark as obsolete.
8852
8853 * progmodes/compile.el (compilation-parse-errors): Accept list
8854 values similar to font-lock-keywords (Bug#12136).
8855 Suggested by Oleksandr Manzyuk.
8856 (compilation-error-regexp-alist): Doc fix.
8857
8858 2012-09-15 Glenn Morris <rgm@gnu.org>
8859
8860 * version.el (emacs-bzr-version-bzr): New function.
8861 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8862
8863 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8864 checkouts, check the parent dirstate matches the branch.
8865 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8866 empty string.
8867
8868 * version.el (emacs-bzr-version): Doc fix.
8869 (emacs-bzr-version-dirstate): New function.
8870 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8871 is local try and check that it matches the branch. If not, just
8872 use dirstate information. (Bug#12441)
8873
8874 2012-09-14 Juri Linkov <juri@jurta.org>
8875
8876 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8877 (Bug#12399)
8878
8879 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8882
8883 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8884 Remove obsolete byte-compiler hack that tried to silence some warnings.
8885 (edebug-submit-bug-report): Remove.
8886 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8887 Remove aliases, use the un-prefixed name instead.
8888 (edebug-pop-to-buffer): Consider other frames.
8889 (edebug-original-read):: Make it more obvious that it's always defined.
8890 (edebug--make-form-data-entry, edebug--form-data-name)
8891 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8892 single-dashed name, and implement with cl-defstruct.
8893 (edebug-set-form-data-entry): Use the standard accessors.
8894 (edebug-make-top-form-data-entry): Use push.
8895 (edebug-no-match): Drop useless `funcall'.
8896 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8897 to functions.
8898 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8899 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8900 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8901 (easy-menu-define, with-custom-print): Remove redundant specs.
8902 (edebug-outside-overriding-local-map)
8903 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8904 (edebug--display): Bind unread-command-events directly to nil rather
8905 than binding it to unread-command-events and later setting it to nil.
8906 (edebug--display): Kill edebug-eval-buffer here...
8907 (edebug--recursive-edit): ...rather than here.
8908 Bind standard-output and standard-input.
8909 (edebug-eval): Check cl-macroexpand-all is fboundp.
8910 (edebug-temp-display-freq-count): Fix last change.
8911
8912 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8913 * subr.el (noreturn, 1value): Add `debug' spec.
8914 * emacs-lisp/advice.el: Require cl-lib.
8915 (ad-copy-tree): Remove, use copy-tree instead.
8916 (ad-dolist): Remove use dolist or cl-dolist instead.
8917 (ad-do-return): Remove, use cl-return instead.
8918 (defadvice): Add `debug' spec.
8919
8920 2012-09-13 Juri Linkov <juri@jurta.org>
8921
8922 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8923 (Bug#12399)
8924
8925 2012-09-13 Glenn Morris <rgm@gnu.org>
8926
8927 * calc/calc.el (math-compose-expr):
8928 * calc/calc-ext.el (math-compose-expr):
8929 * progmodes/cc-defs.el (cl-macroexpand-all):
8930 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8931 (cl-macroexpand-all): Update declarations.
8932
8933 * vc/vc.el: No need to require ediff.
8934 (ediff-load-version-control): Declare.
8935 (ediff-vc-internal): Fix declaration.
8936 (vc-version-ediff): Require ediff.
8937
8938 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8939
8940 Use a more backwards-compatible timer format (Bug#12430).
8941 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8942 being right after USECS, as that better supports old code that
8943 inadvisedly looked directly at the timer vector.
8944
8945 2012-09-13 Kenichi Handa <handa@gnu.org>
8946
8947 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8948 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8949 `coding-priority' property of these language environment.
8950
8951 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8952
8953 Fix glitches caused by addition of psec to timers (Bug#12430).
8954 * image.el (image-animate-timer):
8955 * time.el (display-time-world-timer):
8956 Use timer--function and timer--args rather than raw access to
8957 timer vector.
8958
8959 2012-09-13 Glenn Morris <rgm@gnu.org>
8960
8961 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8962 If not compiling a file, try using load-file-name.
8963
8964 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8965
8966 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8967 Fix last change.
8968 (edebug-update-eval-list): Use `push'.
8969
8970 * emacs-lisp/edebug.el: Use lexical-binding.
8971 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8972 Mark unused args with underscore.
8973 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8974 (edebug-form-data): Use defvar-local.
8975 (edebug-make-before-and-after-form, edebug-make-after-form):
8976 Use backquote.
8977 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8978 Not dynamically scoped any more.
8979 (edebug--enter-trace): Add arguments `function' and `args'.
8980 Rename from edebug-enter-trace.
8981 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8982 (edebug--update-coverage): Add `after-index' and `value' args.
8983 Rename from edebug-update-coverage.
8984 (edebug-slow-after): Call it accordingly.
8985 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8986 edebug-recursive-edit.
8987 (edebug--display): Call it accordingly. Add args `value',
8988 `offset-index', and `arg-mode'. Rename from edebug-display.
8989 (edebug-debugger, edebug): Call it accordingly.
8990 (edebug-eval-display-list): Use dolist.
8991
8992 2012-09-12 Juri Linkov <juri@jurta.org>
8993
8994 * info.el (Info-search): Don't check for isearch-mode and
8995 isearch-regexp before let-binding search-spaces-regexp to
8996 Info-search-whitespace-regexp.
8997 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8998 search-whitespace-regexp if isearch-lax-whitespace or
8999 isearch-regexp-lax-whitespace is non-nil.
9000 (Info-mode): Don't set local variable search-whitespace-regexp.
9001 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
9002
9003 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
9006 (debugger-env-macro): Remove support for unread-command-char.
9007
9008 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
9009 the temporary map re-appearing on emulation-mode-map-alists.
9010
9011 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
9012 since 22.1.
9013
9014 * ehelp.el (with-electric-help): Accept functions in
9015 electric-help-form-to-execute.
9016 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
9017 And replace unread-command-char -> unread-command-events.
9018
9019 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
9020
9021 Sync with Tramp 2.2.6.
9022
9023 * net/tramp.el (tramp-accept-process-output): Don't use
9024 JUST-THIS-ONE in the XEmacs case.
9025
9026 * net/trampver.el: Update release number.
9027
9028 2012-09-12 Martin Rudalics <rudalics@gmx.at>
9029
9030 * emacs-lisp/debug.el (debugger-previous-window-height):
9031 New variable.
9032 (debug): When debugger-jumping-flag is non-nil try to restore
9033 height of debugger window. (Bug#8789)
9034
9035 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
9038 overriding-local-map and pre/post-command-hook here.
9039 (edebug-recursive-edit): Do it here instead (bug#12345).
9040 (edebug-outside-unread-command-char): Remove all uses of
9041 unread-command-char.
9042
9043 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9044 inhibit-debugger is bound instead.
9045
9046 2012-09-11 Bastien Guerry <bzg@gnu.org>
9047
9048 * subr.el (set-temporary-overlay-map): Add a docstring.
9049 (Bug#12346)
9050
9051 2012-09-11 Bastien Guerry <bzg@gnu.org>
9052
9053 * minibuffer.el (completion-table-subvert): Fix docstring.
9054 (Bug#12347)
9055
9056 2012-09-11 Bastien Guerry <bzg@gnu.org>
9057
9058 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9059
9060 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9061
9062 * progmodes/sql.el: Version 3.1
9063 (sql-db2-escape-newlines): New variable.
9064 (sql-escape-newlines-filter): Use it.
9065
9066 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9067
9068 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9069
9070 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9071
9072 * vc/diff-mode.el (diff-mode-menu):
9073 Bind diff-remove-trailing-whitespace.
9074
9075 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9076
9077 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9078 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9079 (emacs-lisp-byte-code-mode): New functions.
9080 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9081 (eval-defun-2): Remove bogus interactive spec.
9082 (lisp-indent-line): Remove redundant whole-exp code, now done in
9083 indent-according-to-mode.
9084 (save-match-data): Remove redundant indent data.
9085
9086 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9087 Use `declare'.
9088
9089 2012-09-09 Juri Linkov <juri@jurta.org>
9090
9091 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9092 (replace-lax-whitespace, query-replace-regexp)
9093 (query-replace-regexp-eval, replace-regexp): Doc fix.
9094 (perform-replace, replace-highlight): Let-bind
9095 isearch-lax-whitespace to replace-lax-whitespace and
9096 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9097
9098 * isearch.el (isearch-query-replace): Let-bind
9099 replace-lax-whitespace to isearch-lax-whitespace and
9100 replace-regexp-lax-whitespace to
9101 isearch-regexp-lax-whitespace. (Bug#10885)
9102
9103 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9104
9105 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9106
9107 2012-09-09 Alan Mackenzie <acm@muc.de>
9108
9109 * progmodes/cc-engine.el (c-state-cache-init):
9110 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9111 (c-record-parse-state-state):
9112 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9113
9114 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9115
9116 * register.el (register-separator): Rename from
9117 separator-register. All uses changed. Doc fix.
9118 (register): Fix version.
9119
9120 2012-09-09 Chong Yidong <cyd@gnu.org>
9121
9122 * replace.el (query-replace-map): Bind four new symbols for
9123 requesting window scrolling.
9124
9125 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9126 query-replace-map (Bug#8948).
9127
9128 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9129
9130 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9131 since they are now in query-replace-map.
9132
9133 * window.el (scroll-other-window-down): Make the arg optional.
9134
9135 2012-09-09 Chong Yidong <cyd@gnu.org>
9136
9137 * files.el (hack-local-variables-confirm): Use quit-window to kill
9138 the *Local Variables* buffer.
9139
9140 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9141
9142 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9143 not just expect to be at its beginning. Adjust callees.
9144 Succeed when do-end block has no space before the pipe character.
9145 (ruby-brace-to-do-end): When the original block is one-liner,
9146 convert to multiline. Reindent the result.
9147
9148 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9149
9150 * register.el (register): New group.
9151 (separator-register): New user option.
9152 (increment-register): Route it to `append-to-register', if
9153 register contains text. Implication is that `C-x r +' can now be
9154 used for appending to a text register (bug#12217).
9155 (append-to-register, prepend-to-register): Add separator based on
9156 `separator-register'.
9157
9158 2012-09-08 Alan Mackenzie <acm@muc.de>
9159
9160 AWK Mode: make auto-newline work when there's "==" in the pattern.
9161 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9162 correctly.
9163 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9164 Test more rigorously for "=" token.
9165
9166 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9167
9168 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9169 Only fail when reached LIMIT.
9170
9171 2012-09-08 Chong Yidong <cyd@gnu.org>
9172
9173 * dired.el (dired-mode-map): Don't bind M-=.
9174
9175 * dired-aux.el (dired-diff): Use backup file as default.
9176
9177 2012-09-08 Drew Adams <drew.adams@oracle.com>
9178
9179 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9180
9181 2012-09-08 Chong Yidong <cyd@gnu.org>
9182
9183 * subr.el (syntax-after, syntax-class): Doc fix.
9184
9185 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9186
9187 * window.el (display-buffer-in-previous-window): New buffer
9188 display action function.
9189
9190 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9191 (debugger-previous-window): New variable.
9192 (debug): Rewrite using display-buffer-in-previous-window,
9193 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9194
9195 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9198
9199 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9200
9201 * progmodes/python.el (python-shell-send-string):
9202 When default-directory is remote, create temp file on remote
9203 filesystem.
9204 (python-shell-send-file): When file is remote, pass local view of
9205 file paths to remote Python interpreter. (Bug#12340)
9206
9207 2012-09-07 Chong Yidong <cyd@gnu.org>
9208
9209 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9210
9211 * files.el (after-find-file): Don't fail on a read-only buffer if
9212 require-final-newline is `visit' or `visit-save' (Bug#11156).
9213
9214 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9215
9216 * userlock.el (ask-user-about-supersession-threat):
9217 Use read-char-choice (Bug#12093).
9218
9219 2012-09-07 Chong Yidong <cyd@gnu.org>
9220
9221 * subr.el (buffer-narrowed-p): New function.
9222
9223 * ses.el (ses-widen):
9224 * simple.el (count-words--buffer-message):
9225 * net/browse-url.el (browse-url-of-buffer): Use it.
9226
9227 * simple.el (count-words-region): Don't signal an error if there
9228 is a non-nil prefix arg and the mark is not set.
9229
9230 * help.el (describe-key-briefly): Allow the message to be seen
9231 when invoked from the minibuffer (Bug#7014).
9232
9233 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9234
9235 * progmodes/ruby-mode.el (ruby-end-of-defun)
9236 (ruby-beginning-of-defun): Simplify, allow indentation before
9237 block beginning and end keywords.
9238 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9239 (ruby-end-of-defun): Expect that the point is at the beginning of
9240 the defun.
9241
9242 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9245 (bug#12367).
9246 (cl--make-usage-args): Strip _ from argument names.
9247
9248 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9249
9250 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9251 obsolete alias speedbar-key-map.
9252 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9253 (vhdl-index-menu-init): Don't use obsolete variable
9254 font-lock-maximum-size.
9255
9256 2012-09-06 Chong Yidong <cyd@gnu.org>
9257
9258 * frame.el (window-system-version): Mark as obsolete.
9259
9260 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9261 of obsolete variable speedbar-key-map.
9262
9263 2012-09-06 Juri Linkov <juri@jurta.org>
9264
9265 * replace.el (replace-lax-whitespace): New defcustom.
9266 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9267 (replace-string, replace-regexp): Mention it in docstrings.
9268 (perform-replace, replace-highlight): Let-bind
9269 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9270 to the values of replace-lax-whitespace and regexp-flag.
9271 Don't let-bind search-whitespace-regexp. (Bug#10885)
9272
9273 * isearch.el (isearch-query-replace): Let-bind
9274 replace-lax-whitespace instead of let-binding
9275 replace-search-function and replace-re-search-function.
9276 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9277 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9278 (isearch-toggle-symbol): Set isearch-regexp to nil
9279 in isearch-word mode (like in isearch-toggle-word).
9280
9281 2012-09-06 Juri Linkov <juri@jurta.org>
9282
9283 * replace.el (replace-search-function)
9284 (replace-re-search-function): Set default values to nil.
9285 (perform-replace): Let-bind isearch-related variables based on
9286 replace-related values, call `isearch-search-fun' and let-bind
9287 the result to `search-function'. Remove code that sets
9288 `search-function' and `search-string' separately for
9289 `delimited-flag'.
9290 (replace-highlight): Add new argument `delimited-flag' and
9291 rename other arguments to the names used in `perform-replace'.
9292 Let-bind `isearch-word' to the argument `delimited-flag'.
9293 (Bug#10885, bug#10887)
9294
9295 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9296
9297 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9298 ruby-beginning-of-indent, simplify, allow all keywords to have
9299 indentation before them.
9300 (ruby-beginning-of-indent): Adjust for above. Search until the
9301 found point is not inside a string or comment.
9302 (ruby-font-lock-keywords): Allow symbols to start with "@"
9303 character, give them higher priority than variables.
9304 (ruby-syntax-propertize-function)
9305 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9306 matchers. Expression expansions are not comments when inside a
9307 string, and there comment syntax status is irrelevant.
9308 (ruby-match-expression-expansion): New function. Check that
9309 expression expansion is inside a string, and it's not escaped.
9310 (ruby-font-lock-keywords): Use it.
9311
9312 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9313
9314 * help.el (temp-buffer-max-height): New default value.
9315 (temp-buffer-resize-frames): New option.
9316 (resize-temp-buffer-window): Optionally resize frame.
9317
9318 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9319 (fit-frame-to-buffer): New function.
9320
9321 2012-09-05 Glenn Morris <rgm@gnu.org>
9322
9323 * emulation/cua-rect.el (cua--init-rectangles):
9324 * textmodes/picture.el (picture-mode-map):
9325 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9326 like forward-char and backward-char. (Bug#12317)
9327
9328 2012-09-05 Leo Liu <sdl.web@gmail.com>
9329
9330 * progmodes/flymake.el (flymake-warning-re): New variable.
9331 (flymake-parse-line): Use it.
9332
9333 2012-09-05 Glenn Morris <rgm@gnu.org>
9334
9335 * calendar/holidays.el (holiday-christian-holidays):
9336 Rename an entry. (Bug#12289)
9337
9338 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9339
9340 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9341 (bug#12222).
9342
9343 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9344
9345 * loadup.el: Load macroexp. Remove hack.
9346 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9347 (macroexp--expand-all): Use it to get better warnings.
9348 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9349 (internal-macroexpand-for-load): New functions.
9350 (macroexp--pending-eager-loads): New var.
9351 (emacs-startup-hook): New hack to replace one in loadup.el.
9352 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9353 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9354 (cl-psetf): Simplify.
9355 (cl-defstruct): Add indent rule.
9356
9357 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9358
9359 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9360 over `user-mail-address' for the SMTP MAIL FROM envelope.
9361 (smtpmail-via-smtp): Ditto.
9362
9363 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9364
9365 * progmodes/ruby-mode.el: Clean up keybindings.
9366 (ruby-mode-map): Don't bind ruby-electric-brace,
9367 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9368 backward-kill-word, reindent-then-newline-and-indent.
9369 (ruby-mark-defun): Remove.
9370 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9371 (ruby-mode): Set local beginning-of-defun-function and
9372 end-of-defun-function values.
9373
9374 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9375
9376 * window.el (temp-buffer-window-setup-hook)
9377 (temp-buffer-window-show-hook): New hooks.
9378 (temp-buffer-window-setup, temp-buffer-window-show)
9379 (with-temp-buffer-window): New functions.
9380 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9381 (special-display-popup-frame): Make sure the window used shows BUFFER.
9382
9383 * help.el (temp-buffer-resize-mode): Fix doc-string.
9384 (resize-temp-buffer-window): New optional argument WINDOW.
9385
9386 * files.el (recover-file, save-buffers-kill-emacs):
9387 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9388
9389 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9390
9391 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9392 remote definition of `default-directory', ensure we can connect.
9393
9394 2012-09-02 Juri Linkov <juri@jurta.org>
9395
9396 Toggle whitespace matching mode with M-s SPC.
9397 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9398
9399 * isearch.el (search-whitespace-regexp): Doc fix.
9400 Remove cons cell customization.
9401 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9402 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9403 New variables.
9404 (isearch-forward, isearch-forward-regexp): Doc fix.
9405 (isearch-toggle-lax-whitespace): New command.
9406 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9407 (re-search-forward-lax-whitespace)
9408 (re-search-backward-lax-whitespace): New functions.
9409 (isearch-whitespace-regexp): Remove function.
9410 (isearch-query-replace): Let-bind replace-search-function and
9411 replace-re-search-function.
9412 (isearch-occur): Let-bind search-spaces-regexp according to the
9413 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9414 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9415 condition for C-q SPC.
9416 (isearch-search-fun-default): Use new functions mentioned above.
9417 (isearch-search-forward, isearch-search-backward): Remove functions.
9418 (isearch-search): Don't let-bind search-spaces-regexp.
9419 (isearch-lazy-highlight-space-regexp): Remove variable.
9420 (isearch-lazy-highlight-lax-whitespace)
9421 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9422 (isearch-lazy-highlight-new-loop): Use them.
9423 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9424
9425 2012-09-02 Chong Yidong <cyd@gnu.org>
9426
9427 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9428
9429 2012-09-02 Glenn Morris <rgm@gnu.org>
9430
9431 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9432
9433 2012-09-01 Glenn Morris <rgm@gnu.org>
9434
9435 * term.el: Tidy up menu definitions.
9436 (term-mode-map): Use easymenu for In/Out, Complete menus.
9437 (term-pager-break-map): Initialize in the defvar.
9438 (term-terminal-menu, term-signals-menu): Define with easymenu.
9439 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9440 (term-pager-menu): New, extracted from term-process-pager.
9441 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9442 (term-update-mode-line): Propertize line/char and page items.
9443 (term-process-pager): Move keymap initialization elsewhere.
9444
9445 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9446
9447 * window.el (switch-to-prev-buffer): Handle additional values of
9448 BURY-OR-KILL argument. Don't switch in minibuffer window.
9449 (switch-to-next-buffer): Don't switch in minibuffer window.
9450 (quit-restore-window): New function based on quit-window.
9451 Handle additional values of former KILL argument.
9452 (quit-window): Call quit-restore-window with appropriate
9453 interpretation of KILL argument.
9454 (display-buffer-below-selected): New buffer display action
9455 function.
9456
9457 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9458
9459 * minibuffer.el (completion-at-point-functions): Complete docstring
9460 (bug#12254).
9461
9462 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9463
9464 Better seed support for (random).
9465 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9466 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9467 * play/mpuz.el, play/tetris.el, play/zone.el:
9468 * calc/calc-comb.el (math-init-random-base):
9469 * play/blackbox.el (bb-init-board):
9470 * play/life.el (life):
9471 * server.el (server-use-tcp):
9472 * type-break.el (type-break):
9473 Remove unnecessary call to (random t).
9474 * net/sasl.el (sasl-unique-id-function):
9475 Change (random t) to (random), now that the latter is more random.
9476 * play/life.el (life-initialized): Remove no-longer-needed var.
9477
9478 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9479
9480 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9481 Consider frame's buffer predicate when choosing the buffer.
9482 (Bug#12081)
9483
9484 2012-08-30 Richard Stallman <rms@gnu.org>
9485
9486 * simple.el (special-mode-map): Delete binding for `z'.
9487
9488 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9489
9490 * progmodes/compile.el (compilation-always-kill): Doc fix.
9491
9492 2012-08-30 Chong Yidong <cyd@gnu.org>
9493
9494 * window.el (display-buffer-reuse-frames): Make the obsolescence
9495 message more informative.
9496
9497 2012-08-30 Glenn Morris <rgm@gnu.org>
9498
9499 * paren.el (show-paren-delay):
9500 Add a :set function. Doc fix. (Bug#12297)
9501
9502 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9503
9504 * progmodes/compile.el (compilation-always-kill): New var.
9505 (compilation-start): Use it.
9506
9507 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9510 * files.el (read-only-mode): Move to simple.el.
9511
9512 * files.el (read-only-mode): New minor mode.
9513 (toggle-read-only): Use it and mark obsolete.
9514 (find-file--read-only):
9515 * vc/vc.el (vc-next-action, vc-checkout):
9516 * vc/vc-cvs.el (vc-cvs-checkout):
9517 * obsolete/vc-mcvs.el (vc-mcvs-update):
9518 * ffap.el (ffap--toggle-read-only): Update callers.
9519
9520 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9521
9522 * eshell/esh-ext.el (eshell-external-command): Do not examine
9523 remote shell scripts.
9524 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9525
9526 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9527 "/usr/local/sbin".
9528
9529 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9530
9531 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9532
9533 2012-08-28 Leo Liu <sdl.web@gmail.com>
9534
9535 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9536 completion-at-point. (Bug#12220)
9537
9538 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9539
9540 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9541
9542 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9543
9544 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9545 be buffer-local; add delete-trailing-whitespace (bug#12259).
9546
9547 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9548
9549 * progmodes/hideif.el (hif-compress-define-list):
9550 Fix typo. (Bug#11951)
9551
9552 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9553
9554 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9555 buffer local setting.
9556
9557 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9558 rcirc-encode-coding-system.
9559
9560 2012-08-28 Leo Liu <sdl.web@gmail.com>
9561
9562 * net/rcirc.el (rcirc-split-message): New function.
9563 (rcirc-send-message): Use it. (Bug#12051)
9564
9565 2012-08-28 Juri Linkov <juri@jurta.org>
9566
9567 * info.el (Info-fontify-node): Hide empty lines at the end of
9568 the node. (Bug#12272)
9569
9570 2012-08-27 Drew Adams <drew.adams@oracle.com>
9571
9572 * dired.el (dired-pop-to-buffer): Make window start at beginning
9573 of buffer (Bug#12281).
9574
9575 2012-08-26 Chong Yidong <cyd@gnu.org>
9576
9577 * window.el (special-display-regexps, special-display-frame-alist)
9578 (special-display-buffer-names, special-display-function)
9579 (display-buffer-reuse-frames): Mark as obsolete.
9580
9581 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9582
9583 * help.el (help-print-return-message): Don't treat
9584 display-buffer-reuse-frames specially.
9585
9586 2012-08-26 Chong Yidong <cyd@gnu.org>
9587
9588 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9589 New variable, replacing gdb-frame-parameters.
9590 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9591 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9592 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9593 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9594 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9595 the functions directly with gdb-display-buffer-other-frame-action.
9596 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9597 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9598 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9599 (gdb-display-registers-buffer): Define directly.
9600 (def-gdb-display-buffer): Macro deleted.
9601 (gdb-display-buffer): Remove second and third args, callers don't
9602 use them. Defer to the default display-buffer behavior, apart
9603 from making windows dedicated.
9604 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9605
9606 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9607
9608 * window.el (display-buffer-pop-up-frame): Handle a
9609 pop-up-frame-parameters alist entry.
9610 (display-buffer): Document it.
9611
9612 2012-08-26 Chong Yidong <cyd@gnu.org>
9613
9614 * isearch.el (search-whitespace-regexp): Make string and nil
9615 values apply to both ordinary and regexp search. Allow a cons
9616 cell value to distinguish between the two.
9617 (isearch-whitespace-regexp, isearch-search-forward)
9618 (isearch-search-backward): New functions.
9619 (isearch-occur, isearch-search-fun-default, isearch-search)
9620 (isearch-lazy-highlight-new-loop): Use them.
9621 (isearch-forward, isearch-forward-regexp): Doc fix.
9622
9623 2012-08-26 Chong Yidong <cyd@gnu.org>
9624
9625 * faces.el (help-argument-name): Always inherit from italic
9626 (Bug#12213).
9627
9628 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9629
9630 * window.el (window--even-window-heights): Even heights when
9631 WINDOW and the selected window form a vertical combination.
9632 (display-buffer-use-some-window): Provide that window used gets
9633 sized back by quit-window. (Bug#11880) and (Bug#12091)
9634
9635 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9636
9637 Fix file time stamp problem with bzr and CVS (Bug#12001).
9638 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9639 in the file's time stamp, since the version control system loses
9640 that information.
9641
9642 2012-08-22 Juri Linkov <juri@jurta.org>
9643
9644 * info.el (Info-fontify-node): Hide the suffix of the
9645 Info file name in the header line. (Bug#12187)
9646
9647 2012-08-22 Glenn Morris <rgm@gnu.org>
9648
9649 * calendar/cal-tex.el (cal-tex-weekly-common):
9650 Restore leading blank page.
9651
9652 2012-08-22 Le Wang <l26wang@gmail.com>
9653
9654 * misc.el (forward-to-word, backward-to-word): Activate or extend
9655 the region under `shift-select-mode'. (Bug#12231)
9656
9657 2012-08-22 Bastien Guerry <bzg@gnu.org>
9658
9659 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9660 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9661 gives details on why the space is never needed.
9662
9663 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9664
9665 * window.el (walk-window-tree, window-with-parameter):
9666 New optional argument MINIBUF to control whether these functions
9667 should run on the minibuffer window.
9668 (window-at-side-list): Don't operate on minibuffer window.
9669 (window-in-direction): Simplify and rewrite doc-string.
9670 (window--size-ignore): Rename to window--size-ignore-p.
9671 Update callers.
9672 (display-buffer-in-atom-window, window--major-non-side-window)
9673 (window--major-side-window, display-buffer-in-major-side-window)
9674 (delete-side-window, display-buffer-in-side-window):
9675 New functions.
9676 (window--side-check, window-deletable-p, delete-window)
9677 (delete-other-windows, split-window): Handle side windows and
9678 atomic windows appropriately.
9679 (window--display-buffer): Call display-buffer-record-window also
9680 when the window buffer did not change.
9681
9682 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9683
9684 * help-fns.el (help-fns--key-bindings):
9685 Abbreviate non-symbol remap targets. (Bug#12174)
9686
9687 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9688
9689 * dired.el (dired-mark-remembered): Don't clobber point.
9690 (Bug#11795)
9691
9692 2012-08-22 Glenn Morris <rgm@gnu.org>
9693
9694 * progmodes/bug-reference.el (bug-reference): New custom group.
9695 (bug-reference-bug-regexp): Make it a defcustom.
9696
9697 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9698
9699 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9700 (js-paren-indent-offset, js-square-indent-offset)
9701 (js-curly-indent-offset): Add :safe (Bug#12257).
9702
9703 2012-08-22 Edward O'Connor <hober0@gmail.com>
9704
9705 * json.el (json-key-format): Add error properties.
9706 (json-encode-key): New function.
9707 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9708 Use json-encode-key.
9709
9710 2012-08-22 Glenn Morris <rgm@gnu.org>
9711
9712 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9713 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9714 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9715 Update for above change.
9716
9717 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9718
9719 * cus-face.el (custom-face-attributes): Fix customize type for the
9720 :underline attribute. (Bug#11805)
9721
9722 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9723
9724 * window.el (window-point-1, set-window-point-1): Remove.
9725 (window-in-direction, record-window-buffer)
9726 (set-window-buffer-start-and-point, split-window-below)
9727 (window--state-get-1, display-buffer-record-window):
9728 Replace calls to window-point-1 and set-window-point-1 by calls to
9729 window-point and set-window-point respectively.
9730
9731 2012-08-21 Glenn Morris <rgm@gnu.org>
9732
9733 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9734 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9735 Use it.
9736
9737 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9738 (cal-tex-shortday): New function.
9739 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9740 (cal-tex-cursor-filofax-daily): Use the above.
9741
9742 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9743 New functions.
9744 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9745 (cal-tex-cursor-filofax-week): Use them.
9746
9747 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9748 New constants.
9749 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9750 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9751
9752 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9753 (cal-tex-end-document): Don't rely on buffer name.
9754
9755 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9756 Use cal-tex-vspace.
9757 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9758 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9759 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9760 Use cal-tex-arg.
9761
9762 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9763 (cal-tex-cursor-week, cal-tex-cursor-week2)
9764 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9765 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9766 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9767 (cal-tex-insert-preamble, cal-tex-b-document)
9768 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9769 Improve cal-tex-cmd usage.
9770
9771 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9772 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9773 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9774 (cal-tex-weekly-paper): New function.
9775 (cal-tex-cursor-week, cal-tex-cursor-week2)
9776 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9777 (cal-tex-cursor-day): Use it.
9778
9779 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9780 (cal-tex-cursor-filofax-week): Remove leading blank page.
9781
9782 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9783 Add autoload cookie. For now at least, don't use color, since
9784 no other cal-tex function does.
9785
9786 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9787 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9788 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9789
9790 2012-08-21 Juri Linkov <juri@jurta.org>
9791
9792 * info.el (Info-file-attributes): New variable.
9793 (info-insert-file-contents): Add file attributes to
9794 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9795 `Info-toc-nodes' when previous modtime of the Info file is less
9796 than new modtime.
9797 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9798 of info.el. (Bug#12230)
9799
9800 2012-08-20 Glenn Morris <rgm@gnu.org>
9801
9802 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9803 * calendar/holidays.el (calendar-holiday-list):
9804 Report errors with display-warning rather than beep'n'sleep.
9805
9806 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9807
9808 * net/tramp.el (tramp-accept-process-output): Accept only output
9809 from PROC. Otherwise, process filters and sentinels might be
9810 confused. (Bug#12145)
9811
9812 2012-08-20 Chong Yidong <cyd@gnu.org>
9813
9814 * descr-text.el (describe-text-properties-1): Use overlays-in to
9815 report on empty overlays (Bug#3322).
9816
9817 2012-08-20 Glenn Morris <rgm@gnu.org>
9818
9819 * mail/rmailout.el (rmail-output-read-file-name):
9820 Trap and report errors in rmail-output-file-alist elements.
9821
9822 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9823 since most non-font-lock faces are not also variables).
9824
9825 2012-08-20 Edward Reingold <reingold@iit.edu>
9826
9827 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9828 New function. (Bug12160)
9829
9830 2012-08-19 Glenn Morris <rgm@gnu.org>
9831
9832 * mail/rmailout.el (rmail-output-read-file-name):
9833 Fix previous change (when the alist is nil or does not match).
9834
9835 2012-08-19 Chong Yidong <cyd@gnu.org>
9836
9837 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9838 (Bug#12228).
9839
9840 2012-08-18 Chong Yidong <cyd@gnu.org>
9841
9842 * simple.el (yank-handled-properties): New defcustom.
9843 (yank-excluded-properties): Add font-lock-face and category.
9844 (yank): Doc fix.
9845
9846 * subr.el (remove-yank-excluded-properties):
9847 Obey yank-handled-properties. The special handling of font-lock-face
9848 and category is now done this way, instead of being hard-coded.
9849 (insert-for-yank-1): Remove font-lock-face handling.
9850 (yank-handle-font-lock-face-property)
9851 (yank-handle-category-property): New function.
9852
9853 2012-08-17 Glenn Morris <rgm@gnu.org>
9854
9855 * mail/rmailout.el (rmail-output-read-file-name):
9856 Check rmail-output-file-alist against the full message body
9857 in the correct rmail buffer. (Bug#12214)
9858
9859 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9860
9861 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9862 Eliminate superfluous prompt. (Bug#12203)
9863
9864 2012-08-17 Chong Yidong <cyd@gnu.org>
9865
9866 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9867 font spec, set the font directly (Bug#3228).
9868
9869 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9870
9871 * window.el (delete-window): Fix last fix.
9872
9873 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9874
9875 * window.el (window-valid-p): Move to window.c.
9876 (window-child, window-child-count, window-last-child)
9877 (window-normalize-window, window-combined-p)
9878 (window-combinations, window-atom-root, window-min-size)
9879 (window-sizable, window-sizable-p, window-size-fixed-p)
9880 (window-min-delta, window-max-delta, window--resizable)
9881 (window--resizable-p, window-resizable, window-total-size)
9882 (window-full-height-p, window-full-width-p, window-body-size)
9883 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9884 (minimize-window, window-deletable-p, delete-window)
9885 (delete-other-windows, set-window-buffer-start-and-point)
9886 (next-buffer, previous-buffer, split-window, balance-windows-2)
9887 (set-window-text-height, window-buffer-height)
9888 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9889 (truncated-partial-width-window-p): Minor code adjustments.
9890 In doc-strings state whether the argument window has to denote a
9891 live, valid or any window.
9892
9893 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9894
9895 * progmodes/subword.el (subword-forward-function)
9896 (subword-backward-function, subword-forward-regexp)
9897 (subword-backward-regexp): New variables.
9898 (subword-forward, subword-forward-internal, subword-backward-internal):
9899 Use new variables, eg so that different "word" definitions
9900 can be easily used. (Bug#11411)
9901
9902 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9903
9904 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9905 for composite selectors.
9906 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9907 operation just because we can't find a previous revision.
9908
9909 2012-08-15 Chong Yidong <cyd@gnu.org>
9910
9911 * frame.el (set-frame-font): Accept font objects.
9912
9913 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9914
9915 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9916
9917 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9918
9919 * man.el (Man-overstrike-face, Man-underline-face)
9920 (Man-reverse-face): Remove variables.
9921 (Man-overstrike, Man-underline, Man-reverse): New faces.
9922 (Man-fontify-manpage): Use them instead of the variables.
9923 (Man-cleanup-manpage): Comment change.
9924 (Man-ansi-color-map): New variable.
9925 (Man-fontify-manpage): Use it.
9926 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9927
9928 Implement ANSI SGR parameters 22-27 (bug#12146).
9929 * ansi-color.el (ansi-colors): Doc fix.
9930 (ansi-color-context, ansi-color-context-region): Doc fix.
9931 (ansi-color--find-face): New function.
9932 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9933 Rename the local variable `face' to `codes' since it is now a list of
9934 ansi codes. Doc fix.
9935 (ansi-color-get-face): Remove.
9936 (ansi-color-parse-sequence): New function, derived from
9937 ansi-color-get-face.
9938 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9939 codes 22-27.
9940
9941 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * subr.el (read-passwd): Allow use from a minibuffer.
9944
9945 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9946
9947 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9948 inside comments and strings as identifiers.
9949
9950 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9951 expression to evaluate. This allows to evaluate expressions with
9952 embedded whitespace.
9953 (gud-tooltip-tips): Add a blank before the newline in the
9954 message-box text, for the benefit of message-box emulation on
9955 MS-Windows.
9956
9957 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9958 messages from GDB, pop them up in a tooltip to give feedback to
9959 user.
9960 (gdb-tooltip-print-1): Quote the expression to evaluate.
9961 This allows to evaluate expressions with embedded whitespace.
9962 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9963 if the TTY name is nil or empty (which happens when communicating
9964 with the inferior via pipes, e.g. on MS-Windows).
9965 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9966 don't send that to the GUD buffer.
9967
9968 2012-08-14 Glenn Morris <rgm@gnu.org>
9969
9970 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9971 Optimize away setq-default with no args, as for setq. (Bug#12195)
9972
9973 2012-08-14 Chong Yidong <cyd@gnu.org>
9974
9975 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9976
9977 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9978 (Bug#12085).
9979
9980 2012-08-14 Glenn Morris <rgm@gnu.org>
9981
9982 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9983
9984 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9985
9986 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9987 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9988 Use cached shell name.
9989
9990 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9991
9992 * progmodes/python.el (python-shell-send-string):
9993 (python-shell-send-setup-code): Do not use `format' with `message'.
9994
9995 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9996
9997 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9998 (ruby-percent-literal-beg-re): New constant.
9999 (ruby-syntax-general-delimiters-goto-beg): Rename to
10000 `ruby-syntax-enclosing-percent-literal', improve literal type check.
10001 (ruby-syntax-propertize-general-delimiters): Rename to
10002 `ruby-syntax-propertize-percent-literal', it's a shorter and more
10003 popular term. Adjust comments everywhere.
10004 (ruby-syntax-propertize-percent-literal): Only propertize when not
10005 inside a simple string or comment. When the literal is unclosed,
10006 leave the text after it unpropertized.
10007 (ruby-syntax-methods-before-regexp): New constant.
10008 (ruby-syntax-propertize-function): Use it to recognize regexps.
10009 Don't look at the text after regexp, just use the whitelist.
10010
10011 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
10012
10013 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
10014 non-nil always load the compiled file if it exists. (Bug#12197)
10015
10016 2012-08-14 Chong Yidong <cyd@gnu.org>
10017
10018 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
10019 (hi-lock-set-pattern): When deciding whether to use font lock or
10020 overlays, look at font-lock-mode instead of font-lock-fontified
10021 (Bug#12168).
10022 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
10023 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
10024
10025 2012-08-14 Daiki Ueno <ueno@unixuser.org>
10026
10027 * subr.el (internal--after-with-selected-window): Fix typo
10028 (Bug#12193).
10029
10030 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10031
10032 Use `completion-table-dynamic' for completion functions.
10033 * progmodes/python.el
10034 (python-shell-completion--do-completion-at-point)
10035 (python-shell-completion--get-completions):
10036 Remove functions.
10037 (python-shell-completion-complete-at-point): New function.
10038 (python-completion-complete-at-point): Use it.
10039
10040 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10041
10042 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10043 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10044
10045 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10046
10047 * subr.el (function-get): Refine `autoload' arg so it can also
10048 autoload functions for gv.el (bug#12191).
10049 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10050 autoloads macros.
10051
10052 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10053 Prefer pcase-let over destructuring-bind.
10054 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10055 Also, remove whitespace as we go, rather than after accumulating the
10056 various places.
10057
10058 * subr.el (internal--before-with-selected-window)
10059 (internal--after-with-selected-window): Fix typo seleted->selected.
10060 (with-selected-window): Adjust callers.
10061 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10062
10063 2012-08-13 Bastien Guerry <bzg@gnu.org>
10064
10065 * window.el (special-display-popup-frame): Minor docstring
10066 enhancement. (Bug#12172)
10067
10068 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10069
10070 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10071 type 1-6.
10072 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10073 extended headers.
10074
10075 * files.el (hack-local-variables-filter): Remove useless eval.
10076
10077 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10078
10079 * subr.el (with-selected-window): Fix last change.
10080
10081 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * subr.el (internal--before-with-seleted-window)
10084 (internal--after-with-seleted-window): New functions.
10085 (with-selected-window): Use them, to replace dependency on
10086 tty-top-frame.
10087
10088 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10089
10090 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10091 binding for `newline'.
10092 (ruby-move-to-block): When moving backward, stop at block opening,
10093 not indentation.
10094 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10095 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10096 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10097 `ruby-toggle-block'.
10098
10099 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10100
10101 * ibuffer.el (ibuffer-do-toggle-read-only):
10102 * dired.el (dired-toggle-read-only):
10103 * buff-menu.el (Buffer-menu-toggle-read-only):
10104 * bindings.el (mode-line-toggle-read-only):
10105 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10106
10107 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10108
10109 * descr-text.el (describe-char): Put the overlays over the
10110 "displayed as" character.
10111
10112 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10113
10114 * calc/calc-units.el (math-default-units-table): Give an
10115 initial value.
10116 (math-put-default-units): Add options to put composite units and
10117 unit systems in the default units table.
10118 (calc-convert-units): Send composite units to
10119 `math-put-default-units' when appropriate.
10120
10121 2012-08-11 Glenn Morris <rgm@gnu.org>
10122
10123 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10124
10125 * tutorial.el (help-with-tutorial):
10126 * emacs-lisp/copyright.el (copyright-update-directory):
10127 * emacs-lisp/autoload.el (autoload-find-generated-file)
10128 (autoload-find-file): Disable local eval: (for insurance).
10129
10130 * files.el (hack-local-variables-filter): If an eval: form is not
10131 known to be safe, and enable-local-variables is :safe, then ignore
10132 the form totally, as is done for non-eval forms. (Bug#12155)
10133 This is CVE-2012-3479.
10134
10135 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10136
10137 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10138 (rx-form): Simplify.
10139
10140 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10141
10142 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10143 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10144 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10145 (ruby-syntax-propertize-function): Adjust for changes in
10146 `ruby-syntax-propertize-heredoc'.
10147
10148 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10149
10150 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10151 binding (use `M-;' instead).
10152 (ruby-singleton-class-p): New function.
10153 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10154
10155 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10158
10159 2012-08-10 Chong Yidong <cyd@gnu.org>
10160
10161 * progmodes/python.el (python-shell-get-process-name): Don't mess
10162 with same-window-buffer-names.
10163
10164 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10165 (eshell-remove-from-window-buffer-names): Make obsolete.
10166 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10167 (eshell): Just use pop-to-buffer-same-window instead.
10168
10169 2012-08-10 Chong Yidong <cyd@gnu.org>
10170
10171 * bindings.el: Bind M-= back to count-words-region.
10172
10173 * simple.el (count-words-region): Accept a prefix arg for acting
10174 on the entire buffer.
10175 (count-words--buffer-message): New helper function.
10176
10177 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10178
10179 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10180 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10181 (event-start, event-end): Use posn-at-point to return a more
10182 informative posn.
10183 (posnp): New function.
10184 * mouse.el (popup-menu-normalize-position): Use it.
10185
10186 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10187
10188 * mouse.el (popup-menu-normalize-position): New function.
10189 (popup-menu): Use `popup-menu-normalize-position' to normalize
10190 the form for POSITION argument.
10191
10192 * term/x-win.el (x-menu-bar-open):
10193 Use the value returend from (posn-at-point) as position
10194 passed to `popup-menu'.
10195
10196 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10197
10198 * calc/calccomp.el (math-compose-expr): Add extra argument
10199 indicating that parentheses should be put around products in
10200 denominators. Give multiplication precedence over division during
10201 composition.
10202
10203 2012-08-09 Chong Yidong <cyd@gnu.org>
10204
10205 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10206 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10207 (Man-untabify-command, manual-program): Convert to defcustom
10208 (Bug#10429).
10209
10210 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10211
10212 * descr-text.el (describe-char): Don't insert extra newlines
10213 (Bug#10127).
10214
10215 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10216 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10217
10218 * align.el (align-region): Delete temporary markers (Bug#10047).
10219 Plus some code cleanups.
10220
10221 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10222
10223 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10224 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10225 (python-shell-internal-last-output): Use make-local-variable
10226 instead of make-variable-buffer-local.
10227
10228 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10229
10230 * progmodes/python.el: Enhancements to forward-sexp.
10231 (python-nav-forward-sexp): Rename from
10232 python-nav-forward-sexp-function.
10233 (python-nav--forward-sexp, python-nav--backward-sexp):
10234 New functions.
10235
10236 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10237
10238 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10239 modes and simplification modes.
10240
10241 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * delsel.el (delete-selection-pre-hook): Don't propagate the
10244 file-supersession signals (bug#12161).
10245
10246 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10249 (cl-map-extents): Add compatibility aliases (bug#12135).
10250
10251 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10252
10253 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10254 tests by `ignore-error'.
10255 (tramp-find-shell): Open also a new shell, when cache is already
10256 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10257
10258 2012-08-08 Juri Linkov <juri@jurta.org>
10259
10260 * bookmark.el: Add `defaults' property to the bookmark record.
10261 (bookmark-current-buffer): Doc fix.
10262 (bookmark-make-record): Add `defaults' property with default values
10263 to the bookmark record.
10264 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10265 with `bookmark-insert-current-bookmark'.
10266 (bookmark-set): Get `defaults' property from the bookmark record
10267 and use it in `read-from-minibuffer'.
10268 (bookmark-insert-current-bookmark): Remove function.
10269
10270 * info.el (Info-bookmark-make-record): Add `defaults' property
10271 with values of canonical Info node name, the current Info file
10272 name and the current Info node name. (Bug#12107)
10273
10274 2012-08-08 Juri Linkov <juri@jurta.org>
10275
10276 * files.el (basic-save-buffer): Use `buffer-name' as the default
10277 of `read-file-name' when buffer is not visiting a file (bug#12128).
10278
10279 2012-08-08 Juri Linkov <juri@jurta.org>
10280
10281 * info.el (Info-isearch-search): Doc fix.
10282 (Info-search): Change search-failed message from "initial node" to
10283 "end of node" (bug#12078).
10284 (Info-isearch-search): Change `isearch-string-state' to
10285 `isearch--state-string'.
10286
10287 2012-08-08 Glenn Morris <rgm@gnu.org>
10288
10289 * language/persian.el: Remove file.
10290 * language/misc-lang.el: Move unique part of persian.el here.
10291 * loadup.el: Remove language/persian.
10292
10293 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10294
10295 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10296
10297 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10298
10299 * progmodes/python.el: Fix defsubst warning.
10300 (python-syntax-context) Rename from python-info-ppss-context.
10301 (python-syntax-context-type): Rename from
10302 python-info-ppss-context-type.
10303 (python-syntax-comment-or-string-p): Rename from
10304 python-info-ppss-comment-or-string-p.
10305
10306 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10307
10308 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10309
10310 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10311
10312 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10313 a defcustom that is quoted with backquote.
10314
10315 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10316 Fix handling of interactive spec when the body uses return.
10317 (math-do-arg-check, math-define-function-body): Use backquote forms.
10318 * calc/calc-ext.el (math-defcache): Likewise.
10319 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10320 * allout.el (allout-new-exposure): Likewise.
10321 * calc/calcalg2.el (math-tracing-integral): Likewise.
10322 * info.el (Info-last-menu-item): Likewise.
10323 * emulation/vip.el (vip-loop): Likewise.
10324 * textmodes/artist.el (artist-funcall): Likewise.
10325 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10326 Construct menu-item directly.
10327
10328 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10329 Don't declare.
10330
10331 2012-08-07 Chong Yidong <cyd@gnu.org>
10332
10333 * simple.el (deactivate-mark): Preserve text properties when
10334 saving the primary selection (Bug#8384).
10335
10336 2012-08-07 Kevin Ryde <user42@zip.com.au>
10337
10338 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10339 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10340 and continue processing (Bug#12110).
10341
10342 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10345 syntax-propertize-function (bug#10095).
10346
10347 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10350 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10351 describe-function-1.
10352 (describe-function-1): Use them. Move compiler macro after sig.
10353 (help-fns--compiler-macro): Use function-get. Assume we're already in
10354 standard-output. Adjust layout to new call order.
10355
10356 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10357 re-binding a symbol that has a symbol-macro (bug#12119).
10358
10359 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10360
10361 * language/persian.el: New file. (Bug#11812)
10362 * loadup.el: Add language/persian.el.
10363
10364 2012-08-06 Chong Yidong <cyd@gnu.org>
10365
10366 * window.el (window--maybe-raise-frame): New function.
10367 (window--display-buffer): Split off from here.
10368 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10369 (display-buffer-pop-up-window, display-buffer-use-some-window):
10370 Obey an inhibit-switch-frame action alist entry.
10371 (display-buffer): Update doc.
10372
10373 * replace.el (occur-after-change-function): Avoid losing focus by
10374 using the inhibit-switch-frame display parameter (Bug#12139).
10375
10376 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10377
10378 Make internal shell process buffer names start with space.
10379 * progmodes/python.el (python-shell-make-comint): Add optional
10380 argument INTERNAL.
10381 (run-python-internal): Use it.
10382 (python-shell-internal-get-or-create-process): Check for new
10383 internal buffer names.
10384
10385 2012-08-06 Glenn Morris <rgm@gnu.org>
10386
10387 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10388 Do less getting and setting of environment variables.
10389
10390 2012-08-05 Chong Yidong <cyd@gnu.org>
10391
10392 * proced.el (proced): Add substitution string to docstring to
10393 trigger autoloading of the proced library on C-h f (Bug#1768).
10394
10395 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10396 Don't show defvars which have no second argument (Bug#8638).
10397
10398 * imenu.el (imenu-generic-expression): Move documentation here
10399 from imenu--generic-function.
10400 (imenu--generic-function): Refer to imenu-generic-expression.
10401
10402 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10403
10404 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10405 indentation declaration.
10406 (viper-loop): Add indentation declaration (Bug#7025).
10407
10408 2012-08-05 Chong Yidong <cyd@gnu.org>
10409
10410 * help-fns.el (describe-variable): Add hyperlink for
10411 directory-local variables files. Improve buffer-local and
10412 permanent-local reporting; suggested by MON KEY (Bug#6644).
10413
10414 * help-mode.el (help-dir-local-var-def): New button type.
10415
10416 * files.el (kill-buffer-hook): Provide a defvar.
10417
10418 2012-08-05 Glenn Morris <rgm@gnu.org>
10419
10420 * eshell/esh-ext.el (eshell/addpath):
10421 Also update eshell-path-env. (Bug#12013)
10422
10423 2012-08-05 Chong Yidong <cyd@gnu.org>
10424
10425 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10426
10427 * fringe.el (fringe-styles): Add docstring.
10428 (fringe--check-mode): New function.
10429 (set-fringe-mode, set-fringe-style): Use it.
10430 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10431
10432 * files.el (set-auto-mode): Fix invalid setq call.
10433
10434 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * isearch.el: Misc simplification; use defstruct.
10437 (isearch-mode-map): Dense maps now work like sparse ones.
10438 (isearch--state): New defstruct.
10439 (isearch-string-state, isearch-message-state, isearch-point-state)
10440 (isearch-success-state, isearch-forward-state)
10441 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10442 (isearch-wrapped-state, isearch-barrier-state)
10443 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10444 replaced by defstruct's accessors.
10445 (isearch--set-state): Rename from isearch-top-state and change
10446 calling convention.
10447 (isearch-push-state): Use new isearch--get-state.
10448 (isearch-toggle-word): Disable regexp when enabling word.
10449 (isearch-message-prefix): Remove unused arg _c-q-hack.
10450 (isearch-message-suffix): Remove unused arg _ellipsis.
10451
10452 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10453
10454 * simple.el (list-processes--refresh): For a server use :host or
10455 :local as the address.
10456 (list-processes): Doc fix.
10457
10458 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10459
10460 * lisp/mpc.el: Support password in host argument.
10461 (mpc--proc-connect): Parse and use new password element.
10462 Set mpc-proc variable instead of returning process.
10463 (mpc-proc): Adjust accordingly.
10464
10465 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10466
10467 * whitespace.el (whitespace-display-mappings): Use Unicode
10468 codepoints, instead of emacs-mule codepoints. See
10469 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10470 for the details.
10471
10472 * files.el (file-truename): Don't skip symlink-chasing part on
10473 windows-nt. Incorporate the resolution of 8+3 short aliases on
10474 Windows into the loop that recursively chases symlinks.
10475 Compare directory and its parent case-insensitively on MS-Windows and
10476 MS-DOS.
10477
10478 2012-08-03 Chong Yidong <cyd@gnu.org>
10479
10480 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10481
10482 * sort.el (sort-regexp-fields): Doc fix.
10483
10484 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10485
10486 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10487 labels regex position point at the expected place.
10488
10489 2012-08-03 MON KEY <monkey@sandpframing.com>
10490
10491 * net/imap.el (imap-interactive-login, imap-authenticate)
10492 (imap-mailbox-lsub, imap-mailbox-list)
10493 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10494 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10495 (imap-parse-response): Doc fix.
10496
10497 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10498
10499 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10500 if sexp scanning does not move point (Bug#5734).
10501
10502 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10503
10504 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10505 Add listings, minted, and ctable packages.
10506 (reftex-label-alist-builtin): Move listings, minted, and ctable
10507 entries before LaTeX.
10508 (reftex-label-alist): Docfix.
10509
10510 2012-08-02 Bastien Guerry <bzg@gnu.org>
10511
10512 * replace.el (occur): Fix docstring (bug#12122).
10513
10514 2012-08-02 Glenn Morris <rgm@gnu.org>
10515
10516 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10517
10518 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10519
10520 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10521 * international/mule-cmds.el: Create
10522 inactivate-current-input-method-function as an obsolete alias for
10523 deactivate-current-input-method-function. See Katsumi Yamaoka in
10524 <http://bugs.gnu.org/10150#46>.
10525
10526 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10527
10528 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10529 of nested `if's.
10530
10531 2012-08-01 Glenn Morris <rgm@gnu.org>
10532
10533 * progmodes/autoconf.el (autoconf-definition-regexp):
10534 Add AH_TEMPLATE, adjust submatch numbering.
10535 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10536 (autoconf-current-defun-function): Update for above change.
10537 (autoconf-current-defun-function): First skip to end of current word.
10538
10539 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10540
10541 * calendar/cal-html.el (cal-html-insert-agenda-days):
10542 Fix typo. (Bug#12018)
10543
10544 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10545
10546 Shell processes: enhancements to startup and CEDET compatibility.
10547 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10548 (python-shell-make-comint): accept-process-output at startup.
10549 (run-python-internal): Set inferior-python-mode-hook to nil.
10550 (python-shell-internal-get-or-create-process): call sit-for.
10551 (python-preoutput-result): Add obsolete alias.
10552 (python-shell-internal-send-string): Use it.
10553 (python-shell-send-setup-code): Remove call to
10554 accept-process-output.
10555
10556 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10557
10558 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10559 (Bug#12108)
10560
10561 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10562
10563 * calc-mode.el (calc-basic-simplification-mode): Rename from
10564 `calc-limited-simplification-mode'.
10565 (calc-alg-simplification-mode): New function.
10566 (calc-set-simplify-mode): Adjust message.
10567
10568 * calc.el (calc-set-mode-line): Adjust mode line display for
10569 basic simplification mode.
10570
10571 * calc-help.el (calc-m-prefix-help): Update help message.
10572
10573 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10574 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10575
10576 2012-07-31 Bastien Guerry <bzg@gnu.org>
10577
10578 * man.el (man): Fix comment. (bug#12101)
10579
10580 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10581
10582 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10583 Don't return a non-nil value when no suitable buffer was found.
10584
10585 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10586
10587 * progmodes/python.el (run-python-internal): Disable font lock for
10588 internal shells.
10589
10590 2012-07-30 Stefan Merten <smerten@oekonux.de>
10591
10592 * textmodes/rst.el: Silence `checkdoc-ispell'.
10593 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10594 (rst-official-version, rst-official-cvs-rev)
10595 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10596 (rst-mode-map): New key binding.
10597
10598 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10599
10600 Update .PHONY listings in makefiles.
10601 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10602 autoloads, update-subdirs, updates, bzr-update, update-authors,
10603 compile-onefile, compile-calc, backup-compiled-files,
10604 compile-after-backup, compile-one-process, mh-autoloads,
10605 bootstrap-clean, distclean, maintainer-clean.
10606
10607 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10608
10609 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10610 (calc-set-mode-line): Don't display "AlgSimp ".
10611
10612 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10613 (calc-lim-simplify-mode): New function.
10614 (calc-set-simplify-mode): Default to 'alg.
10615 (calc-default-simplify-mode): Make algebraic simplifications
10616 the default.
10617
10618 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10619 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10620
10621 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10622 indicate new simplification modes.
10623
10624 * calc/README: Mention new default simplification mode.
10625
10626 * calc/calc.el (math-normalize-error): New variable.
10627 (math-normalize): Set `math-normalize-error' to t
10628 when there's an error.
10629
10630 * calc/calc-alg.el (math-simplify): Don't simplify when
10631 `math-normalize' returns an error.
10632
10633 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10634
10635 * international/mule-cmds.el (set-locale-environment): Revert last
10636 change, since display-graphic-p returns nil when this function is
10637 called during startup. Instead...
10638
10639 * term/w32console.el (terminal-init-w32console): ...setup the
10640 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10641
10642 2012-07-29 Juri Linkov <juri@jurta.org>
10643
10644 * simple.el (goto-line): Don't display default line number in the
10645 prompt because it should be displayed by `read-number' (bug#9952).
10646 Add the current line number to the defaults of `goto-line' to
10647 allow its easier modification by users with `M-n' (bug#9201).
10648
10649 * subr.el (read-number): Support multiple default values like in
10650 other minibuffer reading functions. Replace `read' with
10651 `string-to-number' for consistency with `number-to-string'.
10652
10653 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10654
10655 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10656 * emulation/viper-init.el (viper-deactivate-input-method-action):
10657 Rename from viper-inactivate-input-method-action.
10658 (viper-deactivate-input-method):
10659 Rename from viper-inactivate-input-method.
10660 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10661 * international/mule-cmds.el (deactivate-input-method):
10662 Rename from inactivate-input-method.
10663 Also run input-method-deactivate-hook.
10664 (deactivate-current-input-method-function):
10665 Rename from inactivate-current-input-method-function.
10666 (input-method-deactivate-hook): New hook.
10667 (input-method-inactivate-hook): Mark obsolete.
10668 (inactivate-input-method): Mark obsolete.
10669
10670 * international/quail.el (quail-activate):
10671 Also run quail-deactivate-hook.
10672 (quail-deactivate): Rename from quail-inactivate.
10673 * international/robin.el (robin-activate):
10674 Also run robin-deactivate-hook.
10675 (robin-deactivate): Rename from robin-inactivate.
10676
10677 2012-07-29 Chong Yidong <cyd@gnu.org>
10678
10679 * simple.el (indicate-copied-region): New function.
10680 (kill-ring-save): Split off from here.
10681
10682 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10683 (kill-rectangle): Set deactivate-mark to t on read-only error.
10684
10685 * register.el (copy-to-register, copy-rectangle-to-register):
10686 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10687 (append-to-register, prepend-to-register): Call indicate-copied-region.
10688
10689 2012-07-29 Juri Linkov <juri@jurta.org>
10690
10691 * simple.el (async-shell-command-buffer): New defcustom.
10692 (shell-command): Use it. (Bug#4719)
10693
10694 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10695
10696 * international/mule-cmds.el (set-locale-environment): In a
10697 console session on MS-Windows, set up keyboard and terminal
10698 encoding from the OEM codepage, not the ANSI codepage.
10699 (Bug#12055)
10700
10701 2012-07-28 Chong Yidong <cyd@gnu.org>
10702
10703 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10704 gdb-get-location.
10705
10706 2012-07-28 Leo Liu <sdl.web@gmail.com>
10707
10708 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10709 the alist (bug#12029).
10710
10711 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10712
10713 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10714 (compile-always, compile-first)
10715 ($(lisp)/calendar/cal-loaddefs.el)
10716 ($(lisp)/calendar/diary-loaddefs.el)
10717 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10718 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10719 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10720 instead of on update-subdirs.
10721 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10722
10723 2012-07-28 Chong Yidong <cyd@gnu.org>
10724
10725 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10726 directory if vc-deduce-backend returns nil (Bug#7350).
10727
10728 * simple.el (delete-trailing-lines): New option.
10729 (delete-trailing-whitespace): Obey it (Bug#11879).
10730
10731 2012-07-28 David Engster <deng@randomsample.de>
10732
10733 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10734 Explanation of new 'symbol-qnames feature in doc-strings.
10735 (xml-maybe-do-ns): Return expanded names as plain symbols if
10736 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10737 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10738
10739 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10740
10741 Consistent completion in inferior python with emacs -nw.
10742 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10743 binding in inferior-python-mode-map with "\t".
10744 (python-shell-completion-complete-at-point)
10745 (python-completion-complete-at-point): Remove interactive spec.
10746
10747 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10748
10749 * calc/calccomp.el (math-compose-expr): Undo previous change.
10750
10751 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10752
10753 * progmodes/python.el (python-mode-map): Add keybinding for
10754 run-python.
10755 (python-shell-make-comint): Fix pop-to-buffer call.
10756 (run-python): Autoload. New arg SHOW.
10757 (python-shell-get-or-create-process): Do not pop python process
10758 buffer.
10759
10760 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10761
10762 * notifications.el (notifications-on-action-signal)
10763 (notifications-on-closed-signal): Use also the bus address for the map.
10764 (notifications-notify, notifications-close-notification)
10765 (notifications-get-capabilities): Add optional argument BUS.
10766
10767 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10768
10769 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10770 Add support for the lstlisting and minted environments, and for the
10771 ctable macro.
10772 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10773 labels written in keyvals syntax.
10774
10775 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10776
10777 * calc/calccomp.el (math-compose-expr): Use parentheses when
10778 there is a product in the denominator of a fraction.
10779
10780 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10781
10782 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10783 ($(lisp)/calendar/diary-loaddefs.el)
10784 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10785 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10786 Fixes failures in parallel bootstrap because subdirs.el is being
10787 rewritten while the autoload files are built at the same time,
10788 which needs to load subdirs.el.
10789
10790 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10791
10792 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10793 (mouse-drag-line): Don't exit tracking when a switch-frame or
10794 switch-window event occurs (Bug#12006).
10795
10796 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * mouse.el (popup-menu): Fix last change.
10799
10800 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10801
10802 Autoload from Lisp with more care. Follow aliases when looking for
10803 function properties.
10804 * subr.el (autoloadp): New function.
10805 (symbol-file): Use it.
10806 (function-get): New function.
10807 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10808 autoload-do-load.
10809 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10810 (lisp-indent-function):
10811 * emacs-lisp/gv.el (gv-get):
10812 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10813 * emacs-lisp/byte-opt.el (byte-optimize-form):
10814 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10815 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10816 Use function-get.
10817 * emacs-lisp/cl.el: Don't propagate function properties any more.
10818
10819 * speedbar.el (speedbar-add-localized-speedbar-support):
10820 * emacs-lisp/disass.el (disassemble-internal):
10821 * desktop.el (desktop-load-file):
10822 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10823 (describe-function-1):
10824 * emacs-lisp/find-func.el (find-function-noselect):
10825 * emacs-lisp/elp.el (elp-instrument-function):
10826 * emacs-lisp/advice.el (ad-has-proper-definition):
10827 * apropos.el (apropos-safe-documentation, apropos-macrop):
10828 * emacs-lisp/debug.el (debug-on-entry):
10829 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10830 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10831 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10832
10833 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10834
10835 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10836 function, not an obsolete variable (Bug#12046).
10837
10838 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10839
10840 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10841
10842 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10843
10844 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10845 window only if it is still live (Bug#12034).
10846
10847 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10848
10849 * subr.el (redirect-frame-focus): Add advertised calling
10850 convention (Bug#12030).
10851
10852 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10853
10854 Prefer typical American spelling for "acknowledgment".
10855 * vc/add-log.el (change-log-acknowledgment): Rename from
10856 change-log-acknowledgement, with an alias for the old name.
10857
10858 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10859
10860 * calc-alg.el (math-simplify-divide): Don't cross multiply
10861 in an equation when the lhs is a variable.
10862
10863 2012-07-24 Julien Danjou <julien@danjou.info>
10864
10865 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10866 Remove, unused.
10867
10868 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10869
10870 * startup.el (command-line): Don't display an empty user name in
10871 the error message about non-existent home directory, when
10872 init-file-user was set to an empty string. See
10873 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10874 for the details and context.
10875
10876 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10877
10878 * ses.el (ses-cell-formula-aset): New macro.
10879 (ses-cell-references-aset): New macro.
10880 (ses-cell-p): New function.
10881 (ses-rename-cell): Do no longer rely on complex operations like
10882 ses-cell-set-formula or ses-set-cell to change the cell and handle
10883 the undo at the same time, but rather use lower level new macros
10884 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10885 the undo directly. Refresh the mode line.
10886
10887 2012-07-21 Leo Liu <sdl.web@gmail.com>
10888
10889 * progmodes/cc-cmds.el (c-defun-name):
10890 Use match-string-no-properties instead for consistency.
10891
10892 2012-07-20 Leo Liu <sdl.web@gmail.com>
10893
10894 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10895 (Bug#7879)
10896
10897 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10898
10899 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10902 * progmodes/bug-reference.el, misearch.el: Provide themselves
10903 (bug#11915).
10904
10905 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10906 of narrowed buffer (bug#11966).
10907
10908 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10909
10910 * ses.el (ses-rename-cell): Set new name also in reference list of
10911 cells of which the renamed cell depends.
10912
10913 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10914
10915 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10916 to check whether menu-bar is shown or not. If not shown,
10917 show the menu-bar as a popup menu instead of using tmm.
10918 * mouse.el (popup-menu): Accept `point' as `position' argument.
10919
10920 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10921
10922 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10923 up inside string symbol literal (bug#11923).
10924
10925 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10926
10927 * startup.el (fancy-startup-text): Read the whole tutorial, not
10928 just its first 256 bytes. Prevents gibberish in display of the
10929 tutorial title.
10930
10931 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10932
10933 Drop idle buffer compaction due to an absence of the
10934 proved efficiency.
10935 * compact.el: Remove.
10936
10937 2012-07-19 Sam Steingold <sds@gnu.org>
10938
10939 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10940 vc-bzr-pull & vc-bzr-merge-branch.
10941 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10942 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10943 for consistency with compilation-error-regexp-alist.
10944 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10945 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10946 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10947 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10948
10949 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10950
10951 * emacs-lisp/chart.el: Use lexical-binding.
10952 (chart-emacs-storage): Don't hardcode the list of entries.
10953
10954 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10955
10956 Next round of tweaks caused by Fgarbage_collect changes.
10957 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10958
10959 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10960
10961 Compact buffers when idle.
10962 * compact.el: New file.
10963
10964 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * subr.el (eventp): Presume that if it looks vaguely like an event,
10967 it's an event (bug#10190).
10968
10969 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10970
10971 Enhancements to ppss related code (thanks Stefan).
10972 * progmodes/python.el (python-indent-context)
10973 (python-indent-calculate-indentation, python-indent-dedent-line)
10974 (python-indent-electric-colon, python-nav-forward-block)
10975 (python-mode-abbrev-table)
10976 (python-info-assignment-continuation-line-p): Simplify checks
10977 for ppss context.
10978 (python-info-continuation-line-p): Cleanup.
10979 (python-info-ppss-context): Do not catch 'quote.
10980 (python-info-ppss-context-type)
10981 (python-info-ppss-comment-or-string-p): Simplify.
10982
10983 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10984
10985 * progmodes/python.el: Enhancements to eldoc support.
10986 (python-info-current-symbol): New function.
10987 (python-eldoc-at-point): Use python-info-current-symbol.
10988 (python-info-current-defun): Fix cornercase on first defun scan.
10989 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10990 and signal error when no inferior python process is available.
10991
10992 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10993
10994 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10995 assume it's always t.
10996 (vc-git-registered): Remove caching, the function is only called
10997 once.
10998 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10999
11000 2012-07-18 Chong Yidong <cyd@gnu.org>
11001
11002 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
11003
11004 * simple.el (count-words): Report on narrowing (Bug#9959).
11005
11006 * bindings.el: Bind M-= to count-words.
11007
11008 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
11009
11010 2012-07-18 Masatake YAMATO <yamato@redhat.com>
11011
11012 * progmodes/sh-script.el (sh-imenu-generic-expression):
11013 Capture a function with `function' keyword and without parentheses
11014 like "function FOO" (bug#11856).
11015
11016 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
11017
11018 * window.el (split-window-sensibly): Make WINDOW argument
11019 optional.
11020
11021 2012-07-18 Chong Yidong <cyd@gnu.org>
11022
11023 * subr.el (keyboard-translate): Doc fix (Bug#7261).
11024
11025 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
11026 and make C-x 8 RET exit isearch (Bug#11439).
11027
11028 * international/iso-transl.el: Move isearch-mode-map key
11029 definitions to isearch.el.
11030
11031 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
11034 (eieio-defclass): Use gv-define-setter when possible.
11035
11036 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
11037
11038 Reflect recent changes in Fgarbage_collect.
11039 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11040 reflect new format of data returned by Fgarbage_collect.
11041
11042 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11043
11044 New utility functions + python-info-ppss-context fix (Bug#11910).
11045 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11046 (python-info-ppss-comment-or-string-p): New functions.
11047 (python-info-ppss-context): Small fix for string check.
11048
11049 2012-07-17 Juri Linkov <juri@jurta.org>
11050
11051 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11052 (dired-do-async-shell-command): Don't add `*' at the end of the
11053 command (Bug#11815).
11054 (dired-do-shell-command): Doc fix.
11055 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11056 Join the individual commands using either "&" or ";" as the
11057 separator depending on the values of these trailing characters.
11058 At the end re-add the trailing "&". (Bug#10598)
11059
11060 * simple.el (async-shell-command): Sync the interactive spec with
11061 `shell-command'. Doc fix.
11062 (shell-command): Doc fix.
11063
11064 2012-07-17 Juri Linkov <juri@jurta.org>
11065
11066 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11067
11068 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11069
11070 Final renames and doc fixes for movement commands (bug#11899).
11071 * progmodes/python.el (python-nav-beginning-of-statement):
11072 Rename from python-nav-statement-start.
11073 (python-nav-end-of-statement): Rename from
11074 python-nav-statement-end.
11075 (python-nav-beginning-of-block): Rename from
11076 python-nav-block-start.
11077 (python-nav-end-of-block): Rename from python-nav-block-end.
11078
11079 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11080
11081 * progmodes/python.el (python-shell-send-string-no-output):
11082 Allow accept-process-output to quit, keeping shell process ready for
11083 future interactions (Bug#11868).
11084
11085 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11088
11089 * emacs-lisp/elint.el (elint-find-args-in-code):
11090 Use help-function-arglist, so as to handle lexical byte-code.
11091
11092 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11093 change (bug#11826).
11094
11095 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11098 Avoid spuriously marking the buffer as modified because of c-is-sws.
11099
11100 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11101 as not-a-comment (bug#11946).
11102
11103 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11104 for uninterned vars.
11105
11106 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11107 Use read-event since we don't really want to read chars but bytes.
11108
11109 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11110 $$..$$ but also $..$ using regexps (bug#11953).
11111 Use tex-verbatim for \url and \path.
11112 (tex-font-lock-keywords): Define as defconst like the others.
11113 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11114
11115 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11116
11117 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11118 alias for insert-char.
11119
11120 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11121
11122 * progmodes/python.el: Simplified imenu implementation.
11123 (python-nav-jump-to-defun): Remove command.
11124 (python-mode-map): Use `imenu' instead.
11125 (python-nav-list-defun-positions-cache)
11126 (python-imenu-include-defun-type, python-imenu-make-tree)
11127 (python-imenu-subtree-root-label, python-imenu-index-alist):
11128 Remove vars.
11129 (python-nav-list-defun-positions, python-nav-read-defun)
11130 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11131 (python-imenu-make-tree, python-imenu-create-index):
11132 Remove functions.
11133 (python-mode): Update to interact with imenu by setting
11134 `imenu-extract-index-name-function' only.
11135
11136 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11137
11138 * progmodes/python.el: Enhancements to navigation commands.
11139 (python-nav-backward-sentence)
11140 (python-nav-forward-sentence): Remove.
11141 (python-nav-backward-statement, python-nav-forward-statement)
11142 (python-nav-statement-start, python-nav-statement-end)
11143 (python-nav-backward-block, python-nav-forward-block)
11144 (python-nav-block-start, python-nav-block-end)
11145 (python-nav-forward-sexp-function)
11146 (python-info-current-line-comment-p)
11147 (python-info-current-line-empty-p): New functions.
11148 (python-indent-context): Use `python-nav-statement-start'.
11149
11150 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11151
11152 * eshell/em-ls.el (eshell/ls): Use `apply'.
11153
11154 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11155 multi-hops, instead of Tramp internals.
11156
11157 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11158
11159 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11160 when F1 and F2 are located on different hosts.
11161
11162 2012-07-14 Chong Yidong <cyd@gnu.org>
11163
11164 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11165 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11166 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11167 (xterm-mouse--read-event-sequence-1000)
11168 (xterm-mouse--read-event-sequence-1006): New functions. For old
11169 mouse protocol, handle M-mouse-X events correctly.
11170 (xterm-mouse-event): New arg specifying mouse protocol.
11171 (turn-on-xterm-mouse-tracking-on-terminal)
11172 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11173 sequence to toggle extended coordinates on newer XTerms.
11174 This appears to be harmless on terminals which do not support this.
11175
11176 2012-07-14 Leo Liu <sdl.web@gmail.com>
11177
11178 Add fringe bitmap indicators for flymake. (Bug#11253)
11179 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11180 (flymake-make-overlay): New arg BITMAP.
11181 (flymake-error-bitmap, flymake-warning-bitmap)
11182 (flymake-fringe-indicator-position): New user variables.
11183
11184 * fringe.el: New bitmap exclamation-mark.
11185
11186 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11187
11188 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11189 also (Bug#7879).
11190
11191 2012-07-14 Chong Yidong <cyd@gnu.org>
11192
11193 * electric.el (electric-pair-post-self-insert-function): Fix pair
11194 insertion in empty-region case (Bug#11520).
11195
11196 2012-07-14 Chong Yidong <cyd@gnu.org>
11197
11198 * bindings.el: Consolidate ctl-x-r-map bindings.
11199 Bind copy-rectangle-as-kill to C-x r w.
11200
11201 * rect.el, register.el: Move bindings to bindings.el.
11202
11203 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11204
11205 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11206
11207 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11208
11209 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11210
11211 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11212
11213 * bindings.el (top): Use `mapc' instead of `mapcar'.
11214
11215 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11216
11217 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11218
11219 * progmodes/sql.el (sql-comint): Suppress the check for program on
11220 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11221 (Bug#11908)
11222
11223 2012-07-13 Chong Yidong <cyd@gnu.org>
11224
11225 * bindings.el: Assign a non-nil permanent-local property to
11226 per-buffer variables which lack a default value (Bug#11930).
11227
11228 * help-fns.el (describe-variable): In the "automatically becomes
11229 local" notice, take note of permanent-local variables.
11230
11231 2012-07-13 Chong Yidong <cyd@gnu.org>
11232
11233 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11234 to allow printing the message when called from Lisp.
11235
11236 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11237 Remove toggle-read-only.
11238
11239 * bs.el (bs-toggle-readonly):
11240 * buff-menu.el (Buffer-menu-toggle-read-only):
11241 Remove with-no-warnings around toggle-read-only.
11242
11243 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11244 Remove with-no-warnings around toggle-read-only.
11245 (ffap-read-only, ffap-read-only-other-window)
11246 (ffap-read-only-other-frame): Callers changed.
11247
11248 * help-mode.el: Don't require view package.
11249 (help-mode-finish): Set buffer-read-only instead of calling
11250 toggle-read-only.
11251
11252 * bindings.el (mode-line-toggle-read-only):
11253 * dired.el (dired-toggle-read-only):
11254 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11255 with non-nil second arg.
11256
11257 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11258 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11259 directly.
11260
11261 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11262
11263 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11264 not incf.
11265
11266 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11267
11268 More CL cleanups and reduction of use of cl.el.
11269 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11270 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11271 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11272 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11273 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11274 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11275 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11276 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11277 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11278 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11279 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11280 * eshell/em-cmpl.el, eshell/em-banner.el:
11281 * calendar/parse-time.el: Use cl-lib.
11282 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11283 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11284 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11285 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11286 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11287 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11288 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11289 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11290 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11291 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11292 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11293 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11294 `lambda' rather than with `quote'.
11295 (eshell-do-opt): Adjust accordingly.
11296 (eshell-process-option): Simplify.
11297 * eshell/esh-var.el:
11298 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11299 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11300 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11301 to `pcase--dontcare'.
11302 * emacs-lisp/cl.el (labels): Mark obsolete.
11303 (cl--letf, letf): Move to cl-lib.
11304 (cl--letf*, letf*): Remove.
11305 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11306 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11307 (cl-progv): Rewrite.
11308 (cl--letf, cl-letf): Move from cl.el.
11309 (cl-letf*): New macro.
11310 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11311
11312 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11313
11314 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11315
11316 2012-07-11 Chong Yidong <cyd@gnu.org>
11317
11318 * vc/log-edit.el (log-edit-vc-backend): New variable.
11319 (log-edit): Doc fix.
11320
11321 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11322 argument of log-edit to set up all local variables.
11323 (vc-start-logentry): New optional arg specifying VC backend.
11324
11325 * vc/vc.el (vc-checkin): Use it.
11326 (vc-deduce-fileset): Handle Log Edit buffers.
11327 (vc-diff): Make first argument optional too.
11328
11329 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11330
11331 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11332
11333 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11334 command, just in case. The function is not needed anymore.
11335 (eshell-external-command): Do not call `eshell-remote-command'.
11336
11337 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 Reduce use of (require 'cl).
11340 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11341 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11342 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11343 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11344 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11345 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11346 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11347 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11348 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11349 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11350 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11351 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11352 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11353 (byte-compile-unfold-bcf, byte-compile-check-variable):
11354 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11355 (byte-compile-nilconstp):
11356 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11357 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11358
11359 * emacs-lisp/gv.el (cond): Make it a valid place.
11360 (if): Simplify slightly.
11361
11362 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11363 (pcase--self-quoting-p): New function.
11364 (pcase--u1): Use it.
11365
11366 2012-07-10 Glenn Morris <rgm@gnu.org>
11367
11368 * emacs-lisp/authors.el (authors-fixed-entries):
11369 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11370
11371 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11372
11373 Rename configure.in to configure.ac (Bug#11603).
11374 * emacs-lisp/authors.el (authors-canonical-file-name):
11375 * progmodes/autoconf.el (autoconf-mode):
11376 Prefer configure.ac to configure.in.
11377
11378 2012-07-08 Chong Yidong <cyd@gnu.org>
11379
11380 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11381 Implement the mouse-1-click-follows-link handling properly.
11382
11383 * info.el (Info-link-keymap): Use follow-link mechanism for
11384 header-line links (Bug#374).
11385
11386 * simple.el (deactivate-mark): Do not set the primary selection
11387 if another program has acquired it (Bug#11772).
11388
11389 2012-07-07 Kevin Ryde <user42@zip.com.au>
11390
11391 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11392 (woman-decode-region): Replace escaped-escapes without destroying
11393 bold or underline (Bug#11552).
11394 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11395
11396 2012-07-07 Chong Yidong <cyd@gnu.org>
11397
11398 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11399 (interprogram-cut-function, interprogram-paste-function):
11400 Mention that we typically mean the clipboard.
11401
11402 2012-07-06 Glenn Morris <rgm@gnu.org>
11403
11404 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11405
11406 * files.el (toggle-read-only): Restrict message to interactive use.
11407
11408 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11409
11410 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11411
11412 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11413
11414 2012-07-06 Glenn Morris <rgm@gnu.org>
11415
11416 * Makefile.in (compile-one-process): Rename from "recompile".
11417
11418 * Makefile.in (bzr-update): "compile" is the same as "recompile
11419 autoloads", but parallelizable, so use that instead.
11420
11421 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11422
11423 * window.el (quit-window): Always restore window height when
11424 it's saved in quit-restore parameter (Bug#11810).
11425
11426 2012-07-06 Glenn Morris <rgm@gnu.org>
11427
11428 * simple.el (kill-whole-line): Doc tweak.
11429
11430 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11431
11432 * files.el (file-relative-name): Compare file names
11433 case-insensitively if on MS-Windows or MS-DOS, or if
11434 read-file-name-completion-ignore-case is non-nil. Don't use
11435 case-fold-search for this purpose. (Bug#11827)
11436
11437 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11438
11439 * calendar/cal-dst.el (calendar-current-time-zone):
11440 Return calendar-current-time-zone-cache if non-nil.
11441
11442 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11443 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11444
11445 * calendar/cal-dst.el (calendar-current-time-zone):
11446 Return calendar-current-time-zone-cache if non-nil.
11447
11448 2012-07-06 Glenn Morris <rgm@gnu.org>
11449
11450 * Makefile.in (cvs-update): Remove old alias.
11451
11452 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11453
11454 Sync with Tramp 2.2.6-pre.
11455
11456 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11457 compatible declaration.
11458
11459 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11460 Protect `list-load-path-shadows' call.
11461
11462 * net/tramp-compat.el (top): Require packages, which aren't
11463 autoloaded anymore for XEmacs. Protect call of
11464 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11465 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11466 it hurts at least for SXEmacs.
11467 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11468 standard-value for `temporary-file-directory'.
11469
11470 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11471 Redirect stderr to /dev/null.
11472 (tramp-sh-handle-write-region): uid and gid can be floats.
11473 Reported by Russell Sim <russell.sim@gmail.com>.
11474 (tramp-sh-handle-vc-registered): Hide errors.
11475 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11476 and `start-file-process'.
11477 (tramp-maybe-open-connection): Check also whether `non-essential'
11478 is bound.
11479
11480 2012-07-04 Chong Yidong <cyd@gnu.org>
11481
11482 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11483 (xml-parse-tag): Likewise, and avoid changing entity tables.
11484 (xml-syntax-table): Define from scratch, making sure not to give
11485 x2000 and other Unicode spaces whitespace syntax, since those are
11486 not spaces in XML.
11487 (xml-parse-fragment): Delete unused function.
11488 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11489 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11490 (xml-entity-ref, xml-pe-reference-re)
11491 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11492 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11493 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11494 (xml-entity-value-re): Use syntax references in regexps where
11495 possible; no need to define inside a let-binding.
11496 (xml-parse-dtd): Use xml-pe-reference-re.
11497 (xml-entity-or-char-ref-re): New defconst.
11498 (xml-parse-string, xml-substitute-special): Use it.
11499
11500 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11501
11502 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11503 (find-file--read-only): New function.
11504 (find-file-read-only, find-file-read-only-other-window)
11505 (find-file-read-only-other-frame): Use it.
11506 (insert-file-contents-literally): Don't `fset'.
11507 (get-free-disk-space): Use locate-dominating-file.
11508
11509 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11510 function is already compiled.
11511
11512 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11513
11514 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11515
11516 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11517 files on the same host.
11518
11519 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11520
11521 * help-fns.el (describe-function-1): Only call
11522 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11523
11524 2012-07-03 Chong Yidong <cyd@gnu.org>
11525
11526 * xml.el: Protect parser against XML bombs.
11527 (xml-entity-expansion-limit): New variable.
11528 (xml-parse-string, xml-substitute-special): Use it.
11529 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11530
11531 2012-07-03 Glenn Morris <rgm@gnu.org>
11532
11533 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11534 Allow linking to specific messages in debbugs reports (eg 123#5).
11535
11536 2012-07-02 Chong Yidong <cyd@gnu.org>
11537
11538 * xml.el: Fix entity and character reference expansion, allowing
11539 them to expand into markup as per XML spec.
11540 (xml-default-ns): New variable.
11541 (xml-entity-alist): Use XML spec definitions for lt and amp.
11542 (xml-parse-region): Make first two arguments optional.
11543 Discard text properties.
11544 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11545 All callers changed.
11546 (xml-parse-tag): Call xml-parse-tag-1. For backward
11547 compatibility, this function should not modify buffer contents.
11548 (xml-parse-tag-1): Fix opening-tag regexp.
11549 (xml-parse-string): Rewrite, handling entity and character
11550 references properly.
11551 (xml--entity-replacement-text): Signal an error if a parameter
11552 entity is undefined.
11553
11554 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * comint.el (comint-output-filter): Filter out repeated prompts.
11557
11558 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11559 and file-name-absolute-p.
11560 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11561 internal calls.
11562
11563 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11564
11565 Spelling fixes.
11566 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11567 Rename from byte-compile--refiy-function. All uses changed.
11568
11569 2012-07-01 Chong Yidong <cyd@gnu.org>
11570
11571 * xml.el (xml--parse-buffer): New function. Move most of
11572 xml-parse-region here.
11573 (xml-parse-region): Copy region into a temporary buffer, since
11574 parameter entity substitution requires changing buffer contents.
11575 Use xml--parse-buffer.
11576 (xml-parse-file): Use xml--parse-buffer.
11577 (xml-parse-dtd): Make parameter entity substitution work right.
11578 Use proper regexps for ELEMENT declarations (Bug#7172).
11579
11580 2012-06-30 Glenn Morris <rgm@gnu.org>
11581
11582 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11583
11584 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11585 Remove outdated and unnecessary dbus declarations.
11586
11587 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11588
11589 * emacs-lisp/timer.el (timer-until): Subtract results of
11590 float-time, instead of taking float-time of the result of
11591 time-subtract, since float-time signals an error for negative time
11592 arguments.
11593
11594 2012-06-30 Chong Yidong <cyd@gnu.org>
11595
11596 * xml.el (xml-*-re): Convert defvars into defconsts, and
11597 eval-and-compile them so eval-and-compile works on derivatives.
11598 (xml--entity-replacement-text): Use eval-and-comple.
11599
11600 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11601
11602 * vc/vc-git.el (vc-git-registered): Use cache property
11603 `git-registered'.
11604 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11605 `vc-git-working-revision' in order to benefit from the cache.
11606 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11607
11608 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11609
11610 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11611 removed (likely outside Emacs). (Bug#11757)
11612
11613 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * emacs-lisp/cl-lib.el: Require macroexp.
11616
11617 2012-06-30 Chong Yidong <cyd@gnu.org>
11618
11619 * xml.el: Implement XML parameter entities.
11620 (xml-parameter-entity-alist): New variable.
11621 (xml-parse-region, xml-parse-fragment): Preserve previous values
11622 of xml-entity-alist and xml-parameter-entity-alist, so that
11623 repeated calls on different documents do not change them.
11624 (xml-parse-tag): Fix doctype regexp.
11625 (xml--entity-replacement-text): New function.
11626 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11627 properly requires url retrieval which is unimplemented.
11628 (xml-escape-string): Doc fix.
11629
11630 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11633
11634 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11635
11636 * fringe.el (fringe-mode): Doc fix.
11637
11638 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11639
11640 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11641 is non-nil.
11642 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11643 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11644
11645 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11646
11647 * calendar/cal-dst.el (calendar-current-time-zone):
11648 Return calendar-current-time-zone-cache if non-nil.
11649
11650 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11651
11652 * progmodes/which-func.el (which-func-format):
11653 Add mouse-face. (Bug#11698)
11654
11655 2012-06-29 Leo Liu <sdl.web@gmail.com>
11656
11657 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11658
11659 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11660
11661 * minibuffer.el (minibuffer-confirm-exit-commands):
11662 Add completion-at-point (bug#11725).
11663
11664 2012-06-29 Glenn Morris <rgm@gnu.org>
11665
11666 * progmodes/f90.el (f90-font-lock-keywords-2):
11667 Add some preprocessor elements. (Bug#10499)
11668
11669 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11670
11671 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11672 Use syntax-propertize (bug#11739).
11673
11674 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11675
11676 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11677
11678 2012-06-28 Julien Danjou <julien@danjou.info>
11679
11680 * term.el (term-handle-colors-array): Use a set of new faces to
11681 color the terminal. Also uses :inverse-video property.
11682 (term-default-fg-color): Set to nil by default, deprecate in favor
11683 of `term-face'.
11684 (term-default-bg-color): Set to nil by default, deprecate in favor
11685 of `term-face'.
11686 (term-current-face): Use `term-face' by default.
11687 (term-bold-attribute): Variable deleted.
11688
11689 2012-06-28 Glenn Morris <rgm@gnu.org>
11690
11691 * simple.el (completion-list-mode-finish):
11692 Don't use toggle-read-only. (Since completion-list-mode has
11693 a special mode-class, it wasn't doing anything extra anyway.)
11694
11695 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11696
11697 Make inlining of other-mode interpreted functions work (bug#11799).
11698 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11699 (byte-compile): Use it to fix compilation of lexical-binding closures.
11700 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11701 function, if needed.
11702
11703 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11704
11705 * help-mode.el (help-make-xrefs): Don't just withstand
11706 cyclic-variable-indirection but any error in documentation-property.
11707
11708 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11709 memory use.
11710 * bindings.el (bindings--define-key): New function.
11711 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11712 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11713 * bindings.el: Use it to purecopy define-key bindings.
11714
11715 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11716
11717 * emacs-lisp/cl.el (flet): Mark obsolete.
11718 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11719 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11720 * progmodes/js.el (js-c-fill-paragraph):
11721 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11722 (ebrowse-switch-member-buffer-to-derived-class):
11723 * play/5x5.el (5x5-solver): Use cl-flet.
11724
11725 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11726 (cl--symbol-function): New macro.
11727 (cl--letf, cl--letf*): Use it.
11728
11729 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11730 Strip "toggle-" if any.
11731
11732 2012-06-27 Glenn Morris <rgm@gnu.org>
11733
11734 * info.el (Info-default-directory-list): Move here from paths.el.
11735 * paths.el: Remove file, which is now empty.
11736 * loadup.el: No longer load "paths".
11737
11738 * custom.el (custom-initialize-delay): Doc fix.
11739
11740 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11741 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11742 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11743 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11744 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11745 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11746 * eshell/eshell.el (eshell-defgroup): Remove alias.
11747
11748 2012-06-27 Chong Yidong <cyd@gnu.org>
11749
11750 * help.el (help-enable-auto-load): New variable.
11751
11752 * help-fns.el (help-fns--autoloaded-p): New function.
11753 (describe-function-1): Refer to a function as "autoloaded" if it
11754 was autoloaded at any time in the past. Perform autoloading if
11755 help-enable-auto-load is non-nil.
11756
11757 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11758
11759 * makefile.w32-in (compile, compile-always): Depend on
11760 update-subdirs, not on subdirs.el. Otherwise, several different
11761 sub-targets of 'bootstrap' running in parallel could
11762 simultaneously write to subdirs.el, producing a garbled file.
11763
11764 2012-06-26 Sam Steingold <sds@gnu.org>
11765
11766 * files.el (file-name-base): New convenience function.
11767 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11768 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11769 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11770 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11771 * textmodes/ispell.el, textmodes/reftex-ref.el:
11772 * textmodes/tex-mode.el: Use it.
11773 Did not touch cedet and org because they are maintained elsewhere.
11774
11775 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11776
11777 * calendar/calendar.el (calendar-exit): Don't try to delete or
11778 iconify last frame. See:
11779 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11780
11781 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11782
11783 * server.el (server-process-filter): Remember dir in the
11784 process's `server-client-directory' properties.
11785
11786 2012-06-24 Chong Yidong <cyd@gnu.org>
11787
11788 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11789 non-tag text.
11790
11791 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11792
11793 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11794
11795 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11796
11797 * help-fns.el (describe-variable): Don't croak when doc is not found.
11798 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11799 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11800 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11801 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11802 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11803 ((lambda ..) ..).
11804 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11805
11806 2012-06-23 Chong Yidong <cyd@gnu.org>
11807
11808 * info.el (Info-mouse-follow-link): Accept symbol values of
11809 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11810 (Info-fontify-node): Use Info-link-keymap for all navigation
11811 buttons, with link-args property to perform the desired action.
11812 (Info-link-keymap): Doc fix.
11813 (Info-next-link-keymap, Info-prev-link-keymap)
11814 (Info-up-link-keymap): Delete now-unused keymaps.
11815
11816 2012-06-23 Chong Yidong <cyd@gnu.org>
11817
11818 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11819
11820 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11821 system abbrevs.
11822
11823 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11824
11825 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11828 (bug#11719).
11829
11830 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11831 the requote function doesn't work properly (bug#11714).
11832
11833 2012-06-23 Glenn Morris <rgm@gnu.org>
11834
11835 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11836
11837 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 Further GV/CL cleanups.
11840 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11841 gv-expander.
11842 (gv--defun-declaration): New function.
11843 (defun-declarations-alist): Use it.
11844 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11845 (gv-place): Autoload.
11846 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11847 original definition of dotimes and dolist.
11848 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11849 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11850 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11851 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11852 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11853 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11854 to the function's definition.
11855 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11856 * window.el:
11857 * files.el:
11858 * faces.el:
11859 * env.el: Don't use CL.
11860
11861 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11862
11863 Support higher-resolution time stamps (Bug#9000).
11864
11865 * calendar/time-date.el (with-decoded-time-value): New arg
11866 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11867 (encode-time-value): New optional arg PICO. New type 3.
11868 (time-to-seconds) [!float-time]: Support the new picoseconds
11869 component if it's used.
11870 (seconds-to-time, time-subtract, time-add):
11871 Support ps-resolution time stamps as well.
11872
11873 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11874 (timerp): Timer vectors now have length 9, not 8.
11875 (timer--time): Support new-style (4-part) time stamps.
11876 (timer-next-integral-multiple-of-time): Time stamps now have
11877 picosecond resolution, so take a bit more care about rounding.
11878 (timer-relative-time, timer-inc-time): New optional arg psecs.
11879 (timer-set-time-with-usecs): Set psecs to 0.
11880 (timer--activate): Check psecs component, too.
11881
11882 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11883
11884 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11885
11886 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11887 Move the non-essential binding to the post/pre-command-hook where it is
11888 more obviously correct.
11889
11890 * subr.el (read-passwd): Don't use a history at all.
11891 * savehist.el (savehist-save): Remove password saved accidentally
11892 because of the above bug.
11893
11894 2012-06-22 Bastien Guerry <bzg@gnu.org>
11895
11896 * files.el (toggle-read-only): Display a message telling whether
11897 the buffer is read-only or not (bug#11726).
11898
11899 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11900
11901 * emacs-lisp/gv.el: New file.
11902 * subr.el (push, pop): Extend to generalized variables.
11903 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11904 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11905 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11906 gv-define-simple-setter, and gv-define-expander.
11907 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11908 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11909 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11910 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11911 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11912 gv-letplace.
11913 (cl-defstruct): Don't define setf-method any more.
11914 * emacs-lisp/cl.el (flet): Don't autoload.
11915 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11916 (define-setf-expander, defsetf, define-modify-macro)
11917 (cl-struct-setf-expander): Move from cl-lib.el.
11918 * emacs-lisp/syntax.el:
11919 * emacs-lisp/ewoc.el:
11920 * emacs-lisp/smie.el:
11921 * emacs-lisp/cconv.el:
11922 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11923 (timer--time): Use gv-define-simple-setter.
11924 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11925 to avoid coding-system problems in subr.el. Adjust all users.
11926 (macroexp--maxsize, macroexp-small-p): New functions.
11927 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11928 * scroll-bar.el (scroll-bar-mode):
11929 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11930 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11931 * winner.el (winner-configuration, winner-make-point-alist)
11932 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11933 * files.el (locate-file-completion-table): Avoid list*.
11934
11935 2012-06-22 Chong Yidong <cyd@gnu.org>
11936
11937 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11938 (dired-create-files): Doc fix (Bug#11329).
11939 (dired-do-copy): Doc fix (Bug#11334).
11940 (dired-mark-read-string): Doc fix (Bug#11553).
11941
11942 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11943 Doc fix (Bug#11326).
11944 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11945 (dired-dwim-target): Doc fix.
11946
11947 * wdired.el (wdired-mode): Doc fix.
11948
11949 2012-06-22 Glenn Morris <rgm@gnu.org>
11950
11951 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11952 (pcmpl-rpm-cache-stamp-file): New constant.
11953 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11954 (pcmpl-rpm-packages): Optionally cache list of packages.
11955
11956 * pcmpl-rpm.el (pcmpl-rpm): New group.
11957 (pcmpl-rpm-query-options): New option.
11958 (pcmpl-rpm-packages): No need to inline it.
11959 Use pcmpl-rpm-query-options.
11960
11961 * calendar/calendar.el (calendar-in-read-only-buffer):
11962 Avoid some needless mode changes.
11963
11964 2012-06-21 Chong Yidong <cyd@gnu.org>
11965
11966 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11967 (desktop-path): Remove . from the default value (Bug#10977).
11968 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11969
11970 2012-06-20 Chong Yidong <cyd@gnu.org>
11971
11972 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11973
11974 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11975
11976 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11977 (bug#11201).
11978
11979 2012-06-20 Chong Yidong <cyd@gnu.org>
11980
11981 * term.el (term-window-width): Handle the case of a missing right
11982 fringe (Bug#8837).
11983 (term-check-size): Use window-text-height (Bug#5445).
11984 (term-mode): Use define-derived-mode. Minor cleanups.
11985 Set font-lock-defaults (Bug#7692).
11986 (term-move-columns, term-insert-char, term-emulate-terminal)
11987 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11988
11989 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11990
11991 * net/ange-ftp.el (ange-ftp-get-passwd):
11992 Bind `enable-recursive-minibuffers'.
11993 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11994
11995 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11996
11997 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11998
11999 2012-06-19 Glenn Morris <rgm@gnu.org>
12000
12001 * progmodes/python.el (python-mode): Derive from prog-mode.
12002
12003 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
12004
12005 * emulation/edt.el (edt-default-menu-bar-update-buffers)
12006 (edt-user-menu-bar-update-buffers): New functions.
12007 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
12008
12009 2012-06-19 Chong Yidong <cyd@gnu.org>
12010
12011 * subr.el (with-selected-window): Preserve the selected window's
12012 terminal's top-frame (Bug#4702).
12013
12014 * window.el (save-selected-window): Likewise.
12015
12016 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12017
12018 * progmodes/python.el (python-rx-constituents): Move backquote.
12019 (python-skeleton-define, python-define-auxiliary-skeleton):
12020 Use `declare'.
12021
12022 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
12023
12024 * minibuffer.el (read-file-name-default): Revert the patch from
12025 2012-06-17.
12026
12027 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
12030 (pcase--u1, pcase--q1): Don't use apply-partially.
12031
12032 2012-06-18 Glenn Morris <rgm@gnu.org>
12033
12034 * progmodes/python.el (python-proc, python-buffer)
12035 (python-send-receive, python-send-string): Fix obsolete versions.
12036
12037 2012-06-18 Martin Rudalics <rudalics@gmx.at>
12038
12039 * window.el (special-display-p): Completely remove stringp
12040 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12041
12042 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12043
12044 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12045
12046 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12047
12048 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12049 * net/tramp-sh.el (tramp-maybe-open-connection):
12050 Throw if `non-essential' is non-nil.
12051
12052 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12053
12054 * window.el (special-display-p): Signal an error if BUFFER-NAME
12055 is not a string (Bug#11713).
12056
12057 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12058
12059 * progmodes/python.el (python-info-beginning-of-backslash):
12060 Rename from python-info-beginning-of-backlash, as a spelling fix.
12061
12062 2012-06-17 Chong Yidong <cyd@gnu.org>
12063
12064 * term.el (term-emulate-terminal): If term-check-size is called,
12065 move point to the process mark without resetting point (Bug#4635).
12066
12067 2012-06-17 Glenn Morris <rgm@gnu.org>
12068
12069 * international/mule-cmds.el (mule-menu-keymap)
12070 (set-language-environment, set-locale-environment): Doc tweaks.
12071
12072 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12073
12074 * cus-face.el (custom-face-attributes): Add wave-style underline
12075 attribute.
12076 * faces.el (set-face-attribute): Update docstring to describe
12077 wave-style underline attribute.
12078
12079 2012-06-16 Chong Yidong <cyd@gnu.org>
12080
12081 * term/xterm.el (terminal-init-xterm): Discard input before
12082 querying background mode (Bug#10959).
12083
12084 2012-06-16 Stefan Merten <smerten@oekonux.de>
12085
12086 * textmodes/rst.el: Added and corrected some comments.
12087 (rst-re-alist-def): Improve symbol syntax.
12088 (rst-mode-syntax-table): Correct syntax entries.
12089 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12090 (rst-official-version, rst-official-cvs-rev): Update version
12091 information.
12092
12093 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12094
12095 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12096 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12097
12098 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12099
12100 * progmodes/python.el: New python.el merge.
12101 (python-guess-indent): Obsolete var.
12102 (python-indent-guess-indent-offset): New defcustom.
12103 (python-indent): Obsolete var.
12104 (python-indent-offset): New defcustom.
12105 (python-python-command, python-jython-command): Delete var.
12106 (python-shell-interpreter): New defcustom.
12107 (python-pdbtrack-do-tracking-p): Delete var.
12108 (python-pdbtrack-activate): New defcustom.
12109 (python-use-skeletons): Obsolete var.
12110 (python-skeleton-autoinsert): New defcustom.
12111 (inferior-python-filter-regexp, python-continuation-offset)
12112 (python-honour-comment-indentation, python-indent-string-contents)
12113 (python-jython-packages, python-mode-hook)
12114 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12115 (python-shell-prompt-alist)
12116 (python-source-modes): Delete defcustoms.
12117 (python-check-buffer-name, python-eldoc-setup-code)
12118 (python-eldoc-string-code, python-ffap-setup-code)
12119 (python-ffap-string-code, python-fill-comment-function)
12120 (python-fill-decorator-function, python-fill-paren-function)
12121 (python-fill-string-function, python-imenu-include-defun-type)
12122 (python-imenu-make-tree, python-imenu-subtree-root-label)
12123 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12124 (python-shell-compilation-regexp-alist)
12125 (python-shell-completion-module-string-code)
12126 (python-shell-completion-pdb-string-code)
12127 (python-shell-completion-setup-code)
12128 (python-shell-completion-string-code)
12129 (python-shell-enable-font-lock, python-shell-exec-path)
12130 (python-shell-extra-pythonpaths)
12131 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12132 (python-shell-process-environment)
12133 (python-shell-prompt-block-regexp)
12134 (python-shell-prompt-output-regexp)
12135 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12136 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12137 (python-shell-virtualenv-path): New defcustoms.
12138 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12139 (inferior-python-mode-syntax-table, python--prompt-regexp)
12140 (python-buffer, python-command python-python-command)
12141 (python-default-template, python-imports, python-indent-index)
12142 (python-indent-list, python-indent-list-length)
12143 (python-mode-running, python-pdbtrack-is-tracking-p)
12144 (python-preoutput-continuation, python-preoutput-leftover)
12145 (python-preoutput-result, python-preoutput-skip-next-prompt)
12146 (python-prev-dir/file, python-recursing)
12147 (python-saved-check-command, python-version-checked)
12148 (python-which-func-length-limit)
12149 (view-return-to-alist): Delete vars.
12150 (python-check-custom-command, python-dotty-syntax-table)
12151 (python-imenu-index-alist, python-indent-current-level)
12152 (python-indent-dedenters, python-indent-levels)
12153 (python-nav-beginning-of-defun-regexp)
12154 (python-nav-list-defun-positions-cache)
12155 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12156 (python-shell-internal-buffer)
12157 (python-skeleton-available): New vars.
12158 (def-python-skeleton): Delete macro.
12159 (python-skeleton-define): New macro.
12160 (python-define-auxiliary-skeleton, python-rx): New macros.
12161 (python-insert-class): Delete command.
12162 (python-skeleton-class): New command.
12163 (python-insert-def): Delete command.
12164 (python-skeleton-def): New command.
12165 (python-insert-for): Delete command.
12166 (python-skeleton-for): New command.
12167 (python-insert-if): Delete command.
12168 (python-skeleton-if): New command.
12169 (python-insert-try/except, python-insert-try/finally): Delete commands.
12170 (python-skeleton-try): New command.
12171 (python-insert-while): Delete command.
12172 (python-skeleton-while): New command.
12173 (python-backspace): Delete command.
12174 (python-indent-dedent-line-backspace): New command.
12175 (python-electric-colon): Delete command.
12176 (python-indent-electric-colon): New command.
12177 (python-guess-indent): Delete command.
12178 (python-indent-guess-indent-offset): New command.
12179 (python-shift-left): Delete command.
12180 (python-indent-shift-left): New command.
12181 (python-shift-right): Delete command.
12182 (python-indent-shift-right): New command.
12183 (python-find-function): Delete command.
12184 (python-nav-jump-to-defun): New command.
12185 (python-next-statement): Delete command.
12186 (python-nav-forward-sentence): New command.
12187 (python-previous-statement): Delete command.
12188 (python-nav-backward-sentence): New command.
12189 (python-fill-paragraph): Delete command.
12190 (python-fill-paragraph-function): New command.
12191 (python-send-buffer): Delete command.
12192 (python-shell-send-buffer): New command.
12193 (python-send-defun): Delete command.
12194 (python-shell-send-defun): New command.
12195 (python-send-region, python-send-region-and-go): Delete commands.
12196 (python-shell-send-region)
12197 (python-shell-switch-to-shell): New commands.
12198 (python-send-string): Delete command.
12199 (python-shell-send-string): New command.
12200 (python-switch-to-python): Delete command.
12201 (python-shell-switch-to-shell): New command.
12202 (python-describe-symbol): Delete command.
12203 (python-eldoc-at-point): New command.
12204 (python--set-prompt-regexp, python-args-to-list)
12205 (python-after-info-look, python-check-version)
12206 (python-check-comint-prompt, python-find-imports)
12207 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12208 (python-unload-function, python-expand-template)
12209 (python-maybe-jython, python-preoutput-filter)
12210 (python-pdbtrack-get-source-buffer)
12211 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12212 (python-pdbtrack-toggle-stack-tracking)
12213 (python-pdbtrack-track-stack-file, python-initial-text)
12214 (python-first-word, python-comment-line-p, python-send-command)
12215 (python-setup-brm, python-sentinel, python-set-proc)
12216 (python-skip-out, python-input-filter, python-outdent-p)
12217 (python-outline-level, python-backslash-continuation-line-p)
12218 (python-end-of-block, python-end-of-statement, python-mark-block)
12219 (python-beginning-of-block, python-beginning-of-statement)
12220 (python-blank-line-p, python-beginning-of-string)
12221 (python-open-block-statement-p): Delete functions.
12222 (python-indent-line, python-indent-line-1): Delete functions.
12223 (python-indent-line): New function.
12224 (python-indentation-levels): Delete function.
12225 (python-indent-calculate-levels): New function.
12226 (python-proc): Delete function.
12227 (python-shell-get-process): New function.
12228 (python-send-receive): Delete function.
12229 (python-shell-send-string-no-output): New function.
12230 (python-module-path): Delete function.
12231 (python-ffap-module-path): New function.
12232 (python-completion-at-point)
12233 (python-symbol-completions): Delete functions.
12234 (python-completion-complete-at-point): New function.
12235 (python-load-file): Delete function.
12236 (python-shell-send-file): New function.
12237 (python-calculate-indentation): Delete function.
12238 (python-indent-calculate-indentation): New function.
12239 (python-skip-comments/blanks): Delete function.
12240 (python-util-forward-comment): New function.
12241 (python-continuation-line-p): Delete function.
12242 (python-info-continuation-line-p): New function.
12243 (python-which-func, python-current-defun): Delete function.
12244 (python-info-current-defun): New function.
12245 (python-beginning-of-defun): Delete function.
12246 (python-nav-beginning-of-defun): New function.
12247 (python-close-block-statement-p)
12248 (python-block-end-p): Delete function.
12249 (python-info-closing-block): New function.
12250 (python-comint-output-filter-function)
12251 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12252 (python-fill-comment, python-fill-decorator, python-fill-paren)
12253 (python-fill-string, python-imenu-make-element-tree)
12254 (python-imenu-make-tree, python-imenu-tree-assoc)
12255 (python-indent-context, python-indent-dedent-line)
12256 (python-indent-line-function)
12257 (python-indent-post-self-insert-function)
12258 (python-indent-toggle-levels)
12259 (python-info-assignment-continuation-line-p)
12260 (python-info-beginning-of-backlash)
12261 (python-info-block-continuation-line-p)
12262 (python-info-closing-block-message)
12263 (python-info-line-ends-backslash-p)
12264 (python-info-looking-at-beginning-of-defun)
12265 (python-info-ppss-context, python-info-ppss-context-type)
12266 (python-nav-list-defun-positions, python-nav-read-defun)
12267 (python-nav-sentence-end, python-nav-sentence-start)
12268 (python-pdbtrack-comint-output-filter-function)
12269 (python-pdbtrack-set-tracked-buffer)
12270 (python-shell-calculate-exec-path)
12271 (python-shell-calculate-process-environment)
12272 (python-shell-completion--do-completion-at-point)
12273 (python-shell-completion--get-completions)
12274 (python-shell-completion-complete-at-point)
12275 (python-shell-completion-complete-or-indent)
12276 (python-shell-get-or-create-process)
12277 (python-shell-get-process-name)
12278 (python-shell-internal-get-or-create-process)
12279 (python-shell-internal-get-process-name)
12280 (python-shell-internal-send-string, python-shell-make-comint)
12281 (python-shell-parse-command, python-shell-send-setup-code)
12282 (python-skeleton-add-menu-items)
12283 (python-util-clone-local-variables, python-util-position)
12284 (run-python-internal, python-indentation-levels)
12285 (python-nav-beginning-of-defun)
12286 (python-completion-complete-at-point): New functions.
12287 (run-python): Change arguments. New API requirements.
12288
12289 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12290
12291 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12292 (bug#11649).
12293
12294 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12295 (macroexp--expand-all): Use it.
12296
12297 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12298 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12299 Use `cl-function' instead.
12300
12301 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12302
12303 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12304 Suggested by Stefan Monnier while discussing bug#11657.
12305
12306 2012-06-14 Sam Steingold <sds@gnu.org>
12307
12308 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12309
12310 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12311
12312 * play/doctor.el (doctor-doc): Remove parameter and use
12313 doctor-sent instead of sent.
12314 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12315
12316 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12317
12318 * files.el: Require cl-lib.
12319 (file-name-non-special): Replace case -> cl-case.
12320
12321 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12322
12323 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12324 mapping from #' to function*.
12325
12326 2012-06-13 Chong Yidong <cyd@gnu.org>
12327
12328 * mouse.el (mouse-drag-track): Do not set the mark if the user
12329 releases the mouse without selecting anything (Bug#11588).
12330
12331 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12332
12333 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12334 as well (bug#11646).
12335
12336 * loadup.el: Count byte-code functions as well.
12337
12338 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12339 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12340
12341 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12342 (bug#11649). Add cl-defun and cl-defmacro.
12343
12344 2012-06-13 Drew Adams <drew.adams@oracle.com>
12345
12346 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12347 Fix last change.
12348
12349 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12350
12351 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12352 Otherwise, it blocks in batch mode.
12353
12354 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12355
12356 * help-mode.el (bookmark-make-record-default): Declare.
12357
12358 2012-06-13 Chong Yidong <cyd@gnu.org>
12359
12360 * emacs-lisp/package.el (list-packages): Compute a list of
12361 packages that are newly-available since the last list-packages
12362 invocation.
12363 (package-menu--new-package-list): New var.
12364 (package-menu--generate, package-menu--print-info)
12365 (package-menu--status-predicate, package-menu-mark-install):
12366 Handle new status label "new".
12367
12368 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12371 conversion to backquotes.
12372
12373 2012-06-12 Chong Yidong <cyd@gnu.org>
12374
12375 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12376 Rename from gud-inhibit-global-bindings.
12377
12378 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12379
12380 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12381 hook from nxml-glyph-set-hook.
12382
12383 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12384 declaration.
12385
12386 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12387
12388 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12389 Convert to defcustom.
12390
12391 2012-06-12 Drew Adams <drew.adams@oracle.com>
12392
12393 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12394 New functions.
12395 (help-mode): Use them.
12396
12397 2012-06-11 Glenn Morris <rgm@gnu.org>
12398
12399 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12400 Use preprocessor face for directives.
12401 (fortran-directive-re): Doc fix.
12402
12403 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12404
12405 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12406 conversion to backquotes (bug#11652).
12407
12408 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12409 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12410 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12411 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12412 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12413 (cl-ninth, cl-tenth): Mark them as inlinable.
12414 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12415 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12416 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12417 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12418 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12419 (cl-list*, cl-adjoin): Don't put an autoload manually.
12420 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12421 (cl--compiler-macro-list*): Add autoload cookie.
12422 (cl--compiler-macro-cXXr): New function.
12423
12424 * help-fns.el (help-fns--compiler-macro): New function extracted from
12425 describe-function-1; follow aliases and use `compiler-macro' property.
12426 (describe-function-1): Use it.
12427
12428 2012-06-11 Chong Yidong <cyd@gnu.org>
12429
12430 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12431 is uninstalled, if imagemagick is installed.
12432
12433 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * emacs-lisp/cl-lib.el: Use lexical-binding.
12436 (cl-map-extents, cl-maclisp-member): Remove.
12437 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12438 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12439 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12440 * emacs-lisp/cl-extra.el: Use lexical-binding.
12441 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12442 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12443 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12444 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12445 * emacs-lisp/cl-seq.el: Use lexical-binding.
12446 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12447 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12448 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12449 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12450 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12451 CL's internals.
12452
12453 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12454
12455 Sync with Tramp 2.2.6-pre.
12456
12457 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12458 `print-length' and `print-level' to nil, in order to avoid
12459 truncation. Reported by Christopher Schmidt
12460 <christopher@ristopher.com>.
12461
12462 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12463
12464 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12465 New defmacro.
12466 (tramp-compat-copy-directory): Add optional argument
12467 COPY-CONTENTS. It is not handled yet.
12468
12469 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12470 (tramp-ftp-file-name-p): Simplify.
12471
12472 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12473 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12474 connection vector.
12475
12476 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12477 (tramp-methods): Do not use `tramp-password-end-of-line'.
12478 (tramp-completion-function-alist-putty): Handle UNIX case.
12479 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12480 (tramp-do-file-attributes-with-stat)
12481 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12482 gid as real numbers. They could run out of integer range on cygwin.
12483 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12484 (tramp-sh-handle-expand-file-name): Handle hops.
12485 (tramp-open-connection-setup-interactive-shell):
12486 Use `tramp-cleanup'. Move check for busyboxes ...
12487 (tramp-find-shell): ... here. Simplify implementation.
12488 Set "remote-shell" property also for alternative shells.
12489 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12490 If failing, a regular file would be written otherwise.
12491 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12492 (tramp-find-inline-encoding): Cache the coding commands in the
12493 process cache. Apply test command on the remote side, if defined.
12494 (tramp-find-inline-compress): Cache the compress commands in the
12495 process cache.
12496 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12497 when requested. Handle hops.
12498 (tramp-current-connection): New defvar.
12499 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12500 Throw `suppress', if there was a failed connection shortly before.
12501 Handle user interrupt. (Bug#10187)
12502 (tramp-get-inline-compress, tramp-get-inline-coding):
12503 Read connection properties from the process cache.
12504
12505 * net/tramp-smb.el (tramp-smb-server-version)
12506 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12507 New defconsts.
12508 (tramp-smb-prompt): Extend for powershell prompt.
12509 (tramp-smb-file-name-handler-alist): Add handlers for
12510 `process-file', `shell-command' and `start-file-process'.
12511 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12512 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12513 (tramp-smb-file-name-p): Simplify.
12514 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12515 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12516 (tramp-smb-shell-quote-argument): New defuns.
12517 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12518 Implement using "tar". By this, time-stamps are preserved.
12519 (tramp-smb-handle-copy-file): Handle also the case of directories.
12520 (tramp-smb-do-file-attributes-with-stat)
12521 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12522 Use `tramp-get-connection-buffer').
12523 (tramp-smb-handle-rename-file): Use "rename", when source and
12524 target are on the same share.
12525 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12526 Use `tramp-smb-server-version'.
12527 (tramp-smb-wait-for-output): Remove prompt.
12528
12529 * net/tramp.el (top): Require 'cl.
12530 (tramp-methods, tramp-rsh-end-of-line):
12531 Remove `tramp-password-end-of-line' from docstring.
12532 (tramp-save-ad-hoc-proxies): New defcustom.
12533 (tramp-completion-function-alist): Adapt docstring.
12534 (tramp-default-password-end-of-line): Remove defcustom.
12535 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12536 (tramp-user-regexp, tramp-file-name-regexp-unified)
12537 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12538 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12539 (tramp-remote-file-name-spec-regexp): New defconst.
12540 (tramp-file-name-structure): Extend structure for hops.
12541 (tramp-get-method-parameter): Move up.
12542 (tramp-file-name-p, tramp-dissect-file-name)
12543 (with-parsed-tramp-file-name): Handle hops.
12544 (tramp-file-name-hop): New defun.
12545 (tramp-make-tramp-file-name): New optional arg HOP.
12546 (tramp-message-show-progress-reporter-message): New defvar.
12547 (tramp-with-progress-reporter): Use it. We cannot use
12548 `tramp-message-show-message' here, because this suppresses also
12549 error buffers.
12550 (tramp-error-with-buffer): Suppress buffer view, if
12551 `tramp-message-show-message' is nil.
12552 Use `tramp-get-connection-buffer'.
12553 (tramp-cleanup): New defun.
12554 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12555 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12556 an error unchanged.
12557 (tramp-completion-handle-file-name-all-completions): Handle hops.
12558 Fix an error when called from ido.
12559 (tramp-completion-dissect-file-name): Use better local variable
12560 name. Add hop to the vector.
12561 (tramp-handle-insert-file-contents): Use progress-reporter for the
12562 whole scenario.
12563 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12564 to `t'.
12565 (tramp-check-for-regexp): Simplify search.
12566 (tramp-enter-password): Remove it. Move implementation ...
12567 (tramp-action-password): ... here.
12568 (tramp-mode-string-to-int, tramp-local-host-p)
12569 (tramp-make-tramp-temp-file, tramp-read-passwd)
12570 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12571 Set tramp-autoload cookie.
12572
12573 * net/trampver.el: Update release number.
12574
12575 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12576 Michael Albinus <michael.albinus@gmx.de>
12577
12578 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12579 (tramp-parse-group, tramp-parse-file)
12580 (tramp-parse-shostkeys-sknownhosts): New defuns.
12581 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12582 (tramp-parse-shosts-group, tramp-parse-sconfig)
12583 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12584 (tramp-parse-sknownhosts, tramp-parse-hosts)
12585 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12586 Use them.
12587 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12588 (tramp-parse-putty-group): Don't narrow.
12589 (tramp-parse-putty): Make a loop.
12590 (tramp-file-name-handler): Catch the `suppress' signal.
12591
12592 2012-06-11 Chong Yidong <cyd@gnu.org>
12593
12594 * image.el (imagemagick-register-types): Put the ImageMagick entry
12595 at the end of image-type-file-name-regexps.
12596
12597 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12598
12599 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12600 (pcase, pcase-let*, pcase-dolist): Use them.
12601
12602 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * emacs-lisp/pcase.el (pcase--let*): New function.
12605 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12606 (pcase--expand): Use macroexp-let².
12607
12608 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12609
12610 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12611 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12612 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12613 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12614 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12615 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12616
12617 2012-06-10 Glenn Morris <rgm@gnu.org>
12618
12619 * mail/rmail.el (rmail-yank-current-message): Leave point at
12620 correct position. (Bug#11660)
12621
12622 2012-06-10 Chong Yidong <cyd@gnu.org>
12623
12624 * allout-widgets.el: Fix code header.
12625
12626 2012-06-10 Chong Yidong <cyd@gnu.org>
12627
12628 * cus-edit.el (customize-changed-options-previous-release):
12629 Bump to 24.1.
12630
12631 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12632
12633 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12634
12635 2012-06-09 Chong Yidong <cyd@gnu.org>
12636
12637 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12638
12639 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12640
12641 * window.el (special-display-popup-frame): Don't use
12642 window--display-buffer (Bug#11651).
12643
12644 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12645
12646 Fix parallel builds: make sure loaddefs.el is not being written
12647 while Lisp files are compiled.
12648 (compile): Don't depend on 'mh-autoloads'.
12649 (compile-CMD, compile-SH): Depend on 'autoloads'.
12650 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12651
12652 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12653
12654 2012-06-09 Chong Yidong <cyd@gnu.org>
12655
12656 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12657 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12658 Doc fixes (Bug#11225).
12659
12660 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12661
12662 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12663 a function if there's a clear indication that it has a compiler-macro.
12664 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12665 (macro-declarations-alist): Add arglist to declaration functions.
12666 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12667 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12668 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12669 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12670 Also add autoload to find the compiler macro.
12671 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12672 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12673 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12674 (cl--compiler-macro-get): New functions, replacing calls to
12675 cl-define-compiler-macro.
12676 (cl-typep) [compiler-macro]: Use macroexp-let².
12677
12678 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12679
12680 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12681 string properly, fixes Bug#11473.
12682
12683 2012-06-08 Chong Yidong <cyd@gnu.org>
12684
12685 * faces.el (set-face-attribute): Doc fix.
12686 (modify-face): Don't use :bold and :italic.
12687 (error, warning, success): Tweak definitions.
12688
12689 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12690 (custom-modified, custom-set, custom-changed, custom-themed)
12691 (custom-saved, custom-button, custom-button-mouse)
12692 (custom-button-pressed, custom-state, custom-comment-tag)
12693 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12694 (custom-group-subtitle): Use new-style face specs.
12695 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12696 (custom-set-face, custom-changed-face, custom-saved-face)
12697 (custom-button-face, custom-button-pressed-face)
12698 (custom-documentation-face, custom-state-face)
12699 (custom-comment-face, custom-comment-tag-face)
12700 (custom-variable-tag-face, custom-variable-button-face)
12701 (custom-face-tag-face, custom-group-tag-face-1)
12702 (custom-group-tag-face): Remove obsolete face alias.
12703
12704 * epa.el (epa-validity-high, epa-validity-medium)
12705 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12706 (epa-field-name, epa-field-body):
12707 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12708 (font-lock-keyword-face, font-lock-builtin-face)
12709 (font-lock-function-name-face, font-lock-variable-name-face)
12710 (font-lock-type-face, font-lock-constant-face):
12711 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12712 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12713 * speedbar.el (speedbar-button-face, speedbar-file-face)
12714 (speedbar-directory-face, speedbar-tag-face)
12715 (speedbar-selected-face, speedbar-highlight-face)
12716 (speedbar-separator-face):
12717 * whitespace.el (whitespace-newline, whitespace-space)
12718 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12719 (whitespace-line, whitespace-space-before-tab)
12720 (whitespace-space-after-tab, whitespace-indentation)
12721 (whitespace-empty):
12722 * emulation/cua-base.el (cua-global-mark):
12723 * eshell/em-prompt.el (eshell-prompt):
12724 * net/newst-plainview.el (newsticker-new-item-face)
12725 (newsticker-old-item-face, newsticker-immortal-item-face)
12726 (newsticker-obsolete-item-face, newsticker-date-face)
12727 (newsticker-statistics-face, newsticker-default-face):
12728 * net/newst-reader.el (newsticker-feed-face)
12729 (newsticker-extra-face, newsticker-enclosure-face):
12730 * net/newst-treeview.el (newsticker-treeview-face)
12731 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12732 (newsticker-treeview-immortal-face)
12733 (newsticker-treeview-obsolete-face)
12734 (newsticker-treeview-selection-face):
12735 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12736 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12737 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12738 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12739 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12740 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12741 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12742 (mpuz-text):
12743 * progmodes/vera-mode.el (vera-font-lock-number)
12744 (vera-font-lock-function, vera-font-lock-interface):
12745 * textmodes/table.el (table-cell): Use new-style face specs, and
12746 don't use the old :bold and :italic attributes.
12747
12748 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12749 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12750 (ebrowse-member-class, ebrowse-progress): Likewise.
12751 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12752 (ebrowse-file-name-face, ebrowse-default-face)
12753 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12754 (ebrowse-progress-face): Remove obsolete faces.
12755
12756 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12757 Inherit from error and warning faces respectively.
12758
12759 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12760 Likewise.
12761 (flyspell-incorrect-face, flyspell-duplicate-face):
12762 Remove obsolete aliases.
12763
12764 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12765
12766 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12767 Avoid infloop.
12768
12769 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * startup.el (argv, argi): Make lexically scoped.
12772 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12773 * emacs-lisp/cl-macs.el: Use lexical-binding.
12774 Rename cl-bind-* to cl--bind-*.
12775 * files.el: Don't require `cl' since it doesn't use it.
12776 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12777
12778 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12779
12780 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12781 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12782 instead of calling external sort utility.
12783 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12784
12785 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12786
12787 * descr-text.el (describe-char): Mention how to insert the
12788 character, if the current input method doesn't support it.
12789 See the discussion in this thread for the details:
12790 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12791
12792 2012-06-08 Sam Steingold <sds@gnu.org>
12793
12794 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12795 XF86Back to previous-buffer.
12796 (minibuffer-local-map): Bind them to next-history-element and
12797 previous-history-element respectively.
12798 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12799 help-go-back respectively.
12800 * info.el (Info-mode-map): Bind them to Info-history-forward and
12801 Info-history-back respectively.
12802 These are the keys next to Up on the ThinkPad keyboard.
12803
12804 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12805
12806 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12807 * emacs-lisp/cl-macs.el: Provide itself.
12808 (cl--labels-convert-cache): New var.
12809 (cl--labels-convert): New function.
12810 (cl-flet, cl-labels): New implementation with new semantics, relying on
12811 lexical-binding.
12812 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12813 (cl-closure-vars, cl--function-convert-cache)
12814 (cl--function-convert): Move from cl-macs.el.
12815 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12816 rename by removing the "cl-" prefix.
12817 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12818
12819 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12820
12821 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12822 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12823 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12824 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12825 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12826 (cl-hash-table-count): Add old compatibility aliases.
12827
12828 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12829 Use macroexpand-all-environment instead.
12830 (cl--old-macroexpand): New var.
12831 (cl--sm-macroexpand): New function.
12832 (cl-symbol-macrolet): Use it during macro expansion.
12833 (cl--function-convert-cache): New var.
12834 (cl--function-convert): New function, extracted from
12835 cl-macroexpand-all.
12836 (cl-lexical-let): Use it.
12837
12838 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12839 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12840 (cl-member): Remove old alias.
12841
12842 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12843 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12844 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12845 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12846 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12847 (cl-macroexpand-cmacs): Remove var.
12848 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12849 Use macroexpand-all instead.
12850
12851 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12852
12853 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12854 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12855 (macroexp-copyable-p): New functions and macros.
12856 * emacs-lisp/edebug.el (edebug-unwrap):
12857 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12858 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12859 (pcase--let*): Remove.
12860 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12861 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12862 macroexp-const-p instead.
12863 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12864
12865 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12866 instead of "cl-" for internal definitions. Use macroexp-const-p.
12867 (cl-old-bc-file-form): Remove var.
12868 (cl-const-exprs-p): Remove fun.
12869 (cl-labels, cl-macrolet): Use backquote.
12870 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12871 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12872 (cl-define-setf-expander): Rename from cl-define-setf-method.
12873 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12874
12875 * international/mule-cmds.el: Don't require CL.
12876 (view-hello-file): Don't use `letf'.
12877
12878 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * tmm.el (tmm-prompt): Use string-prefix-p.
12881 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12882 (tmm-add-prompt): Use minibuffer-completion-help.
12883 (tmm-delete-map): Remove.
12884
12885 * subr.el (kbd): Make it its own function.
12886
12887 2012-06-07 Stefan Merten <smerten@oekonux.de>
12888
12889 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12890 Silence compiler warnings. Fix versions.
12891 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12892 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12893 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12894 (rst-package-emacs-version-alist): Correct Emacs version to
12895 represent major merge with upstream.
12896 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12897
12898 2012-06-06 Glenn Morris <rgm@gnu.org>
12899
12900 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12901 Only print environment variables if set.
12902
12903 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12906 (macroexp--cons): Rename from maybe-cons.
12907 (macroexp--accumulate): Rename from macroexp-accumulate.
12908 (macroexp--all-forms): Rename from macroexpand-all-forms.
12909 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12910 (macroexp--expand-all): Rename from macroexpand-all-1.
12911
12912 2012-06-06 Sam Steingold <sds@gnu.org>
12913
12914 * calendar/calendar.el (calendar-in-read-only-buffer):
12915 Call `special-mode' to enable the standard read-only keybindings.
12916
12917 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12918
12919 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12920 with "loading" messages (bug#11635).
12921
12922 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12923
12924 * files.el (enable-remote-dir-locals): New option.
12925 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12926
12927 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12928 Ensure, that the temp directory is local.
12929
12930 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12931 `temporary-file-directory'.
12932
12933 * progmodes/python.el (python-send-region): Ensure, that the
12934 temporary file is created also in the remote case.
12935
12936 2012-06-06 Glenn Morris <rgm@gnu.org>
12937
12938 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12939 (vc-rcs-update-changelog): Use it.
12940
12941 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12942
12943 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12944 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12945 (vc-sccs-diff): Replace use of the external vcdiff script.
12946
12947 2012-06-05 Glenn Morris <rgm@gnu.org>
12948
12949 * ledit.el: Move to obsolete/.
12950
12951 2012-06-05 Sam Steingold <sds@gnu.org>
12952
12953 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12954 patch (Bug#11140).
12955
12956 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12957
12958 * emacs-lisp/cust-print.el: Move to obsolete.
12959
12960 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12961 compiler-macro expansion.
12962
12963 Add native compiler-macro support.
12964 * emacs-lisp/macroexp.el (macroexpand-all-1):
12965 Support compiler-macros directly. Properly follow aliases and apply
12966 the compiler macros more thoroughly.
12967 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12968 macroexpand now properly follows aliases.
12969 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12970 (cl-compiler-macroexpand): Use new prop.
12971 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12972
12973 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12974
12975 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12976
12977 * window.el (get-lru-window, get-mru-window, get-largest-window):
12978 New argument NOT-SELECTED to avoid picking the selected window.
12979 (window--display-buffer-1, window--display-buffer-2): Replace by
12980 new function window--display-buffer
12981 (display-buffer-same-window, display-buffer-reuse-window)
12982 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12983 Use window--display-buffer.
12984 (display-buffer-use-some-window): Remove temporary dedication
12985 hack by calling get-lru-window and get-largest-window with
12986 NOT-SELECTED argument non-nil. Call window--display-buffer.
12987
12988 2012-06-05 Glenn Morris <rgm@gnu.org>
12989
12990 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12991 Replace external vcdiff script.
12992
12993 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12994
12995 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12996
12997 2012-06-04 Chong Yidong <cyd@gnu.org>
12998
12999 * image.el (imagemagick-types-inhibit): Revert last change.
13000 Add INFO and M.
13001 (imagemagick-enabled-types): Remove CIN and EPS*.
13002
13003 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * emacs-lisp/cl-lib.el: Rename from cl.el.
13006 * emacs-lisp/cl.el: New compatibility file.
13007 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
13008 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
13009 to obey the "cl-" prefix.
13010 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
13011
13012 2012-06-03 Glenn Morris <rgm@gnu.org>
13013
13014 * emacs-lisp/authors.el (authors-aliases): Addition.
13015
13016 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
13017 Fix :version.
13018
13019 2012-06-03 Stefan Merten <smerten@oekonux.de>
13020
13021 * textmodes/rst.el: Add comments.
13022 (rst-transition, rst-adornment): New faces.
13023 (rst-adornment-faces-alist): Make default safe to reevaluate.
13024 Fixes
13025 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
13026 Improve customization tags.
13027 (rst-define-level-faces): Clarify meaning.
13028
13029 2012-06-03 Chong Yidong <cyd@gnu.org>
13030
13031 * progmodes/compile.el (compilation-mode-line-fail)
13032 (compilation-mode-line-run, compilation-mode-line-exit):
13033 New faces.
13034 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
13035
13036 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
13037
13038 * progmodes/which-func.el (which-func-update-ediff-windows):
13039 New function. Use it in ediff-select-hook (Bug#11478).
13040
13041 2012-06-03 Chong Yidong <cyd@gnu.org>
13042
13043 * bindings.el: Remove explicit help text from format-mode-line.
13044 It is now supplied by mode-line-default-help-echo.
13045 (mode-line-front-space, mode-line-end-spaces)
13046 (mode-line-misc-info): New variables.
13047 (mode-line-modes, mode-line-position): Move the default value to
13048 the variable definition.
13049 (mode-line-default-help-echo): New defcustom.
13050 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13051 (mode-line-modified-help-echo): New functions.
13052 (mode-line-mule-info, mode-line-modified): Use them.
13053 (mode-line-eol-desc, propertized-buffer-identification):
13054 Consistency fixes for help text.
13055 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13056 set-buffer-file-coding-system (Bug#289).
13057 (mode-line-mule-info-help-echo): Update help text.
13058
13059 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13060
13061 * simple.el (execute-extended-command): Set real-this-command
13062 (bug#11506).
13063
13064 2012-06-02 Chong Yidong <cyd@gnu.org>
13065
13066 Remove incorrect uses of "modeline" in comments, docstrings, and
13067 function/variable names (Bug#10329).
13068
13069 * cus-edit.el (mode-line):
13070 * dframe.el (dframe-mouse-hscroll):
13071 * emacs-lisp/re-builder.el:
13072 * emacs-lisp/easy-mmode.el (define-minor-mode):
13073 * frame.el (set-frame-name):
13074 * help.el (lookup-minor-mode-from-indicator):
13075 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13076 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13077 (c-toggle-hungry-state):
13078 * progmodes/antlr-mode.el (antlr-language-alist):
13079 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13080 * progmodes/vhdl-mode.el (vhdl-mode):
13081 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13082 * term/ns-win.el (ns-face-at-pos):
13083 * term/sup-mouse.el (sup-mouse-report):
13084 * textmodes/flyspell.el (flyspell-mode-line-string):
13085 * textmodes/ispell.el (ispell-highlight-face):
13086 * textmodes/reftex-global.el:
13087 * vc/vc-arch.el (vc-arch-mode-line-string):
13088 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13089 * vc/vc-git.el (vc-git-mode-line-string):
13090 * vc/vc-hooks.el (vc-display-status)
13091 (vc-default-mode-line-string):
13092 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13093
13094 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13095
13096 * dired.el (dired-sort-set-mode-line): Rename from
13097 dired-sort-set-modeline. All callers changed.
13098
13099 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13100 eshell-status-in-modeline.
13101
13102 * foldout.el (foldout-mode-line-string): Rename from
13103 foldout-modeline-string. All callers changed.
13104 (foldout-update-mode-line): Rename from foldout-update-modeline.
13105
13106 * subr.el (redraw-modeline): Make into obsolete alias.
13107
13108 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13109 timeclock-modeline-display. Make old name an alias.
13110 (timeclock-update-mode-line): Likewise. All callers changed.
13111 (timeclock-mode-line-display): No need to check before using
13112 add-hook.
13113 (timeclock-relative, timeclock-day-over-hook)
13114 (timeclock-use-elapsed, timeclock-mode-string)
13115 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13116
13117 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13118 crisp-mode-modeline-string.
13119
13120 * play/solitaire.el (solitaire-build-mode-line): Rename from
13121 solitaire-build-modeline. All callers changed.
13122
13123 * play/zone.el (zone-hiding-mode-line): Rename from
13124 zone-hiding-modeline. All callers changed.
13125 (zone): Remove unusued `modeline-hidden-level' property.
13126
13127 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13128 xscheme-modeline-initialize. All callers changed.
13129
13130 * strokes.el (strokes-lighter): Rename from
13131 strokes-modeline-string.
13132
13133 * textmodes/sgml-mode.el (html-face-tag-alist)
13134 (html-tag-face-alist): Use mode-line face instead of obsolete
13135 alias modeline.
13136
13137 2012-06-02 Stefan Merten <smerten@oekonux.de>
13138
13139 * textmodes/rst.el: Always require `cl'.
13140 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13141
13142 2012-06-02 Chong Yidong <cyd@gnu.org>
13143
13144 * image.el (imagemagick-enabled-types): Rename from
13145 imagemagick-types-enable. Add many more types.
13146 (imagemagick-types-inhibit): Change default to nil.
13147 (imagemagick-filter-types): Caller changed.
13148
13149 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13150
13151 * emacs-lisp/cl-macs.el: Use backquotes.
13152 (cl-transform-function-property): Use eval-and-compile rather than
13153 abusing `require'.
13154 (defstruct): Use declare-function instead of with-no-warnings.
13155
13156 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13157 (byte-compile-output-docform): Re-add the print-circle bindings.
13158 (byte-compile-fix-header): Use #$ just because it's shorter.
13159 (byte-compile-output-file-form): Remove defun/defmacro.
13160
13161 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13162
13163 * simple.el (choose-completion): Remove now obsolete binding for
13164 owindow.
13165
13166 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13167
13168 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13169 in order to avoid "Stack overflow in regexp matcher".
13170
13171 2012-05-31 Glenn Morris <rgm@gnu.org>
13172
13173 * image.el: For clarity, call imagemagick-register-types at
13174 top-level, rather than relying on a custom :initialize.
13175 (imagemagick-types-enable): New option. (Bug#11557)
13176 (imagemagick-filter-types): New function. (Bug#7406)
13177 (imagemagick-register-types): Use imagemagick-filter-types.
13178 If disabling support, remove elements altogether rather
13179 than using an impossible regexp.
13180 (imagemagick-types-inhibit): Give it the default init function.
13181
13182 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13183
13184 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13185 Handle arbitrary file name lengths (Bug#11585).
13186
13187 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13188
13189 * desktop.el (desktop-read): Clear previous and next buffers for
13190 all windows and bury *Messages* buffer (bug#11556).
13191
13192 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13193
13194 Add `declare' for `defun'. Align `defmacro's with it.
13195 * emacs-lisp/easy-mmode.el (define-minor-mode)
13196 (define-globalized-minor-mode): Don't autoload the var definitions.
13197 * emacs-lisp/byte-run.el: Use lexical-binding.
13198 (defun-declarations-alist, macro-declarations-alist): New vars.
13199 (defmacro, defun): Use them.
13200 (make-obsolete, define-obsolete-function-alias)
13201 (make-obsolete-variable, define-obsolete-variable-alias):
13202 Use `declare'.
13203 (macro-declaration-function): Mark obsolete.
13204 * emacs-lisp/autoload.el: Use lexical-binding.
13205 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13206
13207 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13208
13209 * textmodes/ispell.el (ispell-with-no-warnings):
13210 Define as a macro.
13211 (ispell-kill-ispell, ispell-change-dictionary):
13212 Use `called-interactively-p' for Emacs instead of obsolete
13213 `interactive-p'.
13214
13215 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13216
13217 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13218 (macro-declaration-function): Move var from C code.
13219 (macro-declaration-function): Define function with defalias.
13220 * emacs-lisp/macroexp.el (macroexpand-all-1):
13221 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13222 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13223 defun/defmacro any more.
13224 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13225 Provide fallback for unknown arglist.
13226 (byte-compile-arglist-warn): Change calling convention.
13227 (byte-compile-output-file-form): Move print-vars binding.
13228 (byte-compile-output-docform): Simplify accordingly.
13229 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13230 (byte-compile-defmacro-declaration): Remove.
13231 (byte-compile-file-form-defmumble): Generalize to defalias.
13232 (byte-compile-output-as-comment): Return byte-positions.
13233 Simplify callers accordingly.
13234 (byte-compile-lambda): Use `assert'.
13235 (byte-compile-defun, byte-compile-defmacro): Remove.
13236 (byte-compile-file-form-defalias):
13237 Use byte-compile-file-form-defmumble.
13238 (byte-compile-defalias-warn): Remove.
13239
13240 2012-05-29 Stefan Merten <smerten@oekonux.de>
13241
13242 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13243 possible. Fix authors. Improve comments. Improve loading of `cl'.
13244
13245 (rst-mode-abbrev-table): Merge definition.
13246 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13247 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13248
13249 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13250
13251 * calendar/icalendar.el
13252 (icalendar-export-region): Export UID properly.
13253
13254 2012-05-29 Leo Liu <sdl.web@gmail.com>
13255 * calendar/icalendar.el (icalendar-import-format):
13256 Add `icalendar-import-format-uid' (Bug#11525).
13257 (icalendar-import-format-uid): New.
13258 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13259 Export UID.
13260
13261 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13262
13263 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13264 different alternative patterns.
13265 (pcase-codegen): Be more careful to preserve identity.
13266 (pcase--u1): Don't forget to mark vars as used.
13267
13268 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13269 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13270 (byte-compile-from-buffer): ...rather than here.
13271
13272 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13273 functions from byte-compile-function-environment.
13274
13275 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13276
13277 * window.el (window-deletable-p): Avoid deleting the root window
13278 of a frame with an active minibuffer.
13279
13280 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13281
13282 * simple.el (choose-completion): Use quit-window (Bug#11567).
13283
13284 2012-05-29 Chong Yidong <cyd@gnu.org>
13285
13286 * whitespace.el (whitespace-cleanup): Fix usage of
13287 whitespace-empty-at-bob-regexp (Bug#11492).
13288
13289 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13290
13291 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13292 revert (Bug#11488).
13293
13294 2012-05-29 Juri Linkov <juri@jurta.org>
13295
13296 * isearch.el (isearch-mode-map): Bind `M-s _' to
13297 `isearch-toggle-symbol'. Bind `M-s c' to
13298 `isearch-toggle-case-fold'.
13299 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13300 (isearch-forward): Add `M-s _' to the docstring.
13301 (isearch-forward-symbol, isearch-toggle-case-fold)
13302 (isearch-symbol-regexp): New functions. (Bug#11381)
13303
13304 2012-05-29 Juri Linkov <juri@jurta.org>
13305
13306 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13307 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13308 a function, call it to get the regexp.
13309 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13310 property `isearch-message-prefix' instead of the string "word ".
13311 (isearch-search-fun-default): For the case of `isearch-word',
13312 return a lambda that calls re-search-forward/re-search-backward
13313 with a regexp returned by `word-search-regexp' or by the function
13314 in `isearch-word'.
13315
13316 2012-05-29 Juri Linkov <juri@jurta.org>
13317
13318 * isearch.el (isearch-search-fun-default): New function.
13319 (isearch-search-fun): Move default part to the new function
13320 `isearch-search-fun-default'.
13321 (isearch-search-fun-function): Set the default value to
13322 `isearch-search-fun-default'. (Bug#11381)
13323
13324 * comint.el (comint-history-isearch-end):
13325 Use `isearch-search-fun-default'.
13326 (comint-history-isearch-search): Use `isearch-search-fun-default'
13327 and remove spacial case for `isearch-word'.
13328 (comint-history-isearch-wrap): Remove spacial case for
13329 `isearch-word'.
13330
13331 * hexl.el (hexl-isearch-search-function):
13332 Use `isearch-search-fun-default'.
13333
13334 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13335 Use `word-search-regexp' for `isearch-word'.
13336
13337 * misearch.el (multi-isearch-search-fun):
13338 Use `isearch-search-fun-default'.
13339
13340 * simple.el (minibuffer-history-isearch-search):
13341 Use `isearch-search-fun-default' and remove spacial case for
13342 `isearch-word'.
13343 (minibuffer-history-isearch-wrap): Remove spacial case for
13344 `isearch-word'.
13345
13346 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13347 Remove spacial case for `isearch-word'.
13348 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13349
13350 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13351
13352 Decrease XEmacs incompatibilities.
13353 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13354 Use `string-match'.
13355 (flyspell-delete-region-overlays): Use alternative definition for
13356 XEmacs.
13357 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13358 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13359 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13360 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13361 `define-obsolete-face-alias' under XEmacs, but old method.
13362
13363 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13364 `with-no-warnings' definition or Emacs alias.
13365 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13366 (ispell-word): Do not use `region-p' if XEmacs.
13367
13368 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13369
13370 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13371 Check for `ispell-dictionary-base-alist' instead of full
13372 `ispell-dictionary-alist'.
13373 (ispell-init-process): Show spellchecker when starting new Ispell
13374 process.
13375
13376 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13377
13378 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13379 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13380
13381 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13382
13383 * version.el (motif-version-string, gtk-version-string)
13384 (ns-version-string): Declare.
13385
13386 2012-05-27 Juri Linkov <juri@jurta.org>
13387
13388 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13389 after the `eval-defun-1' specialcaseing
13390 like in `edebug-eval-defun' (bug#10181).
13391
13392 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13393 like in `eval-defun-1'.
13394
13395 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13396
13397 * mail/sendmail.el (mail-yank-region):
13398 Recognize rmail-yank-current-message in addition to insert-buffer.
13399 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13400 a *mail* buffer created through rmail-start-mail with sendmail as
13401 mail-user-agent.
13402
13403 2012-05-27 Chong Yidong <cyd@gnu.org>
13404
13405 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13406 Default to 256 (Bug#11267).
13407
13408 * help.el (describe-mode): Doc fix.
13409
13410 2012-05-26 Glenn Morris <rgm@gnu.org>
13411
13412 * w32-fns.el (w32-init-info): Remove.
13413 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13414
13415 * info.el (info-initialize): For self-contained NS builds, put the
13416 included info/ directory at the front. (Bug#2791)
13417
13418 * paths.el (Info-default-directory-list): Make it a defcustom,
13419 mainly so that we can use custom-initialize-delay.
13420
13421 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13422
13423 * subr.el (buffer-has-markers-at): Mark obsolete.
13424
13425 * subr.el (lambda): Use declare.
13426
13427 * emacs-lisp/lisp-mode.el (lambda):
13428 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13429
13430 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13431
13432 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13433
13434 2012-05-26 Glenn Morris <rgm@gnu.org>
13435
13436 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13437
13438 2012-05-25 Glenn Morris <rgm@gnu.org>
13439
13440 * paths.el: Remove no-byte-compile.
13441 * loadup.el: No need to load paths.el uncompiled.
13442
13443 * image.el (imagemagick-types-inhibit): Doc fix.
13444
13445 * version.el: Remove no-byte-compile and associated formatting.
13446 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13447 is ancient code from when there was an "inc-vers.el".
13448
13449 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13450
13451 * progmodes/gdb-mi.el: Minor style changes.
13452 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13453 Turn into minor modes.
13454 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13455 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13456 (gdb-shell): Remove unneeded let-binding.
13457 (gdb-get-many-fields): Eliminate O(n²) behavior.
13458
13459 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13460
13461 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13462 platforms that don't link in fontset.c.
13463
13464 2012-05-25 Juri Linkov <juri@jurta.org>
13465
13466 Use the same diff color scheme as in modern VCSes (bug#10181).
13467
13468 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13469 to avoid confusion with `diff-added' that now uses green colors.
13470 (diff-removed): Use shades of red.
13471 (diff-added): Use shades of green.
13472 (diff-changed): Leave just the yellow color.
13473 (diff-use-changed-face): New variable.
13474 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13475 how to highlight context diff changes.
13476 (diff-refine-change): Use shades of yellow.
13477 (diff-refine-removed): New face that uses shades of red.
13478 (diff-refine-added): New face that uses shades of green.
13479 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13480 `diff-refine-removed' in the call to `smerge-refine-subst'
13481 depending on the value of `diff-use-changed-face'.
13482
13483 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13484 (smerge-other): Use shades of green.
13485 (smerge-base): Use shades of yellow.
13486 (smerge-refined-change): Empty face.
13487 (smerge-refined-removed): New face that uses shades of red.
13488 (smerge-refined-added): New face that uses shades of green.
13489 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13490 args `props-r' and `props-a', and use them. Doc fix.
13491 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13492 on its value use different faces `smerge-refined-change',
13493 `smerge-refined-removed', `smerge-refined-added' in the call to
13494 `smerge-refine-subst'.
13495
13496 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13497 Add face condition `min-colors 88' with shades of red.
13498 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13499 `min-colors 88' with shades of green.
13500 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13501 `min-colors 88' with shades of yellow.
13502
13503 2012-05-24 Glenn Morris <rgm@gnu.org>
13504
13505 * paths.el (prune-directory-list, remote-shell-program): Move to...
13506 * files.el (prune-directory-list, remote-shell-program): ...here.
13507 For the latter, delay initialization, prefer ssh, just search PATH.
13508
13509 * paths.el (term-file-prefix): Move to faces.el (the only user).
13510 * faces.el (term-file-prefix): Move here, make it a defcustom.
13511
13512 * paths.el (news-directory, news-path, news-inews-program):
13513 Move to gnus/nnspool.el.
13514
13515 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13516
13517 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13518 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13519 Make the latter a defcustom, with a delayed initialization.
13520
13521 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13522 These were deleted from Gnus itself late 2010.
13523
13524 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13525
13526 * progmodes/which-func.el (which-func-ff-hook):
13527 Check against user-error, not error.
13528
13529 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13530 cl-specs.el, which no longer exists.
13531
13532 2012-05-22 Glenn Morris <rgm@gnu.org>
13533
13534 * info.el (info-emacs-bug): New command.
13535 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13536 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13537
13538 2012-05-21 Glenn Morris <rgm@gnu.org>
13539
13540 * makefile.w32-in (update-subdirs-SH):
13541 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13542
13543 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13544
13545 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13546
13547 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13548 Simplify Maven regexp, and make sure the file can't start with a space
13549 (bug#11517).
13550
13551 2012-05-21 Glenn Morris <rgm@gnu.org>
13552
13553 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13554 Scrap superfluous subshells.
13555
13556 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13557
13558 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13559 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13560
13561 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13562
13563 * calc/calc.el (calc-ensure-consistent-units): New variable.
13564
13565 * calc/calc-units.el (math-consistent-units-p)
13566 (math-check-unit-consistency): New functions.
13567 (calc-quick-units, calc-convert-units):
13568 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13569 is non-nil.
13570 (calc-extract-units): Fix typo.
13571
13572 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13573
13574 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13575
13576 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13577 (flyspell-default-deplacement-commands): Don't spell check after
13578 repeated window/frame switches (e.g. triggered by mouse-movement).
13579 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13580 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13581 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13582 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13583 Remove unused vars.
13584 (flyspell-get-casechars, flyspell-get-not-casechars):
13585 Simplify; Don't bother removing a ] just to add it back.
13586 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13587
13588 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13589
13590 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13591 New functions.
13592 (math-function-table): Add support for more C functions.
13593
13594 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13595
13596 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13597 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13598 Protect delay handling for otherchars against empty otherchars.
13599
13600 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13601
13602 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13603 their respective macro declarations.
13604 * skeleton.el (define-skeleton):
13605 * progmodes/compile.el (define-compilation-mode):
13606 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13607 (define-ibuffer-filter):
13608 * emacs-lisp/generic.el (define-generic-mode):
13609 * emacs-lisp/easy-mmode.el (define-minor-mode)
13610 (define-globalized-minor-mode):
13611 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13612 * emacs-lisp/byte-run.el (defsubst):
13613 * custom.el (deftheme): Add doc-string metadata.
13614
13615 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13616
13617 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13618
13619 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13620
13621 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13622
13623 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13624 * emacs-lisp/cl-macs.el: Idem.
13625 * emacs-lisp/cl-specs.el: Remove.
13626
13627 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13628
13629 Minor renaming of internal CL functions and variables.
13630 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13631 (cl--position): Rename from cl-position.
13632 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13633 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13634 (cl--random-state): Rename from *random-state*.
13635
13636 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13637
13638 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13639 parens around the arg list (bug#11499).
13640
13641 2012-05-17 Juri Linkov <juri@jurta.org>
13642
13643 * isearch.el (word-search-regexp, word-search-backward)
13644 (word-search-forward, word-search-backward-lax)
13645 (word-search-forward-lax): Move functions from search.c
13646 (bug#10145, bug#11381).
13647
13648 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13649
13650 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13651 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13652 Delay for otherchars as for normal word components.
13653
13654 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13655
13656 * minibuffer.el (completion--sifn-requote): Fix last change.
13657 (minibuffer-local-must-match-filename-map):
13658 Move define-obsolete-variable-alias before its var.
13659
13660 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13663
13664 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13665 behavior.
13666 (completion--string-equal-p): New function.
13667 (completion--twq-all): Use it to get better assertion failure data.
13668
13669 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13670 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13671 (shell--requote-argument): New functions.
13672 (shell-completion-vars): Use them.
13673 (shell--parse-pcomplete-arguments): Rename from
13674 shell-parse-pcomplete-arguments.
13675 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13676 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13677 Obey comint-file-name-quote-list.
13678
13679 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13680 (smie-indent-keyword): Use it.
13681
13682 2012-05-14 Stefan Merten <smerten@oekonux.de>
13683
13684 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13685
13686 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13687
13688 * net/rlogin.el (rlogin-mode-map): Fix last change.
13689
13690 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13691
13692 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13693 the following \r\n using a single `process-send-string', since the
13694 Lotus SMTP server refuses to accept any commands if they are sent
13695 with two `process-send-string's (Bug#11444).
13696
13697 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13698
13699 * shell.el (shell-parse-pcomplete-arguments):
13700 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13701
13702 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13703
13704 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13705 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13706 (image-transform-width, image-transform-fit-width): New functions.
13707 (image-transform-properties): Use them.
13708 (image-transform-check-size): New function.
13709 (image-toggle-display-image): Use it (for testing).
13710 (image-transform-set-rotation): Reduce angle mod 360.
13711 Delete obsolete comment.
13712
13713 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13714
13715 * image-mode.el: Fix scaling (bug#11399).
13716 (image-transform-resize): Doc fix.
13717 (image-transform-properties): Default scale is 1 and height should
13718 be an integer.
13719
13720 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13721
13722 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13723 than hard-coding `car', to fix misbehavior when moving forward.
13724
13725 2012-05-13 Chong Yidong <cyd@gnu.org>
13726
13727 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13728 (tabulated-list-entries, tabulated-list-padding)
13729 (tabulated-list-sort-key): Make permanent-local.
13730
13731 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13732 (electric-buffer-list): Put electric buffer menu
13733 command descriptions in this docstring, instead of the docstring
13734 of electric-buffer-menu-mode. Code cleanups.
13735 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13736 Electric-buffer-menu-mode.
13737 (electric-buffer-update-highlight): Minor code cleanup.
13738
13739 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13740
13741 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13742 (Bug#11447)
13743
13744 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13745
13746 Move define-obsolete-variable-alias before the var's definition.
13747 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13748 * tooltip.el (tooltip-hook):
13749 * textmodes/reftex-toc.el (reftex-toc-map):
13750 * textmodes/reftex-sel.el (reftex-select-label-map)
13751 (reftex-select-bib-map):
13752 * textmodes/reftex-index.el (reftex-index-map)
13753 (reftex-index-phrases-map):
13754 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13755 * progmodes/meta-mode.el (meta-mode-map):
13756 * novice.el (disabled-command-hook):
13757 * loadhist.el (unload-hook-features-list):
13758 * frame.el (blink-cursor):
13759 * files.el (find-file-not-found-hooks, write-file-hooks)
13760 (write-contents-hooks):
13761 * emulation/tpu-edt.el (GOLD-map):
13762 * emacs-lock.el (emacs-lock-from-exiting):
13763 * emacs-lisp/generic.el (generic-font-lock-defaults):
13764 * emacs-lisp/chart.el (chart-map):
13765 * dos-fns.el (register-name-alist):
13766 * dired-x.el (dired-omit-files-p):
13767 * desktop.el (desktop-enable):
13768 * cus-edit.el (custom-mode-hook):
13769 * buff-menu.el (buffer-menu-mode-hook):
13770 * bookmark.el (bookmark-read-annotation-text-func)
13771 (bookmark-exit-hooks):
13772 * allout.el (allout-mode-deactivate-hook)
13773 (allout-exposure-change-hook, allout-structure-added-hook)
13774 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13775 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13776 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13777 comes before the corresponding variable's definition.
13778
13779 2012-05-12 Chong Yidong <cyd@gnu.org>
13780
13781 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13782 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13783 (Buffer-menu-mode-map): Bind it.
13784 (Buffer-menu--pretty-name): Add a mouse-face property.
13785
13786 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13787
13788 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13789 (prolog-upper-case-string, prolog-lower-case-string)
13790 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13791 (prolog-use-smie, prolog-smie-grammar): New vars.
13792 (prolog-smie-forward-token, prolog-smie-backward-token)
13793 (prolog-smie-rules): New funs.
13794 (prolog-comment-indent): Remove.
13795 (prolog-mode-variables): Use default comment indentation instead.
13796 Setup SMIE.
13797 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13798 (prolog-mode): Don't call them any more.
13799 (prolog-electric-colon, prolog-electric-dash)
13800 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13801
13802 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13803
13804 * minibuffer.el (completion--twq-all): Again, allow case differences.
13805
13806 * term.el: Move keymap initialization code to be more idiomatic.
13807 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13808 (term-terminal-menu): Move initialization into declaration.
13809 (term-escape-char): Let the user set it in her .emacs.
13810
13811 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13812 Provide SMIE-based indentation (not enabled by default yet).
13813 (sh-mode-map): Don't bind electric keys.
13814 Use electric-pair-mode instead of skeleton-pair.
13815 (sh-assignment-regexp): Fit within 80 columns.
13816 (sh-indent-supported): Specify actual shell name instead of boolean.
13817 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13818 (sh-maybe-here-document): Use it. Make obsolete.
13819 (sh-electric-here-document-mode) New minor mode.
13820 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13821 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13822 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13823 (sh-smie-rc-grammar, sh-use-smie): New vars.
13824 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13825 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13826 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13827 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13828 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13829 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13830 (sh-set-shell): Use smie-setup if requested.
13831
13832 * term.el (term-set-escape-char): Properly set term-escape-char.
13833 See http://stackoverflow.com/questions/10524656.
13834
13835 2012-05-10 Chong Yidong <cyd@gnu.org>
13836
13837 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13838 Use url-generic-parse-url, and handle host names and Windows
13839 filenames properly.
13840 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13841 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13842 URL schemes to work on.
13843 (ffap--toggle-read-only): New function.
13844 (ffap-read-only, ffap-read-only-other-window)
13845 (ffap-read-only-other-frame): Use it.
13846 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13847 necessary for ffap-url-unwrap-remote.
13848
13849 2012-05-10 Dave Abrahams <dave@boostpro.com>
13850
13851 * cus-start.el (create-lockfiles): Add it.
13852
13853 2012-05-09 Chong Yidong <cyd@gnu.org>
13854
13855 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13856 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13857
13858 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13859
13860 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13861
13862 2012-05-09 Chong Yidong <cyd@gnu.org>
13863
13864 * ansi-color.el (ansi-color-process-output): Check for validity of
13865 comint-last-output-start before using it. This avoids a bad
13866 interaction with gdb-mi's input/output buffer.
13867
13868 2012-05-09 Glenn Morris <rgm@gnu.org>
13869
13870 * files.el (dir-locals-read-from-file):
13871 Mention dir-locals in any error message.
13872
13873 2012-05-09 Chong Yidong <cyd@gnu.org>
13874
13875 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13876 package (Bug#11410).
13877
13878 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13879 variables into description.
13880
13881 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13884 shell-delimiter-argument-list (bug#11348).
13885 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13886
13887 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13888
13889 * textmodes/rst.el: Silence byte-compiler warnings.
13890 (rst-re-alist, rst-reset-section-caches): Move around.
13891 (rst-re): Use `characterp', not `char-valid-p'.
13892 (font-lock-beg, font-lock-end): Declare.
13893
13894 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13895 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13896
13897 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13898
13899 2012-05-08 Glenn Morris <rgm@gnu.org>
13900
13901 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13902
13903 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13904
13905 * vc/log-edit.el: Add GNU coding standards highlighting.
13906 (log-edit-font-lock-gnu-style)
13907 (log-edit-font-lock-gnu-keywords): New vars.
13908 (log-edit-font-lock-keywords): New fun.
13909 (log-edit-mode): Don't fold case in font-lock.
13910 (log-edit-font-lock-keywords): Do not assume case-folding.
13911
13912 * imenu.el: Misc cleanup. Make docstrings out of comments.
13913 Use lexical-binding.
13914 (imenu--index-alist, imenu--last-menubar-index-alist)
13915 (imenu-menubar-modified-tick): Use defvar-local.
13916 (imenu--split-menu): Remove unused var.
13917 (imenu--cleanup-seen): Declare as global.
13918 (imenu--cleanup): Use dolist.
13919
13920 * subr.el (defvar-local): Add debug spec and doc-string position.
13921
13922 2012-05-08 Glenn Morris <rgm@gnu.org>
13923
13924 * language/burmese.el, language/cham.el, language/czech.el:
13925 * language/english.el, language/georgian.el, language/greek.el:
13926 * language/japanese.el, language/khmer.el, language/korean.el:
13927 * language/lao.el, language/misc-lang.el, language/romanian.el:
13928 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13929 * language/thai.el, language/utf-8-lang.el:
13930 Remove no-byte-compile setting.
13931
13932 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13933
13934 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13935
13936 * progmodes/make-mode.el (makefile-browse):
13937 Remove unnecessary interactive. (Bug#11324)
13938
13939 2012-05-07 Glenn Morris <rgm@gnu.org>
13940
13941 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13942
13943 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13944
13945 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13946
13947 * loadup.el: Preload newcomment.el.
13948 * newcomment.el: Move autoload-only code to toplevel.
13949
13950 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13951 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13952 Handle new :right-align column property.
13953 (tabulated-list-print-col): Idem, plus use `display' text-property to
13954 try and preserve alignment for variable pitch fonts.
13955
13956 2012-05-07 Chong Yidong <cyd@gnu.org>
13957
13958 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13959 (tabulated-list-use-header-line): New var.
13960 (tabulated-list-init-header): Use it.
13961 (tabulated-list-print-fake-header): New function.
13962 (tabulated-list-print): Use it.
13963 (tabulated-list-sort-button-map): Add non-header-line commands.
13964 (tabulated-list-init-header): Add column name property to basic
13965 labels as well.
13966 (tabulated-list-col-sort): Handle non-header-line button case.
13967 (tabulated-list--sort-by-column-name): Fix a corner case.
13968
13969 * buff-menu.el (list-buffers--refresh):
13970 Handle Buffer-menu-use-header-line.
13971
13972 2012-05-06 Chong Yidong <cyd@gnu.org>
13973
13974 * buff-menu.el: Convert to Tabulated List mode.
13975 (Buffer-menu-buffer+size-width): Make obsolete.
13976 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13977 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13978 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13979 documentation into docstring of buffer-menu.
13980 (Buffer-menu-toggle-files-only): Add an informative message.
13981 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13982 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13983 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13984 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13985 (Buffer-menu-execute, Buffer-menu-select)
13986 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13987 (Buffer-menu-bury): Use Tabulated List machinery.
13988 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13989 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13990 Delete.
13991 (list-buffers--refresh): New function.
13992 (list-buffers-noselect): Use it.
13993 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13994 (Buffer-menu--pretty-file-name): New helper functions.
13995
13996 * loadup.el: Preload tabulated-list.
13997
13998 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13999 tabulated-list-sort-column.
14000 (tabulated-list-init-header): Add the initial aligning space even
14001 if tabulated-list-padding is zero.
14002
14003 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
14004
14005 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
14006 whose cdr is not a cons cell correctly (bug#11038).
14007
14008 2012-05-06 Chong Yidong <cyd@gnu.org>
14009
14010 * emacs-lisp/tabulated-list.el (tabulated-list-format):
14011 Accept additional plist in column descriptors.
14012 (tabulated-list-init-header): Obey it.
14013 (tabulated-list-get-entry): New function.
14014 (tabulated-list-put-tag): Use it. Use string-width instead of
14015 length.
14016 (tabulated-list--column-number): New function.
14017 (tabulated-list-print): Use it.
14018 (tabulated-list-print-col): New function.
14019 Set `tabulated-list-column-name' property on each column's text.
14020 (tabulated-list-print-entry): Use it.
14021 (tabulated-list-delete-entry, tabulated-list-set-col):
14022 New functions.
14023 (tabulated-list-sort-column): New command (Bug#11337).
14024
14025 * buff-menu.el (list-buffers): Move C-x C-b binding from
14026 buff-menu.el to bindings.el.
14027
14028 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
14029 :advertised-binding feature.
14030
14031 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
14032
14033 * progmodes/compile.el (compilation-internal-error-properties):
14034 Calculate start position correctly when end-col is set but
14035 end-line is not (Bug#11382).
14036
14037 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
14038
14039 * man.el (Man-unindent): Use text-property-default-nonsticky to
14040 prevent untabify from inheriting face properties (Bug#11408).
14041
14042 2012-05-05 Stefan Merten <smerten@oekonux.de>
14043
14044 * textmodes/rst.el: Major merge with upstream development up to
14045 Docutils SVN r7399 / rst.el V1.2.1.
14046
14047 Clarify maintainership and authors.
14048
14049 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14050 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14051 (rst-official-version, rst-official-cvs-rev, rst-version)
14052 (rst-package-emacs-version-alist): New functions and variables
14053 for version information.
14054
14055 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14056 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14057 (rst-mode-syntax-table, rst-mode): New and corrected functions
14058 and variables representing reStructuredText features.
14059
14060 (rst-re): New function for reStructuredText regexes. Use in
14061 many places.
14062
14063 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14064 (rst-mode-map): Rebind keys.
14065
14066 (rst-mode-lazy, rst-font-lock-keywords)
14067 (rst-font-lock-extend-region)
14068 (rst-font-lock-extend-region-internal)
14069 (rst-font-lock-extend-region-extend)
14070 (rst-font-lock-find-unindented-line-limit)
14071 (rst-font-lock-find-unindented-line-match)
14072 (rst-adornment-level, rst-font-lock-adornment-level)
14073 (rst-font-lock-adornment-match)
14074 (rst-font-lock-handle-adornment-pre-match-form)
14075 (rst-font-lock-handle-adornment-matcher): Major revision of
14076 font-locking. Integrate with other code. Use `jit-lock-mode'.
14077
14078 (rst-preferred-adornments, rst-adjust-hook)
14079 (rst-new-adornment-down, rst-preferred-bullets)
14080 (rst-preferred-bullets, rst-indent, rst-indent-width)
14081 (rst-indent-field, rst-indent-literal-normal)
14082 (rst-indent-literal-minimized, rst-indent-comment): Change,
14083 extend and improve customization.
14084
14085 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14086 (rst-normalize-cursor-position, rst-get-decoration)
14087 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14088 (rst-rstrip, rst-toc-insert-find-delete-contents)
14089 (rst-shift-fill-region, rst-compute-bullet-tabs)
14090 (rst-debug-print-tabs, rst-debug-mark-found)
14091 (rst-shift-region-guts, rst-shift-region-right)
14092 (rst-shift-region-left, rst-use-char-classes)
14093 (rst-font-lock-keywords-function)
14094 (rst-font-lock-indentation-point)
14095 (rst-font-lock-find-unindented-line-begin)
14096 (rst-font-lock-find-unindented-line-end)
14097 (rst-font-lock-find-unindented-line)
14098 (rst-font-lock-adornment-point, rst-font-lock-level)
14099 (rst-adornment-level-alist): Remove functions and variables.
14100
14101 (rst-compare-adornments, rst-get-adornment-match)
14102 (rst-suggest-new-adornment, rst-get-adornments-around)
14103 (rst-adornment-complete-p, rst-get-next-adornment)
14104 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14105 (rst-straighten-adornments): Standardize function names to
14106 use "adornment" instead of "decoration". Correct callers.
14107 Similar standardizing in many places.
14108
14109 (rst-update-section, rst-adjust, rst-promote-region)
14110 (rst-enumerate-region, rst-bullet-list-region)
14111 (rst-repeat-last-character): Correct use of `interactive'.
14112
14113 (rst-classify-adornment, rst-find-all-adornments)
14114 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14115 (rst-find-leftmost-column, rst-repeat-last-character):
14116 Refactor functions.
14117
14118 (rst-find-title-line, rst-reset-section-caches)
14119 (rst-get-adornments-around, rst-adjust-adornment-work)
14120 (rst-arabic-to-roman, rst-roman-to-arabic)
14121 (rst-insert-list-pos, rst-insert-list-new-item)
14122 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14123 New functions.
14124
14125 (rst-all-sections, rst-section-hierarchy)
14126 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14127 New variables.
14128
14129 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14130 configuration instead of only buffer. Change where necessary.
14131
14132 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14133 (rst-shift-region, rst-adaptive-fill): New functions for
14134 indentation and filling.
14135
14136 (rst-comment-line-break, rst-comment-indent)
14137 (rst-comment-insert-comment, rst-comment-region)
14138 (rst-uncomment-region): New functions for handling comments.
14139
14140 (rst-compile): Quote shell arguments.
14141
14142 (rst-compile-pdf-preview, rst-compile-slides-preview):
14143 Delete temporary files after use.
14144
14145 2012-05-05 Glenn Morris <rgm@gnu.org>
14146
14147 * calendar/cal-html.el: Optionally include holidays in the output.
14148 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14149 (cal-html-holidays): New option.
14150 (cal-html-css-default): Add holiday entry.
14151 (holiday-in-range): Autoload it.
14152 (cal-html-htmlify-entry): Add optional class argument.
14153 (cal-html-htmlify-list): Add optional holidays argument.
14154 (cal-html-insert-agenda-days): Include holidays in the output.
14155 (cal-html-one-month): Maybe include holidays.
14156
14157 * calendar/holidays.el (holiday-in-range):
14158 Move here from cal-tex-list-holidays.
14159 * calendar/cal-tex.el (cal-tex-list-holidays):
14160 Make it an obsolete alias for holiday-in-range. Update all callers.
14161
14162 2012-05-05 Chong Yidong <cyd@gnu.org>
14163
14164 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14165 Nextstep.
14166
14167 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14168
14169 * files.el (file-auto-mode-skip): New var.
14170 (set-auto-mode-1): Use it.
14171
14172 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * repeat.el: Use lexical-binding.
14175 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14176 (repeat-undo-count): Remove.
14177 (repeat):
14178 * progmodes/octave-mod.el (octave-abbrev-start):
14179 * progmodes/f90.el (f90-abbrev-start):
14180 * face-remap.el (text-scale-adjust):
14181 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14182
14183 * emacs-lisp/pcase.el (pcase--let*): New function.
14184 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14185 a bit more.
14186 (pcase--split-pred): Be more clever about ruling out overlap between
14187 a predicate and some constant pattern.
14188 (pcase--q1): Use `null' instead of (eq foo nil).
14189
14190 * subr.el (setq-local, defvar-local): New macros.
14191 (kbd): Redefine as an alias.
14192 (with-selected-window): Leave unrelated frames alone.
14193 (set-temporary-overlay-map): New function.
14194
14195 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14196
14197 * subr.el (user-error): New function.
14198 * window.el (switch-to-buffer):
14199 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14200 (smerge-match-conflict):
14201 * simple.el (previous-matching-history-element)
14202 (next-matching-history-element, goto-history-element, undo-more)
14203 (undo-start):
14204 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14205 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14206 (next-file, tags-loop-scan, list-tags, complete-tag):
14207 * progmodes/compile.el (compilation-loop):
14208 * mouse.el (mouse-minibuffer-check):
14209 * man.el (Man-bgproc-sentinel, Man-goto-page):
14210 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14211 (Info-history-forward, Info-follow-reference, Info-menu)
14212 (Info-extract-menu-item, Info-extract-menu-counting)
14213 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14214 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14215 (Info-next-reference, Info-prev-reference, Info-index)
14216 (Info-index-next, Info-follow-nearest-node)
14217 (Info-copy-current-node-name):
14218 * imenu.el (imenu--make-index-alist)
14219 (imenu-default-create-index-function, imenu-add-to-menubar):
14220 * files.el (basic-save-buffer, recover-file):
14221 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14222 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14223 (checkdoc-message-text, checkdoc-defun):
14224 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14225 * cus-edit.el (customize-changed-options, customize-rogue)
14226 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14227 (custom-variable-mark-to-reset-standard)
14228 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14229 (custom-file):
14230 * completion.el (check-completion-length):
14231 * comint.el (comint-search-arg)
14232 (comint-previous-matching-input-string-position)
14233 (comint-previous-matching-input)
14234 (comint-replace-by-expanded-history-before-point, comint-send-input)
14235 (comint-copy-old-input, comint-backward-matching-input)
14236 (comint-goto-process-mark, comint-set-process-mark):
14237 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14238 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14239
14240 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * dabbrev.el (dabbrev--ignore-case-p): New function.
14243 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14244 Use it.
14245
14246 * files.el (automount-dir-prefix): Mark as obsolete.
14247
14248 2012-05-04 Glenn Morris <rgm@gnu.org>
14249
14250 * patcomp.el, play/bruce.el: Move to obsolete/.
14251
14252 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14253
14254 Fix minor Y10k bugs.
14255 * arc-mode.el (archive-unixdate):
14256 * autoinsert.el (auto-insert-alist):
14257 * calc/calc-forms.el (math-this-year):
14258 * emacs-lisp/copyright.el (copyright-current-year)
14259 (copyright-update-year, copyright):
14260 * tar-mode.el (tar-clip-time-string):
14261 * time.el (display-time-update):
14262 Don't assume years have 4 digits.
14263
14264 2012-05-04 Chong Yidong <cyd@gnu.org>
14265
14266 * dos-w32.el (file-name-buffer-file-type-alist)
14267 (direct-print-region-use-command-dot-com):
14268 * ffap.el (ffap-menu-regexp):
14269 * find-file.el (ff-special-constructs):
14270 * follow.el (follow-debug):
14271 * forms.el (forms--debug):
14272 * iswitchb.el (iswitchb-all-frames):
14273 * ido.el (ido-all-frames):
14274 * emacs-lisp/timer.el (timer-max-repeats):
14275 * mail/feedmail.el (feedmail-mail-send-hook)
14276 (feedmail-mail-send-hook-queued):
14277 * mail/footnote.el (footnote-signature-separator):
14278 * mail/mailabbrev.el (mail-alias-separator-string)
14279 (mail-abbrev-mode-regexp):
14280 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14281 * progmodes/idlwave.el (idlwave-libinfo-file)
14282 (idlwave-default-completion-case-is-down)
14283 (idlwave-library-routines): Convert defvars to defcustoms.
14284
14285 * mail/rmail.el (rmail-decode-mime-charset):
14286 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14287 (idlwave-shell-fix-inserted-breaks)
14288 (idlwave-shell-activate-alt-keybindings)
14289 (idlwave-shell-use-breakpoint-glyph):
14290 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14291
14292 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14295
14296 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14297
14298 * progmodes/verilog-mode.el (font-lock-keywords):
14299 Fix mis-highligting auto. Reported by Craig Barner.
14300 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14301 defines from global name space. Reported by Dan Dever.
14302 (verilog-auto-reset, verilog-auto-reset-widths)
14303 (verilog-auto-tieoff): Support using unbased numbers for
14304 AUTORESET and AUTOTIEOFF.
14305 (verilog-submit-bug-report): Update variable list.
14306 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14307 parenthesis from not matching. Reported by Michael Rytting.
14308 (verilog-auto-template-lint): Fix hash error when linting modules
14309 with no used templates.
14310 (verilog-warn, verilog-warn-error)
14311 (verilog-warn-fatal): When non-interactive report multiple
14312 warnings before exiting. Suggested by Brad Dobbie.
14313 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14314 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14315 to report unused template errors. Reported by Brad Dobbie.
14316 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14317 nets, bug438. Reported by Vns Blore.
14318 (verilog-auto-inout-module, verilog-auto-reg)
14319 (verilog-read-decls, verilog-read-sub-decls-sig)
14320 (verilog-signals-edit-wire-reg, verilog-signals-with):
14321 Fix passing of Verilog data types in ANSI input/output ports
14322 such as "output logic" into the AUTOs. Special case "wire" and
14323 "reg" for backwards compatibility presuming Verilog 2001.
14324 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14325 (verilog-preprocess): Fix replication of preprocess output.
14326 Reported by Brad Dobbie.
14327 (verilog-auto-inst-interfaced-ports):
14328 Create verilog-auto-inst-interfaced-ports, bug429.
14329 Reported by Julian Gorfajn.
14330 (verilog-after-save-font-hook)
14331 (verilog-before-save-font-hook): New variable.
14332 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14333 (verilog-save-font-mods): Wrap disabling fontification, reported
14334 by David Rogoff.
14335 (verilog-do-indent, verilog-pretty-declarations-auto)
14336 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14337 Reported by Pierre-David Pfister.
14338 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14339 of class declarations, bug292. Reported by Kevin Heilman.
14340 (verilog-read-decls): Fix 'parameter type' not appearing in
14341 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14342 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14343 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14344 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14345 Reported by David Kravitz.
14346
14347 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14348
14349 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14350 assignment with tests in ifs and for loops.
14351 (verilog-extended-complete-re, verilog-complete-reg): Change so
14352 that DPI inport functions don't look like fuction declarations.
14353 (verilog-pretty-expr): Don't line up assignment
14354 operations to the test and increment in if and for loops
14355 (verilog-extended-complete-re, verilog-complete-reg): Change so
14356 that DPI inport functions don't look like fuction declarations.
14357
14358 2012-05-03 Kenichi Handa <handa@m17n.org>
14359
14360 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14361 decoding, and show a warning message without signaling an error
14362 (Bug#11282).
14363
14364 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14365
14366 * emacs-lisp/bytecomp.el
14367 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14368 since cconv.el might have introduced :fun-body, internal-make-closure,
14369 and friends for bytecomp to handle (bug#11391).
14370 * custom.el (defcustom): Avoid ((λ ..) ..).
14371
14372 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14373
14374 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14375
14376 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14377
14378 * notifications.el (dbus-debug):
14379 * term/linux.el (gpm-mouse-enable):
14380 * term/screen.el (xterm-register-default-colors): Declare.
14381
14382 2012-05-02 Chong Yidong <cyd@gnu.org>
14383
14384 * cus-start.el (gc-cons-percentage, exec-suffixes)
14385 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14386 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14387 (make-cursor-line-fully-visible, void-text-area-pointer)
14388 (font-list-limit): Add customization data.
14389
14390 * allout.el (allout-exposure-change-functions)
14391 (allout-structure-added-functions)
14392 (allout-structure-deleted-functions)
14393 (allout-structure-shifted-functions): Rename abnormal hooks from
14394 *-hook, and convert to defcustoms.
14395 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14396 Convert to defcustoms.
14397 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14398
14399 * allout-widgets.el: Hook callers changed.
14400
14401 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14402
14403 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14404 the yanked message in preference to the default value of
14405 buffer-file-coding-system.
14406
14407 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14408
14409 * window.el (display-buffer--action-function-custom-type):
14410 Fix entry.
14411
14412 2012-05-02 Alan Mackenzie <acm@muc.de>
14413
14414 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14415
14416 2012-05-01 Glenn Morris <rgm@gnu.org>
14417
14418 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14419
14420 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14421
14422 * cus-edit.el (custom-variable-documentation): Simplify with format.
14423
14424 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14425 Stefan Monnier <monnier@iro.umontreal.ca>
14426
14427 * simple.el (suggest-key-bindings, execute-extended-command):
14428 Move from keyboard.c.
14429
14430 2012-05-01 Chong Yidong <cyd@gnu.org>
14431
14432 * follow.el: Eliminate advice.
14433 (set-process-filter, process-filter, sit-for): Advice deleted.
14434 (follow-mode-off-hook): Obsolete hook removed.
14435 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14436 Vars deleted.
14437 (follow-auto): Use a :set function.
14438 (follow-mode): Rewritten. Don't advise process filters.
14439 (follow-switch-to-current-buffer-all, follow-scroll-up)
14440 (follow-scroll-down): Assume follow-mode is bound.
14441 (follow-comint-scroll-to-bottom)
14442 (follow-align-compilation-windows): New functions.
14443 (follow--window-sorter): New function.
14444 (follow-all-followers): Use it to explicitly sort windows by their
14445 positions; don't make assumptions about next-window order.
14446 (follow-windows-start-end, follow-delete-other-windows-and-split)
14447 (follow-calc-win-start): Doc fix.
14448 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14449 vertical-motion unnecessarily.
14450 (follow-adjust-window): New function.
14451 (follow-post-command-hook): Use it.
14452 (follow-call-set-process-filter, follow-call-process-filter)
14453 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14454 (follow-stop-intercept-process-output, follow-generic-filter):
14455 Functions deleted.
14456 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14457 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14458 New functions, replacing advice on scroll-bar-* commands.
14459 (follow-mwheel-scroll): New function (Bug#4112).
14460
14461 * comint.el (comint-adjust-point): New function.
14462 (comint-postoutput-scroll-to-bottom): Use it.
14463 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14464
14465 2012-05-01 Glenn Morris <rgm@gnu.org>
14466
14467 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14468 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14469 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14470 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14471 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14472 Remove no-byte-compile setting.
14473
14474 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14475
14476 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14477 all-completions code to not return a number in the last cdr.
14478
14479 2012-04-30 Leo Liu <sdl.web@gmail.com>
14480
14481 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14482 read-only error.
14483
14484 2012-04-29 Chong Yidong <cyd@gnu.org>
14485
14486 * follow.el (follow-calc-win-end): Rewrite to handle partial
14487 screen lines correctly (Bug#8390).
14488 (follow-avoid-tail-recenter): Minor cleanup.
14489
14490 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14491
14492 Avoid the obsolete `assoc' package.
14493 * speedbar.el (speedbar-refresh): Avoid adelete.
14494 (speedbar-file-lists): Simplify and avoid aput.
14495 * man.el (Man--sections, Man--refpages): New vars, replacing
14496 Man-sections-alist and Man-refpages-alist.
14497 (Man-build-section-alist, Man-build-references-alist):
14498 Use them; avoid aput.
14499 (Man--last-section, Man--last-refpage): New vars.
14500 (Man-follow-manual-reference): Use them.
14501 Use the `default' arg of completing-read.
14502 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14503
14504 2012-04-27 Chong Yidong <cyd@gnu.org>
14505
14506 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14507
14508 * startup.el (x-apply-session-resources): New function.
14509
14510 * term/ns-win.el (ns-initialize-window-system):
14511 * term/w32-win.el (w32-initialize-window-system):
14512 * term/x-win.el (x-initialize-window-system): Use it to properly
14513 set menu-bar-mode and other vars from X resources, even if the
14514 initial frame is not a window-system frame (Bug#2299).
14515
14516 * subr.el (read-key): Avoid running filter function when setting
14517 up temporary tool bar entries (Bug#9922).
14518
14519 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14520
14521 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14522 (Bug#11344)
14523
14524 2012-04-27 Chong Yidong <cyd@gnu.org>
14525
14526 * select.el (xselect--encode-string): New function, split from
14527 xselect-convert-to-string.
14528 (xselect-convert-to-string): Use it.
14529 (xselect-convert-to-filename, xselect-convert-to-os)
14530 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14531 returned strings are properly encoded (Bug#11315).
14532
14533 2012-04-27 Chong Yidong <cyd@gnu.org>
14534
14535 * simple.el (delete-active-region): Move to killing custom group.
14536
14537 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14538
14539 * progmodes/which-func.el (which-func-current): Quote %
14540 characters for mode-line processing.
14541
14542 2012-04-27 Chong Yidong <cyd@gnu.org>
14543
14544 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14545 reaching eob (Bug#11286).
14546
14547 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14548
14549 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14550 (gdb): Make it buffer-local and init to zero.
14551 (gdb-control-commands-regexp): New variable.
14552 (gdb-send): Don't wrap in "-interpreter-exec console" if
14553 gdb-control-level is positive. Increment gdb-control-level
14554 whenever the command matches gdb-control-commands-regexp, and
14555 decrement it each time the command is "end". (Bug#11279)
14556
14557 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14558
14559 * window.el (adjust-window-trailing-edge, enlarge-window)
14560 (shrink-window, window-resize):
14561 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14562 windows (Bug#11276).
14563
14564 2012-04-27 Chong Yidong <cyd@gnu.org>
14565
14566 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14567 fix "missing prefix" warning. All callers changed.
14568
14569 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14570
14571 * emacs-lisp/assoc.el: Move to obsolete/.
14572
14573 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14574
14575 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14576
14577 * term/ns-win.el (ns-define-service):
14578 * progmodes/pascal.el (pascal-goto-defun):
14579 * progmodes/js.el (js--read-tab):
14580 * progmodes/etags.el (tags-lazy-completion-table):
14581 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14582 * emacs-lisp/ewoc.el (ewoc--wrap):
14583 * emacs-lisp/assoc.el (aput, adelete, amake):
14584 * doc-view.el (doc-view-convert-current-doc):
14585 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14586
14587 2012-04-26 Chong Yidong <cyd@gnu.org>
14588
14589 * image.el (image-type-from-buffer): Only return supported image
14590 type (Bug#9045).
14591
14592 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14593 value, for symmetry with diff-end-of-hunk.
14594 (diff-split-hunk, diff-find-source-location)
14595 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14596 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14597 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14598 compute the relevant hunk or file properly (Bug#6005).
14599 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14600
14601 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14602
14603 * vc/vc-mtn.el:
14604 * vc/vc-hg.el:
14605 * vc/vc-git.el:
14606 * vc/vc-dir.el:
14607 * vc/vc-cvs.el:
14608 * vc/vc-bzr.el:
14609 * vc/vc-arch.el:
14610 * vc/vc.el: Replace lexical-let by lexical-binding.
14611 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14612 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14613 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14614
14615 2012-04-26 Chong Yidong <cyd@gnu.org>
14616
14617 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14618 (diff-mode-shared-map): Bind it to / and [remap undo].
14619
14620 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14621 (ediff-window-setup-function): Use it as the default, to set up
14622 windows based on whether the current frame is graphical (Bug#2138).
14623 (ediff-choose-window-setup-function-automatically): Make obsolete.
14624
14625 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14626
14627 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14628
14629 * ffap.el: Remove old code for obsolete package.
14630 (ffap-complete-as-file-p): Remove.
14631
14632 Use completion-table-with-quoting for comint and pcomplete.
14633 * comint.el (comint--unquote&requote-argument)
14634 (comint--unquote-argument, comint--requote-argument): New functions.
14635 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14636 (comint-quote-filename): Use regexp-opt-charset.
14637 (comint--common-suffix, comint--common-quoted-suffix)
14638 (comint--table-subvert): Remove.
14639 (comint-unquote-function, comint-requote-function): New vars.
14640 (comint--complete-file-name-data): Use them with
14641 completion-table-with-quoting.
14642 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14643 * pcomplete.el (pcomplete-arg-quote-list)
14644 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14645 (pcomplete-unquote-argument-function): Default to non-nil.
14646 (pcomplete-unquote-argument): Simplify.
14647 (pcomplete--common-quoted-suffix): Remove.
14648 (pcomplete-requote-argument-function): New var.
14649 (pcomplete--common-suffix): New function.
14650 (pcomplete-completions-at-point): Use completion-table-with-quoting
14651 and completion-table-subvert.
14652
14653 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14654 (minibuffer--double-dollars): Preserve properties.
14655 (completion--sifn-requote): New function.
14656 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14657
14658 * minibuffer.el: Add support for completion of quoted/escaped data.
14659 (completion-table-with-quoting, completion-table-subvert): New funs.
14660 (completion--twq-try, completion--twq-all): New functions.
14661 (completion--nth-completion): New function.
14662 (completion-try-completion, completion-all-completions): Use it.
14663
14664 2012-04-25 Leo Liu <sdl.web@gmail.com>
14665
14666 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14667 Use compilation-message if available to find real filename.
14668
14669 2012-04-25 Chong Yidong <cyd@gnu.org>
14670
14671 * vc/diff-mode.el (diff-setup-whitespace): New function.
14672 (diff-mode): Use it.
14673
14674 * vc/diff.el (diff-sentinel):
14675 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14676 Whitespace mode variables based on diff style (Bug#8612).
14677
14678 2012-04-25 Leo Liu <sdl.web@gmail.com>
14679
14680 * progmodes/python.el (python-send-region): Add suffix .py to the
14681 temp file.
14682
14683 * files.el (auto-mode-alist): Use javascript-mode instead.
14684
14685 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14686
14687 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14688
14689 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14690 (soap-resolve-references-for-array-type): Hack to prevent self
14691 references, see Bug#9.
14692 (soap-parse-envelope): Report the contents of the 'detail' node
14693 when receiving a fault reply.
14694 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14695
14696 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14697 (soap-inspect-simple-type): New function.
14698
14699 * net/soap-client.el (soap-simple-type): New struct.
14700 (soap-default-xsd-types, soap-default-soapenc-types)
14701 (soap-decode-basic-type, soap-encode-basic-type):
14702 support unsignedInt and double basic types.
14703 (soap-resolve-references-for-simple-type)
14704 (soap-parse-simple-type, soap-encode-simple-type): New function.
14705 (soap-parse-schema): Parse xsd:simpleType declarations.
14706
14707 * net/soap-client.el (soap-default-xsd-types)
14708 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14709 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14710 the local name of "soapenc:Array".
14711 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14712 decoding integer, byte and anyURI xsd types.
14713
14714 2012-04-25 Chong Yidong <cyd@gnu.org>
14715
14716 * cus-edit.el (custom-buffer-create-internal): Update header text.
14717
14718 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14719
14720 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14721 settings on 'system-type', not on 'window-system'. On MS-Windows,
14722 set interactive-mode on in GDB.
14723
14724 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14725
14726 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14727 (ruby-syntax-propertize-regexp): Remove.
14728 (ruby-syntax-propertize-function): Split regexp into chunks.
14729 Match following code directly.
14730
14731 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14732
14733 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14734 (ruby-syntax-propertize-regexp): New function.
14735 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14736 by a special keyword.
14737
14738 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14739 (ruby-syntax-general-delimiters-goto-beg)
14740 (ruby-syntax-propertize-general-delimiters): New functions.
14741 (ruby-syntax-propertize-function): Use them to handle GDL.
14742 (ruby-font-lock-keywords): Move old handling of GDL...
14743 (ruby-font-lock-syntactic-keywords): .. to here.
14744 (ruby-calculate-indent): Adjust indentation for GDL.
14745
14746 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14747
14748 * notifications.el (top): Remove unneeded declarations.
14749 (notifications-specification-version): Change to "1.2".
14750 (notifications-interface, notifications-notify-method)
14751 (notifications-close-notification-method): Fix docstring.
14752 (notifications-get-capabilities-method): New defconst.
14753 (notifications-notify): Add :action-items, :resident and
14754 :transient hints. Change "image_data" to "image-data" and
14755 "image_path" to "image-path".
14756 (notifications-get-capabilities): New defun.
14757
14758 2012-04-24 Leo Liu <sdl.web@gmail.com>
14759
14760 * progmodes/python.el: Move hideshow setup to the end.
14761
14762 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14763
14764 * window.el (handle-select-window): Clear echo area since this is
14765 no more done by read_char (Bug#11304).
14766
14767 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14768
14769 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14770 and `/ M' to filter-derived-mode.
14771 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14772 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14773 (ibuffer-mark-by-mode): Use default rather than initial-input.
14774 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14775
14776 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14777
14778 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14779 (ibuffer-filter-by-derived-mode): New filter.
14780 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14781
14782 2012-04-23 Andreas Politz <politza@fh-trier.de>
14783
14784 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14785
14786 2012-04-23 Chong Yidong <cyd@gnu.org>
14787
14788 * cus-edit.el (customize-apropos, customize-apropos-options):
14789 Disable matching of non-option variables (Bug#11176).
14790 (customize-option, customize-option-other-window)
14791 (customize-changed-options): Doc fix.
14792 (customize-apropos-options, customize-apropos-faces)
14793 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14794
14795 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14796 Fix word list splitting (Bug#11132).
14797 (apropos-symbol, apropos-keybinding, apropos-label)
14798 (apropos-property, apropos-function-button)
14799 (apropos-variable-button, apropos-misc-button): New faces.
14800 (apropos-symbol-face, apropos-keybinding-face)
14801 (apropos-label-face, apropos-property-face, apropos-match-face):
14802 Variables removed (Bug#8396).
14803 (apropos-library-button, apropos-format-plist, apropos-print)
14804 (apropos-print-doc, apropos-describe-plist): Callers changed.
14805
14806 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14807
14808 * net/xesam.el (xesam-mode-map): Use let-bound map in
14809 initialization. (Bug#11292)
14810
14811 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14812
14813 Preserve ispell session localwords when switching back to
14814 original buffer.
14815
14816 * textmodes/ispell.el (ispell-buffer-session-localwords):
14817 New buffer-local variable to hold buffer session localwords.
14818 (ispell-kill-ispell): Add option 'clear to delete session
14819 localwords.
14820 (ispell-command-loop, ispell-change-dictionary)
14821 (ispell-buffer-local-words): Preserve session localwords when
14822 needed.
14823
14824 * textmodes/flyspell.el (flyspell-process-localwords)
14825 (flyspell-do-correct): Preserve session localwords when needed.
14826
14827 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14828
14829 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14830 using obsolete `translation-table-for-input'.
14831 (ispell-word, ispell-process-line, ispell-complete-word):
14832 Use plain `insert' instead of removed `ispell-insert-word'.
14833
14834 2012-04-22 Chong Yidong <cyd@gnu.org>
14835
14836 * cus-edit.el (custom-variable-menu)
14837 (custom-variable-reset-saved, custom-face-menu)
14838 (custom-face-reset-saved): If there is no saved value, make the
14839 "reset-saved" operation bring back the default (Bug#9509).
14840 (custom-face-state): Properly detect themed faces.
14841
14842 * faces.el (face-spec-set): Stop supporting deprecated form of
14843 third arg.
14844
14845 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14846
14847 Move functions from C to Lisp. Make non-blocking method calls
14848 the default. Implement further D-Bus standard interfaces.
14849
14850 * net/dbus.el (dbus-message-internal): Declare function.
14851 Remove unneeded function declarations.
14852 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14853 (dbus-message-type-method-return, dbus-message-type-error)
14854 (dbus-message-type-signal): Declare variables. Remove local
14855 definitions.
14856 (dbus-interface-dbus, dbus-interface-peer)
14857 (dbus-interface-introspectable, dbus-interface-properties)
14858 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14859 Adapt docstring.
14860 (dbus-interface-objectmanager): New defconst.
14861 (dbus-call-method, dbus-call-method-asynchronously)
14862 (dbus-send-signal, dbus-method-return-internal)
14863 (dbus-method-error-internal, dbus-register-service)
14864 (dbus-register-signal, dbus-register-method): New defuns, moved
14865 from dbusbind.c
14866 (dbus-call-method-handler, dbus-setenv)
14867 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14868 New defuns.
14869 (dbus-call-method-non-blocking): Make it an obsolete function.
14870 (dbus-unregister-object, dbus-unregister-service)
14871 (dbus-handle-event, dbus-register-property)
14872 (dbus-property-handler): Obey the new structure of
14873 `bus-registered-objects'.
14874 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14875 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14876 Use `dbus-call-method'.
14877
14878 2012-04-22 Chong Yidong <cyd@gnu.org>
14879
14880 * cus-edit.el (custom-commands, custom-reset-menu)
14881 (Custom-reset-standard): Tweak labels.
14882 (custom-reset-button-menu): Change default to t.
14883 (custom-buffer-create-internal): For the custom-reset-button-menu
14884 case, put the revert button first.
14885 (custom-group-subtitle): New face.
14886 (custom-group-value-create): Align docstring to a specific column.
14887
14888 * wid-edit.el (widget-documentation-link-add): Don't handle
14889 indentation in this function.
14890 (widget-documentation-string-indent-to): New function.
14891 (widget-documentation-string-value-create): Use it.
14892
14893 * autorevert.el (auto-revert):
14894 * epg-config.el (epg):
14895 * ibuffer.el (ibuffer):
14896 * mpc.el (mpc):
14897 * ses.el (ses):
14898 * eshell/eshell.el (eshell):
14899 * net/ange-ftp.el (ange-ftp):
14900 * progmodes/ebnf2ps.el (postscript):
14901 * progmodes/flymake.el (flymake):
14902 * progmodes/prolog.el (prolog):
14903 * progmodes/verilog-mode.el (verilog-mode):
14904 * progmodes/which-func.el (which-func):
14905 * term/xterm.el (xterm):
14906 * textmodes/picture.el (picture):
14907 * textmodes/tildify.el (tildify):
14908 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14909 customization buffers.
14910
14911 2012-04-22 Alan Mackenzie <acm@muc.de>
14912
14913 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14914 Adding a ) can hide the resulting (..) from searches. Fix it.
14915 Bound the backward search to the position of the existing (.
14916
14917 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14918
14919 * progmodes/verilog-mode.el (verilog-mode): Check whether
14920 which-func-modes is t before adding verilog-mode.
14921 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14922
14923 2012-04-21 Leo Liu <sdl.web@gmail.com>
14924
14925 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14926
14927 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14928
14929 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14930 filling of the last column of a table (Bug#5635).
14931 (woman-find-next-control-line): New arg, specifying an additional
14932 regexp component for the control line.
14933 (woman2-roff-buffer): Use it.
14934 (woman-break-table): New function.
14935 (woman2-TS): Use it.
14936
14937 2012-04-21 Chong Yidong <cyd@gnu.org>
14938
14939 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14940 (woman-horizontal-escapes, woman-negative-vertical-space)
14941 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14942 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14943
14944 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14945
14946 * minibuffer.el (completion-file-name-table): Complete user names.
14947
14948 2012-04-20 Leo Liu <sdl.web@gmail.com>
14949
14950 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14951 and pcase-let*.
14952
14953 2012-04-20 Chong Yidong <cyd@gnu.org>
14954
14955 * server.el (server-execute): Respect initial-buffer-choice if it
14956 is a string and there are no files to open (Bug#2825).
14957 (server-create-window-system-frame, server-create-tty-frame):
14958 Don't switch buffers here.
14959 (server-process-filter): Only try to open a window system frame if
14960 compiled with graphical support (Bug#8314).
14961
14962 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14963
14964 * battery.el (battery-echo-area-format): Display remaining time
14965 for sysfs backend too (Bug#11269).
14966 (battery-linux-sysfs): Fix conditional for the charge.
14967
14968 2012-04-20 Chong Yidong <cyd@gnu.org>
14969
14970 * progmodes/gdb-mi.el (gdb): Revert previous change.
14971 (gdb-inferior-io--init-proc): New function.
14972 (gdb-init-1): Use it.
14973 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14974 responsible for allocating a new pty and hooking it to gdb when
14975 the old pty gets an EIO due to process exit.
14976 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14977 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14978 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14979
14980 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14981
14982 * window.el (window-min-size, window-sizable, window-min-delta)
14983 (window-max-delta, window--resizable, window-resizable)
14984 (window-total-size, window-full-height-p, window-full-width-p)
14985 (window-in-direction, window--resize-mini-window, window-resize)
14986 (window--resize-child-windows-normal)
14987 (window--resize-child-windows, window--resize-siblings)
14988 (window--resize-this-window, adjust-window-trailing-edge)
14989 (enlarge-window, shrink-window): Doc fixes.
14990
14991 2012-04-20 Chong Yidong <cyd@gnu.org>
14992
14993 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14994 New function to call delete-process on the gdb-inferior buffer's pty.
14995 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14996 pty process (Bug#11273).
14997 (gdb-update): New arg to suppress talking to the gdb process.
14998 (gdb-done-or-error): Use it.
14999 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
15000 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
15001 sentinel not being called.
15002
15003 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
15004
15005 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
15006
15007 2012-04-20 Glenn Morris <rgm@gnu.org>
15008
15009 * net/network-stream.el (open-network-stream): Doc fix.
15010
15011 2012-04-20 Chong Yidong <cyd@gnu.org>
15012
15013 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
15014
15015 2012-04-20 Alan Mackenzie <acm@muc.de>
15016
15017 Ensure searching for keywords is case sensitive.
15018
15019 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
15020 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
15021 (c-defun-name, c-mark-function, c-cpp-define-name)
15022 (c-comment-indent, c-scan-conditionals, c-indent-defun)
15023 (c-context-line-break): Bind case-fold-search to nil.
15024
15025 * progmodes/cc-mode.el (c-font-lock-fontify-region):
15026 Bind case-fold-search to nil.
15027
15028 2012-04-20 Chong Yidong <cyd@gnu.org>
15029
15030 * mail/sendmail.el (mail-bury): Call return action with the right
15031 Rmail buffer (Bug#11242).
15032
15033 * server.el (server-process-filter): Handle corner case where both
15034 tty and nowait options are present (Bug#11102).
15035
15036 2012-04-20 Eli Zaretskii <eliz@gnu.org>
15037
15038 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
15039 (top level): Put into the executable the ident-style '$Id:' tag on
15040 windows-nt as well.
15041
15042 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15043
15044 * electric.el (electric-indent-post-self-insert-function): Check that
15045 electric-indent-mode is enabled in current buffer.
15046
15047 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15048
15049 * imenu.el (imenu-progress-message): Restore; it is "used" in
15050 erc/erc-imenu.el and net/snmp-mode.el.
15051
15052 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15053
15054 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15055 (mouse-avoidance-nudge-mouse): Remove unused binding.
15056
15057 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15058
15059 * descr-text.el (describe-char):
15060 * progmodes/python.el (python-describe-symbol):
15061 Don't call `toggle-read-only', set `buffer-read-only'.
15062
15063 * imenu.el (imenu-default-goto-function): Mark unused args.
15064 (imenu-progress-message): Remove obsolete macro; all callers changed.
15065
15066 * subr.el (keymap-canonicalize): Remove unused binding.
15067 (read-passwd): Mark unused arg.
15068
15069 * tutorial.el (tutorial--display-changes): Remove unused binding.
15070 (tutorial--save-tutorial-to): Remove unused variable.
15071
15072 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15073 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15074 (package-generate-autoloads, package-menu--generate)
15075 (package-menu--find-upgrades): Remove unused bindings.
15076
15077 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15078 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15079 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15080 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15081 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15082 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15083 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15084 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15085 (cua-delete-char-rectangle): Mark unused args.
15086 (cua-align-rectangle): Remove unused binding.
15087
15088 * mail/rmail.el (compilation--message->loc)
15089 (epa--find-coding-system-for-mime-charset): Declare.
15090
15091 * net/dbus.el (dbus-register-service): Declare.
15092 (dbus-name-owner-changed-handler): Remove unused binding.
15093
15094 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15095 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15096 (nxml-scan-backward-within): Mark unused arg.
15097 (nxml-dynamic-markup-word): Remove unused binding.
15098
15099 * mouse.el (mouse-menu-major-mode-map):
15100 * emacs-lisp/authors.el (authors-scan-change-log)
15101 (authors-add-to-author-list):
15102 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15103 * emacs-lisp/smie.el (smie-auto-fill):
15104 * mail/sendmail.el (mail-bury):
15105 * mail/unrmail.el (unrmail):
15106 * net/tls.el (open-tls-stream):
15107 * textmodes/picture.el (picture-mouse-set-point):
15108 Remove unused bindings.
15109
15110 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15111
15112 * net/tramp.el (tramp-action-password): Let-bind
15113 `enable-recursive-minibuffers' to t.
15114
15115 2012-04-18 Sam Steingold <sds@gnu.org>
15116
15117 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15118 instead of 'string to accommodate values like [f11].
15119 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15120 * progmodes/gdb-mi.el: Likewise.
15121
15122 2012-04-18 Leo Liu <sdl.web@gmail.com>
15123
15124 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15125 current buffer.
15126 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15127 LOCAL is nil.
15128
15129 2012-04-18 Chong Yidong <cyd@gnu.org>
15130
15131 * simple.el (line-move): Use forward-line if in batch mode
15132 (Bug#11053).
15133
15134 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15135
15136 * files.el (after-find-file): Do not try to add a final newline if
15137 the buffer is read-only (Bug#11156).
15138
15139 2012-04-17 Richard Stallman <rms@gnu.org>
15140
15141 * mail/rmail.el (rmail-start-mail):
15142 Pass (rmail-mail-return...) for the return-action.
15143 Pass (rmail-yank-current-message...) for the yank-action.
15144 (rmail-yank-current-message): New function.
15145 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15146 (rmail-reply): Likewise.
15147 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15148
15149 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15150 buffer, not the last. Reject temp buffers. Use the rmail-mode
15151 buffer, not newbuf.
15152
15153 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15154
15155 * server.el (server-ensure-safe-dir): Simplify.
15156
15157 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * emacs-lisp/smie.el: Provide smarter auto-filling.
15160 (smie-auto-fill): New function.
15161 (smie-setup): Use it.
15162
15163 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15164
15165 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15166
15167 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15168 (comment-indent): Use it.
15169
15170 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15171
15172 * ses.el: The overall change is to add cell renaming, that is
15173 setting fancy names for cell symbols other than name matching
15174 "\\`[A-Z]+[0-9]+\\'" regexp .
15175 (ses-localvars): Add ses--renamed-cell-symb-list.
15176 (ses-create-cell-variable): New defun.
15177 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15178 (ses-relocate-formula): Relocate formulas only for cells the
15179 symbols of which are not renamed, i.e. symbols whose names do not
15180 match regexp "\\`[A-Z]+[0-9]+\\'".
15181 (ses-relocate-all): Relocate values only for cells the symbols of
15182 which are not renamed.
15183 (ses-load): Create cells variables as the (ses-cell ...) are read,
15184 in order to check row col consistency with cell symbol name only
15185 for cells that are not renamed.
15186 (ses-replace-name-in-formula): New defun.
15187 (ses-rename-cell): New defun.
15188
15189 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15190
15191 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15192 New option (bug#11118).
15193 (perl-calculate-indent): Respect it.
15194
15195 2012-04-17 Glenn Morris <rgm@gnu.org>
15196
15197 * dired-aux.el (dired-mark-read-string): Doc fix.
15198
15199 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15200
15201 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15202 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15203
15204 2012-04-17 Glenn Morris <rgm@gnu.org>
15205
15206 * mouse.el (mouse-drag-track):
15207 * speedbar.el (speedbar-frame-mode):
15208 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15209
15210 2012-04-16 Leo Liu <sdl.web@gmail.com>
15211
15212 * progmodes/python.el: Trivial cleanup.
15213
15214 2012-04-16 Glenn Morris <rgm@gnu.org>
15215
15216 * vc/vc.el (vc-string-prefix-p):
15217 * vc/pcvs-util.el (cvs-string-prefix-p):
15218 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15219 * mpc.el (mpc-string-prefix-p):
15220 Make all of these into obsolete aliases for string-prefix-p.
15221 Update callers.
15222 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15223
15224 * textmodes/two-column.el: Move custom options to the start.
15225 (frame-width): Remove compat definition.
15226 (2C-associate-buffer, 2C-dissociate):
15227 Use with-current-buffer rather than save-excursion.
15228 (2C-dissociate): Force a mode-line update.
15229 (2C-autoscroll): Use ignore-errors.
15230
15231 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15232 Autoload trivia.
15233
15234 * emacs-lisp/cl-extra.el (*random-state*):
15235 Remove unnecessary declaration.
15236
15237 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15238
15239 * play/cookie1.el (cookie-snarf):
15240 Give an explicit error if input file cannot be read.
15241
15242 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15243
15244 * progmodes/perl-mode.el (c-macro-expand):
15245 Remove unnecessary autoload (it is in loaddefs.el).
15246
15247 * textmodes/picture.el (picture-desired-column)
15248 (picture-update-desired-column): Convert comments to doc-strings.
15249 (picture-substitute): Remove function.
15250 (picture-mode-map): Initialize in the defvar.
15251
15252 * woman.el: Remove eval-after-load for tar-mode.
15253 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15254 (woman-tar-extract-file): Autoload it.
15255
15256 * frame.el (automatic-hscrolling): Make this alias obsolete.
15257
15258 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15259
15260 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15261 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15262 (ispell-dictionary-base-alist): Revert to original XEmacs
15263 friendly version for default. [:alpha:] will be added in
15264 `ispell-set-spellchecker-params' if needed.
15265
15266 2012-04-16 Chong Yidong <cyd@gnu.org>
15267
15268 * image.el (imagemagick--file-regexp): New variable.
15269 (imagemagick-register-types): Use it.
15270 (imagemagick-types-inhibit): Add :set function. Allow new value
15271 of t to inhibit all types.
15272
15273 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15274 so we can preload it.
15275
15276 * loadup.el (fboundp): Preload regexp-opt, needed by
15277 imagemagick-register-types.
15278
15279 2012-04-15 Chong Yidong <cyd@gnu.org>
15280
15281 * frame.el (scrolling): Remove nearly unused customization group.
15282
15283 * scroll-all.el (scroll-all-mode): Move to windows group.
15284
15285 2012-04-15 Chong Yidong <cyd@gnu.org>
15286
15287 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15288
15289 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15290
15291 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15292 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15293
15294 2012-04-15 Glenn Morris <rgm@gnu.org>
15295
15296 * simple.el (process-file-side-effects): Doc fix.
15297
15298 2012-04-15 Glenn Morris <rgm@gnu.org>
15299
15300 * international/mule-cmds.el (set-language-environment): Doc fix.
15301
15302 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15303
15304 * server.el (server-auth-key, server-generate-key): Doc fixes.
15305 (server-get-auth-key): Doc fix. Use `string-match-p'.
15306 (server-start): Reflow docstring.
15307
15308 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15309
15310 * server.el (server-generate-key): `called-interactively-p'
15311 requires a parameter.
15312
15313 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15314
15315 * server.el (server-auth-key): New variable.
15316 (server-generate-key, server-get-auth-key): New function.
15317 (server-start): Use the new variable and functions to allow
15318 setting a permanent server key (bug#9423).
15319
15320 2012-04-14 Leo Liu <sdl.web@gmail.com>
15321
15322 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15323
15324 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15325
15326 Spelling fixes.
15327 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15328 Emacs uses American spelling.
15329
15330 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15331
15332 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15333 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15334 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15335 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15336
15337 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * progmodes/which-func.el (which-func-modes): Change default.
15340
15341 2012-04-14 Kim F. Storm <storm@cua.dk>
15342
15343 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15344 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15345
15346 2012-04-14 Chong Yidong <cyd@gnu.org>
15347
15348 * custom.el (custom-theme-set-variables): Doc fix.
15349
15350 2012-04-14 Glenn Morris <rgm@gnu.org>
15351
15352 * international/mule.el (set-auto-coding-for-load): Doc fix.
15353
15354 2012-04-14 Alan Mackenzie <acm@muc.de>
15355
15356 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15357 imenu work again for Objective C Mode. Correct the *-index values,
15358 these having been disturbed by a previous change in 2011-08.
15359
15360 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15361 Correct two search limits.
15362
15363 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15366
15367 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15368
15369 * international/characters.el: Fix sorting.
15370
15371 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15372
15373 * international/characters.el: Add more missing Latin case pairs.
15374
15375 2012-04-14 Glenn Morris <rgm@gnu.org>
15376
15377 * files.el (dir-locals-set-class-variables): Doc fix.
15378
15379 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15380
15381 * international/characters.el: Add set-case-syntax-pair call for
15382 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15383 counterpart. (Bug#11209)
15384
15385 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15386
15387 2012-04-14 Glenn Morris <rgm@gnu.org>
15388
15389 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15390
15391 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15392
15393 * textmodes/ispell.el (ispell-dictionary-base-alist):
15394 Add data for Hebrew.
15395
15396 2012-04-14 Chong Yidong <cyd@gnu.org>
15397
15398 * net/rcirc.el (rcirc-cmd-quit):
15399 Revert 2012-03-18 change (Bug#11192).
15400
15401 2012-04-14 Glenn Morris <rgm@gnu.org>
15402
15403 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15404
15405 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15406
15407 * minibuffer.el (completion-in-region-mode-map):
15408 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15409
15410 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15411
15412 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15413
15414 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15415
15416 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15417 to allow `C-M-f' and `C-M-b' to move to the nearest path
15418 separator (bug#9511).
15419
15420 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15421
15422 * avoid.el: Require cl when compiling. And also move the
15423 `provide' to the end.
15424
15425 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15426
15427 * avoid.el (mouse-avoidance-banish-position): New variable.
15428 (mouse-avoidance-banish-destination): Use it (bug#10165).
15429
15430 2012-04-13 Leo Liu <sdl.web@gmail.com>
15431
15432 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15433
15434 2012-04-13 Ken Brown <kbrown@cornell.edu>
15435
15436 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15437 this is no longer needed now that cygstart understands file:// URLs.
15438 (browse-url-filename-alist): For the same reason, don't modify
15439 file:// URLs on Cygwin.
15440
15441 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15442
15443 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15444 the region on shift if the binding is already shifted (bug#11221).
15445
15446 2012-04-12 Glenn Morris <rgm@gnu.org>
15447
15448 * mail/mailpost.el: Move to obsolete/.
15449
15450 2012-04-12 Drew Adams <drew.adams@oracle.com>
15451
15452 * imenu.el (imenu--generic-function): Ignore invisible definitions
15453 (bug#10123).
15454
15455 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15456
15457 * hexl.el (hexl-bits): New variable.
15458 (hexl-options): Mention the variable in the doc string.
15459 (hexl-rulerise, hexl-line-displen): New functions.
15460 (hexl-mode): Mention the new variable.
15461 (hexl-mode, hexl-current-address, hexl-current-address):
15462 Use the displen.
15463 (hexl-ascii-start-column): New function.
15464 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15465 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15466
15467 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15468
15469 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15470 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15471 the encoding, as expected by hunspell.
15472
15473 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15474
15475 * battery.el (battery--linux-sysfs-regexp): New const.
15476 (battery-status-function): Use it. Remove yeeloong special case.
15477 (battery-yeeloong-sysfs): Remove.
15478 (battery-echo-area-format): Remove yeeloong special case.
15479
15480 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15481
15482 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15483 Reported by Noah Friedman.
15484
15485 * subr.el (read-passwd): Use read-string.
15486
15487 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15488
15489 * vcursor.el (vcursor-move): Increase the priority of the overlay
15490 (bug#9663).
15491
15492 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15493
15494 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15495 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15496
15497 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15498
15499 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15500 define-minor-mode (bug#10760).
15501
15502 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15503
15504 * progmodes/grep.el (rgrep): Tweak the find command line so
15505 that directories matching `grep-find-ignored-files' won't be
15506 pruned (bug#10351).
15507
15508 2012-04-11 Chong Yidong <cyd@gnu.org>
15509
15510 * startup.el (command-line): Remove support for long-obsolete
15511 variable font-lock-face-attributes.
15512
15513 2012-04-11 Glenn Morris <rgm@gnu.org>
15514
15515 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15516
15517 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15518
15519 * window.el (window--state-get-1): Obey window-point-insertion-type.
15520
15521 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15522
15523 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15524 to previous function when point is on the first character of a
15525 function. Take care of that in `narrow-to-defun' (bug#6157).
15526
15527 2012-04-11 Glenn Morris <rgm@gnu.org>
15528
15529 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15530 not just file-errors.
15531
15532 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15533 (vc-bzr-sha1): Use internal sha1.
15534
15535 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15536
15537 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15538
15539 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15540
15541 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15542 that start in the middle of the line (bug#10496).
15543
15544 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15545
15546 * battery.el (battery-linux-proc-acpi): Only one battery is
15547 discharged at a time, but that seems to confuse battery.el when
15548 computing `rate-type' for the battery not being discharged
15549 (bug#10332).
15550
15551 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15552
15553 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15554
15555 * international/quail.el: Use dolist and simplify.
15556 (quail-define-package, quail-update-keyboard-layout)
15557 (quail-define-rules): Use dolist.
15558 (quail-insert-kbd-layout, quail-get-translation): CSE.
15559
15560 * tmm.el: Use dolist, remove left over hook.
15561 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15562 Use dolist.
15563 (calendar-load-hook): Don't mess with it.
15564
15565 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15566 Use derived-mode-p. Run the diff asynchronously.
15567
15568 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15569
15570 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15571
15572 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15573
15574 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15575 (list-dynamic-libraries--loaded): New function.
15576 (list-dynamic-libraries--refresh): Use it.
15577
15578 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15579
15580 * progmodes/python.el (python-fill-paragraph):
15581 Make python-fill-region in a multiline string work when font-lock is
15582 disabled (bug#7018).
15583
15584 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15585
15586 * language/european.el (cp775): Add oem/legacy (en)coding on
15587 DOS/MS Windows for the Baltic languages. There are still plenty
15588 of texts written in this encoding/codepage (bug#6519).
15589
15590 2012-04-10 Glenn Morris <rgm@gnu.org>
15591
15592 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15593 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15594
15595 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15596
15597 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15598 next-line "n" and previous-line "p" in order to make recentf more
15599 consistent with ibuffer, dired or org-mode (bug#9387).
15600
15601 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15602
15603 * image.el (put-image): Return the overlay created instead of the
15604 optional input string (bug#7834). Note that this may break code
15605 that is (for some reason or other) depending on `put-image'
15606 returning the string.
15607
15608 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15609
15610 * simple.el (zap-to-char): Allow zapping using input methods
15611 (bug#1580).
15612
15613 * textmodes/fill.el (fill-region): Leave point and mark where they
15614 were before filling (bug#5399).
15615
15616 2012-04-09 Glenn Morris <rgm@gnu.org>
15617
15618 * version.el (emacs-bzr-get-version):
15619 Handle lightweight checkouts of local branches.
15620
15621 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15622
15623 * international/characters.el: Recover lost case pairs. (Bug#11209)
15624
15625 2012-04-09 Chong Yidong <cyd@gnu.org>
15626
15627 * custom.el (custom-variable-p): Return nil for non-symbol
15628 arguments instead of signaling an error.
15629 (user-variable-p): Obsolete alias for custom-variable-p.
15630
15631 * apropos.el (apropos-variable):
15632 * files-x.el (read-file-local-variable):
15633 * simple.el (set-variable):
15634 * woman.el (woman-mini-help):
15635 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15636
15637 2012-04-09 Glenn Morris <rgm@gnu.org>
15638
15639 * startup.el (normal-top-level): Don't look for leim-list.el
15640 in places where it will not be found. (Bug#910)
15641
15642 * international/mule-cmds.el (set-default-coding-systems):
15643 * files.el (normal-mode):
15644 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15645 This function was removed with ucs-tables.el in 2008.
15646
15647 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15648
15649 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15650 ispell-encoding8-command to "-i", without a trailing space.
15651 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15652 separate command-line arguments, to specify the encoding, since
15653 that's how hunspell expects it.
15654
15655 2012-04-08 Glenn Morris <rgm@gnu.org>
15656
15657 * loadup.el: Load bindings before cus-start.
15658 This reduces somewhat the number of "rogue" settings in emacs -Q.
15659
15660 2012-04-07 Glenn Morris <rgm@gnu.org>
15661
15662 * version.el (emacs-bzr-get-version): New function.
15663 (emacs-bzr-version): New variable.
15664 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15665 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15666
15667 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15668
15669 * international/uni-bidi.el, international/uni-category.el:
15670 * international/uni-combining.el, international/uni-decimal.el:
15671 * international/uni-decomposition.el, international/uni-digit.el:
15672 * international/uni-lowercase.el, international/uni-mirrored.el:
15673 * international/uni-name.el, international/uni-numeric.el:
15674 * international/uni-titlecase.el, international/uni-uppercase.el:
15675 Update for Unicode 6.1.
15676
15677 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15678
15679 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15680
15681 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15682
15683 * window.el (shrink-window): Mention the `window-min-height'
15684 variable in the doc string.
15685
15686 2012-04-05 Bastien Guerry <bzg@altern.org>
15687
15688 * color.el (color-lighten-name): Fix typo.
15689
15690 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15691
15692 * server.el (server--on-display-p): New function.
15693 (server--on-display-p): Use it.
15694
15695 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15696
15697 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15698 (bug#11145).
15699
15700 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15701
15702 * comint.el (comint--common-quoted-suffix): Check string boundary
15703 before comparing (bug#11158).
15704 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15705
15706 2012-04-04 Chong Yidong <cyd@gnu.org>
15707
15708 * minibuffer.el (completion-extra-properties): Doc fix.
15709
15710 * subr.el (delayed-warnings-hook): Doc fix.
15711
15712 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15713
15714 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15715 selection (Bug#11159).
15716 (epa-insert-keys): Inform that the default public key will be
15717 exported if no key is selected.
15718
15719 2012-04-04 Richard Stallman <rms@gnu.org>
15720
15721 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15722
15723 2012-04-03 Chong Yidong <cyd@gnu.org>
15724
15725 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15726 mail-insert-file, not its obsolete alias mail-attach-file.
15727
15728 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15729
15730 * notifications.el (notifications-notify): Fix docstring.
15731
15732 2012-04-02 Glenn Morris <rgm@gnu.org>
15733
15734 * emacs-lisp/authors.el (authors-aliases): Another addition.
15735
15736 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15737
15738 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15739 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15740 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15741
15742 2012-04-01 Chong Yidong <cyd@gnu.org>
15743
15744 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15745 Handle root directory properly.
15746 (copy-directory): Caller changed.
15747
15748 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15749 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15750
15751 2012-03-31 Glenn Morris <rgm@gnu.org>
15752
15753 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15754
15755 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15756
15757 * calendar/calendar.el (calendar-window-list)
15758 (calendar-hide-window): Restore. (Bug#11140)
15759 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15760
15761 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15762
15763 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15764
15765 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15766 Check if file is a symlink (Bug#10489).
15767
15768 * files.el (copy-directory): Likewise.
15769
15770 2012-03-30 Chong Yidong <cyd@gnu.org>
15771
15772 * image.el (imagemagick-types-inhibit)
15773 (imagemagick-register-types): Doc fix.
15774
15775 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15776
15777 * textmodes/ispell.el (ispell-get-extended-character-mode):
15778 Disable extended-char-mode for hunspell. hunspell does not support it
15779 and treats ~word as ordinary words in pipe mode.
15780
15781 2012-03-30 Glenn Morris <rgm@gnu.org>
15782
15783 * tutorial.el (help-with-tutorial): Ensure local variables don't
15784 happen to make the buffer read-only. (Bug#11127)
15785
15786 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15787
15788 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15789 (perl-calculate-indent): Return `noindent' in strings.
15790
15791 2012-03-28 Sam Steingold <sds@gnu.org>
15792
15793 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15794 instead of the broken adhockery which does not prevent calendar
15795 buffers from being displayed at random after exit.
15796 (calendar-window-list, calendar-hide-window): Remove the broken
15797 adhockery.
15798
15799 2012-03-28 Glenn Morris <rgm@gnu.org>
15800
15801 * replace.el (query-replace-map): Doc fix.
15802
15803 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15804
15805 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15806 contents. (Bug#11109)
15807
15808 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15809
15810 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15811 (bug#11077).
15812 (avl-tree--check, avl-tree--check-node): New funs.
15813
15814 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15815
15816 * window.el (switch-to-visible-buffer): New option.
15817 (switch-to-prev-buffer, switch-to-next-buffer):
15818 Observe switch-to-visible-buffer. Make sure that checking for a window
15819 showing a buffer already is done on the same frame.
15820
15821 2012-03-27 Glenn Morris <rgm@gnu.org>
15822
15823 * startup.el (mail-host-address): Doc fix.
15824
15825 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15826
15827 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15828 than 197 variables.
15829
15830 2012-03-26 Ami Fischman <ami@fischman.org>
15831
15832 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15833
15834 2012-03-26 Glenn Morris <rgm@gnu.org>
15835
15836 * files.el (save-buffers-kill-emacs): Doc fix.
15837
15838 * startup.el (normal-top-level, command-line, command-line-1):
15839 Give them doc strings.
15840
15841 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15842
15843 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15844 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15845
15846 2012-03-25 Chong Yidong <cyd@gnu.org>
15847
15848 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15849 theme if it was previously enabled before (Bug#11031).
15850
15851 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15852 spec with custom-face-get-current-spec if its :shown-value is not
15853 determined yet (Bug#9337).
15854 (customize-create-theme, custom-theme-revert): Doc fixes.
15855
15856 * button.el (button-at): Minor addition to docstring.
15857
15858 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15859
15860 * vc/vc.el (vc-merge): Fix a prompt.
15861
15862 2012-03-24 Chong Yidong <cyd@gnu.org>
15863
15864 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15865 point (Bug#9623).
15866
15867 * button.el (button-at): Minor addition to docstring.
15868
15869 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * newcomment.el (comment-choose-indent): No space after BOL.
15872
15873 2012-03-22 Sam Steingold <sds@gnu.org>
15874
15875 * window.el (switch-to-prev-buffer): Revert last patch because the
15876 bug turned out to be an advertised feature (Elisp manual 28.14).
15877
15878 2012-03-22 Glenn Morris <rgm@gnu.org>
15879
15880 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15881 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15882
15883 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15884
15885 * net/network-stream.el (network-stream-open-starttls): Make error
15886 message under Windows be less misleading.
15887
15888 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15889
15890 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15891 understands (bug#9942).
15892
15893 2012-03-22 Chong Yidong <cyd@gnu.org>
15894
15895 * simple.el (end-of-visible-line): Handle return value of
15896 next-single-property-change properly (Bug#9371).
15897
15898 2012-03-22 Kenichi Handa <handa@m17n.org>
15899
15900 * international/quail.el (quail-insert-kbd-layout): Fix previous
15901 change. To avoid unwanted bidi reordering, use
15902 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15903
15904 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15905
15906 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15907 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15908 (ruby-beginning-of-indent): Be more careful with the difference
15909 between word-boundary and symbol boundary.
15910 (ruby-mode-syntax-table): Make : a symbol constituent.
15911
15912 2012-03-21 Andreas Politz <politza@fh-trier.de>
15913
15914 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15915
15916 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15917
15918 * progmodes/etags.el (tags-completion-at-point-function):
15919 Improve last fix.
15920
15921 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15922
15923 2012-03-21 Sam Steingold <sds@gnu.org>
15924
15925 * progmodes/etags.el (tags-completion-at-point-function):
15926 Avoid the error when point is inside the pattern.
15927
15928 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15929
15930 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15931 line (Bug#10855).
15932
15933 2012-03-21 Drew Adams <drew.adams@oracle.com>
15934
15935 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15936
15937 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15938
15939 * ido.el (ido-set-current-directory, ido-read-internal)
15940 (ido-choose-completion-string, ido-completion-help): Handle nil
15941 value of ido-completion-buffer (Bug#11008).
15942
15943 2012-03-21 Sam Steingold <sds@gnu.org>
15944
15945 * window.el (switch-to-prev-buffer): Do not switch to a visible
15946 window previous buffer, just like with the frame previous buffers.
15947
15948 2012-03-21 Chong Yidong <cyd@gnu.org>
15949
15950 * faces.el (make-face, make-empty-face, copy-face):
15951 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15952 Doc fixes.
15953
15954 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15955
15956 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15957 (widget-complete): Remove broken use of it.
15958
15959 2012-03-20 Chong Yidong <cyd@gnu.org>
15960
15961 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15962 Use string-width and truncate-string-width to handle arbitrary
15963 characters.
15964
15965 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15966
15967 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15968 to draw rectangles, not squares. (Regression introduced by revno
15969 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15970
15971 2012-03-18 Chong Yidong <cyd@gnu.org>
15972
15973 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15974 it is not yet defined (for temacs).
15975
15976 2012-03-18 Leo Liu <sdl.web@gmail.com>
15977
15978 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15979 prefix.
15980
15981 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15982
15983 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15984 (ispell-choices-win-default-height, ispell-silently-savep)
15985 (ispell-dictionary-alist, ispell-encoding8-command)
15986 (ispell-check-version, ispell-aspell-find-dictionary)
15987 (ispell-valid-dictionary-list, ispell-words-keyword)
15988 (ispell-get-word, ispell-internal-change-dictionary)
15989 (ispell-region, ispell-skip-region-list)
15990 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15991 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15992 (ispell-message-text-end, ispell-message)
15993 (ispell-buffer-local-parsing): Doc fix.
15994
15995 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15996
15997 * htmlfontify.el: Add support for code block fontification for ODT
15998 export (Bug #9914).
15999 (hfy-optimisations): Define new option
16000 `body-text-only'
16001 (hfy-fontify-buffer): Honor above setting.
16002 (hfy-begin-span, hfy-end-span): New routines factored out form
16003 `hfy-fontify-buffer'.
16004 (hfy-begin-span-handler, hfy-end-span-handler): New variables
16005 that permit insertion of custom tags.
16006 (hfy-fontify-buffer): Use above handlers.
16007 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
16008 (hfy-face-to-css): Re-defined to be a variable.
16009 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
16010 over multiple runs. This is made possible by having the caller let
16011 bind a special variable `hfy-user-sheet-assoc'.
16012 (htmlfontify-string): New defun.
16013 (hfy-compile-face-map): Make sure that the last char in the
16014 buffer is correctly fontified.
16015 (hfy-face-resolve-face): Whitespace only change.
16016
16017 2012-03-17 Eli Zaretskii <eliz@gnu.org>
16018
16019 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
16020 message more clear.
16021
16022 2012-03-16 Leo Liu <sdl.web@gmail.com>
16023
16024 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
16025
16026 2012-03-16 Alan Mackenzie <acm@muc.de>
16027
16028 Further optimize the handling of large macros.
16029
16030 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
16031 limit to a call of `c-literal-limits'.
16032 (c-determine-+ve-limit): New function.
16033 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
16034 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
16035 In CASE 5B, restrict a search limit to 500.
16036 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
16037
16038 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
16039 Restrict macro bounds to +-500 from after-change's BEG END.
16040
16041 2012-03-16 Leo Liu <sdl.web@gmail.com>
16042
16043 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16044
16045 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16046
16047 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16048 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16049
16050 2012-03-16 Glenn Morris <rgm@gnu.org>
16051
16052 * view.el (view-buffer, view-buffer-other-window)
16053 (view-buffer-other-frame): Doc fixes re special mode-class.
16054
16055 * subr.el (eval-after-load): If named feature is provided not from
16056 a file, run after-load forms. (Bug#10946)
16057
16058 * calendar/calendar.el (calendar-insert-at-column):
16059 Handle non-unit-width characters a bit better. (Bug#10978)
16060
16061 2012-03-15 Chong Yidong <cyd@gnu.org>
16062
16063 * emacs-lisp/ring.el (ring-extend): New function.
16064 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16065
16066 * comint.el (comint-read-input-ring)
16067 (comint-add-to-input-history): Grow comint-input-ring lazily.
16068
16069 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16070
16071 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16072 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16073
16074 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16075 (imenu-add-to-menubar): Don't add a redundant index.
16076 (imenu-update-menubar): Handle a dynamically composed keymap.
16077
16078 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16079
16080 * mail/sendmail.el (mail-encode-header):
16081 Bind rfc2047-encode-encoded-words to nil.
16082
16083 2012-03-13 Glenn Morris <rgm@gnu.org>
16084
16085 * calendar/calendar.el (calendar-string-spread):
16086 Handle non-unit-width characters a bit better. (Bug#10978)
16087
16088 2012-03-13 Leo Liu <sdl.web@gmail.com>
16089
16090 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16091 directory and file as argument (Bug#10822).
16092
16093 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16094
16095 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16096 For dynamically generated code, follow $PC.
16097 (gdb-disassembly-handler-custom): Handle no function name case.
16098
16099 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16100
16101 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16102 * emulation/ws-mode.el (ws-query-replace):
16103 * sort.el (sort-regexp-fields):
16104 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16105
16106 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16107
16108 * dabbrev.el: Fix cycle completion order (bug#10963).
16109 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16110 (dabbrev-completion): Don't use an obarray; provide
16111 a cycle-sort-function.
16112
16113 2012-03-12 Leo Liu <sdl.web@gmail.com>
16114
16115 * simple.el (kill-new): Use equal-including-properties for comparison.
16116 (kill-do-not-save-duplicates): Doc fix.
16117
16118 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16119
16120 * dabbrev.el: Fix cycle completion (bug#10963).
16121 Use lexical binding and wrap to 80 columns.
16122 (dabbrev-completion): Delay computing the list of completions.
16123
16124 2012-03-12 Kenichi Handa <handa@m17n.org>
16125
16126 * international/quail.el (quail-insert-kbd-layout): Surround each
16127 row by LRO and PDF instead of inserting many LRMs. Pad the left
16128 and right of each non-spacing marks. Insert invisible space
16129 between lower and upper characters to prevent composition.
16130
16131 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16132
16133 * minibuffer.el (minibuffer-complete): Don't get confused when the
16134 function is run twice via different commands (bug#10958).
16135 (complete-with-action): Fix docstring.
16136
16137 2012-03-12 Chong Yidong <cyd@gnu.org>
16138
16139 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16140 (nxml-completion-at-point-function): New function.
16141 (nxml-mode): Use it.
16142 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16143
16144 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16145 Load generated autoloads file before byte compiling (Bug#10970).
16146 (package--make-autoloads-and-compile): New helper fun.
16147
16148 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16149
16150 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16151
16152 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16153
16154 * autorevert.el (auto-revert-handler): Ensure, that
16155 file-readable-p is applied only for local files or in
16156 auto-revert-tail-mode.
16157
16158 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16159
16160 * server.el (server-eval-at): Handle non-tcp connections.
16161 Decode result string.
16162
16163 * server.el (server-msg-size): New constant.
16164 (server-reply-print): New function.
16165 (server-eval-and-print): Use it.
16166 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16167 Handle -print-nonl.
16168
16169 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16170
16171 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16172 (Bug#10987).
16173
16174 2012-03-11 Chong Yidong <cyd@gnu.org>
16175
16176 * simple.el (goto-line): Doc fix (Bug#9938).
16177
16178 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16179
16180 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16181 when finished (Bug#10963).
16182
16183 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16184
16185 * window.el (split-window-below): Fix bug in case where
16186 split-window-keep-point is nil (Bug#10971).
16187
16188 2012-03-11 Juri Linkov <juri@jurta.org>
16189
16190 * replace.el (replace-highlight): Set isearch-word to nil
16191 unconditionally. (Bug#10887)
16192
16193 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16194
16195 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16196 mairix-replace-illegal-chars; all callers changed. Don't remove
16197 ^, ~, and = characters: they are meaningful in mairix search specs.
16198 (mairix-widget-create-query): Add usage information about mairix
16199 search forms: negating words, searching for substrings, etc.
16200
16201 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16202
16203 * international/fontset.el (font-encoding-alist): Add an entry for
16204 ksx1001 (Bug#5667).
16205
16206 2012-03-10 Richard Stallman <rms@gnu.org>
16207
16208 * mail/sendmail.el (mail-encode-header):
16209 Set rfc2047-encode-encoded-words.
16210
16211 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16212
16213 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16214 view buffer means not swapped.
16215 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16216 (rmail-write-region-annotate): Error if real text has disappeared.
16217
16218 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16219
16220 2012-03-10 Chong Yidong <cyd@gnu.org>
16221
16222 * emulation/cua-rect.el (cua--init-rectangles):
16223 * emulation/cua-base.el (cua--init-keymaps):
16224 Add delete-forward-char to remappings (Bug#9666).
16225
16226 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16227
16228 * speedbar.el (speedbar-unhighlight-one-tag-line):
16229 Avoid unhighlighting due to frame switching (Bug#10275).
16230
16231 2012-03-10 Chong Yidong <cyd@gnu.org>
16232
16233 * minibuffer.el (completion-in-region, completion-help-at-point):
16234 Give the completion field overlay a high priority (Bug#6830).
16235
16236 * dired.el (dired-goto-file): Recognize absolute file name
16237 listings (Bug#7126).
16238 (dired-goto-file-1): New helper function.
16239 (dired-toggle-read-only): Inhibit warnings.
16240
16241 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16242
16243 * net/dbus.el (dbus-property-handler): Return empty array if
16244 there are no properties.
16245
16246 2012-03-09 Leo Liu <sdl.web@gmail.com>
16247
16248 * savehist.el (savehist-printable): Stricter check for string
16249 value (Bug#10937).
16250
16251 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16252
16253 * mail/smtpmail.el (smtpmail-send-it):
16254 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16255 valid mbox format.
16256
16257 2012-03-09 Glenn Morris <rgm@gnu.org>
16258
16259 * files.el (dir-locals-find-file):
16260 Don't check result is regular, readable.
16261 (dir-locals-read-from-file): Demote errors.
16262
16263 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16264
16265 * international/quail.el (quail-insert-kbd-layout):
16266 Insert invisible LRM characters before each character in a keyboard
16267 layout cell, to prevent their reordering by bidi display engine.
16268 For details, see the discussion in
16269 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16270
16271 2012-03-08 Alan Mackenzie <acm@muc.de>
16272
16273 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16274 the starting position; make it extend the marked region when
16275 invoked repeatedly - all under appropriate circumstances.
16276 Fixes bugs #5525, #10906.
16277
16278 2012-03-08 Glenn Morris <rgm@gnu.org>
16279
16280 * files.el (locate-dominating-file, dir-locals-find-file):
16281 Undo 2012-03-06 change.
16282
16283 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16284
16285 * international/quail.el (quail-help):
16286 Force bidi-paragraph-direction be left-to-right. See discussion in
16287 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16288 for the reason.
16289
16290 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16291
16292 Avoid superfluous registering of signals. (Bug#10807)
16293
16294 * notifications.el (notifications-on-action-object)
16295 (notifications-on-close-object): New defvars.
16296 (notifications-on-action-signal, notifications-on-closed-signal):
16297 Unregister the signal if not needed any longer.
16298 (notifications-notify): Register `notifications-action-signal' or
16299 `notifications-closed-signal', if :on-action or :on-close has been
16300 passed as argument.
16301
16302 2012-03-07 Chong Yidong <cyd@gnu.org>
16303
16304 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16305 non-X platforms.
16306
16307 2012-03-06 Glenn Morris <rgm@gnu.org>
16308
16309 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16310 (x-disown-selection-internal, x-get-selection-internal):
16311 Doc fix (add arglist signatures). (Bug#10783)
16312
16313 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16314
16315 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16316 Handle breakpoints with no "type".
16317
16318 2012-03-06 Glenn Morris <rgm@gnu.org>
16319
16320 * files.el (locate-dominating-file): Add optional predicate argument.
16321 (dir-locals-find-file): Make use of above change.
16322
16323 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16324
16325 * info.el (Info-insert-dir): Also try "dir.gz".
16326
16327 2012-03-06 Glenn Morris <rgm@gnu.org>
16328
16329 * files.el (dir-locals-find-file):
16330 Ignore non-readable or non-regular files. (Bug#10928)
16331
16332 * files.el (locate-dominating-file): Doc fix.
16333
16334 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16335
16336 * calendar/calendar.el (calendar-set-mode-line):
16337 `getenv' returns a string. (Bug#10951)
16338
16339 2012-03-05 Leo Liu <sdl.web@gmail.com>
16340
16341 * simple.el (backward-delete-char-untabify): Constrain point to
16342 field (Bug#10939).
16343
16344 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16345
16346 2012-03-05 Chong Yidong <cyd@gnu.org>
16347
16348 * simple.el (count-words): If called from Lisp, return the word
16349 count, for symmetry with `count-lines'. Arglist changed.
16350 (count-words--message): Args changed. Consolidate counting code
16351 from count-words and count-words-region.
16352 (count-words-region): Caller changed.
16353 (count-lines-region): Make it an obsolete alias.
16354
16355 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16356
16357 * saveplace.el (save-place-to-alist)
16358 (save-place-ignore-files-regexp): Allow value nil to disable this
16359 feature.
16360
16361 2012-03-04 Chong Yidong <cyd@gnu.org>
16362
16363 * faces.el (face-spec-reset-face): For the default face, reset the
16364 attributes to default values (Bug#10748).
16365
16366 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16367
16368 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16369 previous patch: Check `message-send-mail-function', and not the
16370 default function (bug#10897).
16371
16372 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16373
16374 * notifications.el (notifications-on-action-signal)
16375 (notifications-on-closed-signal): Check for unique service name of
16376 incoming event. Fix error in removing entry.
16377 (top): Register for signals with wildcard service name.
16378 (notifications-notify): Use daemon unique service name for map entries.
16379
16380 2012-03-04 Chong Yidong <cyd@gnu.org>
16381
16382 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16383
16384 2012-03-04 Glenn Morris <rgm@gnu.org>
16385
16386 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16387 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16388 (expand-abbrev, define-abbrev-table): Doc fixes.
16389
16390 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16391
16392 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16393 `message-default-send-mail-function' and not `send-mail-function'
16394 when doing the prompting for `sendmail-query-once' before sending
16395 in Message buffers (bug#10897).
16396
16397 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16398 This is inconsistent with all the other stream functions, which leave
16399 the setting up to the higher levels (if so wanted) (bug#10931).
16400
16401 2012-03-02 Alan Mackenzie <acm@muc.de>
16402
16403 Depessimize the handling of very large macros.
16404
16405 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16406 (c-macro-cache-syntactic): New variables to implement a one
16407 element macro cache.
16408 (c-invalidate-macro-cache): New function.
16409 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16410 Adapt to use the new cache.
16411 (c-state-safe-place): Use better the cache of safe positions.
16412 (c-state-semi-nonlit-pos-cache)
16413 (c-state-semi-nonlit-pos-cache-limit):
16414 New variables for...
16415 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16416 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16417 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16418 Use c-state-semi-safe-place.
16419
16420 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16421 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16422
16423 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16424
16425 * jka-compr.el (jka-compr-call-process):
16426 Apply `file-accessible-directory-p' only when the default directory is
16427 not remote.
16428
16429 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16430
16431 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16432 access of FILE2, if FILE1 does not exist.
16433
16434 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16435 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16436
16437 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16438 Add "PAGER=" to `process-environment'.
16439
16440 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16441
16442 * progmodes/sql.el: Bug fix
16443 (sql-get-login-ext): Save login values in globals.
16444 (sql-get-login): Use new version of `sql-get-login-ext'.
16445 (sql-interactive-mode): Set global `sql-connection' to nil.
16446 (sql-connect): Set global values for connection.
16447 (sql-product-interactive): Save global values as buffer local.
16448
16449 2012-02-29 Leo Liu <sdl.web@gmail.com>
16450
16451 * abbrev.el (define-abbrevs): Reset sys to nil.
16452
16453 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16454
16455 * files.el (file-equal-p): Rename from `files-equal-p'.
16456 Return nil when one or both files don't exist.
16457 (file-subdir-of-p): Now only top directory must exists,
16458 return nil if it doesn't.
16459 (copy-directory): No need to test with `file-subdir-of-p' after
16460 creating dir.
16461 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16462 to `file-equal-p'.
16463
16464 2012-02-28 Glenn Morris <rgm@gnu.org>
16465
16466 * shell.el (shell-mode):
16467 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16468 * play/landmark.el (landmark-font-lock-face-O):
16469 * play/handwrite.el (handwrite):
16470 * play/gomoku.el (gomoku-O):
16471 * net/browse-url.el (browse-url-browser-display):
16472 * international/mule.el (define-charset):
16473 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16474 * filesets.el (filesets-find-file-delay):
16475 * eshell/em-xtra.el (eshell-xtra):
16476 * eshell/em-unix.el (eshell-grep):
16477 * emulation/viper.el (viper-mode):
16478 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16479 * emacs-lisp/easymenu.el (easy-menu-define):
16480 * calendar/timeclock.el (timeclock-use-display-time):
16481 * bs.el (bs-mode):
16482 * bookmark.el (bookmark-save-flag):
16483 Doc fix (standardize possessive apostrophe usage).
16484
16485 2012-02-27 Chong Yidong <cyd@gnu.org>
16486
16487 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16488 Fix key-binding lookup for ESC key (Bug#9146).
16489
16490 * font-lock.el (font-lock-specified-p): Rename from
16491 font-lock-spec-present. Callers changed.
16492
16493 2012-02-27 Daniel Hackney <dan@haxney.org>
16494
16495 * emacs-lisp/package.el (package-compute-transaction):
16496 Handle holding a package version to t in package-load-list.
16497
16498 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16499
16500 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16501 (tramp-get-inode, tramp-get-device): Use cached values.
16502
16503 2012-02-26 Alan Mackenzie <acm@muc.de>
16504
16505 Check there is a font-lock specification before doing initial
16506 fontification.
16507
16508 * font-core.el (font-lock-mode): Move the conditional from
16509 :after-hook to font-lock-initial-fontify.
16510 (font-lock-default-function): Move the check for a specification
16511 to font-lock-spec-present.
16512
16513 * font-lock.el (font-lock-initial-fontify): Call ...
16514 (font-lock-spec-present): New function.
16515
16516 2012-02-26 Jim Blandy <jimb@red-bean.com>
16517
16518 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16519 (gdb-send): Apply it to the operand of the '-interpreter-exec
16520 console' command, so that we can pass arguments with (say) quotes
16521 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16522
16523 2012-02-26 Chong Yidong <cyd@gnu.org>
16524
16525 * help-fns.el (describe-function-1): Clarify description of
16526 remapping (Bug#10844).
16527
16528 * files.el (files-equal-p): Doc fix.
16529 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16530 and quit the loop once a mismatch is found.
16531
16532 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16533
16534 * bs.el (bs--show-with-configuration): Don't throw an error
16535 if the window cannot be split; otherwise, subsequent calls to
16536 bs-show fail, restoring a stale window config. (Bug#10882)
16537
16538 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16539
16540 * term/ns-win.el (global-map): Bind ns-drag-file to
16541 ns-find-file (Bug#5855, Bug#10050).
16542
16543 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16544
16545 * calendar/parse-time.el (parse-time-string): Allow extractor to
16546 return nil.
16547
16548 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16549
16550 * net/tramp.el (tramp-file-name-for-operation):
16551 Add `files-equal-p' and `file-subdir-of-p'.
16552
16553 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16554 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16555 Add COPY-CONTENTS argument.
16556
16557 2012-02-25 Chong Yidong <cyd@gnu.org>
16558
16559 Add custom groups for VC backends, for consistency with vc-bzr.
16560
16561 * vc/vc-arch.el (vc-arch):
16562 * vc/vc-cvs.el (vc-cvs):
16563 * vc/vc-git.el (vc-git):
16564 * vc/vc-hg.el (vc-hg):
16565 * vc/vc-mtn.el (vc-mtn):
16566 * vc/vc-rcs.el (vc-rcs):
16567 * vc/vc-sccs.el (vc-sccs):
16568 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16569 All relevant defcustoms reassigned.
16570
16571 2012-02-25 Chong Yidong <cyd@gnu.org>
16572
16573 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16574
16575 * term/x-win.el (x-initialize-window-system): Reduce default for
16576 x-selection-timeout to 5 seconds (Bug#8869).
16577
16578 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16579
16580 * files.el (files-equal-p, file-subdir-of-p): New functions.
16581 (copy-directory): Error when trying to copy a directory on itself.
16582 Add missing copy-contents arg to tramp handler.
16583 * dired-aux.el (dired-copy-file-recursive): Same.
16584 (dired-create-files): Modify destination when source is equal to
16585 dest when copying files.
16586 Return also when dest is a subdir of source. (Bug#10489)
16587
16588 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16589
16590 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16591 (Bug#10874)
16592
16593 2012-02-23 Alan Mackenzie <acm@muc.de>
16594
16595 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16596 parameter "after-hook:" to allow the expansion to run code after
16597 the execution of the mode hooks.
16598
16599 * font-lock.el (font-lock-initial-fontify): New function extracted
16600 from font-lock-mode-internal.
16601
16602 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16603 :after-hook.
16604
16605 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16606
16607 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16608 (completion--cache-all-sorted-completions): New function.
16609 (completion-all-sorted-completions): Use it.
16610 (completion--do-completion, minibuffer-force-complete):
16611 Use it to re-instate the flush hook.
16612
16613 * icomplete.el (icomplete-completions): Replace last fix with a better
16614 one (bug#10850).
16615
16616 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16617
16618 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16619 when it might call us back infinitely (bug#10797).
16620
16621 2012-02-23 Glenn Morris <rgm@gnu.org>
16622
16623 * minibuffer.el (completion-category-overrides): Doc fix.
16624
16625 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16626
16627 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16628 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16629
16630 2012-02-23 Glenn Morris <rgm@gnu.org>
16631
16632 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16633 (authors-obsolete-files-regexps, authors-ignored-files)
16634 (authors-ambiguous-files, authors-renamed-files-alist):
16635 Add more entries.
16636
16637 2012-02-23 Juri Linkov <juri@jurta.org>
16638
16639 * isearch.el (isearch-occur): Sync interactive spec with occur's
16640 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16641
16642 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16643
16644 2012-02-22 Juri Linkov <juri@jurta.org>
16645
16646 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16647 (ucs-insert): Doc fix. Check for hex digits in the string.
16648 Don't display `nil' in the error message. (Bug#10857)
16649
16650 2012-02-22 Alan Mackenzie <acm@muc.de>
16651
16652 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16653
16654 2012-02-22 Glenn Morris <rgm@gnu.org>
16655
16656 * ffap.el (ffap-c-path):
16657 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16658
16659 2012-02-22 Chong Yidong <cyd@gnu.org>
16660
16661 * custom.el (load-theme): Doc fix.
16662
16663 2012-02-22 Glenn Morris <rgm@gnu.org>
16664
16665 * dired-x.el (dired-guess-shell-alist-default):
16666 Remove escape sequences from nroff output. (Bug#172)
16667
16668 2012-02-21 Glenn Morris <rgm@gnu.org>
16669
16670 * vc/emerge.el (emerge-defvar-local):
16671 Set `permanent-local' property rather than unused `preserved'.
16672
16673 * textmodes/picture.el (picture-delete-char): New alias.
16674 (picture-mode-map): Use it. (Bug#10860)
16675 (picture-mode): Doc fix.
16676
16677 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16678
16679 * newcomment.el (uncomment-region-default): Remove unused binding.
16680
16681 2012-02-21 Glenn Morris <rgm@gnu.org>
16682
16683 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16684 (picture-self-insert, picture-tab-chars): Doc fix.
16685 (picture-mode-map): Fix C-a, C-e.
16686
16687 2012-02-20 Glenn Morris <rgm@gnu.org>
16688
16689 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16690
16691 2012-02-20 Leo Liu <sdl.web@gmail.com>
16692
16693 * icomplete.el (icomplete-completions): Check FROM arg before
16694 passing to substring (Bug#10850).
16695
16696 2012-02-19 Chong Yidong <cyd@gnu.org>
16697
16698 * comint.el: Require ansi-color.
16699 (comint-output-filter-functions): Add ansi-color-process-output.
16700
16701 * ansi-color.el: Don't set comint-output-filter-functions; it is
16702 now in the initial value defined in comint.el.
16703 (ansi-color-apply-face-function): New variable.
16704 (ansi-color-apply-on-region): Use it.
16705 (ansi-color-apply-overlay-face): New function.
16706
16707 * shell.el (shell): No need to require ansi-color.
16708 (shell-mode): Use ansi-color-apply-face-function to highlight
16709 color escapes using font-lock-face property (Bug#10835).
16710
16711 2012-02-19 Chong Yidong <cyd@gnu.org>
16712
16713 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16714 mode-line formats (Bug#10839).
16715
16716 2012-02-18 Glenn Morris <rgm@gnu.org>
16717
16718 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16719
16720 * mail/undigest.el (unforward-rmail-message): Doc fix.
16721
16722 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16723
16724 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16725
16726 * international/characters.el (script-list): Sync with the latest
16727 Unicode Character Database.
16728
16729 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16730
16731 * international/titdic-cnv.el: Remove duplicate coding tag.
16732 * language/cham.el: Likewise.
16733 * language/tai-viet.el: Likewise.
16734
16735 2012-02-18 Glenn Morris <rgm@gnu.org>
16736
16737 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16738 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16739 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16740 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16741 * calendar/holidays.el (holiday-bahai-holidays)
16742 (calendar-holidays, list-holidays):
16743 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16744
16745 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16746
16747 * saveplace.el (save-place-ignore-files-regexp): New variable
16748 allowing for excluding files from saving their location of point.
16749 The default value matches the temporary commit message editing
16750 files from Git, SVN, Bazaar, and Mercurial.
16751 (save-place-to-alist): Use it.
16752
16753 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16754 Stefan Monnier <monnier@iro.umontreal.ca>
16755
16756 * newcomment.el (uncomment-region-default): Don't leave extra space
16757 when an arg is provided (bug#8150).
16758
16759 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16760
16761 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16762
16763 2012-02-17 Glenn Morris <rgm@gnu.org>
16764
16765 * net/socks.el: Require network-stream. (Bug#10599)
16766
16767 2012-02-17 Kenichi Handa <handa@m17n.org>
16768
16769 * international/charprop.el:
16770 * international/uni-name.el:
16771 * international/uni-old-name.el:
16772 * international/uni-comment.el: Regenerate.
16773
16774 2012-02-16 Glenn Morris <rgm@gnu.org>
16775
16776 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16777 Interactively in calendar buffer, give an error if not on a date.
16778
16779 2012-02-15 Glenn Morris <rgm@gnu.org>
16780
16781 * shell.el (shell-delimiter-argument-list):
16782 Revert 2011-02-17 change. (Bug#8027)
16783
16784 2012-02-15 Chong Yidong <cyd@gnu.org>
16785
16786 * minibuffer.el (completion-at-point-functions): Doc fix.
16787
16788 * custom.el (defcustom): Doc fix; note use of defvar.
16789
16790 2012-02-15 Glenn Morris <rgm@gnu.org>
16791
16792 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16793 Doc fixes.
16794
16795 2012-02-14 Glenn Morris <rgm@gnu.org>
16796
16797 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16798
16799 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16800
16801 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16802 way the ports list is computed.
16803 (smtpmail-query-smtp-server): Prompt the user for a port number if
16804 we can't connect to any of the standard ports (bug#10810).
16805
16806 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16807
16808 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16809
16810 2012-02-13 Glenn Morris <rgm@gnu.org>
16811
16812 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16813
16814 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16815
16816 * net/gnutls.el (gnutls-trustfiles): New variable.
16817 (gnutls-negotiate): Use it.
16818
16819 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16820
16821 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16822 does its stuff if Gnus is running.
16823
16824 2012-02-13 Alan Mackenzie <acm@muc.de>
16825
16826 Fix a loop in c-set-fl-decl-start.
16827
16828 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16829 c-backward-syntactic-ws actually moves backwards.
16830
16831 2012-02-13 Leo Liu <sdl.web@gmail.com>
16832
16833 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16834 beginning so that all \C-o chars are removed.
16835
16836 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16837
16838 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16839
16840 2012-02-12 Alan Mackenzie <acm@muc.de>
16841
16842 Fix infinite loop with long macros.
16843 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16844
16845 2012-02-12 Chong Yidong <cyd@gnu.org>
16846
16847 * window.el (display-buffer): Doc fix (Bug#10785).
16848
16849 2012-02-12 Glenn Morris <rgm@gnu.org>
16850
16851 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16852 (x-disown-selection-internal, x-get-selection-internal):
16853 Sync docs with the xselect.c versions.
16854
16855 * allout-widgets.el: Add missing license notice.
16856
16857 2012-02-11 Glenn Morris <rgm@gnu.org>
16858
16859 * select.el (x-get-selection-internal, x-own-selection-internal)
16860 (x-disown-selection-internal):
16861 * x-dnd.el (x-get-selection-internal): Update declarations.
16862
16863 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16864
16865 * window.el (window-sides-slots):
16866 * tool-bar.el (tool-bar-position):
16867 * term/xterm.el (xterm-extra-capabilities):
16868 * ses.el (ses-self-reference-early-detection):
16869 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16870 (verilog-auto-wire-type)
16871 (verilog-auto-delete-trailing-whitespace)
16872 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16873 (verilog-auto-tieoff-declaration):
16874 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16875 (sql-oracle-statement-starters, sql-oracle-scan-on):
16876 * progmodes/prolog.el (prolog-align-comments-flag)
16877 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16878 (prolog-left-indent-regexp, prolog-paren-indent-p)
16879 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16880 (prolog-types, prolog-mode-specificators)
16881 (prolog-determinism-specificators, prolog-directives)
16882 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16883 (prolog-electric-dot-flag)
16884 (prolog-electric-dot-full-predicate-template)
16885 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16886 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16887 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16888 (prolog-program-switches, prolog-prompt-regexp)
16889 (prolog-debug-on-string, prolog-debug-off-string)
16890 (prolog-trace-on-string, prolog-trace-off-string)
16891 (prolog-zip-on-string, prolog-zip-off-string)
16892 (prolog-use-standard-consult-compile-method-flag)
16893 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16894 (prolog-imenu-max-lines, prolog-info-predicate-index)
16895 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16896 (prolog-char-quote-workaround):
16897 * progmodes/cc-vars.el (c-defun-tactic):
16898 * net/tramp.el (tramp-encoding-command-interactive)
16899 (tramp-local-end-of-line):
16900 * net/soap-client.el (soap-client):
16901 * net/netrc.el (netrc-file):
16902 * net/gnutls.el (gnutls):
16903 * minibuffer.el (completion-category-overrides)
16904 (completion-cycle-threshold)
16905 (completion-pcm-complete-word-inserts-delimiters):
16906 * man.el (Man-name-local-regexp):
16907 * mail/feedmail.el (feedmail-display-full-frame):
16908 * international/characters.el (glyphless-char-display-control):
16909 * eshell/em-ls.el (eshell-ls-date-format):
16910 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16911 (lisp-lambda-list-keyword-parameter-indentation)
16912 (lisp-lambda-list-keyword-parameter-alignment):
16913 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16914 * dired-x.el (dired-omit-verbose):
16915 * cus-theme.el (custom-theme-allow-multiple-selections):
16916 * calc/calc.el (calc-highlight-selections-with-faces)
16917 (calc-lu-field-reference, calc-lu-power-reference)
16918 (calc-note-threshold):
16919 * battery.el (battery-mode-line-limit):
16920 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16921 (archive-7z-update):
16922 * allout.el (allout-prefixed-keybindings)
16923 (allout-unprefixed-keybindings)
16924 (allout-inhibit-auto-fill-on-headline)
16925 (allout-flattened-numbering-abbreviation):
16926 * allout-widgets.el (allout-widgets-auto-activation)
16927 (allout-widgets-icons-dark-subdir)
16928 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16929 (allout-widgets-theme-dark-background)
16930 (allout-widgets-theme-light-background)
16931 (allout-widgets-item-image-properties-emacs)
16932 (allout-widgets-item-image-properties-xemacs)
16933 (allout-widgets-run-unit-tests-on-load)
16934 (allout-widgets-time-decoration-activity)
16935 (allout-widgets-hook-error-post-time)
16936 (allout-widgets-track-decoration):
16937 Add missing :version tags to new defcustoms and defgroups.
16938
16939 * progmodes/sql.el (sql-ansi-statement-starters)
16940 (sql-oracle-statement-starters): Add custom type.
16941
16942 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16943 (prolog-system-version): Give it a type.
16944
16945 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16946
16947 * term/pc-win.el (x-select-text, x-selection-owner-p)
16948 (x-own-selection-internal, x-disown-selection-internal)
16949 (x-get-selection-internal): Sync doc strings and argument lists
16950 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16951
16952 2012-02-11 Leo Liu <sdl.web@gmail.com>
16953
16954 * progmodes/python.el (python-end-of-statement): Fix infinite
16955 loop. (Bug#10788)
16956
16957 2012-02-10 Glenn Morris <rgm@gnu.org>
16958
16959 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16960 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16961
16962 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16963
16964 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16965 about SMTP before checking the From header.
16966
16967 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16968 into own function for reuse by emacsbug.el.
16969
16970 2012-02-10 Leo Liu <sdl.web@gmail.com>
16971
16972 * subr.el (condition-case-unless-debug): Rename from
16973 condition-case-no-debug. All callers changed.
16974 (with-demoted-errors): Fix caller.
16975
16976 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16977 * nxml/rng-valid.el (rng-do-some-validation):
16978 * emacs-lisp/package.el (package-refresh-contents)
16979 (package-menu-execute):
16980 * desktop.el (desktop-create-buffer):
16981 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16982
16983 2012-02-10 Glenn Morris <rgm@gnu.org>
16984
16985 * textmodes/bibtex.el:
16986 Add missing :version tags for new/changed defcustoms.
16987
16988 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16989
16990 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16991
16992 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16993 (smtpmail-via-smtp): Use it, or fall back on the From address.
16994 (smtpmail-send-it): Ditto.
16995
16996 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16997
16998 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16999 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
17000 (byte-compile-tmp-var): New const.
17001 (byte-compile-defvar): Use it to minimize .elc size.
17002 Just use `defvar' rather than simulate it (bug#10761).
17003
17004 2012-02-09 Glenn Morris <rgm@gnu.org>
17005
17006 * files.el (rename-uniquely): Doc fix. (Bug#3806)
17007
17008 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
17009 Add :version tags.
17010
17011 * progmodes/compile.el (compilation-error-screen-columns)
17012 (compilation-first-column, compilation-filter-start): Doc fixes.
17013
17014 * vc/log-view.el (log-view-toggle-entry-display):
17015 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
17016
17017 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
17018 (report-emacs-bug-can-use-xdg-email):
17019 (report-emacs-bug-insert-to-mailer): Doc fixes.
17020 (report-emacs-bug): Message fix.
17021
17022 * net/browse-url.el (browse-url-can-use-xdg-open)
17023 (browse-url-xdg-open): Doc fixes.
17024
17025 * electric.el (electric-indent-mode, electric-pair-mode)
17026 (electric-layout-rules, electric-layout-mode): Doc fixes.
17027 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
17028
17029 2012-02-08 Martin Rudalics <rudalics@gmx.at>
17030
17031 * server.el (server-unselect-display): Don't inadvertently kill
17032 the current buffer. (Bug#10729)
17033
17034 2012-02-08 Glenn Morris <rgm@gnu.org>
17035
17036 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
17037 (sql-list-table): Doc fixes.
17038
17039 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17040 Comment out (does nothing).
17041
17042 * completion.el (dynamic-completion-mode):
17043 * dirtrack.el (dirtrack-debug-mode):
17044 * electric.el (electric-layout-mode):
17045 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17046 * face-remap.el (text-scale-mode, buffer-face-mode):
17047 * iimage.el (iimage-mode):
17048 * image-mode.el (image-transform-mode):
17049 * minibuffer.el (completion-in-region-mode):
17050 * scroll-lock.el (scroll-lock-mode):
17051 * simple.el (next-error-follow-minor-mode):
17052 * tar-mode.el (tar-subfile-mode):
17053 * tooltip.el (tooltip-mode):
17054 * vcursor.el (vcursor-use-vcursor-map):
17055 * wid-browse.el (widget-minor-mode):
17056 * emulation/tpu-edt.el (tpu-edt-mode):
17057 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17058 * international/iso-ascii.el (iso-ascii-mode):
17059 * language/thai-util.el (thai-word-mode):
17060 * mail/supercite.el (sc-minor-mode):
17061 * net/goto-addr.el (goto-address-mode):
17062 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17063 * progmodes/cwarn.el (cwarn-mode):
17064 * progmodes/flymake.el (flymake-mode):
17065 * progmodes/glasses.el (glasses-mode):
17066 * progmodes/hideshow.el (hs-minor-mode):
17067 * progmodes/pascal.el (pascal-outline-mode):
17068 * textmodes/enriched.el (enriched-mode):
17069 * vc/smerge-mode.el (smerge-mode):
17070 Doc fixes (minor mode argument).
17071
17072 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17073
17074 * ls-lisp.el (ls-lisp-sanitize): New function.
17075 (ls-lisp-insert-directory): Use it to fix or remove any elements
17076 in file-alist with missing attributes. (Bug#4673)
17077
17078 2012-02-07 Alan Mackenzie <acm@muc.de>
17079
17080 Fix spurious recognition of c-in-knr-argdecl.
17081
17082 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17083 putative K&R region.
17084
17085 2012-02-07 Alan Mackenzie <acm@muc.de>
17086
17087 * progmodes/cc-engine.el (c-forward-objc-directive):
17088 Prevent looping in "#pragma mark @implementation".
17089
17090 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17091
17092 * notifications.el (notifications-on-closed-signal): Make `reason'
17093 optional. (Bug#10744)
17094
17095 2012-02-07 Glenn Morris <rgm@gnu.org>
17096
17097 * emacs-lisp/easy-mmode.el (define-minor-mode):
17098 Doc fixes for the macro and the mode it defines.
17099
17100 * image.el (imagemagick-types-inhibit): Doc fix.
17101
17102 * cus-start.el (imagemagick-render-type): Add it.
17103
17104 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17105
17106 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17107 Set the default at load time, too, so that `font-lock-fontify-buffer'
17108 can be called without setting up the entire mode first. This fixes
17109 a bug in `mm-inline-text' with C MIME parts.
17110
17111 2012-02-06 Chong Yidong <cyd@gnu.org>
17112
17113 * simple.el (list-processes--refresh): Delete exited processes
17114 (Bug#8094).
17115
17116 * comint.el (comint-next-prompt): next-single-char-property-change
17117 and prev-single-char-property-change never return nil (Bug#8657).
17118
17119 * custom.el (defcustom): Doc fix (Bug#9711).
17120
17121 2012-02-05 Chong Yidong <cyd@gnu.org>
17122
17123 * cus-edit.el (custom-variable-reset-backup): Quote the value
17124 before storing it in the customized-value property (Bug#6712).
17125 (custom-display): Add a customization type tag.
17126 (custom-buffer-create-internal): Improve tooltip message.
17127
17128 * wid-edit.el (widget-field-value-get): New optional arg to
17129 suppress trailing whitespace truncation.
17130 (character): Use it (Bug#2689).
17131
17132 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17133
17134 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17135 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17136
17137 2012-02-05 Chong Yidong <cyd@gnu.org>
17138
17139 * cus-edit.el (custom-variable-value-create): For mismatched
17140 types, show the current value (Bug#7600).
17141
17142 * custom.el (defcustom): Doc fix.
17143
17144 2012-02-05 Glenn Morris <rgm@gnu.org>
17145
17146 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17147
17148 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17149
17150 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17151 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17152 (pp-last-sexp): Use `looking-at-p'.
17153
17154 2012-02-04 Glenn Morris <rgm@gnu.org>
17155
17156 * files.el (revert-buffer):
17157 Doc fix (mention revert-buffer-in-progress-p).
17158
17159 * emacs-lisp/ert-x.el (ert-simulate-command):
17160 Check deferred-action-list (which is obsolete) is bound.
17161
17162 * subr.el (with-wrapper-hook): Doc fixes.
17163
17164 * simple.el (filter-buffer-substring-functions)
17165 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17166
17167 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17168
17169 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17170 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17171
17172 2012-02-04 Leo Liu <sdl.web@gmail.com>
17173
17174 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17175
17176 2012-02-04 Glenn Morris <rgm@gnu.org>
17177
17178 * image.el (image-extension-data): Add obsolete alias.
17179
17180 * isearch.el (isearch-update): Doc fix.
17181
17182 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17183
17184 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17185
17186 2012-02-03 Glenn Morris <rgm@gnu.org>
17187
17188 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17189 (image-animate-timeout): Doc fix.
17190
17191 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17192
17193 2012-02-02 Glenn Morris <rgm@gnu.org>
17194
17195 * server.el (server-auth-dir): Doc fix.
17196 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17197
17198 * subr.el (run-mode-hooks): Doc fix.
17199
17200 2012-02-02 Juri Linkov <juri@jurta.org>
17201
17202 * image-mode.el (image-toggle-display-image): Remove tautological
17203 `major-mode' from the `derived-mode-p' test.
17204
17205 2012-02-02 Kenichi Handa <handa@m17n.org>
17206
17207 * composite.el (compose-region): Cancel previous change.
17208
17209 2012-02-02 Kenichi Handa <handa@m17n.org>
17210
17211 * composite.el (compose-region, compose-string): Signal error for
17212 a null string component (Bug#6988).
17213
17214 2012-02-01 Chong Yidong <cyd@gnu.org>
17215
17216 * view.el (view-buffer-other-window, view-buffer-other-frame):
17217 Handle special modes like view-buffer (Bug#10650).
17218 (view-buffer): Simplify.
17219
17220 * frame.el (set-frame-font): Tweak meaning of third argument.
17221
17222 * dynamic-setting.el (font-setting-change-default-font):
17223 Use set-frame-font (Bug#9982).
17224
17225 2012-02-01 Glenn Morris <rgm@gnu.org>
17226
17227 * progmodes/compile.el (compilation-internal-error-properties):
17228 Respect compilation-first-column in the "*compilation*" buffer.
17229
17230 * emacs-lisp/easy-mmode.el (define-minor-mode):
17231 Relax :variable's test for a named function.
17232
17233 2012-01-31 Alan Mackenzie <acm@muc.de>
17234
17235 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17236 off by one error.
17237
17238 2012-01-31 Chong Yidong <cyd@gnu.org>
17239
17240 * frame.el (set-frame-font): New arg ALL-FRAMES.
17241
17242 * menu-bar.el (menu-set-font): Use set-frame-font.
17243
17244 * faces.el (face-spec-reset-face): Don't apply unspecified
17245 attribute values to the default face.
17246
17247 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17248
17249 * progmodes/cwarn.el (cwarn): Remove dead link.
17250 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17251 Remove * from defcustom docstrings.
17252 (turn-on-cwarn-mode): Make obsolete.
17253 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17254 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17255
17256 2012-01-31 Glenn Morris <rgm@gnu.org>
17257
17258 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17259 Fix :variable handling of mode a symbol not equal to modefun.
17260 Allow named functions to be used as the cdr of :variable.
17261
17262 2012-01-30 Glenn Morris <rgm@gnu.org>
17263
17264 * emacs-lisp/authors.el (authors-fixed-entries):
17265 Remove reference to deleted file rnewspost.el.
17266
17267 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17268
17269 * window.el (window-with-parameter): Remove unused variable `windows'.
17270 (window--side-check): Remove unused variable `code'.
17271 (window--resize-siblings): Remove unused variable `first'.
17272 (adjust-window-trailing-edge): Remove unused variable `failed'.
17273 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17274 Use `let', not `let*'.
17275 (balance-windows-2): Remove unused variable `found'.
17276 (window--state-put-2): Remove unused variable `splits'.
17277 (window-state-put): Remove unused variable `selected'.
17278 (same-window-p): Use `string-match-p'.
17279 (display-buffer-assq-regexp): Remove unused variable `value'.
17280 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17281 Mark argument ALIST as ignored.
17282 (pop-to-buffer): Remove unused variable `old-window'.
17283
17284 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17285
17286 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17287 and .lzma compressed files.
17288
17289 2012-01-29 Chong Yidong <cyd@gnu.org>
17290
17291 * frame.el (window-system-default-frame-alist): Doc fix.
17292
17293 * dynamic-setting.el (font-setting-change-default-font): Don't
17294 change the default face if SET-FONT argument is non-nil (Bug#9982).
17295
17296 2012-01-29 Samuel Bronson <naesten@gmail.com>
17297
17298 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17299
17300 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17301
17302 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17303 breakpoints in files outside current directory (Bug#6098).
17304
17305 2012-01-29 Chong Yidong <cyd@gnu.org>
17306
17307 * progmodes/python.el: Require ansi-color at top-level.
17308
17309 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17310 Define and use in Emacs Lisp mode (Bug#9360).
17311 (lisp-mode-abbrev-table): Add doc.
17312 (lisp-mode-variables): Don't set local-abbrev-table.
17313 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17314
17315 2012-01-28 Roland Winkler <winkler@gnu.org>
17316
17317 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17318
17319 2012-01-28 Roland Winkler <winkler@gnu.org>
17320
17321 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17322 (bibtex-set-dialect): Use it. Either set global values of
17323 dialect-dependent variables or bind these variables buffer-locally
17324 (Bug#10254).
17325 (bibtex-mode): Call bibtex-set-dialect via
17326 hack-local-variables-hook.
17327 (bibtex-dialect): Update docstring.
17328 Add safe-local-variable predicate.
17329 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17330 bibtex-set-dialect.
17331 (bibtex-mode-map): Define menu for each dialect.
17332 (bibtex-entry): Fix docstring.
17333
17334 2012-01-28 Chong Yidong <cyd@gnu.org>
17335
17336 * eshell/esh-arg.el (eshell-quote-argument): New function.
17337
17338 * eshell/esh-ext.el (eshell-invoke-batch-file):
17339 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17340 first arg to eshell-parse-command (Bug#10523).
17341
17342 2012-01-28 Drew Adams <drew.adams@oracle.com>
17343
17344 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17345 `default-directory' is non-nil.
17346
17347 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17348
17349 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17350 line that displays system-configuration-options. (Bug#9924)
17351
17352 2012-01-28 Drew Adams <drew.adams@oracle.com>
17353
17354 * descr-text.el (describe-char): Show information about POS, in
17355 addition to information about the character at POS. Improve and
17356 update the doc string. Change "code point" to "code point in
17357 charset", to avoid confusion with the character's Unicode code
17358 point shown above that. (Bug#10129)
17359
17360 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17361
17362 * descr-text.el (describe-char): Show the raw character, not only
17363 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17364 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17365 for the reasons.
17366
17367 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17368
17369 * emacs-lisp/package.el (package-install):
17370 Run package-refresh-contents if there is no archive yet (Bug#9798).
17371
17372 2012-01-28 Chong Yidong <cyd@gnu.org>
17373
17374 * emacs-lisp/package.el (package-maybe-load-descriptor):
17375 New function, split from package-maybe-load-descriptor.
17376 (package-maybe-load-descriptor): Use it.
17377 (package-download-transaction): Fully load required packages
17378 inside the loop, so that `require' calls work (Bug#10593).
17379 (package-install): No need to call package-initialize now.
17380
17381 2012-01-28 Chong Yidong <cyd@gnu.org>
17382
17383 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17384
17385 * tooltip.el (tooltip-mode): Doc fix.
17386 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17387
17388 * frame.el (set-cursor-color): Doc fix (Bug#352).
17389
17390 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17391 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17392
17393 * cus-edit.el (custom-buffer-create-internal): Fix search button
17394 action (Bug#10542).
17395 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17396
17397 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17398
17399 * dired.el (dired-mark-files-regexp):
17400 Include any subdirectory components. (Bug#10445)
17401
17402 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17403
17404 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17405 Handle [host]:port syntax. (Bug#10533)
17406
17407 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17408
17409 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17410
17411 2012-01-26 Glenn Morris <rgm@gnu.org>
17412
17413 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17414 * term.el (term-raw-escape-map): Use Control-X-prefix.
17415 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17416
17417 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17418
17419 * window.el (window-state-get, window--state-get-1): Don't deal
17420 with fixed-sizeness of windows. Simplify code.
17421
17422 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17423
17424 * window.el (window--state-get-1, window--state-put-2):
17425 Don't save and restore the mark.
17426
17427 2012-01-25 Chong Yidong <cyd@gnu.org>
17428
17429 * custom.el (custom-variable-p): Doc fix.
17430
17431 2012-01-25 Glenn Morris <rgm@gnu.org>
17432
17433 * dired.el (dired-goto-file): Handle some of the more common
17434 characters that `ls -b' escapes. (Bug#10596)
17435
17436 * progmodes/compile.el (compilation-next-error-function):
17437 Respect compilation-first-column in the "*compilation*" buffer.
17438 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17439
17440 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17441
17442 2012-01-24 Glenn Morris <rgm@gnu.org>
17443
17444 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17445
17446 2012-01-24 Julien Danjou <julien@danjou.info>
17447
17448 * color.el (color-rgb-to-hsl): Fix value computing.
17449 (color-hue-to-rgb): New function.
17450 (color-hsl-to-rgb): New function.
17451 (color-clamp, color-saturate-hsl, color-saturate-name)
17452 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17453 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17454
17455 2012-01-24 Glenn Morris <rgm@gnu.org>
17456
17457 * vc/vc-rcs.el (vc-rcs-create-tag):
17458 * vc/vc-sccs.el (vc-sccs-create-tag):
17459 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17460
17461 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17462
17463 * eshell/esh-util.el (eshell-read-hosts-file):
17464 Skip comment lines. (Bug#10549)
17465
17466 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17467
17468 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17469
17470 * subr.el (display-delayed-warnings): Doc fix.
17471 (collapse-delayed-warnings): New function to collapse identical
17472 adjacent warnings.
17473 (delayed-warnings-hook): Add it.
17474
17475 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17476
17477 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17478
17479 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17480 (tramp-default-user-alist): Don't add "pscp".
17481 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17482 property "login-as", if set. (Bug#10530)
17483
17484 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17485
17486 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17487 "plink1" and "psftp". (Bug#10530)
17488
17489 2012-01-21 Kenichi Handa <handa@m17n.org>
17490
17491 * international/mule-cmds.el (prefer-coding-system): Show a
17492 warning message if the default value of file-name-coding-system
17493 was not changed.
17494
17495 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17496
17497 * windmove.el (windmove-reference-loc):
17498 Fix windmove-reference-loc miscalculation.
17499
17500 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17501
17502 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17503 default unit.
17504
17505 2012-01-21 Glenn Morris <rgm@gnu.org>
17506
17507 * international/mule.el (auto-coding-alist): Add .tbz.
17508
17509 * files.el (local-enable-local-variables): Doc fix.
17510 (inhibit-local-variables-regexps): Rename from
17511 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17512 Doc fix. Add some extensions from auto-coding-alist.
17513 (inhibit-local-variables-suffixes):
17514 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17515 (inhibit-local-variables-p):
17516 New function, extracted from set-auto-mode-1.
17517 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17518 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17519 (hack-local-variables): Doc fix. Make the mode-only case
17520 respect enable-local-variables and friends.
17521 Respect inhibit-local-variables-regexps for file-locals, but
17522 not for directory-locals.
17523 (set-visited-file-name):
17524 Take account of inhibit-local-variables-regexps.
17525 Whether it applies may change as the file name is changed.
17526 * jka-cmpr-hook.el (jka-compr-install):
17527 * jka-compr.el (jka-compr-uninstall):
17528 Update for inhibit-first-line-modes-suffixes name change.
17529
17530 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17531
17532 * help-macro.el (make-help-screen): Temporarily restore original
17533 binding for minor-mode-map-alist (Bug#10454).
17534
17535 2012-01-19 Julien Danjou <julien@danjou.info>
17536
17537 * color.el (color-name-to-rgb): Use the white color to find the max
17538 color component value and return correctly computed values.
17539 (color-name-to-rgb): Add missing float conversion for max value.
17540
17541 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17542
17543 * window.el (window--state-get-1, window-state-get): Do not use
17544 special state value for window-persistent-parameters.
17545 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17546 (window--state-put-2): Reset all window parameters to nil before
17547 assigning values of persistent parameters.
17548
17549 2012-01-18 Alan Mackenzie <acm@muc.de>
17550
17551 Eliminate sluggishness and hangs in fontification of "semicolon
17552 deserts".
17553
17554 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17555 Change value 10000 -> 3000.
17556 (c-state-safe-place): Reformulate so it doesn't stack up an
17557 infinite number of wrong entries in c-state-nonlit-pos-cache.
17558 (c-determine-limit-get-base, c-determine-limit): New functions to
17559 determine backward search limits disregarding literals.
17560 (c-find-decl-spots): Amend commenting.
17561 (c-cheap-inside-bracelist-p): New function which detects "={".
17562
17563 * progmodes/cc-fonts.el
17564 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17565 backward search.
17566 (c-font-lock-declarations): Fix an occurrence of point being
17567 undefined. Check additionally for point being in a bracelist or
17568 near a macro invocation without a semicolon so as to avoid a
17569 fruitless time consuming search for a declarator. Give a more
17570 precise search limit for declarators using the new
17571 c-determine-limit.
17572
17573 2012-01-18 Glenn Morris <rgm@gnu.org>
17574
17575 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17576 (set-auto-mode): Doc fixes.
17577
17578 2012-01-17 Glenn Morris <rgm@gnu.org>
17579
17580 * isearch.el (search-nonincremental-instead): Fix doc typo.
17581
17582 * dired.el (dired-insert-directory): Handle newlines in directory name.
17583 (dired-build-subdir-alist): Unescape newlines in directory name.
17584
17585 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17586
17587 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17588 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17589 (tramp-action-terminal): Use it. (Bug#10530)
17590
17591 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17592
17593 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17594
17595 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17596
17597 * window.el (window-state-ignored-parameters): Remove variable.
17598 (window--state-get-1): Rename argument MARKERS to IGNORE.
17599 Handle persistent window parameters. Make copy of clone-of
17600 parameter only if requested. (Bug#10348)
17601 (window--state-put-2): Install a window parameter only if it has
17602 a non-nil value or an existing parameter shall be overwritten.
17603
17604 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17605
17606 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17607
17608 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17609
17610 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17611 don't pass the (nil) value of `upnode' to string-match.
17612
17613 2012-01-14 Chong Yidong <cyd@gnu.org>
17614
17615 * startup.el (command-line): Fix X resource class for cursorColor.
17616 Fix values recognized by the cursorBlink resource.
17617
17618 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17619
17620 * epg.el (epg--make-temp-file): Avoid permission race condition
17621 when running on old Emacs versions (bug#10403).
17622
17623 2012-01-14 Glenn Morris <rgm@gnu.org>
17624
17625 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17626
17627 2012-01-13 Alan Mackenzie <acm@muc.de>
17628
17629 Fix filling for when filladapt mode is enabled.
17630
17631 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17632 c-mask-paragraph, pass in `fill-paragraph' rather than
17633 `fill-region-as-paragraph'. (This is a reversion of a previous
17634 change.)
17635 * progmodes/cc-mode.el (c-basic-common-init):
17636 Make fill-paragraph-handle-comment buffer local and set it to nil.
17637
17638 2012-01-13 Glenn Morris <rgm@gnu.org>
17639
17640 * dired.el (dired-switches-escape-p): New function.
17641 (dired-insert-directory): Use dired-switches-escape-p.
17642 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17643
17644 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17645
17646 2012-01-12 Glenn Morris <rgm@gnu.org>
17647
17648 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17649 changes in adaptive-fill-regexp. (Bug#10276)
17650
17651 2012-01-11 Alan Mackenzie <acm@muc.de>
17652
17653 Fix Emacs bug #10463 - put `widen's around the critical spots.
17654
17655 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17656 widen around each invocation of c-state-pp-to-literal. Remove an
17657 unused let variable.
17658
17659 2012-01-11 Glenn Morris <rgm@gnu.org>
17660
17661 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17662 Doc fix.
17663
17664 2012-01-10 Chong Yidong <cyd@gnu.org>
17665
17666 * net/network-stream.el (network-stream-open-starttls):
17667 Avoid emitting a confusing error message when the server gives a bad
17668 response to the capability command.
17669
17670 2012-01-10 Glenn Morris <rgm@gnu.org>
17671
17672 * mail/unrmail.el (unrmail): Tweak previous change.
17673
17674 2012-01-09 Chong Yidong <cyd@gnu.org>
17675
17676 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17677
17678 2012-01-08 Alan Mackenzie <acm@muc.de>
17679
17680 Optimize font locking in long enum definitions.
17681
17682 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17683 arm to a cond form to handle enums.
17684 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17685 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17686
17687 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17688
17689 * files.el (move-file-to-trash): Preserve default file modes on error.
17690 (Bug#10401)
17691
17692 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17693
17694 * faces.el (set-face-attribute): Clarify the meaning of the nil
17695 frame (bug#10294).
17696
17697 * subr.el (with-selected-frame): Mention that the selected frame
17698 is restored (bug#9980).
17699
17700 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17701 (bug#9759).
17702
17703 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17704 (password-read): Don't autoload unused function.
17705
17706 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17707
17708 * progmodes/which-func.el (which-func-mode): Turn into a
17709 non-interactive function and mark as obsolete (bug#10428).
17710
17711 2012-01-06 Chong Yidong <cyd@gnu.org>
17712
17713 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17714 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17715 functions, along with 1 and -1.
17716
17717 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17718
17719 * time.el (display-time-load-average)
17720 (display-time-default-load-average): Doc fixes. See the thread
17721 starting at
17722 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17723 for the details.
17724
17725 2012-01-06 Glenn Morris <rgm@gnu.org>
17726
17727 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17728 has no messages. (Bug#10377)
17729
17730 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17731 than Info-edit. (Bug#10385)
17732
17733 * time.el (display-time-load-average, display-time-next-load-average):
17734 Doc fixes.
17735
17736 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17737 local setting of buffer-read-only to the input buffer. (Bug#10419)
17738
17739 * calendar/calendar.el (calendar-mode):
17740 Locally set scroll-margin to 0. (Bug#10379)
17741
17742 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17743
17744 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17745
17746 2012-01-05 Glenn Morris <rgm@gnu.org>
17747
17748 * eshell/em-unix.el (diff-no-select): Autoload it.
17749 (eshell/diff): Use diff-no-select. (Bug#10420)
17750
17751 2012-01-05 Chong Yidong <cyd@gnu.org>
17752
17753 * shell.el (shell-dynamic-complete-functions): Revert last change.
17754 (shell-command-completion-function): New function.
17755 (shell-completion-vars): Use it to implement
17756 shell-completion-execonly (Bug#10417).
17757
17758 * custom.el (enable-theme): Don't set custom-safe-themes.
17759
17760 * cus-theme.el (custom-theme-merge-theme):
17761 Ignore custom-enabled-themes and custom-safe-themes.
17762
17763 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17764
17765 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17766 first prompt in `sql-interacive-mode'.
17767 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17768 keywords.
17769 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17770 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17771 context of original buffer. Invoke `sql-login-hook'.
17772
17773 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17774
17775 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17776 letters in cite-prefix.
17777
17778 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17779
17780 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17781
17782 2012-01-03 Chong Yidong <cyd@gnu.org>
17783
17784 * shell.el (shell-dynamic-complete-functions):
17785 Put pcomplete-completions-at-point, so as to try
17786 comint-filename-completion first (Bug#10417).
17787
17788 2012-01-02 Richard Stallman <rms@gnu.org>
17789
17790 * battery.el (battery-status-function):
17791 Detect when to use battery-yeeloong-sysfs.
17792 (battery-echo-area-format): Add string for Yeeloong.
17793 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17794 (battery-yeeloong-sysfs): New function.
17795
17796 2012-01-02 Chong Yidong <cyd@gnu.org>
17797
17798 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17799 (dirtrack): Merge code for handling relative filenames in prompt
17800 from shell-dir-cookie-watcher.
17801 (dirtrack-debug-message): New arg to avoid excess format calls.
17802
17803 * shell.el (shell-dir-cookie-re): Variable deleted.
17804 (shell-dir-cookie-watcher): Function deleted.
17805 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17806 with dirtrack-mode.
17807
17808 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17809
17810 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17811 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17812 libgnutls-26.dll.
17813
17814 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17815
17816 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17817
17818 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17819
17820 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17821 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17822
17823 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17824
17825 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17826 also for alternative shells.
17827 (tramp-open-connection-setup-interactive-shell): Check, whether
17828 the shell is a busybox.
17829 (tramp-send-command): Don't suppress multiple prompts for
17830 busyboxes, it hurts.
17831
17832 2011-12-28 Chong Yidong <cyd@gnu.org>
17833
17834 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17835 (gdb-get-source-file): Move mode line update to
17836 gdb-get-source-file (Bug#10087).
17837
17838 2011-12-25 Chong Yidong <cyd@gnu.org>
17839
17840 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17841 gud-gdb-marker-filter without taking it as an argument.
17842 (gud-gdb-run-command-fetch-lines): Caller changed.
17843 (gud-gdb-completion-function): New variable.
17844 (gud-gdb-completion-at-point): Use it.
17845 (gud-gdb-completions-1): Split from gud-gdb-completions.
17846
17847 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17848 function as separate arguments.
17849 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17850 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17851 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17852 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17853 (gdb-stopped, def-gdb-auto-update-trigger)
17854 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17855 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17856 Callers changed.
17857 (gud-gdbmi-completions): New function.
17858 (gdb): Use it for generating the completion table.
17859
17860 2011-12-24 Alan Mackenzie <acm@muc.de>
17861
17862 Introduce a mechanism to widen the region used in context font
17863 locking. Use this to protect declarations from losing their contexts.
17864
17865 * progmodes/cc-langs.el (c-before-font-lock-functions):
17866 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17867 (c-before-context-fontification-functions): New defvar, a list of
17868 functions to be run just before context (etc.) font locking.
17869
17870 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17871 New, functionality extracted from
17872 c-neutralize-syntax-in-and-mark-CPP.
17873 (c-in-after-change-fontification): New variable.
17874 (c-after-change): Set c-in-after-change-fontification.
17875 (c-set-fl-decl-start): Rejig its interface, so it can be called
17876 from both after-change and context fontifying.
17877 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17878 New functions.
17879 (c-standard-font-lock-fontify-region-function): New variable.
17880 (c-font-lock-fontify-region): New function.
17881
17882 2011-12-24 Juri Linkov <juri@jurta.org>
17883
17884 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17885 (Bug#10348)
17886
17887 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17888
17889 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17890 existence of source file. (Bug#10325)
17891
17892 2011-12-23 Alan Mackenzie <acm@muc.de>
17893
17894 Fix unstable fontification inside templates.
17895
17896 * progmodes/cc-langs.el (c-before-font-lock-functions):
17897 Newly created from the singular version. The (c c++ objc) entry now
17898 additionally has c-set-fl-decl-start. The other languages (apart
17899 from AWK) have that as a single entry.
17900
17901 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17902 The functionality for "local" declarations has been extracted to
17903 c-set-fl-decl-start.
17904
17905 * progmodes/cc-mode.el (c-common-init, c-after-change):
17906 Changes due to pluralisation of c-before-font-lock-functions.
17907 (c-set-fl-decl-start): New function, extracted from
17908 c-font-lock-enclosing-decls and enhanced.
17909
17910 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17911
17912 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17913
17914 2011-12-22 Juri Linkov <juri@jurta.org>
17915
17916 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17917
17918 2011-12-22 Chong Yidong <cyd@gnu.org>
17919
17920 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17921
17922 2011-12-21 Drew Adams <drew.adams@oracle.com>
17923
17924 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17925
17926 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17927
17928 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17929
17930 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17931
17932 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17933 highlighting and support. Fix up comments for capitalization.
17934 (cfengine-mode-debug): New var.
17935 (cfengine3-mode): Change the modeline indicator to "CFE3".
17936 (cfengine3-font-lock-keywords): Improve defun highlighting.
17937 (cfengine2-actions): Rename from `cfengine-actions'.
17938 (cfengine2-font-lock-keywords): Rename from
17939 `cfengine-font-lock-keywords'.
17940 (cfengine2-imenu-expression): Rename from
17941 `cfengine-imenu-expression'.
17942 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17943 (cfengine2-beginning-of-defun): Rename from
17944 `cfengine-beginning-of-defun'.
17945 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17946 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17947 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17948 modeline indicator to "CFE2".
17949 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17950 (cfengine-mode-abbrevs): Mark obsolete.
17951
17952 2011-12-21 Chong Yidong <cyd@gnu.org>
17953
17954 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17955 filename argument.
17956
17957 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17958
17959 * window.el (window-normalize-buffer-to-display): Remove.
17960 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17961
17962 2011-12-19 Chong Yidong <cyd@gnu.org>
17963
17964 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17965 Don't signal an error in a predicate function; return non-nil.
17966 (vc-dir-mark-file): Move the error here.
17967 (vc-dir-mark-unmark): If acting on the region, keep going if one
17968 of the entries cannot be marked/unmarked.
17969 (vc-dir-mark-all-files): If current entry is a directory, mark
17970 only child files, as documented.
17971
17972 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17973
17974 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17975 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17976 addition.
17977
17978 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17979
17980 * term/ns-win.el (ns-get-selection-internal)
17981 (ns-store-selection-internal): Declare.
17982 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17983 Declare as obsolete.
17984 (ns-get-pasteboard, ns-paste-secondary):
17985 Use ns-get-selection-internal.
17986 (ns-set-pasteboard, ns-copy-including-secondary):
17987 Use ns-store-selection-internal.
17988
17989 2011-12-17 Chong Yidong <cyd@gnu.org>
17990
17991 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17992 (vc-deduce-fileset): Doc fix.
17993
17994 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17995
17996 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17997
17998 2011-12-13 Sam Steingold <sds@gnu.org>
17999
18000 * man.el (Man-getpage-in-background): When running under a
18001 window-system, ignore $MANWIDTH and $COLUMNS.
18002
18003 2011-12-15 Kenichi Handa <handa@m17n.org>
18004
18005 * language/ethio-util.el: Change coding tag to utf-8-emacs.
18006 (setup-ethiopic-environment-internal): Comment out key-binding for
18007 ethio-toggle-punctuation.
18008
18009 2011-12-13 Alan Mackenzie <acm@muc.de>
18010
18011 Add the switch statement to AWK Mode.
18012
18013 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
18014 "default" to the keywords regexp.
18015
18016 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
18017 expression as the rest.
18018 (c-nonlabel-token-key): Allow string literals for AWK.
18019 Refactor for the other modes.
18020
18021 Large brace-block initialisation makes CC Mode slow: Fix.
18022 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
18023 routines. Limit backward searching in c-font-lock-enclosing.decl.
18024
18025 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
18026 pp-state and literal type in addition to the limits.
18027 (c-state-safe-place): New defun, extracted from c-state-literal-at.
18028 (c-state-literal-at): Use the above new defun.
18029 (c-slow-in-literal, c-fast-in-literal): Remove.
18030 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
18031
18032 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
18033 being in a literal. Add a limit for backward searching.
18034
18035 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
18036 c-slow-in-literal.
18037
18038 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
18039
18040 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18041
18042 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18043
18044 * window.el (delete-other-windows): Use correct frame in call to
18045 window-with-parameter.
18046
18047 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18048
18049 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18050 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18051 (makefile-gmake-statements, makefile-makepp-statements):
18052 Use it and add new makepp keywords.
18053 (makefile-makepp-font-lock-keywords): Add new patterns.
18054 (makefile-match-function-end): Match new [...] and [[...]].
18055
18056 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18057
18058 * ses.el (ses-call-printer-return, ses-cell-property-get)
18059 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18060 (ses-create-cell-variable, ses-reset-header-string)
18061 (ses-cell-set-formula, ses-repair-cell-reference-all)
18062 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18063 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18064 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18065 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18066 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18067 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18068 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18069 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18070 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18071 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18072 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18073 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18074
18075 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18076
18077 * ses.el: The overall change is to add cell renaming, that is
18078 setting fancy names for cell symbols other than name matching
18079 "\\`[A-Z]+[0-9]+\\'" regexp .
18080 (ses-create-cell-variable): New defun.
18081 (ses-relocate-formula): Relocate formulas only for cells the
18082 symbols of which are not renamed, i.e. symbols whose names do not
18083 match regexp "\\`[A-Z]+[0-9]+\\'".
18084 (ses-relocate-all): Relocate values only for cells the symbols of
18085 which are not renamed.
18086 (ses-load): Create cells variables as the (ses-cell ...) are read,
18087 in order to check row col consistency with cell symbol name only
18088 for cells that are not renamed.
18089 (ses-replace-name-in-formula): New defun.
18090 (ses-rename-cell): New defun.
18091
18092 2011-12-11 Chong Yidong <cyd@gnu.org>
18093
18094 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18095 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18096
18097 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18098
18099 * window.el (other-window): Fix docstring.
18100
18101 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18102
18103 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18104 `from' or `to' address before taking its substring.
18105 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18106 encoded name is chopped in the middle of the encoded string, and
18107 thus displayed encoded.
18108
18109 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18112
18113 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18114
18115 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18116 to use texinfo-update-node and commands that call it if the
18117 Texinfo file uses @node lines without next/prev/up pointers.
18118 Correct outdated description about texinfo-master-menu.
18119 (texinfo-all-menus-update, texinfo-master-menu)
18120 (texinfo-update-node, texinfo-every-node-update)
18121 (texinfo-multiple-files-update): Doc fix. Warn against updating
18122 all the @node lines.
18123 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18124 argument is numeric. Explain better in the doc string what the
18125 function really does.
18126 (texinfo-insert-master-menu-list): Improve the error message
18127 displayed if there's no menu in the Top node.
18128 (Bug#2975) See also this thread:
18129 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18130
18131 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18132
18133 * speedbar.el (speedbar-supported-extension-expressions):
18134 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18135
18136 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18137
18138 * printing.el (pr-mode-alist):
18139 * simple.el (filter-buffer-substring-functions)
18140 (completion-list-insert-choice-function):
18141 * window.el (window-with-parameter, window-atom-root)
18142 (window-sides-slots, window-size-fixed, window-min-delta)
18143 (window-max-delta, window--resize-mini-window)
18144 (window--resize-child-windows-normal, window-tree)
18145 (delete-other-windows, quit-window, split-window)
18146 (display-buffer-record-window, special-display-buffer-names)
18147 (special-display-regexps, special-display-popup-frame)
18148 (same-window-p, split-window-sensibly)
18149 (display-buffer-overriding-action, display-buffer-alist)
18150 (display-buffer-base-action, display-buffer, switch-to-buffer)
18151 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18152 (fit-window-to-buffer, recenter-positions)
18153 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18154 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18155 and remove unneeded backslashes in docstrings.
18156
18157 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18158
18159 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18160
18161 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18162 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18163 end in ".mk".
18164 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18165 when reading the makefile (bug#10116).
18166
18167 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18168
18169 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18170 (bug#10116).
18171
18172 2011-12-06 Glenn Morris <rgm@gnu.org>
18173
18174 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18175
18176 2011-12-06 Chong Yidong <cyd@gnu.org>
18177
18178 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18179
18180 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18181
18182 * textmodes/table.el (table-shorten-cell): Fix typo.
18183
18184 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18185
18186 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18187
18188 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18189
18190 * descr-text.el (describe-char): Fix display of strong
18191 right-to-left characters and directional embeddings and overrides.
18192
18193 * simple.el (what-cursor-position): Fix display of codepoints of
18194 strong right-to-left characters.
18195
18196 2011-12-05 Chong Yidong <cyd@gnu.org>
18197
18198 * faces.el (read-color): Doc fix.
18199
18200 2011-12-05 Glenn Morris <rgm@gnu.org>
18201
18202 * align.el (align--set-marker): Add doc-string.
18203 Don't try to move something that is not a marker. (Bug#10216)
18204
18205 2011-12-04 Glenn Morris <rgm@gnu.org>
18206
18207 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18208 overly zealous deletion of trailing whitespace.
18209
18210 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18211
18212 * server.el (server-delete-client): On Windows, do not try to delete
18213 the only terminal.
18214 (server-process-filter): On Windows, treat requests for a tty frame as
18215 if they were for a GUI frame if the running server is in GUI mode.
18216
18217 2011-12-03 Glenn Morris <rgm@gnu.org>
18218
18219 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18220
18221 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18222
18223 * electric.el: Streamline electric-indent's hook.
18224 (electric-indent-chars): Revert to simple list.
18225 (electric-indent-functions): New var.
18226 (electric-indent-post-self-insert-function): Use it.
18227
18228 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18229 there's no inferior buffer (bug#10196).
18230 (prolog-consult-compile): Don't use toggle-read-only.
18231
18232 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18233
18234 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18235 interrupt. (Bug#10187)
18236
18237 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18238
18239 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18240 (bug#9160).
18241
18242 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18243 (bug#10191).
18244
18245 2011-12-02 Juri Linkov <juri@jurta.org>
18246
18247 * info.el (Info-search): Display "end of manual" when Isearch
18248 reaches the end of single-file Info manual. (Bug#9918)
18249
18250 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18251
18252 * isearch.el (isearch-message-prefix): Run the input method part
18253 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18254
18255 2011-12-02 Juri Linkov <juri@jurta.org>
18256
18257 * isearch.el (isearch-occur): Use `word-search-regexp' for
18258 `isearch-word'.
18259 (isearch-search-and-update): Add condition for `isearch-word' and
18260 call `word-search-regexp'. (Bug#10145)
18261
18262 2011-12-01 Glenn Morris <rgm@gnu.org>
18263
18264 * eshell/em-hist.el (eshell-hist-initialize):
18265 Handle eshell-history-size nil and HISTSIZE set or unset.
18266 (eshell-history-file-name, eshell-history-size): Fix custom type.
18267
18268 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18269
18270 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18271
18272 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18273
18274 * progmodes/verilog-mode.el (verilog-pretty-expr):
18275 Rework verilog-pretty-expr to handle new assignment operators in system
18276 verilog, such as += *= and the like.
18277 (verilog-assignment-operator-re): Regular expression to find the
18278 assigment operator in a verilog assignment.
18279 (verilog-assignment-operation-re): Regular expression to find an
18280 assignment statement for pretty-expr.
18281 (verilog-in-attribute-p): Query returns true if point is in an
18282 attribute context; used to skip these for expression line up from
18283 pretty-expr.
18284 (verilog-in-parameter-p): Query returns true if point is in an
18285 parameter definition context; used to skip these for expression
18286 line up from pretty-expr.
18287 (verilog-in-parenthesis-p): Query returns true if point is in a
18288 parenthetical expression, specifically ( ) but not [ ] or { };
18289 used by pretty-expr.
18290 (verilog-just-one-space): If there is no space, don't add one.
18291 (verilog-get-lineup-indent-2): Specifically skip just attribute
18292 contexts for expression lineup, rather than skipping all
18293 parenthetical expressions.
18294 (verilog-calculate-indent): Fix comment, and fix indent.
18295 (verilog-do-indent): Indent declarations in lists (suggested by
18296 Joachim Lechner).
18297 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18298 skeleton items.
18299 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18300 by Alain Mellan).
18301
18302 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18303
18304 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18305 parameters with embedded comments. Reported by Ray Stevens.
18306 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18307 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18308 Reported by Tim Holt.
18309 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18310 instantiated by upper module causing wrong expansion until AUTOed a
18311 second time. Reported by K C Buckenmaier.
18312 (verilog-diff-auto): Fix showing .* as a difference when
18313 `verilog-auto-star-save' off. Reported by Dan Dever.
18314 (verilog-auto-reset, verilog-read-always-signals)
18315 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18316 temporary signals in reset list if
18317 verilog-auto-reset-blocking-in-non is nil, and match assignment
18318 style to each signal's assignment type, bug381.
18319 Reported by Thomas Esposito.
18320 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18321 (verilog-uvm-statement-re): Support UVM indentation and
18322 highlighting, with old OVM keywords only.
18323 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18324 Support AUTOTIEOFF creating non-wire data types.
18325 Suggested by Jonathan Greenlaw.
18326 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18327 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18328 (verilog-inject-sense, verilog-read-inst-pins)
18329 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18330 Fix mismatching parenthesis inside commented out code when deleting
18331 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18332 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18333 non-numeric vector width. Reported by Alex Reed.
18334 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18335 detecting signals with parameter widths. Reported by Alex Reed.
18336 (verilog-auto-delete-trailing-whitespace):
18337 With `verilog-auto-delete-trailing-whitespace' remove trailing
18338 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18339 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18340 Fix verilog-scan-cache corruption when running user AUTO expansion
18341 hooks that call indentation routines.
18342 (verilog-simplify-range-expression): Fix typo ignoring lower case
18343 identifiers.
18344 (verilog-delete-auto): Fix delete-autos to also remove user created
18345 automatics, as long as they start with AUTO.
18346 (verilog-batch-diff-auto, verilog-diff-auto)
18347 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18348 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18349 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18350 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18351 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18352 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18353 is disabled and its cache will get corrupt, causing AUTOS not to
18354 expand. Instead use only -quick functions.
18355 (verilog-scan-region): Fix scanning over escaped quotes.
18356 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18357 (verilog-re-search-backward-quick)
18358 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18359 related functions now ignore strings, to fix misparsing of strings
18360 with magic comments embedded in them.
18361 (verilog-read-auto-template):
18362 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18363 Reported by Brad Dobbie.
18364 (verilog-read-auto-template):
18365 Fix 'verilog-auto-inst-template-numbers' with comments.
18366 Reported by Brad Dobbie.
18367 (verilog-auto-inst, verilog-auto-inst-param)
18368 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18369 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18370 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18371 debugging templates without merge conflicts, bug357.
18372 Reported by Brad Dobbie.
18373 (verilog-read-auto-template):
18374 Fix verilog-auto-inst-template-numbers with multiple templates.
18375 Reported by Brad Dobbie.
18376 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18377 abbrevs so user won't be asked to save.
18378 (verilog-read-auto-lisp-present): Fix to start at beginning of
18379 buffer in case called outside of verilog-auto.
18380 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18381 to "X-2". Reported by Matthew Myers.
18382 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18383 all inputs from module templates. Reported by Leith Johnson.
18384 (verilog-module-inside-filename-p): Fix locating programs as with
18385 modules.
18386 (verilog-auto-inst-port): Fix vl-width expressions when using
18387 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18388 (verilog-decls-get-regs, verilog-decls-get-signals,
18389 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18390 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18391 verilog-read-decls): Combine reg and wire structures into one var
18392 structure to represent SystemVerilog concepts.
18393 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18394 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18395 (verilog-auto-wire-type, verilog-insert-definition):
18396 Add verilog-auto-wire-type and AUTOLOGIC to support using
18397 SystemVerilog "logic" keyword instead of "wire"/"reg".
18398 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18399 to declares outputs that also have assignments (presumably in an
18400 ifdef or generate if so there's not a driver conflict).
18401 Reported by Matthew Myers.
18402 (verilog-auto-declare-nettype, verilog-insert-definition):
18403 Add verilog-auto-declare-nettype to fix declarations using
18404 `default_nettype none. Reported by Julian Gorfajn.
18405 (verilog-read-always-signals-recurse, verilog-read-decls)
18406 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18407 malformed end statement, bug325. Reported by Joshua Wise and
18408 Andrew Drake.
18409 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18410 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18411 when expanding .* in interfaces, bug320.
18412 Reported by Pierre-David Pfister.
18413 (verilog-read-module-name): Fix import statements between module
18414 name and open parenthesis, bug317.
18415 Reported by Pierre-David Pfister.
18416 (verilog-simplify-range-expression): Fix simplification of
18417 multiplications inside AUTOWIRE connections, bug303.
18418 (verilog-auto-inst-port): Support parameter expansion in
18419 multidimensional arrays.
18420 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18421 after "assert property". Reported by Julian Gorfajn.
18422 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18423 with multiplication, bug303.
18424 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18425 Reported by Jan Frode Lonnum.
18426
18427 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18428
18429 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18430 (hfy-shell-file-name, hfy-shell):
18431 * international/fontset.el (x-decompose-font-name): Fix typos.
18432
18433 2011-11-29 Ken Brown <kbrown@cornell.edu>
18434
18435 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18436 (gdb-version): Remove defvar.
18437 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18438 (gdb-gud-context-command, gdb-non-stop-handler)
18439 (gdb-current-context-command, gdb-stopped): Use it.
18440 (gdb-init-1): Enable pretty printing here.
18441 (gdb-non-stop-handler): Don't enable pretty-printing here.
18442 Check to see if the target supports non-stop mode; if not, turn off
18443 non-stop mode. Use the following.
18444 (gdb-check-target-async): New defun.
18445 (gud-watch, gdb-stopped): Fix whitespace.
18446 (gdb-get-source-file): Don't try to display the source file if
18447 `gdb-main-file' is nil.
18448
18449 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * align.el: Try to generate fewer markers (bug#10047).
18452 (align--set-marker): New macro.
18453 (align-region): Use it.
18454
18455 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18456
18457 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18458
18459 2011-11-29 Chong Yidong <cyd@gnu.org>
18460
18461 * indent.el (indent-for-tab-command, indent-according-to-mode):
18462 Doc fix.
18463 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18464
18465 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18466
18467 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18468 aware of remote file names. (Bug#10124)
18469
18470 2011-11-29 Chong Yidong <cyd@gnu.org>
18471
18472 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18473
18474 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18475
18476 * files.el (find-file): Don't use force-same-window (bug#10144).
18477 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18478 use pop-to-buffer if the selected window can't be used.
18479 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18480
18481 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18482
18483 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18484 special-mode-map.
18485
18486 2011-11-28 Chong Yidong <cyd@gnu.org>
18487
18488 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18489
18490 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18491
18492 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18493 gdb-get-source-file-list on gdb-create-source-file-list.
18494
18495 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18496
18497 * whitespace.el (whitespace-newline): Use a different foreground
18498 color for 16-color light-background displays.
18499
18500 2011-11-24 Chong Yidong <cyd@gnu.org>
18501
18502 * window.el (display-buffer--special-action): Doc fix.
18503
18504 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18505
18506 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18507 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18508 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18509 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18510 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18511 (avl-tree-stack-first):
18512 * emacs-lisp/cconv.el (cconv--analyse-use):
18513 * net/gnutls.el (gnutls-negotiate): Fix typos.
18514
18515 2011-11-24 Glenn Morris <rgm@gnu.org>
18516
18517 * lpr.el (lpr-windows-system, lpr-lp-system):
18518 * mail/binhex.el (binhex-begin-line):
18519 * progmodes/grep.el (grep-history, grep-find-history):
18520 * textmodes/flyspell.el:
18521 * vc/pcvs-defs.el (cvs-global-menu):
18522 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18523 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18524 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18525
18526 * net/tls.el: Fix case of "GnuTLS".
18527
18528 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18529
18530 * version.el (emacs-build-system): Give it a doc-string.
18531
18532 2011-11-24 Juri Linkov <juri@jurta.org>
18533
18534 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18535
18536 2011-11-24 Glenn Morris <rgm@gnu.org>
18537
18538 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18539 if called on a non-mime message just toggle the headers. (Bug#8006)
18540
18541 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18542
18543 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18544 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18545 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18546 (allout-rebullet-heading, allout-open-sibtopic)
18547 (allout-toggle-current-subtree-encryption)
18548 (allout-toggle-subtree-encryption, allout-encrypt-string)
18549 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18550 (allout-distinctive-bullets-string, allout-auto-activation):
18551 * window.el (window-normalize-buffer-to-display):
18552 * progmodes/verilog-mode.el (verilog-batch-indent):
18553 * textmodes/bibtex.el (bibtex-field-braces-opt)
18554 (bibtex-field-strings-opt):
18555 * vc/cvs-status.el (cvs-tree-merge):
18556 Fix typos.
18557
18558 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18559
18560 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18561 `non-essential' to t, in order to avoid remote connections.
18562
18563 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18564
18565 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18566 On MS-DOS and MS-Windows, compare with loaddefs.el
18567 case-insensitively.
18568
18569 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18570
18571 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18572
18573 2011-11-23 Glenn Morris <rgm@gnu.org>
18574
18575 * paths.el (rmail-file-name): Reformat the doc-string so that it
18576 is picked up.
18577
18578 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18579 (rmail-auto-file): Ignore case in the "special" field names,
18580 as mail-fetch-field does for all others.
18581
18582 * mail/rmail.el (rmail-forward):
18583 * mail/rmailkwd.el (rmail-set-label):
18584 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18585 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18586
18587 * mail/rmail.el (rmail-current-message): Doc fix.
18588
18589 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18590
18591 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18592
18593 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18594
18595 2011-11-22 Glenn Morris <rgm@gnu.org>
18596
18597 * mail/rmailmm.el (test-rmail-mime-handler)
18598 (test-rmail-mime-bulk-handler)
18599 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18600
18601 2011-11-21 Juri Linkov <juri@jurta.org>
18602
18603 * calc/calc.el (calc-read-key-sequence):
18604 Let-bind `input-method-function' to nil. (Bug#10018)
18605
18606 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18607
18608 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18609 Tell the caller that the next line needs recomputation, even
18610 though it doesn't start a sexp (bug#10094).
18611
18612 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18613
18614 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18615
18616 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18617
18618 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18619 Use force-same-window.
18620
18621 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18622
18623 * descr-text.el (describe-char-unicode-data):
18624 * json.el (json-string-escape):
18625 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18626 (Footnote-unicode, Footnote-style-p):
18627 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18628
18629 2011-11-20 Chong Yidong <cyd@gnu.org>
18630
18631 * window.el (replace-buffer-in-windows): Restore interactive spec.
18632
18633 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18634
18635 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18636
18637 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18638 (byte-compile-global-not-obsolete-vars): New var.
18639 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18640 Use it.
18641 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18642
18643 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18644
18645 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18646 * progmodes/pascal.el (electric-pascal-equal):
18647 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18648 * xml.el (xml-substitute-special): Fix typos.
18649
18650 2011-11-20 Glenn Morris <rgm@gnu.org>
18651
18652 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18653 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18654 Doc fixes.
18655 (rmail-decode-mime-charset): Mark as obsolete.
18656
18657 * mail/rmailsum.el (rmail-message-regexp-p-1):
18658 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18659 Before using mime functions, check they are set. (Bug#10077)
18660
18661 2011-11-19 Juri Linkov <juri@jurta.org>
18662
18663 * info.el (Info-finder-find-node): Use `package--builtins' instead
18664 of `package-alist'. Use node names formed by the pattern "Keyword "
18665 and the keyword name.
18666
18667 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18668
18669 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18670
18671 2011-11-19 Juri Linkov <juri@jurta.org>
18672
18673 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18674 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18675 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18676 `old-history', `old-history-forward'. Add let-binding
18677 `window-selected'. Remove calls to `kill-buffer',
18678 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18679 before calling `Info-find-node', so `Info-find-node-2' will reread
18680 the Info file. Restore window positions only when `window-selected'
18681 is non-nil.
18682
18683 2011-11-19 Juri Linkov <juri@jurta.org>
18684
18685 * isearch.el (isearch-lazy-highlight-new-loop):
18686 Remove condition `(not isearch-error)'. (Bug#9918)
18687
18688 * misearch.el (multi-isearch-search-fun): Add condition
18689 `(not bound)' to ignore lazy-highlighting search.
18690 Add the search-failed message "end of multi" when the end of
18691 multi-sequence is reached. Uncapitalize the search-failed
18692 message "Repeat for next buffer".
18693
18694 * info.el (Info-search): Add the search-failed message
18695 "end of the manual" when the end of the manual is reached
18696 in Isearch mode.
18697
18698 2011-11-19 Juri Linkov <juri@jurta.org>
18699
18700 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18701 Use non-destructive `remove' instead of `delete' because
18702 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18703 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18704
18705 2011-11-19 Juri Linkov <juri@jurta.org>
18706
18707 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18708 to nil instead of binding `search-ring' and `regexp-search-ring'.
18709 (Bug#9185)
18710
18711 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18712
18713 * simple.el (line-move): Force movement by logical lines for any
18714 hscrolled window, not only when auto-hscroll-mode is on.
18715 (line-move-visual): Update doc string to that effect. (Bug#10076)
18716
18717 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18718
18719 * language/european.el (macintosh): Define as alias for mac-roman.
18720
18721 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18722
18723 * mail/rmailmm.el (rmail-mime-display-header)
18724 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18725 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18726 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18727 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18728 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18729 of a raw aref.
18730 (rmail-mime-entity-segment): To get past the tagline, move forward
18731 2 more lines, to account for the 2 empty lines that precede and
18732 follow the line with the buttons.
18733 (rmail-mime-update-tagline): Move one more line, to get past the
18734 empty line that follows the buttons in the tagline. (Bug#9520)
18735
18736 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18737
18738 * window.el (window-max-delta-1, window-min-delta-1)
18739 (window-min-size-1, window-state-get-1, window-state-put-1)
18740 (window-state-put-2): Use "window--" prefix.
18741
18742 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18743
18744 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18745 (smie-warning-count): New var.
18746 (smie-set-prec2tab): Use it.
18747 (smie-bnf->prec2): Improve warnings. Add docstring.
18748 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18749 (smie-bnf--set-class): New function.
18750 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18751 corner case.
18752
18753 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18754 (compilation-error-properties, compilation-move-to-column):
18755 Handle compilation-first-column while in the target buffer.
18756
18757 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18758 Don't hardcode point-min==1.
18759
18760 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18761 (eshell-rewrite-for-command): Remove workaround.
18762 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18763 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18764 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18765
18766 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18767
18768 2011-11-17 Glenn Morris <rgm@gnu.org>
18769
18770 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18771 Ignore buffer-local generated-autoload-file if it is the same
18772 as the global value. (Bug#10049)
18773
18774 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18775
18776 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18777 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18778 (reftex-toc-previous-heading, reftex-toc-max-level)
18779 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18780 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18781 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18782 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18783 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18784 (reftex-toc-rename-label, reftex-toc-visit-location)
18785 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18786 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18787 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18788 leaving "*toc*" only for references to the buffer.
18789
18790 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18791
18792 * window.el (window-resize, delete-window, split-window):
18793 Replace window-splits by window-combination-resize.
18794 * cus-start.el (window-splits): Replace by window-combination-resize.
18795
18796 2011-11-17 Glenn Morris <rgm@gnu.org>
18797
18798 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18799 Make bash entry derive from sh entry, not shell entry.
18800
18801 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18802
18803 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18804 local file name.
18805
18806 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18807
18808 * menu-bar.el (menu-bar-file-menu):
18809 * printing.el (pr-ps-utility):
18810 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18811 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18812 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18813 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18814 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18815 (icalendar--convert-cyclic-to-ical)
18816 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18817 (icalendar--convert-ical-to-diary)
18818 (icalendar--convert-recurring-to-diary)
18819 (icalendar--convert-non-recurring-all-day-to-diary)
18820 (icalendar-import-format-sample):
18821 * progmodes/idlw-shell.el (idlwave-shell-mode):
18822 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18823 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18824 (vhdl-ps-print-init): Fix typos.
18825
18826 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18827
18828 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18829 FSF and collapse date sequence, obscure author/maintainer email address
18830 better, remove extra version line, track relocation of author's webpage.
18831
18832 * progmodes/python.el (python-pdbtrack-input-prompt)
18833 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18834 regular python pdb prompts. Adjustments shamelessly taken exactly as
18835 suggested in EmacsWiki page (tiny change):
18836 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18837
18838 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18839
18840 * expand.el (expand-pos, expand-index, expand-point):
18841 Remove redundant info from docstring.
18842 (expand-add-abbrevs): Doc fix.
18843 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18844 (expand-sample-perl-mode-expand-list): Fix typos.
18845
18846 * net/dbus.el (dbus-event-member-name):
18847 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18848 * term/pc-win.el (msdos-create-frame-with-faces):
18849 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18850
18851 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18852
18853 * window.el (split-window, window-state-get-1)
18854 (window-state-put-1, window-state-put-2): Rename occurrences of
18855 window-nest to window-combination-limit.
18856 * cus-start.el (window-nest): Rename to window-combination-limit.
18857
18858 2011-11-16 Chong Yidong <cyd@gnu.org>
18859
18860 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18861 regexp (Bug#10033).
18862
18863 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18864
18865 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18866 `completing-read' will remove *Completions* and will preserve
18867 current-buffer for us.
18868 (tmm-add-prompt): Users of *Completions* will always (re)set its
18869 major mode.
18870 (tmm-old-comp-map): Remove.
18871
18872 2011-11-16 Glenn Morris <rgm@gnu.org>
18873
18874 * mail/rmailedit.el: Require rmailmm when compiling.
18875 (rmail-old-mime-state): New declaration.
18876 (rmail-edit-current-message): If editing a mime message,
18877 edit the "raw" message from the mbox buffer.
18878 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18879
18880 2011-11-15 Glenn Morris <rgm@gnu.org>
18881
18882 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18883 which wasn't being used. Add optional arg to force given state.
18884 (rmail-mime): Add optional arg to force given state.
18885
18886 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18887
18888 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18889 * frame.el (display-mm-dimensions-alist):
18890 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18891 (outline-move-subtree-down):
18892 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18893 (newsticker--treeview-do-get-node):
18894 * net/quickurl.el (quickurl-list-buffer-name):
18895 * progmodes/dcl-mode.el (dcl-mode):
18896 * progmodes/gdb-mi.el (gdb-mapcar*):
18897 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18898
18899 2011-11-15 Glenn Morris <rgm@gnu.org>
18900
18901 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18902 in a boolean sense, so just make it a boolean, and fix the doc.
18903 (rmail-show-mime-function, rmail-mime-feature)
18904 (rmail-require-mime-maybe): Doc fixes.
18905 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18906
18907 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18908
18909 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18910
18911 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18912 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18913 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18914 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18915
18916 2011-11-15 Glenn Morris <rgm@gnu.org>
18917
18918 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18919 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18920 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18921 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18922 (rmail-mime, rmail-show-mime): Doc fixes.
18923
18924 * term/ns-win.el (mode-line-frame-identification):
18925 Leave it alone. (Bug#10051)
18926
18927 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18928
18929 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18930 Handle empty buffers. (Bug#9978)
18931
18932 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18933
18934 * international/mule.el (define-charset):
18935 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18936 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18937 * progmodes/verilog-mode.el (verilog-backward-token):
18938 * textmodes/ispell.el (lookup-words):
18939 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18940
18941 2011-11-14 Glenn Morris <rgm@gnu.org>
18942
18943 * progmodes/executable.el
18944 (executable-make-buffer-file-executable-if-script-p):
18945 Handle file-modes returning nil.
18946
18947 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18948 message - not necessary, and causes problems. (Bug#9831)
18949
18950 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18951
18952 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18953
18954 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18955 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18956 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18957
18958 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18959
18960 * window.el (window-resize, delete-window): Use window-splits
18961 variable instead of function.
18962 (window-state-get-1, window-state-put-2, window-state-put):
18963 Don't deal with windows' splits status.
18964
18965 2011-11-12 Glenn Morris <rgm@gnu.org>
18966
18967 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18968 (apropos-documentation): Doc fixes.
18969
18970 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18971
18972 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18973 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18974
18975 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18976
18977 * electric.el (electric-indent-post-self-insert-function): Make it
18978 possible for a char to only indent in some circumstances.
18979 (electric-indent-mode): Simplify.
18980
18981 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18982
18983 * window.el (windows-with-parameter): Remove unused function.
18984 (windows-at-side): Rename to window-at-side-list.
18985 (window-check, window-atom-check, window-atom-check-1)
18986 (window-side-check, window-size-ignore, window-size-fixed-1)
18987 (window-in-direction-2): Prefix with "window--".
18988 (window-tree-1): Rename to window--subtree, fix doc-string.
18989
18990 2011-11-11 Glenn Morris <rgm@gnu.org>
18991
18992 * subr.el (eval-after-load): If FILE is already loaded,
18993 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18994
18995 2011-11-10 Glenn Morris <rgm@gnu.org>
18996
18997 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18998 Call svn via vc-svn-command rather than vc-do-command.
18999 (vc-svn-command): Add --non-interactive. (Bug#9993)
19000 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
19001
19002 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19003 Add toggle-read-only. (Bug#7292)
19004 * files.el (toggle-read-only): Mention that it should only
19005 be used interactively. (Bug#10006)
19006
19007 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
19008
19009 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19010 Adjust regexp for OCaml warnings.
19011
19012 * electric.el (electric-pair-post-self-insert-function): Let user
19013 turn it off buffer-locally (bug#9932).
19014
19015 * progmodes/python.el (python-beginning-of-statement):
19016 Rewrite (bug#2703).
19017
19018 * progmodes/compile.el: Better handle TABs (bug#9749).
19019 (compilation-internal-error-properties)
19020 (compilation-next-error-function): Obey the target buffer's
19021 compilation-error-screen-columns.
19022
19023 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
19024
19025 * progmodes/meta-mode.el: Remove obsolete comments.
19026 (meta-right-comment-regexp, meta-ignore-comment-regexp):
19027 Fix typos in docstrings.
19028
19029 2011-11-09 Martin Rudalics <rudalics@gmx.at>
19030
19031 * window.el (window-size-fixed-p): Rewrite doc-string.
19032 (window-resizable-p): Rename to window--resizable-p. Update callers.
19033 (window--resizable): New function. Make all callers of
19034 window-resizable call window--resizable instead.
19035 (window-resizable): Rewrite in terms of window--resizable.
19036
19037 2011-11-08 Glenn Morris <rgm@gnu.org>
19038
19039 * progmodes/delphi.el (delphi-mode-syntax-table):
19040 Let define-derived-mode define a proper syntax table. (Bug#9994)
19041
19042 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19043
19044 * window.el: Stay away from defsubst.
19045 (window-list-no-nils): Remove.
19046 (window-state-get-1, window-state-get): Use backquote instead.
19047
19048 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19049
19050 * emacs-lisp/find-func.el (find-function-read):
19051 Fix incorrect use of default argument in `completing-read'.
19052
19053 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19054
19055 * window.el (display-buffer-function, special-display-function):
19056 Mention display-buffer-record-window but do not mention
19057 help-setup parameter in doc-strings.
19058 (window-min-delta): Fix doc-string typo.
19059
19060 2011-11-08 Chong Yidong <cyd@gnu.org>
19061
19062 * window.el (window-total-height, window-total-width): Doc fix.
19063 (window-body-size): Move from C.
19064 (window-body-height, window-body-width): Move to C.
19065
19066 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19067
19068 * window.el: Make special-display like display-buffer-alist (bug#9532).
19069 (display-buffer--special-action): New function, morphed
19070 from display-buffer--special.
19071 (display-buffer): Use it to handle special-display-buffers at higher
19072 priority (just after display-buffer-alist).
19073 (display-buffer-fallback-action, display-buffer--other-frame-action)
19074 (pop-to-buffer-same-window): Remove display-buffer--special.
19075
19076 2011-11-07 Glenn Morris <rgm@gnu.org>
19077
19078 * calendar/cal-menu.el (cal-menu-set-date-title):
19079 Do nothing if not in a calendar. (Bug#9976)
19080
19081 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19082
19083 * files.el (find-file): Always use selected-window.
19084
19085 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19086
19087 * window.el (window-combinations): Make WINDOW argument
19088 mandatory. Rewrite doc-string.
19089 (walk-window-subtree, window-atom-check, window-min-delta)
19090 (window-max-delta, window--resize-this-window)
19091 (window--resize-root-window-vertically, window-tree)
19092 (balance-windows, window-state-put): Rewrite doc-strings as to
19093 not mention the term "subwindow".
19094 (window--resize-subwindows-skip-p): Rename to
19095 window--resize-child-windows-skip-p.
19096 (window--resize-subwindows-normal): Rename to
19097 window--resize-child-windows-normal.
19098 (window--resize-subwindows): Rename to
19099 window--resize-child-windows.
19100 (window-or-subwindow-p): Rename to window--in-subtree-p.
19101
19102 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19103
19104 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19105 Ensure that mbox format messages end in two newlines (Bug#9974).
19106
19107 2011-11-06 Chong Yidong <cyd@gnu.org>
19108
19109 * window.el (window-combination-p): Function deleted; its
19110 side-effect is not used in any existing code.
19111 (window-combinations, window-combined-p): Call window-*-child
19112 directly.
19113
19114 2011-11-05 Chong Yidong <cyd@gnu.org>
19115
19116 * window.el (window-valid-p): Rename from window-any-p.
19117 (window-size-ignore, window-state-get): Callers changed.
19118 (window-normalize-window): Rename from window-normalize-any-window.
19119 New arg LIVE-ONLY, replacing window-normalize-live-window.
19120 (window-normalize-live-window): Delete.
19121 (window-combination-p, window-combined-p, window-combinations)
19122 (walk-window-subtree, window-atom-root, window-min-size)
19123 (window-sizable, window-sizable-p, window-size-fixed-p)
19124 (window-min-delta, window-max-delta, window-resizable)
19125 (window-resizable-p, window-full-height-p, window-full-width-p)
19126 (window-current-scroll-bars, window-point-1, set-window-point-1)
19127 (window-at-side-p, window-in-direction, window-resize)
19128 (adjust-window-trailing-edge, maximize-window, minimize-window)
19129 (window-deletable-p, delete-window, delete-other-windows)
19130 (record-window-buffer, unrecord-window-buffer)
19131 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19132 (quit-window, split-window, window-state-put)
19133 (set-window-text-height, fit-window-to-buffer)
19134 (shrink-window-if-larger-than-buffer): Callers changed.
19135
19136 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19137
19138 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19139 rfc2047-decode-string.
19140 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19141 warnings.
19142
19143 * window.el (window-body-height, window-body-width): Mention in
19144 the doc string that the return values are in frame's canonical
19145 units. (Bug#9949)
19146
19147 2011-11-03 Alan Mackenzie <acm@muc.de>
19148
19149 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19150 change in cc-engine.el.
19151
19152 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19153
19154 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19155
19156 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19157
19158 * window.el (quit-window): Call unrecord-window-buffer after
19159 showing another buffer in the window. (Bug#9937)
19160 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19161
19162 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19163
19164 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19165 Accept status with more than 9 shelves. (Bug#9935)
19166 Reported by Colin D Bennett <colin@gibibit.com>.
19167
19168 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19169
19170 * help.el (with-help-window): Don't reference
19171 temp-buffer-show-specifiers in doc-string.
19172
19173 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19174
19175 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19176 menu-item.
19177
19178 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19179
19180 * whitespace.el: New version 13.2.2.
19181 (whitespace-newline-mode): Disable properly. Reported by Sarah
19182 <EmacsWiki>.
19183
19184 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19185
19186 * net/newst-treeview.el: Remove "Time-stamp".
19187 (newsticker--group-manage-orphan-feeds): Do not call
19188 newsticker--treeview-tree-update.
19189 (newsticker-treeview-update, newsticker-treeview):
19190 Call newsticker--treeview-tree-update if necessary.
19191
19192 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19193
19194 * window.el (window-iso-combination-p, window-iso-combined-p)
19195 (window-iso-combinations): Remove "iso-" infix.
19196 Suggested by Chong Yidong.
19197 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19198 (window-max-delta-1, window-resize, window--resize-siblings)
19199 (window--resize-this-window, adjust-window-trailing-edge)
19200 (split-window, balance-windows-1)
19201 (shrink-window-if-larger-than-buffer):
19202 * calendar/calendar.el (calendar-generate-window):
19203 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19204
19205 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19206
19207 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19208 in place (bug#9907).
19209 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19210 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19211 (eshell-structure-basic-command, eshell-rewrite-while-command)
19212 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19213 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19214 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19215 (eshell-do-pipelines-synchronously, eshell-eval-command):
19216 Use backquotes and prefer setq to set.
19217 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19218 (eshell-macrop): Use functionp.
19219 (eshell-do-eval): Handle multiple expressions in `while' body.
19220
19221 2011-10-30 Chong Yidong <cyd@gnu.org>
19222
19223 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19224 instead of set-mark (Bug#9810).
19225
19226 2011-10-30 Chong Yidong <cyd@gnu.org>
19227
19228 * window.el (split-window-below, split-window-right): Rename from
19229 split-window-above-each-other and split-window-side-by-side
19230 respectively. All callers changed.
19231 (split-window-sensibly, split-window-sensibly): Use them.
19232 (split-window-keep-point): Doc fix.
19233
19234 * isearch.el: Add isearch-scroll property to split-window-below
19235 and split-window-right.
19236
19237 * follow.el (follow-mode):
19238 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19239 * progmodes/ada-xref.el (ada-gdb-application):
19240 * emulation/vip.el (vip-buffer-in-two-windows):
19241 * image-dired.el (image-dired-dired-with-window-configuration):
19242 * dired-x.el (dired-do-find-marked-files):
19243 * dired.el (dired-pop-to-buffer):
19244 * bs.el (bs--show-with-configuration):
19245 * vc/emerge.el (emerge-setup-windows):
19246 * textmodes/two-column.el (2C-two-columns):
19247 * textmodes/reftex-toc.el (reftex-toc):
19248 * progmodes/gdb-mi.el (gdb-setup-windows):
19249 * progmodes/fortran.el (fortran-window-create):
19250 * net/newst-treeview.el (newsticker--treeview-window-init):
19251 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19252 * emulation/tpu-edt.el (tpu-gold-map):
19253 * emulation/crisp.el (crisp-mode-map):
19254 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19255
19256 2011-10-29 Chong Yidong <cyd@gnu.org>
19257
19258 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19259
19260 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19261
19262 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19263 forged Ispell output (Bug#7904).
19264
19265 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19266
19267 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19268
19269 * doc-view.el: Avoid ugly errors about not finding nil.
19270 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19271 (doc-view-dvipdf-program, doc-view-unoconv-program)
19272 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19273 Avoid nil or absolute file name as default value.
19274 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19275
19276 2011-10-28 Alan Mackenzie <acm@muc.de>
19277
19278 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19279
19280 2011-10-28 Alan Mackenzie <acm@muc.de>
19281
19282 Amend the handling of c-beginning/end-of-defun in nested declaration
19283 scopes.
19284
19285 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19286 cc-langs.el. Change it to a defcustom.
19287
19288 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19289 cc-vars.el.
19290
19291 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19292 Prevent "class foo : bar" being spuriously recognized as a label.
19293
19294 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19295 Add parameter `inclusive' (to include enclosing braces in the region).
19296 (c-widen-to-enclosing-decl-scope): New function.
19297 (c-while-widening-to-decl-block): New macro.
19298 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19299 outward for defun boundaries, and correspondingly change symbol
19300 `respect-enclosure' to `go-outward'.
19301 (c-declaration-limits): Change algorithm to report only the "innermost"
19302 defun's boundaries.
19303
19304 2011-10-28 Deniz Dogan <deniz@dogan.se>
19305
19306 * net/rcirc.el (rcirc-mode): Use hard newlines.
19307
19308 2011-10-28 Alan Mackenzie <acm@muc.de>
19309
19310 Amend to indent and fontify macros "which include their own semicolon"
19311 correctly, using the "virtual semicolon" mechanism.
19312
19313 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19314
19315 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19316 Recode to scan one line at a time rather than having \n and \r
19317 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19318 (c-forward-label): Amend for virtual semicolons.
19319 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19320
19321 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19322 of the new C macros.
19323
19324 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19325 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19326 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19327 (c-opt-cpp-macro-define): Make into a full language variable.
19328 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19329 AWK Mode (including \n, \r) removed, no longer needed.
19330
19331 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19332 Invoke c-make-macro-with-semi-re.
19333
19334 * progmodes/cc-vars.el (c-macro-with-semi-re):
19335 (c-macro-names-with-semicolon): New variables.
19336 (c-make-macro-with-semi-re): New function.
19337
19338 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19339
19340 * vc/log-edit.el: Fill empty field rather than adding new one.
19341 (log-edit-add-field): New function.
19342 (log-edit-insert-changelog): Use it.
19343
19344 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19345
19346 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19347
19348 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19349
19350 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19351 (gdb--check-interpreter): New function.
19352 (gdb): Use it.
19353
19354 2011-10-27 Glenn Morris <rgm@gnu.org>
19355
19356 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19357 (least-positive-float, least-negative-float)
19358 (least-positive-normalized-float, least-negative-normalized-float)
19359 (float-epsilon, float-negative-epsilon):
19360 Remove unnecessary declarations.
19361
19362 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19363 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19364 (least-positive-float, least-negative-float)
19365 (least-positive-normalized-float, least-negative-normalized-float)
19366 (float-epsilon, float-negative-epsilon): Add doc-strings,
19367 based on those in cl.texi.
19368
19369 * files.el (set-visited-file-name): If the major-mode changed,
19370 reload the local variables. (Bug#9796)
19371
19372 2011-10-27 Chong Yidong <cyd@gnu.org>
19373
19374 * subr.el (change-major-mode-after-body-hook): New hook.
19375 (run-mode-hooks): Run it.
19376
19377 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19378 Use change-major-mode-before-body-hook.
19379
19380 * simple.el (fundamental-mode):
19381 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19382 change introducing fundamental-mode-hook.
19383
19384 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19385
19386 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19387
19388 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19389
19390 * ido.el (ido-file-name-all-completions-1): Do not require
19391 tramp.el explicitly. (Bug#7583)
19392
19393 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19394
19395 * progmodes/octave-mod.el:
19396 * progmodes/octave-inf.el: Update maintainer.
19397
19398 2011-10-26 Chong Yidong <cyd@gnu.org>
19399
19400 * subr.el (with-wrapper-hook): Rewrite doc.
19401
19402 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19403
19404 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19405 filenames "/method:foo:". (Bug#9793)
19406
19407 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19408
19409 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19410 (bug#9865).
19411
19412 2011-10-24 Glenn Morris <rgm@gnu.org>
19413
19414 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19415
19416 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19417
19418 * notifications.el: Add the requirement of a running D-Bus session
19419 bus to the Commentary.
19420
19421 2011-10-24 Juri Linkov <juri@jurta.org>
19422
19423 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19424 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19425 (Bug#9364)
19426
19427 2011-10-24 Juri Linkov <juri@jurta.org>
19428
19429 * info.el (Info-following-node-name-re): Add newline to the list
19430 of allowed characters for leading space. (Bug#9824)
19431
19432 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19433
19434 * progmodes/octave-inf.el (inferior-octave-mode-map):
19435 Fix C-c C-h binding.
19436 * progmodes/octave-mod.el (octave-help): Remove.
19437
19438 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19439
19440 Sync with Tramp 2.2.3.
19441
19442 * net/tramp-cache.el (top): Pacify byte-compiler using
19443 `init-file-user' and `site-run-file'.
19444
19445 * net/trampver.el: Update release number.
19446
19447 2011-10-23 Chong Yidong <cyd@gnu.org>
19448
19449 * files.el (toggle-read-only): Remove obsolete comment about
19450 version control.
19451
19452 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19453 for toggle-read-only. Note that this hasn't called vc-next-action
19454 since 2008-05-02, though it wasn't documented at the time.
19455
19456 * vc/ediff-init.el (ediff-toggle-read-only-function):
19457 Use toggle-read-only.
19458
19459 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19460
19461 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19462 of c-parse-state.
19463
19464 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19465 correct faulty logical expression.
19466 (c-parse-state-state, c-record-parse-state-state):
19467 (c-replay-parse-state-state): New defvar/defuns.
19468 (c-debug-parse-state): Use new functions.
19469
19470 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19471
19472 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19473 last fix. Use window-in-direction correctly.
19474
19475 2011-10-21 Chong Yidong <cyd@gnu.org>
19476
19477 * progmodes/idlwave.el (idlwave-mode):
19478 * progmodes/vera-mode.el (vera-mode): No need to set
19479 require-final-newline; that's done in prog-mode.
19480 Suggested by Stefan Monnier.
19481
19482 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19483
19484 * mouse.el (mouse-drag-window-above)
19485 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19486 (mouse-drag-mode-line-1, mouse-drag-header-line)
19487 (mouse-drag-vertical-line-rightward-window): Remove.
19488 (mouse-drag-line): New function.
19489 (mouse-drag-mode-line, mouse-drag-header-line)
19490 (mouse-drag-vertical-line): Call mouse-drag-line.
19491 * window.el (window-at-side-p, windows-at-side): New functions.
19492
19493 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19494
19495 * tar-mode.el (tar-grind-file-mode):
19496 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19497
19498 2011-10-21 Chong Yidong <cyd@gnu.org>
19499
19500 * progmodes/idlwave.el (idlwave-mode):
19501 * progmodes/vera-mode.el (vera-mode):
19502 Use mode-require-final-newline.
19503
19504 2011-10-20 Glenn Morris <rgm@gnu.org>
19505
19506 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19507
19508 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19509
19510 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19511
19512 2011-10-20 Chong Yidong <cyd@gnu.org>
19513
19514 * emulation/cua-base.el (cua-mode):
19515 * mail/footnote.el (footnote-mode):
19516 * mail/mailabbrev.el (mail-abbrevs-mode):
19517 * net/xesam.el (xesam-minor-mode):
19518 * progmodes/bug-reference.el (bug-reference-mode):
19519 * progmodes/cap-words.el (capitalized-words-mode):
19520 * progmodes/compile.el (compilation-minor-mode)
19521 (compilation-shell-minor-mode):
19522 * progmodes/gud.el (gud-tooltip-mode):
19523 * progmodes/hideif.el (hide-ifdef-mode):
19524 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19525 * progmodes/subword.el (subword-mode):
19526 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19527 * progmodes/which-func.el (which-function-mode):
19528 * term/tvi970.el (tvi970-set-keypad-mode):
19529 * term/vt100.el (vt100-wide-mode):
19530 * textmodes/flyspell.el (flyspell-mode):
19531 * textmodes/ispell.el (ispell-minor-mode):
19532 * textmodes/nroff-mode.el (nroff-electric-mode):
19533 * textmodes/paragraphs.el (use-hard-newlines):
19534 * textmodes/refill.el (refill-mode):
19535 * textmodes/reftex.el (reftex-mode):
19536 * textmodes/rst.el (rst-minor-mode):
19537 * textmodes/sgml-mode.el (html-autoview-mode)
19538 (sgml-electric-tag-pair-mode):
19539 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19540 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19541 * emulation/crisp.el (crisp-mode):
19542 * emacs-lisp/eldoc.el (eldoc-mode):
19543 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19544 minor mode behavior.
19545
19546 2011-10-19 Juri Linkov <juri@jurta.org>
19547
19548 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19549 the list of hard-coded chars with escape-glyph face.
19550
19551 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19552
19553 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19554
19555 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19556
19557 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19558 running process.
19559
19560 2011-10-19 Glenn Morris <rgm@gnu.org>
19561
19562 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19563 Ignore ignored files. (Bug#9726)
19564
19565 2011-10-19 Chong Yidong <cyd@gnu.org>
19566
19567 Doc fix for minor modes, stating that an omitted argument enables
19568 the mode unconditionally when called from Lisp.
19569
19570 * abbrev.el (abbrev-mode):
19571 * allout.el (allout-mode):
19572 * autoinsert.el (auto-insert-mode):
19573 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19574 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19575 (global-auto-revert-mode):
19576 * battery.el (display-battery-mode):
19577 * composite.el (global-auto-composition-mode)
19578 (auto-composition-mode):
19579 * delsel.el (delete-selection-mode):
19580 * desktop.el (desktop-save-mode):
19581 * dired-x.el (dired-omit-mode):
19582 * dirtrack.el (dirtrack-mode):
19583 * doc-view.el (doc-view-minor-mode):
19584 * double.el (double-mode):
19585 * electric.el (electric-indent-mode, electric-pair-mode):
19586 * emacs-lock.el (emacs-lock-mode):
19587 * epa-hook.el (auto-encryption-mode):
19588 * follow.el (follow-mode):
19589 * font-core.el (font-lock-mode):
19590 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19591 * help.el (temp-buffer-resize-mode):
19592 * hilit-chg.el (highlight-changes-mode)
19593 (highlight-changes-visible-mode):
19594 * hi-lock.el (hi-lock-mode):
19595 * hl-line.el (hl-line-mode, global-hl-line-mode):
19596 * icomplete.el (icomplete-mode):
19597 * ido.el (ido-everywhere):
19598 * image-file.el (auto-image-file-mode):
19599 * image-mode.el (image-minor-mode):
19600 * iswitchb.el (iswitchb-mode):
19601 * jka-cmpr-hook.el (auto-compression-mode):
19602 * linum.el (linum-mode):
19603 * longlines.el (longlines-mode):
19604 * master.el (master-mode):
19605 * mb-depth.el (minibuffer-depth-indicate-mode):
19606 * menu-bar.el (menu-bar-mode):
19607 * minibuf-eldef.el (minibuffer-electric-default-mode):
19608 * mouse-sel.el (mouse-sel-mode):
19609 * msb.el (msb-mode):
19610 * mwheel.el (mouse-wheel-mode):
19611 * outline.el (outline-minor-mode):
19612 * paren.el (show-paren-mode):
19613 * recentf.el (recentf-mode):
19614 * reveal.el (reveal-mode, global-reveal-mode):
19615 * rfn-eshadow.el (file-name-shadow-mode):
19616 * ruler-mode.el (ruler-mode):
19617 * savehist.el (savehist-mode):
19618 * scroll-all.el (scroll-all-mode):
19619 * scroll-bar.el (scroll-bar-mode):
19620 * server.el (server-mode):
19621 * shell.el (shell-dirtrack-mode):
19622 * simple.el (auto-fill-mode, transient-mark-mode)
19623 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19624 (line-number-mode, column-number-mode, size-indication-mode)
19625 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19626 * strokes.el (strokes-mode):
19627 * time.el (display-time-mode):
19628 * t-mouse.el (gpm-mouse-mode):
19629 * tool-bar.el (tool-bar-mode):
19630 * tooltip.el (tooltip-mode):
19631 * type-break.el (type-break-mode-line-message-mode)
19632 (type-break-query-mode):
19633 * view.el (view-mode):
19634 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19635 (global-whitespace-mode, global-whitespace-newline-mode):
19636 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19637
19638 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19639 Fix autogenerated docstring.
19640
19641 2011-10-19 Juri Linkov <juri@jurta.org>
19642
19643 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19644 by checking environment variables "DESKTOP_SESSION" and
19645 "XDG_CURRENT_DESKTOP". (Bug#9779)
19646
19647 2011-10-19 Juri Linkov <juri@jurta.org>
19648
19649 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19650 (browse-url-chromium-program, browse-url-chromium-arguments):
19651 New defcustoms.
19652 (browse-url-default-browser): Check for `browse-url-chromium' and
19653 call `browse-url-chromium-program'.
19654 (browse-url-chromium): New command. (Bug#9779)
19655
19656 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19657
19658 * facemenu.el (list-colors-duplicates): On Windows, detect more
19659 duplicates by assuming that only colors matching "^System" are
19660 special "system colors". (Bug#9722)
19661
19662 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19663
19664 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19665 to distinguish the author from the committer.
19666
19667 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19668
19669 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19670
19671 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19672
19673 * international/mule.el (sgml-html-meta-auto-coding-function):
19674 Add support for detecting encoding in HTML5 specified only as
19675 <meta charset="UTF-8">. Implementation just makes http-equiv and
19676 content-type parts from HTML4 encoding string optional. (Bug#9716)
19677
19678 2011-10-18 Glenn Morris <rgm@gnu.org>
19679
19680 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19681
19682 2011-10-18 Chong Yidong <cyd@gnu.org>
19683
19684 * faces.el (cursor): Doc fix.
19685
19686 2011-10-17 Chong Yidong <cyd@gnu.org>
19687
19688 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19689
19690 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19691
19692 * dirtrack.el (dirtrack): Support shell buffers with path
19693 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19694
19695 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19696
19697 * json.el: Bump version to 1.3 and note change in History.
19698 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19699
19700 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19701
19702 * comint.el (comint-insert-input, comint-send-input)
19703 (comint-get-old-input-default, comint-backward-matching-input)
19704 (comint-next-prompt): Use nil instead of `input' for field property of
19705 past user input (bug#114).
19706
19707 * minibuffer.el (completion--replace): Inherit surrounding properties
19708 (bug#114).
19709 (minibuffer-complete-and-exit): Use it.
19710
19711 * comint.el (comint--table-subvert): Quote the all-completions output
19712 (bug#9160).
19713
19714 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19715
19716 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19717
19718 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19719 window on right of selected. (Bug#9350) Reword other window
19720 entries and separate them from frame entries.
19721
19722 2011-10-15 Glenn Morris <rgm@gnu.org>
19723
19724 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19725 Doc fixes.
19726
19727 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19728
19729 * net/network-stream.el (network-stream-open-starttls):
19730 Improve detection of failure due to lack of TLS support.
19731
19732 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19733 putting the input text in front and in bold.
19734
19735 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19736
19737 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19738
19739 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19740 empty buffer.
19741
19742 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19743 unread-command-events rather than pushing yet-another event.
19744
19745 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19746
19747 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19748 the explanation of the possible choices. Make the options passed
19749 to completing-read shorter.
19750
19751 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19752
19753 * textmodes/flyspell.el (flyspell-large-region): Make sure
19754 extended character mode is used if defined (Bug#1339).
19755
19756 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19757
19758 * simple.el (what-cursor-position): Fix the display of the
19759 character info for LRE, LRO, RLE, and RLO characters by appending
19760 an invisible PDF.
19761
19762 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19763
19764 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19765 even in case of error; add debug spec; simplify data flow.
19766 (with-timeout-handler): Remove.
19767
19768 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19769
19770 Fix Bug#6019, Bug#9315.
19771
19772 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19773 complete `buffer-file-name', the local file name part could look
19774 remotely (for example on VMS).
19775
19776 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19777 `tramp-run-real-handler'.
19778 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19779 already quoted by '"'.
19780
19781 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19782 Let `file-name-handler-alist' be nil, the local file name part
19783 could look remotely (for example on VMS).
19784
19785 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19786
19787 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19788 from here...
19789 (flyspell-post-command-hook): ...to here.
19790
19791 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19792
19793 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19794 if not needed.
19795 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19796 using completion. Protect against "slow" callers.
19797 Remove the "message hack".
19798
19799 2011-10-11 Juri Linkov <juri@jurta.org>
19800
19801 * isearch.el (isearch-lazy-highlight-word): New variable.
19802 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19803 Use it. (Bug#9727)
19804
19805 2011-10-11 Glenn Morris <rgm@gnu.org>
19806
19807 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19808 like f90-previous-statement does.
19809
19810 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19811
19812 * eshell/eshell.el (eshell-command): History should be saved
19813 only in interactive use, to avoid error.
19814
19815 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19816
19817 * minibuffer.el (completion-file-name-table): Fix last change,
19818 i.e. ignore normal errors but not the other ones.
19819
19820 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19821
19822 * window.el (special-display-buffer-names)
19823 (special-display-regexps): Remove some remnants of earlier
19824 changes from doc-strings.
19825 (quit-windows-on): New function.
19826
19827 * vc/vc.el (vc-revert, vc-rollback):
19828 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19829 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19830 (Bug#6183) (Bug#7074) (Bug#7447)
19831
19832 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19833
19834 * window.el (frame-auto-hide-function): Add version tag.
19835 (Bug#9699)
19836
19837 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19838
19839 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19840 condition.
19841
19842 2011-10-09 Leo Liu <sdl.web@gmail.com>
19843
19844 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19845 (Bug#9701)
19846
19847 2011-10-08 Glenn Morris <rgm@gnu.org>
19848
19849 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19850 before the first code statement zero indent. (Bug#9690)
19851
19852 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19853
19854 * simple.el (count-words-region): Always count in the region.
19855 Report the number of lines and characters too.
19856 (count-words): New command, which counts in the buffer if the
19857 region is inactive, as count-words-region used to.
19858 (count-words--message): New function. Handle plurals.
19859 (count-lines-region): Make it an alias for count-words-region.
19860
19861 * bindings.el (esc-map): Replace count-lines-region with
19862 count-words-region.
19863
19864 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19865
19866 * window.el (window--delete): Delete dedicated frame
19867 unconditionally when argument KILL is non-nil. (Bug#9699)
19868 (switch-to-buffer): Fix doc-string typo.
19869
19870 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19871
19872 * eshell/eshell.el (eshell-command): Avoid using hooks.
19873
19874 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19875
19876 * bindings.el ([M-left],[M-right]): Bind to left-word and
19877 right-word respectively.
19878
19879 2011-10-07 Glenn Morris <rgm@gnu.org>
19880
19881 * cus-start.el (debug-on-quit): Fix custom type.
19882
19883 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19884
19885 * subr.el (define-key-after): Clarify that the function is not
19886 useful for non-menu keymaps.
19887
19888 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19889
19890 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19891
19892 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19893 in current minibuffer (Fix bug with recursive minibuffers).
19894
19895 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19896
19897 * progmodes/gdb-mi.el (gdb): Doc fix.
19898
19899 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19900
19901 * window.el (frame-auto-hide-function): New option replacing
19902 frame-auto-delete. Suggested by Stefan Monnier.
19903 (window--delete): Call frame-auto-hide-function instead of
19904 investigating frame-auto-delete.
19905 (window-point-1, set-window-point-1): New functions.
19906 (window-in-direction, record-window-buffer, window-state-get-1)
19907 (display-buffer-record-window): Use window-point-1 instead of
19908 window-point.
19909 (set-window-buffer-start-and-point): Use set-window-point-1.
19910
19911 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19912
19913 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19914
19915 2011-10-05 Glenn Morris <rgm@gnu.org>
19916
19917 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19918 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19919
19920 2011-10-05 Leo Liu <sdl.web@gmail.com>
19921
19922 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19923 works with buffer object.
19924
19925 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19926
19927 * mpc.el (mpc-tool-bar-map): Add labels.
19928
19929 2011-10-04 Glenn Morris <rgm@gnu.org>
19930
19931 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19932
19933 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19934
19935 * window.el (window--delete): New function.
19936 (frame-auto-delete): Resuscitate option.
19937 (bury-buffer, replace-buffer-in-windows)
19938 (quit-window): Rewrite using window--delete.
19939 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19940 Pass display-buffer-mark-dedicated to window--display-buffer-2
19941 (Bug#9639).
19942
19943 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19944
19945 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19946 returns a list (bug#9554). Add remote file name completion.
19947 * comint.el (comint--table-subvert): Curry and get quote&unquote
19948 functions as arguments.
19949 (comint--complete-file-name-data): Adjust call accordingly.
19950 * pcomplete.el (pcomplete--table-subvert): Remove.
19951 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19952
19953 * minibuffer.el (completion-table-case-fold): Use currying.
19954 (completion--styles-type, completion--cycling-threshold-type):
19955 New constants.
19956 (completion-styles, completion-category-overrides)
19957 (completion-cycle-threshold): Use them.
19958 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19959 completion-table-case-fold.
19960
19961 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19962
19963 * minibuffer.el (completion-category-overrides): Fix type of styles
19964 and add more user friendly tags (bug#9660).
19965
19966 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19967
19968 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19969 (mule-input-method-string): New widget.
19970 (default-input-method, language-info-custom-alist): Use it.
19971
19972 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19973
19974 * pcomplete.el: Require comint.
19975 (pcomplete--common-suffix): Remove.
19976 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19977 (pcomplete--table-subvert): Sync with comint--table-subvert.
19978 (pcomplete--entries): Use comint-completion-file-name-table.
19979 * comint.el (comint-unquote-filename): Simplify.
19980 (comint-completion-file-name-table): New function (bug#9616).
19981 (comint--complete-file-name-data): Use it.
19982
19983 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19984 (pcmpl-gnu-tar-buffer): Remove.
19985 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19986 around. Make sure pcomplete-suffix-list is only changed temporarily.
19987 Don't look inside the tar's file if it's too large.
19988
19989 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19990
19991 * cus-edit.el (custom-mode-map):
19992 * epa.el (epa-key-list-mode-map):
19993 * man.el (Man-mode-map):
19994 * startup.el (splash-screen-keymap):
19995 * simple.el (special-mode-map): Use scroll-up-command and
19996 scroll-down-command.
19997
19998 * progmodes/idlw-help.el (idlwave-help-mode-map):
19999 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
20000 * net/newst-plainview.el (newsticker-mode-map):
20001 * emulation/ws-mode.el (wordstar-mode-map):
20002 * emulation/vi.el (vi-com-map):
20003 * calc/calc-graph.el (calc-graph-show-dumb):
20004 * term/sun.el (terminal-init-sun):
20005 * term/ns-win.el (global-map):
20006 * progmodes/grep.el (grep-mode-map):
20007 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
20008 * mail/rmail.el (rmail-mode-map):
20009 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
20010
20011 * custom.el (custom-safe-themes, load-theme): Treat value of t for
20012 custom-safe-themes as special.
20013
20014 2011-10-01 Julien Danjou <julien@danjou.info>
20015
20016 * notifications.el (notifications-notify): Fix docstring.
20017
20018 2011-10-01 Per Starbäck <per@starback.se>
20019
20020 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
20021
20022 2011-09-30 Martin Rudalics <rudalics@gmx.at>
20023
20024 * startup.el (command-line-1): Fix last fix by inserting
20025 initial-scratch-message into *scratch* before displaying it.
20026 (Bug#9605) and (Bug#9636)
20027
20028 2011-09-29 Eli Zaretskii <eliz@gnu.org>
20029
20030 * simple.el (line-move): If auto-hscroll-mode is disabled and the
20031 window is hscrolled, move by logical lines. (Bug#9607)
20032 (line-move-visual): Update the doc string to the above effect.
20033
20034 2011-09-29 Martin Rudalics <rudalics@gmx.at>
20035
20036 * window.el (display-buffer-record-window): When WINDOW is the
20037 selected window use `point' instead of `window-point'. (Bug#9626)
20038
20039 * startup.el (command-line-1): Use insert-before-markers when
20040 inserting initial-scratch-message. (Bug#9605)
20041
20042 * help.el (help-window): Remove variable.
20043
20044 2011-09-29 Glenn Morris <rgm@gnu.org>
20045
20046 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20047
20048 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20049
20050 * descr-text.el (describe-char-categories): Accept category
20051 descriptions more than one line long.
20052
20053 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20054
20055 * simple.el (delete-trailing-whitespace): Fix last change.
20056
20057 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20058 Don't confuse "y => 3" as the beginning of a `y' operation.
20059
20060 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20061 object has more than 4 slots (bug#9613).
20062
20063 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20064
20065 * subr.el (with-output-to-temp-buffer):
20066 * net/quickurl.el (quickurl, quickurl-browse-url):
20067 Fix typos in docstrings.
20068
20069 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20070
20071 * minibuffer.el (completion-styles)
20072 (completion-category-overrides): Cross reference each other in doc
20073 strings.
20074
20075 2011-09-27 Glenn Morris <rgm@gnu.org>
20076
20077 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20078 to split-string. (Bug#9606)
20079
20080 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20081
20082 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20083 (bug#9615).
20084
20085 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20086
20087 * emacs-lisp/package.el (list-packages): Fix echo area message.
20088
20089 2011-09-27 Leo Liu <sdl.web@gmail.com>
20090
20091 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20092
20093 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20094
20095 * net/dbus.el (dbus-unregister-object): Don't release services for
20096 registered signals. (Bug#9581)
20097
20098 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20099
20100 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20101 function that picks between cfengine 2 and 3 support
20102 automatically. Update docs accordingly.
20103
20104 2011-09-22 Kenichi Handa <handa@m17n.org>
20105
20106 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20107 ZERO.
20108 (indian-itrans-v5-table-for-tamil): New variable.
20109 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20110
20111 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20112
20113 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20114 that's true if the current command involved collapsing of text.
20115 It's reset to false at the beginning of the next command.
20116 (allout-post-command-business): Move the cursor to the beginning
20117 of entry if the cursor is hidden and collapsing activity just
20118 happened.
20119
20120 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20121
20122 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20123 tracking (Bug#9541).
20124
20125 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20126
20127 * net/newst-reader.el (newsticker-html-renderer)
20128 (newsticker-show-news): Automatically load html rendering package
20129 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20130 because w3m-fill-column is let-bound" and the error "Symbol's value
20131 as variable is void: w3m-fill-column".
20132
20133 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20134
20135 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20136 Release services only if they are defined. (Bug#9581)
20137
20138 2011-09-23 Richard Stallman <rms@gnu.org>
20139
20140 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20141 distinguish start of paragraph from start of its text.
20142
20143 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20144
20145 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20146 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20147 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20148
20149 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20150
20151 * international/mule-diag.el (mule-diag): Insert a newline after
20152 each fontset description.
20153
20154 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20155
20156 * simple.el (delete-trailing-whitespace):
20157 Document last change; simplify.
20158
20159 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20160
20161 * simple.el (delete-trailing-whitespace): Also delete
20162 extra newlines at the end of the buffer.
20163
20164 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20165 (picture-newline): Use forward-line so as to ignore fields.
20166
20167 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20168
20169 * subr.el (with-wrapper-hook): Fix edebug spec.
20170
20171 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20172
20173 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20174 (bug#4538).
20175
20176 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20177
20178 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20179 Fix nasty bug using wrong cached values.
20180
20181 2011-09-23 Alan Mackenzie <acm@muc.de>
20182
20183 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20184
20185 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20186
20187 * window.el (pop-to-buffer): Ensure right window is selected if we
20188 chose another frame.
20189
20190 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20191
20192 * simple.el (what-cursor-position): Use get-char-property-change
20193 and next-single-char-property-change, to be able to show display
20194 properties that come from overlays as well as text properties.
20195
20196 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20197
20198 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20199
20200 * cmuscheme.el (run-scheme, switch-to-scheme):
20201 * cus-edit.el (customize-group, custom-buffer-create)
20202 (customize-browse):
20203 * info.el (info):
20204 * shell.el (shell):
20205 * mail/sendmail.el (mail):
20206 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20207
20208 2011-09-22 Richard Stallman <rms@gnu.org>
20209
20210 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20211 move back only to line beg, don't move back over blank lines.
20212
20213 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20214
20215 * files.el (copy-directory): Set directory attributes only in case
20216 they could be retrieved from the source directory. (Bug#9565)
20217
20218 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20219
20220 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20221 (hs-find-block-beginning, hs-hide-level-recursive):
20222 Ignore strings as well as comments. (Bug#9502)
20223
20224 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20225
20226 * progmodes/sql.el (sql-comint-postgres):
20227 Convert port number to a string. (Bug#9566)
20228
20229 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20230
20231 * window.el (quit-window): Undedicate window when switching to
20232 previous buffer. Reported by Thierry Volpiatto
20233 <thierry.volpiatto@gmail.com>.
20234 (special-display-popup-frame): When popping up a new frame reset
20235 its previous buffers to nil. Simplify code.
20236
20237 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20238
20239 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20240 and process filter, as done also in `shell-command'.
20241
20242 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20243
20244 * window.el (set-window-buffer-start-and-point):
20245 Call set-window-start with NOFORCE argument t.
20246 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20247 (quit-window): Reword doc-string. Handle new format of
20248 quit-restore parameter. Don't delete window if it has a
20249 previous buffer we can show instead of the present one.
20250 (display-buffer-record-window): Rewrite using a new format for
20251 the quit-restore window parameter
20252 (special-display-popup-frame, display-buffer-same-window)
20253 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20254 (display-buffer-pop-up-window, display-buffer-use-some-window):
20255 Adapt symbol passed to display-buffer-record-window.
20256 * help.el (help-window-setup): Handle new format of quit-restore
20257 parameter.
20258
20259 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20260
20261 * faces.el (face-list): Fix docstring (bug#9564).
20262
20263 * window.el (display-buffer--action-function-custom-type):
20264 Don't include internal functions in the Custom interface.
20265
20266 2011-09-20 Juri Linkov <juri@jurta.org>
20267
20268 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20269 (Info-forward-node, Info-backward-node, Info-next-preorder)
20270 (Info-last-preorder): Use it. (Bug#9528)
20271
20272 2011-09-20 Juri Linkov <juri@jurta.org>
20273
20274 * info.el (Info-last-preorder): Visit last menu item only when
20275 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20276
20277 2011-09-20 Julien Danjou <julien@danjou.info>
20278
20279 * password-cache.el (password-cache-remove): Remove entries even if the
20280 value is nil, so that password with a nil value (negative caching) is
20281 possible to invalidate.
20282
20283 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20284
20285 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20286 all whitespace around breakpoint. (Bug#9553)
20287 (f90-find-breakpoint): Only break at whitespace inside a comment.
20288
20289 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20290
20291 * minibuffer.el (completion-file-name-table): Keep track of errors.
20292 (completion-table-with-predicate): Handle the case where pred1 is nil.
20293 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20294
20295 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20296
20297 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20298 (debugger-return-value): Signal an error if the debugging context does
20299 not await any return value.
20300
20301 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20302 * image-mode.el (image-toggle-display-text)
20303 (image-toggle-display-image): Stay away from evil `intangible'.
20304
20305 2011-09-19 Leo Liu <sdl.web@gmail.com>
20306
20307 * replace.el (occur-revert-arguments): Make it permanent-local.
20308 (occur-mode): Don't call font-lock-defontify.
20309
20310 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20311
20312 * net/ldap.el (ldap-search-internal): Don't push empty search
20313 result (Bug#9508).
20314
20315 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20316
20317 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20318
20319 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20320
20321 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20322 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20323
20324 2011-09-18 Juri Linkov <juri@jurta.org>
20325
20326 * buff-menu.el (Buffer-menu-mode-map):
20327 * dired.el (dired-mode-map):
20328 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20329 (lisp-interaction-mode-map):
20330 * emacs-lisp/package.el (package-menu-mode-map):
20331 * epa.el (epa-key-list-mode-map):
20332 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20333 (menu-bar-options-menu):
20334 * outline.el (outline-mode-menu-bar-map):
20335 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20336 * vc/vc-dir.el (vc-dir-menu-map):
20337 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20338 Capitalize non-function content words in menu item strings.
20339
20340 * dired.el (dired-mode-map): Add menu item for
20341 `image-dired-dired-toggle-marked-thumbs'.
20342
20343 2011-09-18 Juri Linkov <juri@jurta.org>
20344
20345 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20346 to `isearch-case-fold-search' and restore its original value
20347 after the `isearch-mode' call.
20348
20349 2011-09-18 Juri Linkov <juri@jurta.org>
20350
20351 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20352 because `zgrep' returns 1 for successful matches (bug#9226).
20353
20354 2011-09-18 Juri Linkov <juri@jurta.org>
20355
20356 * info.el (Info-extract-menu-node-name): Check the second match
20357 for empty string (second test-case of bug#9528).
20358 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20359 intermediate nodes to the history (first test-case of bug#9528).
20360
20361 2011-09-18 Juri Linkov <juri@jurta.org>
20362
20363 * info.el (Info-mode-syntax-table): New variable.
20364 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20365
20366 2011-09-18 Juri Linkov <juri@jurta.org>
20367
20368 * info.el (Info-file-supports-index-cookies):
20369 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20370 outputs one more line for long file names (bug#4142).
20371
20372 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20373
20374 * newcomment.el (comment-normalize-vars): If prompting for
20375 comment-start, set comment-start-skip too (Bug#8424).
20376
20377 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20378
20379 * icomplete.el: Fix previous fix of Bug#5849.
20380 (icomplete-mode): Don't set completion-show-inline-help.
20381 (icomplete-minibuffer-setup): Set completion-show-inline-help
20382 locally during icompletion.
20383
20384 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20385
20386 * woman.el (woman2-process-escapes): Don't delete unrecognized
20387 escapes (Bug#7843).
20388
20389 * files.el (inhibit-first-line-modes-regexps): Add image files.
20390 (hack-local-variables-prop-line): Return nil for malformed
20391 prop-lines (Bug#9044).
20392
20393 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20394
20395 * net/tramp.el (top): Don't require 'shell.
20396 (tramp-methods): Fix docstring.
20397 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20398 Return complete remote file name. Handle "smb" case.
20399 Use `tramp-tmpdir', if defined for the respective method.
20400 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20401
20402 * net/tramp-compat.el (top): Require 'shell.
20403
20404 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20405 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20406 `tramp-current-host'.
20407 (tramp-get-remote-tmpdir): Remove.
20408
20409 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20410 `tramp-tmpdir' entries.
20411 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20412 (tramp-smb-handle-file-attributes): Ignore errors.
20413 (tramp-smb-wait-for-output): Check also for process end.
20414
20415 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20416
20417 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20418 when sending QUIT (bug#9312).
20419
20420 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20421
20422 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20423 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20424 occur-mode-display-occurrence.
20425 (occur-edit-mode): Add usage message.
20426 (occur-cease-edit): New command.
20427 (occur-after-change-function): Use text properties to find the
20428 position of the prefix text.
20429 (occur-engine): Set stickiness of prefix text properties.
20430
20431 2011-09-17 Glenn Morris <rgm@gnu.org>
20432
20433 * progmodes/etags.el (complete-tag):
20434 Fix call to completion-in-region. (Bug#9526)
20435
20436 2011-09-17 Juri Linkov <juri@jurta.org>
20437
20438 * textmodes/ispell.el (ispell-word): Add to the error message
20439 the word, ispell program name and current dictionary (bug#9121).
20440 (ispell-tex-arg-end): Capitalize "error" in the error message.
20441
20442 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20443
20444 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20445 check. (Bug#4251)
20446
20447 2011-09-17 Juri Linkov <juri@jurta.org>
20448
20449 * window.el (window-safe-min-height, window-safe-min-width):
20450 Fix typos (followup to bug#9522).
20451
20452 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20453
20454 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20455
20456 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20457
20458 * simple.el (line-move): If goal-column is set, move by logical
20459 lines, not by display lines. (Bug#971)
20460 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20461 to reflect the above change.
20462
20463 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20464
20465 * image.el (imagemagick-register-types): Use regexp-opt.
20466
20467 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20468
20469 * window.el (display-buffer-base-action): Rename from
20470 display-buffer-default-action. Make default value empty.
20471 (display-buffer-overriding-action): Convert to defvar.
20472 (display-buffer-fallback-action): New var.
20473
20474 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20477 declaration.
20478 (package--add-to-archive-contents): If there is a duplicate entry
20479 with an older version, remove it.
20480 (package-menu-mark-delete, package-menu-mark-install)
20481 (package-menu-mark-unmark): Make unused args optional.
20482 (package-menu-mark-obsolete-for-deletion):
20483 Use package-menu-get-status instead of a regexp search.
20484 (package-menu-get-status): Use tabulated-list-entry.
20485 (package-menu-mark-upgrades): New command.
20486 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20487 (package-menu-execute): Do installation before deletion.
20488 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20489 instead of checking major-mode.
20490 (package-menu--find-upgrades): New function.
20491
20492 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20493
20494 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20495 passwords in the log buffer.
20496 (smtpmail-process-filter): Update the process marker so that the
20497 "broken by peer" status message is inserted in the right place.
20498
20499 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20500
20501 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20502 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20503 bibtex-completion-at-point-function.
20504 (bibtex-completion-at-point-function): Use them.
20505
20506 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20507
20508 * mpc.el (mpc-constraints-tag-lookup): New function.
20509 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20510 also to browser "album|playlist".
20511
20512 2011-09-14 Juri Linkov <juri@jurta.org>
20513
20514 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20515 (isearch-edit-string): Use length of `isearch-string' when
20516 `isearch-fail-pos' returns nil.
20517 (isearch-message): Remove duplicate code and call
20518 `isearch-fail-pos' with arg `t'.
20519
20520 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20521
20522 * replace.el (occur-mode-goto-occurrence): Don't force using other
20523 window (Bug#9499).
20524
20525 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20526
20527 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20528
20529 * window.el (display-buffer-window): Remove.
20530 (display-buffer-record-window): Use help-setup window parameter
20531 instead of variable display-buffer-window.
20532 (display-buffer-function, special-display-buffer-names)
20533 (special-display-function): Mention help-setup parameter instead
20534 of display-buffer-window in doc-string.
20535 * help.el (help-window-setup): New argument help-window.
20536 Use help-window-setup parameter instead of display-buffer-window.
20537 Reword some messages.
20538 (with-help-window): Pass window used for displaying the buffer
20539 to help-window-setup. Don't set display-buffer-window.
20540
20541 2011-09-13 Glenn Morris <rgm@gnu.org>
20542
20543 * emacs-lisp/debug.el (debugger-make-xrefs):
20544 Preserve point. (Bug#9462)
20545
20546 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20547
20548 * window.el (window-deletable-p): Use next-frame.
20549
20550 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20551
20552 * window.el (window-auto-delete): Remove.
20553 (window-deletable-p): Remove argument FORCE. Don't deal with
20554 dedication and previous buffers.
20555 (switch-to-prev-buffer): Don't delete window.
20556 (delete-windows-on): Delete a window's frame if and only if the
20557 window is dedicated.
20558 (replace-buffer-in-windows): Delete buffer's window or frame if
20559 and only if window is dedicated.
20560 (quit-window): Handle quit-restore as before last change.
20561 (bury-buffer): Delete window only if window-deletable-p returns t.
20562
20563 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20564
20565 * window.el (window-deletable-p): Never delete the last frame on a
20566 given terminal.
20567
20568 2011-09-13 Glenn Morris <rgm@gnu.org>
20569
20570 * help.el (describe-key-briefly): Copy previous standard-output change.
20571
20572 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20573
20574 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20575
20576 2011-09-13 Glenn Morris <rgm@gnu.org>
20577
20578 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20579 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20580
20581 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20582
20583 * dired-aux.el (dired-mark-read-string): Don't return default
20584 value on empty input (Bug#9361).
20585 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20586 Omit initial minibuffer contents.
20587 (dired-do-chmod): Signal an error on empty input.
20588 (dired-mark-read-string): Don't return default on empty input.
20589
20590 * files.el (file-modes-symbolic-to-number): Doc fix.
20591
20592 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20593
20594 * international/mule-cmds.el (ucs-completions): Remove.
20595 (read-char-by-name): Use complete-with-action instead; add metadata.
20596
20597 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20598
20599 * window.el (display-buffer--action-function-custom-type)
20600 (display-buffer--action-custom-type): New vars.
20601 (display-buffer-alist, display-buffer-default-action)
20602 (display-buffer-overriding-action): Add defcustom types.
20603
20604 * frame.el (delete-other-frames): Doc fix (Bug#276).
20605
20606 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20607
20608 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20609
20610 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20611
20612 Change modes that used same-window-* vars to use switch-to-buffer.
20613
20614 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20615 Use switch-to-buffer.
20616
20617 * cus-edit.el (customize-group, custom-buffer-create)
20618 (customize-browse, custom-buffer-create-other-window):
20619 Use switch-to-buffer or switch-to-buffer-other-window.
20620
20621 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20622 (Info-prev, Info-up, Info-speedbar-goto-node)
20623 (info-display-manual): Use switch-to-buffer.
20624 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20625
20626 * mail/sendmail.el (mail): Use switch-to-buffer.
20627 (mail-recover): Use switch-to-buffer-other-window.
20628
20629 * cmuscheme.el (run-scheme, switch-to-scheme):
20630 * ielm.el (ielm):
20631 * shell.el (shell):
20632 * net/rlogin.el (rlogin):
20633 * net/telnet.el (telnet, rsh):
20634 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20635
20636 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20637
20638 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20639
20640 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20641
20642 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20643 so don't mention it (bug#9301).
20644 (dired-sort-toggle-or-edit): Clarify string further.
20645
20646 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20647 match `x', `w32' and `ns', like the manual says (bug#9029).
20648
20649 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20650 (process-kill-buffer-query-function): Mention the buffer name in
20651 the query.
20652
20653 * image-mode.el (image-next-line): The line parameter is mandatory
20654 (bug#9258).
20655
20656 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20657 which can be useful (bug#9301).
20658
20659 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20660
20661 * subr.el (match-string): Mention that the current buffer should
20662 be the same as the search was done in (bug#9282).
20663
20664 * facemenu.el: Disable the remove-* commands if the mark isn't
20665 active (bug#9162).
20666
20667 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20668
20669 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20670 of display-buffer.
20671 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20672
20673 * replace.el (occur-mode-goto-occurrence)
20674 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20675 and display-buffer.
20676
20677 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20678 display-buffer.
20679
20680 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20681 special-display and same-window variables.
20682 (mail-other-window): Use switch-to-buffer-other-window.
20683 (mail-other-frame): USe switch-to-buffer-other-frame.
20684
20685 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20686 Use display-buffer-other-frame.
20687 (gdb-display-gdb-buffer): Use pop-to-buffer.
20688
20689 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20690
20691 * progmodes/python.el: Don't set same-window-buffer-names.
20692
20693 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20694
20695 * window.el (display-buffer-alist): Add *Python*.
20696
20697 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20698
20699 * window.el (display-buffer-alist): Add entry for buffers
20700 previously handled same-window-*.
20701 (display-buffer-alist, display-buffer-default-action)
20702 (display-buffer-overriding-action): Mark as risky.
20703 (display-buffer-alist): Document action function changes.
20704 (display-buffer--same-window-action)
20705 (display-buffer--other-frame-action): New variables.
20706 (switch-to-buffer, display-buffer-other-frame): Use them.
20707 (display-buffer): Rename reuse-frame entry to reusable-frames.
20708 (display-buffer-reuse-selected-window): Function deleted.
20709 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20710 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20711 (display-buffer-special): New function.
20712 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20713 display-buffer-reuse-or-pop-window. Split off special-display
20714 part into display-buffer-special.
20715 (display-buffer-use-some-window): Don't perform any special
20716 pop-up-frames handling.
20717 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20718 (display-buffer--maybe-same-window): Rename from
20719 display-buffer-maybe-same-window.
20720
20721 * info.el: Don't set same-window-regexps.
20722 (info-setup): New function.
20723 (info-other-window, info): Call it.
20724
20725 * cus-edit.el: Don't set same-window-regexps.
20726 (customize-group): New argument.
20727 (customize-group-other-window): Use it.
20728 (customize-face, customize-face-other-window): Likewise.
20729 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20730
20731 * net/rlogin.el:
20732 * net/telnet.el:
20733 * progmodes/gud.el: Don't set same-window-regexps.
20734
20735 * cmuscheme.el:
20736 * ielm.el:
20737 * shell.el:
20738 * mail/sendmail.el:
20739 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20740
20741 2011-09-10 Juri Linkov <juri@jurta.org>
20742
20743 * isearch.el (isearch-edit-string): Remove obsolete mention of
20744 `C-w' (`isearch-yank-word-or-char') from docstring.
20745 (isearch-query-replace): Fix typo in docstring (bug#9466).
20746
20747 2011-09-10 Juri Linkov <juri@jurta.org>
20748
20749 * paren.el (show-paren-function): Don't show escaped parens.
20750 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20751
20752 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20753
20754 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20755 (mm-default-file-encoding): Remove autoload forms, they are
20756 replaced with autoload cookies in mml.el and mm-encode.el.
20757 (mail-add-attachment): New command.
20758 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20759 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20760 the doc string.
20761 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20762
20763 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20764
20765 * simple.el (count-words-region): Use buffer if there's no region
20766 (bug#9429).
20767
20768 2011-09-09 Juri Linkov <juri@jurta.org>
20769
20770 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20771 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20772 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20773
20774 2011-09-09 Alan Mackenzie <acm@muc.de>
20775
20776 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20777 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20778
20779 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20780
20781 Fix for Savannah bug#9392.
20782 * simple.el (mail-encode-mml): New defvar.
20783
20784 * mail/rmail.el (mail-encode-mml): Add a defvar.
20785 (rmail-enable-mime-composing): Default to t.
20786 (rmail-forward): Use MIME method of forwarding only if both
20787 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20788 Set mail-encode-mml non-nil if the MIME method was used.
20789
20790 * mail/sendmail.el (mml-to-mime): Add autoload form.
20791 (mail-encode-mml): Add a defvar.
20792 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20793 to nil.
20794 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20795 message through mml-to-mime, and reset mail-encode-mml to nil.
20796
20797 2011-09-09 Glenn Morris <rgm@gnu.org>
20798
20799 * woman.el (woman-if-body): When processing an .el block,
20800 do not delete the next .el block as well. (Bug#9447)
20801 (woman-special-characters): Add oq, cq, and hy characters.
20802
20803 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20804
20805 * window.el (window-deletable-p): Make sure window is live before
20806 invoking window-prev-buffers.
20807
20808 2011-09-08 Leo Liu <sdl.web@gmail.com>
20809
20810 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20811
20812 2011-09-08 Juri Linkov <juri@jurta.org>
20813
20814 * progmodes/compile.el (compilation-environment): Make it
20815 a defcustom (bug#8340).
20816
20817 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20818
20819 * window.el (frame-auto-delete): Rename to window-auto-delete.
20820 Make it control auto-deletion of windows and/or frames.
20821 (window-deletable-p): New argument FORCE. Rewrite conditions
20822 for deleting window/frame. (Bug#9419)
20823 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20824 Rewrite handling of case when window/frame can be deleted.
20825 (delete-windows-on): Call window-deletable-p with new FORCE
20826 argument t. (Bug#9456)
20827
20828 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20829
20830 * help-mode.el (help-mode): Restore autoload.
20831
20832 2011-09-07 Juri Linkov <juri@jurta.org>
20833
20834 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20835 `compilation-environment'. Set buffer-local
20836 `compilation-environment' to `thisenv' later after (funcall mode).
20837 (Bug#8340)
20838
20839 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20840 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20841 instead of replacing its value. (Bug#8340)
20842
20843 2011-09-07 Juri Linkov <juri@jurta.org>
20844
20845 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20846 based on text properties put by `grep-filter' instead of matching
20847 escape sequences.
20848 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20849 to the value of `grep-error-screen-columns' (bug#9438).
20850
20851 2011-09-07 Juri Linkov <juri@jurta.org>
20852
20853 * simple.el (next-error-highlight, next-error-highlight-no-select):
20854 Doc fix (bug#9432).
20855
20856 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20857
20858 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20859 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20860
20861 2011-09-07 Leo Liu <sdl.web@gmail.com>
20862
20863 * net/rcirc.el (rcirc-mode): Conditionally initialize
20864 rcirc-input-ring.
20865
20866 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20867
20868 * emacs-lisp/find-func.el (find-function-C-source): Only set
20869 find-function-C-source-directory after checking that we found a source
20870 file there (bug#9440).
20871
20872 2011-09-06 Alan Mackenzie <acm@muc.de>
20873
20874 * isearch.el (isearch-other-meta-char): Wherever a key list is
20875 unread, "unread" the prefix arg, too. This fixes bug #8901.
20876
20877 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20878
20879 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20880
20881 2011-09-05 Juri Linkov <juri@jurta.org>
20882
20883 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20884
20885 2011-09-05 Juri Linkov <juri@jurta.org>
20886
20887 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20888 keeping point where processing of grep matches begins, and
20889 continue to delete remaining escape sequences from the same point.
20890 (grep-filter): Make leading zero optional in "0?1;31m" because
20891 git-grep emits "\033[1;31m" escape sequences unlike expected
20892 "\033[01;31m" as GNU Grep does (bug#9408).
20893 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20894
20895 2011-09-05 Juri Linkov <juri@jurta.org>
20896
20897 * subr.el (y-or-n-p): Capitalize "yes".
20898
20899 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20900
20901 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20902 `tramp-cache-unload-hook' where appropriate.
20903 (tramp-methods): Rename `tramp-remote-sh' to
20904 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20905 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20906
20907 * net/tramp-sh.el (top): Don't require 'shell.
20908 (tramp-methods): Add `tramp-remote-shell' and
20909 `tramp-remote-shell-args' entries.
20910 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20911 (tramp-sh-handle-shell-command): Remove.
20912 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20913 Use `tramp-remote-shell'.
20914
20915 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20916
20917 * mail/sendmail.el (sendmail-query-once-function): Delete.
20918 (sendmail-query-once): Save directly to send-mail-function.
20919 Update message-send-mail-function too.
20920
20921 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20922
20923 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20924
20925 * progmodes/python.el (python-mode-map): Use correct function to
20926 start python interpreter from menu-bar (as reported by Geert
20927 Kloosterman).
20928 (inferior-python-mode-map): Fix typo.
20929 (python-shell-map): Remove.
20930
20931 2011-09-03 Deniz Dogan <deniz@dogan.se>
20932
20933 * net/rcirc.el (rcirc-print): Simplify code for
20934 rcirc-scroll-show-maximum-output. There is no need to walk
20935 through all windows to find the right one.
20936
20937 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20938
20939 * help.el (help-return-method): Doc fix.
20940
20941 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20942
20943 * window.el (window-deletable-p): Don't return a non-nil value
20944 when there's a buffer that was shown in the window before.
20945 (Bug#9419)
20946 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20947 Set window's previous buffers to nil.
20948
20949 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20950
20951 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20952 newline before and after the tag line, so it doesn't interfere
20953 with determining the paragraph direction of bidirectional text.
20954
20955 2011-09-03 Leo Liu <sdl.web@gmail.com>
20956
20957 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20958
20959 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20960
20961 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20962 (pop-to-buffer): Change interactive spec. Pass second argument
20963 directly to display-buffer.
20964 (display-buffer): Fix interactive spec. Use functionp to
20965 distinguish between a function and a list of functions.
20966
20967 * abbrev.el (edit-abbrevs):
20968 * arc-mode.el (archive-extract):
20969 * autoinsert.el (auto-insert):
20970 * bookmark.el (bookmark-bmenu-list):
20971 * files.el (find-file):
20972 * view.el (view-buffer):
20973 * progmodes/compile.el (compilation-goto-locus):
20974 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20975
20976 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20977
20978 * window.el (display-buffer-alist): Doc fix.
20979 (display-buffer): Add docstring. Don't treat
20980 display-buffer-default specially.
20981 (display-buffer-reuse-selected-window)
20982 (display-buffer-same-window, display-buffer-maybe-same-window)
20983 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20984 (display-buffer-pop-up-window)
20985 (display-buffer-reuse-or-pop-window)
20986 (display-buffer-use-some-window): New functions.
20987 (display-buffer-default-action): Use them.
20988 (display-buffer-default): Delete.
20989 (pop-to-buffer-1): Fix choice of actions.
20990
20991 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20992
20993 * minibuffer.el (completion--insert-strings): Don't get confused by
20994 completion entries that end with an LF char.
20995
20996 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20997
20998 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20999
21000 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
21001
21002 * window.el (display-buffer): Restore interactive spec.
21003 (display-buffer-same-window, display-buffer-other-window):
21004 New functions.
21005 (pop-to-buffer-1): New function. Use the above.
21006 (pop-to-buffer, pop-to-buffer-same-window): Use it.
21007 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
21008
21009 * view.el (view-buffer-other-window, view-buffer-other-frame):
21010 Just use pop-to-buffer.
21011
21012 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
21013
21014 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
21015
21016 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
21017
21018 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
21019
21020 2011-08-31 Richard Stallman <rms@gnu.org>
21021
21022 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
21023 of the separation of rmail-view-buffer from rmail-buffer.
21024 If you say no to "replace original", the decrypt is in the
21025 view buffer. If you say yes, the decrypt goes into the
21026 rmail buffer also.
21027
21028 2011-08-31 Martin Rudalics <rudalics@gmx.at>
21029
21030 * window.el (display-buffer-window): Rewrite doc-string.
21031 (display-buffer-record-window): New function.
21032 (display-buffer-macro-specifiers)
21033 (display-buffer-even-window-sizes, display-buffer-set-height)
21034 (display-buffer-set-width, display-buffer-in-window)
21035 (display-buffer-reuse-window, display-buffer-split-specifiers)
21036 (display-buffer-side-specifiers, display-buffer-split-window-1)
21037 (display-buffer-split-window, display-buffer-split-atom-window)
21038 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21039 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21040 (display-buffer-other-window-means-other-frame)
21041 (display-buffer-normalize-special)
21042 (display-buffer-normalize-default)
21043 (display-buffer-normalize-argument)
21044 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21045 (display-buffer-normalize-specifiers, display-buffer-frame)
21046 (display-buffer-same-window, display-buffer-same-frame)
21047 (display-buffer-other-window)
21048 (display-buffer-same-frame-other-window)
21049 (display-buffer-other-frame, pop-to-buffer-same-window)
21050 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21051 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21052 (switch-to-buffer-same-frame)
21053 (switch-to-buffer-other-window-same-frame)
21054 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21055 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21056 (display-buffer-alist-set): Remove.
21057 (display-buffer-function, special-display-buffer-names)
21058 (special-display-regexps, special-display-function):
21059 In doc-string refer to display-buffer-window and quit-restore
21060 parameter.
21061 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21062 (special-display-frame-alist, special-display-popup-frame)
21063 (same-window-buffer-names, same-window-regexps, same-window-p)
21064 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21065 (split-window-preferred-function, split-height-threshold)
21066 (split-width-threshold, window-splittable-p)
21067 (split-window-sensibly, window--try-to-split-window)
21068 (window--frame-usable-p, even-window-heights)
21069 (window--even-window-heights, window--display-buffer-1)
21070 (window--display-buffer-2, display-buffer-other-frame):
21071 Restore old Emacs 23 code, order and doc-strings where applicable.
21072 (display-buffer-default, display-buffer-assq-regexp): New functions.
21073 (display-buffer-alist): Rewrite doc-string.
21074 (display-buffer-default-action)
21075 (display-buffer-overriding-action): New variables.
21076 (display-buffer, switch-to-buffer): Rewrite.
21077 (pop-to-buffer): Restore Emacs 23 behavior but use
21078 window-normalize-buffer-to-display.
21079 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21080 Restore Emacs 23 behavior but use
21081 window-normalize-buffer-to-switch-to.
21082 (pop-to-buffer-same-window): Rewrite.
21083 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21084 Rewrite using Emacs 23 options.
21085
21086 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21087
21088 * net/tramp.el (tramp-root-regexp): Remove.
21089 (tramp-completion-file-name-regexp-unified)
21090 (tramp-completion-file-name-regexp-separate)
21091 (tramp-completion-file-name-regexp-url): Don't use leading volume
21092 letter on w32 systems. (Bug#5303, Bug#9311)
21093 (tramp-drop-volume-letter): Simplify definition.
21094 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21095
21096 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21097
21098 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21099 (bug#9356).
21100
21101 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21102
21103 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21104
21105 2011-08-29 Juri Linkov <juri@jurta.org>
21106
21107 * isearch.el (isearch-done): Don't display message "Mark saved"
21108 when arg `edit' is non-nil to prevent its flicker in the echo area.
21109
21110 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21111
21112 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21113 obsolete packages for deletion.
21114
21115 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21116
21117 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21118 (help-mode): Derive help-mode from special-mode. Don't invoke
21119 view-mode from help-mode.
21120 (help-xref-override-view-map): Remove.
21121 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21122 view-mode is not used anymore.
21123
21124 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21125
21126 * server.el (server-port): Doc fix.
21127
21128 * cus-theme.el (custom-theme-choose-mode): Inherit from
21129 special-mode (Bug#9124).
21130 (custom-theme-choose-mode-map): Add special-mode to parent.
21131
21132 2011-08-28 Alan Mackenzie <acm@muc.de>
21133
21134 * progmodes/cc-fonts.el
21135 (c-make-font-lock-BO-decl-search-function): New function.
21136 (c-basic-matchers-after - "Fontify the clauses after various
21137 keywords"): Extract the three keyword lists for the 3 erroneous
21138 constructs from the list of four, and use the new function above
21139 in place of an old one.
21140
21141 2011-08-28 Deniz Dogan <deniz@dogan.se>
21142
21143 * net/rcirc.el (rcirc-insert-prev-input)
21144 (rcirc-insert-next-input): Remove unused argument.
21145
21146 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21147
21148 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21149
21150 2011-08-27 Alan Mackenzie <acm@muc.de>
21151
21152 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21153 handle function pointer parameters properly.
21154
21155 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21156
21157 * window.el (display-buffer-reuse-window): Fix case where
21158 selected window was reused with non-nil OTHER-WINDOW argument.
21159 (Bug#9381)
21160
21161 2011-08-27 Deniz Dogan <deniz@dogan.se>
21162
21163 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21164 oftc's NickServ messages.
21165
21166 2011-08-27 Glenn Morris <rgm@gnu.org>
21167
21168 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21169
21170 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21171
21172 * emacs-lisp/package.el (package-install): Call package-initialize
21173 if called interactively.
21174
21175 2011-08-26 Leo Liu <sdl.web@gmail.com>
21176
21177 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21178
21179 2011-08-25 Juri Linkov <juri@jurta.org>
21180
21181 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21182 `search-whitespace-regexp' (bug#9364).
21183
21184 2011-08-25 Juri Linkov <juri@jurta.org>
21185
21186 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21187 `regexp-search-ring' to their global values to protect from
21188 updating by `read-from-minibuffer' (bug#9185).
21189
21190 2011-08-25 Juri Linkov <juri@jurta.org>
21191
21192 * textmodes/ispell.el (ispell-command-loop): Add newline
21193 at the end of the "Use option `i'..." line.
21194
21195 2011-08-25 Juri Linkov <juri@jurta.org>
21196
21197 * battery.el (display-battery-mode): If `battery-status-function'
21198 or `battery-mode-line-format' is nil, display the message and set
21199 `display-battery-mode' to nil (bug#9363).
21200
21201 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21202
21203 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21204 bidi-string-mark-left-to-right; they are unnecessary now.
21205
21206 2011-08-25 Deniz Dogan <deniz@dogan.se>
21207
21208 * net/quickurl.el: Documentation typo fixes.
21209
21210 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21211
21212 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21213
21214 2011-08-25 Glenn Morris <rgm@gnu.org>
21215
21216 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21217
21218 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21219 (smtpmail-via-smtp): Handle nil response from smtp.
21220
21221 2011-08-24 Juri Linkov <juri@jurta.org>
21222
21223 * proced.el (proced-marked): Inherit from `error' instead of
21224 `font-lock-warning-face'.
21225
21226 * ibuffer.el (ibuffer-marked-face): Change default face from
21227 `font-lock-warning-face' to `warning'.
21228 (ibuffer-deletion-face): Change default face from
21229 `font-lock-type-face' to `error'.
21230
21231 * battery.el (battery-update): Use the face `error' instead of
21232 `font-lock-warning-face' (bug#6117).
21233
21234 2011-08-24 Juri Linkov <juri@jurta.org>
21235
21236 * faces.el (success): Change face color from "Green3" to
21237 "ForestGreen" on light background (bug#9353).
21238
21239 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21240
21241 * window.el (quit-window): Rename from quit-restore-window.
21242 Use same arglist as old quit-window.
21243 (frame-auto-delete): Doc fix.
21244
21245 * view.el (view-mode-exit): Use quit-window.
21246
21247 2011-08-24 Juri Linkov <juri@jurta.org>
21248
21249 * isearch.el (isearch-ring-adjust1): Start visiting previous
21250 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21251 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21252 for empty search string (when the last search string is reused
21253 automatically) to adjust the isearch ring to the last element and
21254 prepare the correct index for further M-p commands (bug#9185).
21255
21256 2011-08-24 Kenichi Handa <handa@m17n.org>
21257
21258 * international/ucs-normalize.el: If decomposition property of
21259 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21260 nil.
21261 (nfd, nfkd): Likewise.
21262
21263 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21264
21265 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21266 from process filters aren't reliably transmitted to the surrounding
21267 accept-process-output.
21268 (mpc-proc-check): New function.
21269 (mpc-proc-sync): Use it (bug#8293)
21270
21271 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21272
21273 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21274 Add compatibility functions (bug#9313).
21275
21276 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21277
21278 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21279
21280 * international/uni-bidi.el: Regenerate.
21281
21282 2011-08-23 Kenichi Handa <handa@m17n.org>
21283
21284 * international/charprop.el:
21285 * international/uni-bidi.el:
21286 * international/uni-category.el:
21287 * international/uni-combining.el:
21288 * international/uni-comment.el:
21289 * international/uni-decimal.el:
21290 * international/uni-decomposition.el:
21291 * international/uni-digit.el:
21292 * international/uni-lowercase.el:
21293 * international/uni-mirrored.el:
21294 * international/uni-name.el:
21295 * international/uni-numeric.el:
21296 * international/uni-old-name.el:
21297 * international/uni-titlecase.el:
21298 * international/uni-uppercase.el: Regenerate.
21299
21300 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21301
21302 * help.el (help-window-setup): Fix message displayed when other
21303 window is reused. (Bug#9341)
21304
21305 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21306
21307 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21308 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21309
21310 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21311 Mark obsolete.
21312 * shell.el (shell-parse-pcomplete-arguments): New function.
21313 (shell-completion-vars): Use it instead (bug#9160).
21314
21315 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21316
21317 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21318 strings and comments (bug#9333).
21319
21320 * emacs-lisp/debug.el (debug-arglist): New function.
21321 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21322 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21323
21324 2011-08-22 Juri Linkov <juri@jurta.org>
21325
21326 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21327 Revert regexp that highlights output switches to its old
21328 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21329
21330 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21331 to check for empty output (bug#9226).
21332
21333 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21334
21335 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21336 symbol-constituent as the default, as that stops font-lock from
21337 working properly (Bug#8843).
21338
21339 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21340
21341 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21342 `coding-system-for-*' around the process open call to avoid
21343 auth-source side effects.
21344 (smtpmail-try-auth-methods): Expand the secret password.
21345 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21346 probe hangs.
21347
21348 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21349
21350 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21351
21352 * emacs-lisp/find-func.el (find-function-noselect): New arg
21353 lisp-only.
21354
21355 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21356 signal an error for built-in functions (Bug#6664).
21357
21358 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21359
21360 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21361 (smtpmail-try-auth-methods): Use it.
21362
21363 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21364
21365 * font-lock.el (font-lock-fontify-region)
21366 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21367 (font-lock-default-unfontify-buffer)
21368 (font-lock-default-fontify-region)
21369 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21370
21371 * progmodes/compile.el (compilation-error-properties):
21372 Fix confusion between file struct and message struct (Bug#9319).
21373 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21374 `ant' regexp.
21375
21376 * net/browse-url.el (browse-url-firefox): Don't call
21377 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21378
21379 2011-08-20 Glenn Morris <rgm@gnu.org>
21380
21381 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21382
21383 * tutorial.el (tutorial--default-keys): Update some default bindings.
21384
21385 * files.el (hack-local-variables): Fully ignore case for "mode:".
21386
21387 2011-08-20 Alan Mackenzie <acm@muc.de>
21388
21389 Resolve invalid use of a regexp in regexp-opt.
21390
21391 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21392 detection for a java annotation.
21393
21394 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21395 detection for a java annotation.
21396
21397 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21398 handling for java.
21399 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21400
21401 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21402
21403 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21404 (Bug#9274).
21405
21406 2011-08-20 Alan Mackenzie <acm@muc.de>
21407
21408 Fontify CPP expressions correctly when starting in the middle of
21409 such a construct. Mainly for when jit-lock etc. starts a chunk
21410 here.
21411
21412 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21413 variable.
21414 (c-make-font-lock-search-form): New function, extracted from
21415 c-make-font-lock-search-function.
21416 (c-make-font-lock-search-function): Use the above function.
21417 (c-make-font-lock-context-search-function): New function.
21418 (c-cpp-matchers): Enhance the preprocessor expression case with
21419 the above function
21420 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21421 which takes an expression.
21422
21423 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21424
21425 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21426
21427 * window.el (display-buffer-reuse-window)
21428 (display-buffer-pop-up-window): Don't reuse or split a side
21429 window.
21430
21431 2011-08-19 Glenn Morris <rgm@gnu.org>
21432
21433 * files.el (hack-local-variables-prop-line, hack-local-variables):
21434 Downcase "Mode:". (Bug#9331)
21435
21436 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21437
21438 * international/characters.el: Add L and R categories.
21439
21440 * subr.el (bidi-string-mark-left-to-right): Rename from
21441 string-mark-left-to-right. Use category search.
21442
21443 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21444
21445 2011-08-18 Juri Linkov <juri@jurta.org>
21446
21447 * faces.el (error, warning, success): New faces with definitions
21448 copied from old default values of `font-lock-warning-face',
21449 `compilation-warning', `compilation-info' (bug#6117).
21450
21451 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21452
21453 * progmodes/compile.el (compilation-error): Inherit from `error'.
21454 (compilation-warning): Inherit from `warning'.
21455 (compilation-info): Inherit from `success'.
21456
21457 * dired.el (dired-marked): Inherit from `warning'.
21458 (dired-flagged): Inherit from `error'.
21459
21460 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21461
21462 * mail/smtpmail.el (auth-source): Require to avoid problems with
21463 binding variables (bug#9298). Also clean up some unused
21464 autoloads.
21465
21466 * net/network-stream.el (network-stream-open-starttls):
21467 Support using starttls.el without using gnutls-cli.
21468
21469 2011-08-17 Juri Linkov <juri@jurta.org>
21470
21471 * progmodes/grep.el (rgrep): Handle the case when
21472 `grep-find-command' is a cons cell (bug#9278).
21473
21474 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21475
21476 * window.el (display-buffer-pop-up-frame): Run frame creation
21477 function with BUFFER current (as special-display-popup-frame
21478 does). Reported by Drew Adams.
21479
21480 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21481
21482 * epa-mail.el: Simplify GnuPG group expansion using
21483 epg-expand-group.
21484 (epa-mail-group-alist, epa-mail-group-modtime)
21485 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21486 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21487 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21488 Remove.
21489
21490 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21491
21492 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21493
21494 2011-08-16 Alan Mackenzie <acm@muc.de>
21495
21496 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21497 Correct, to avoid the inside of macros.
21498
21499 2011-08-16 Richard Stallman <rms@gnu.org>
21500
21501 * epa-mail.el: Handle GnuPG group definitions.
21502 (epa-mail-group-alist, epa-mail-group-modtime)
21503 (epa-mail-gnupg-conf-file): New variables.
21504 (epa-mail-parse-groups, epa-mail-sync-groups)
21505 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21506 (epa-mail-expand-recipients): New functions.
21507 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21508
21509 * mail/rmail.el (rmail-epa-decrypt): New command.
21510
21511 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21512 Don't bind buffer-read-only, just inhibit-read-only.
21513 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21514 (epa-decrypt-armor-in-region): Make error message clearer.
21515
21516 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21517
21518 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21519 and "a2b" to "ab" for `prefix'.
21520
21521 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21522
21523 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21524 filter groups.
21525 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21526 Fourquet (Bug#8804).
21527
21528 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21529
21530 * startup.el (argi): Declare as global variable (bug#9275).
21531
21532 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21533
21534 * subr.el (string-mark-left-to-right): Search the entire string
21535 for RTL script, not just the terminating character. Doc fix.
21536
21537 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21538
21539 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21540 New function.
21541 (js--regexp-literal, js-syntax-propertize-function): Remove.
21542 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21543 (js-mode-map): Don't rebind electric keys.
21544 (js-insert-and-indent): Remove.
21545 (js-mode): Setup electric-layout and electric-indent instead.
21546
21547 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21548
21549 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21550
21551 * epa.el (epa-progress-callback-function): Fix the logic of
21552 displaying progress.
21553 * epa-file.el (epa-file-insert-file-contents): Make progress
21554 display more user-friendly.
21555 (epa-file-write-region): Ditto.
21556
21557 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21558
21559 * subr.el (string-mark-left-to-right): New function.
21560
21561 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21562 Use string-mark-left-to-right.
21563 (list-buffers-noselect): Caller changed.
21564
21565 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21566 Use string-mark-left-to-right.
21567 (tabulated-list-print): Recenter after moving point.
21568
21569 2011-08-10 Juri Linkov <juri@jurta.org>
21570
21571 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21572 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21573 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21574
21575 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21576
21577 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21578 (Bug#7554).
21579
21580 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21581
21582 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21583 character. (Bug#6594)
21584
21585 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21586
21587 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21588 (image-dired--with-db-file): New macro.
21589 (image-dired-write-tags, image-dired-remove-tag)
21590 (image-dired-create-gallery-lists, image-dired-write-comments)
21591 (image-dired-get-comment, image-dired-mark-tagged-files)
21592 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21593 (image-dired-gallery-generate): Use insert-file-contents.
21594
21595 * time.el (display-time-world-list, display-time-world-display):
21596 * time-stamp.el (time-stamp-string):
21597 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21598 set-time-zone-rule (Bug#7337).
21599
21600 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21601
21602 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21603 (epg-error-to-string, epg-errors-to-string): New function.
21604 (epg-wait-for-completion): Reverse errors list.
21605 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21606 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21607 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21608 (epg-sign-keys, epg-generate-key-from-file)
21609 (epg-generate-key-from-string): Format errors by using
21610 epg-errors-to-string (bug#9255).
21611 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21612
21613 2011-08-07 Juri Linkov <juri@jurta.org>
21614
21615 * faces.el (list-faces-display): Remove extra angle bracket
21616 from `help-mode-map'.
21617
21618 * info.el (Info-history-toc-nodes): Doc fix.
21619
21620 * longlines.el (longlines-mode): Doc fix.
21621
21622 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21623
21624 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21625 of statements and in a few more cases (bug#9183).
21626
21627 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21628 New functions.
21629 (cl-transform-lambda): Use them (bug#9239).
21630
21631 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21632
21633 * window.el (display-buffer-same-window)
21634 (display-buffer-same-frame, display-buffer-other-window)
21635 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21636 (pop-to-buffer-other-window)
21637 (pop-to-buffer-same-frame-other-window)
21638 (pop-to-buffer-other-frame): Make them defuns.
21639 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21640
21641 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21642
21643 * subr.el (make-composed-keymap): Move from C. Change calling
21644 convention, and improve docstring to bring attention to a subtle point.
21645 * minibuffer.el (completing-read-default): Adjust accordingly.
21646
21647 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21648
21649 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21650 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21651
21652 * net/trampver.el: Update release number.
21653
21654 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21655
21656 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21657 "in" (bug#9190).
21658
21659 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21660
21661 * mail/sendmail.el (sendmail-query-once): Restore the current
21662 buffer after querying (bug#9074).
21663
21664 * dired.el (dired-flagged): Use different faces for marked and
21665 flagged files (bug#6117).
21666
21667 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21668 (bug#4433).
21669
21670 * ido.el (ido-mode): Switch off the message if called
21671 non-interactively.
21672
21673 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21674 before 587, since it appears that that's more likely to work for
21675 more people.
21676
21677 * cus-edit.el (custom-file): When running under emacs -q, always
21678 refuse to save the customizations, even if the .emacs file doesn't
21679 exist.
21680
21681 * info.el: Remove the `Info-beginning-of-buffer' function
21682 (bug#8325).
21683
21684 * net/network-stream.el (network-stream-open-starttls):
21685 Use `starttls-available-p' to see whether starttls.el can be used.
21686
21687 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21688
21689 * window.el (display-buffer-in-window): Don't set dedicated status
21690 of window here (Bug#9215).
21691 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21692 (display-buffer-pop-up-side-window)
21693 (display-buffer-in-side-window): Set dedicated status of window here.
21694
21695 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21696
21697 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21698 before binding generated-autoload-file.
21699
21700 2011-08-01 Deniz Dogan <deniz@dogan.se>
21701
21702 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21703
21704 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21705
21706 Sync with Tramp 2.2.2.
21707
21708 * net/trampver.el: Update release number.
21709
21710 2011-07-30 Juri Linkov <juri@jurta.org>
21711
21712 * dired-aux.el (dired-touch-initial): Remove function.
21713 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21714 current time, and `default' to the last modification time of the
21715 current marked file (bug#6887).
21716
21717 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21718
21719 * simple.el (goto-line): Use string-to-number to provide a
21720 numeric argument to read-number (bug#9163).
21721
21722 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21723
21724 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21725 connection process, it could be nil.
21726
21727 2011-07-27 Leo Liu <sdl.web@gmail.com>
21728
21729 Simplify url handling in rcirc-mode.
21730
21731 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21732 (rcirc-browse-url-at-mouse): Remove.
21733 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21734
21735 2011-07-26 Alan Mackenzie <acm@muc.de>
21736
21737 Fontify bitfield declarations properly.
21738
21739 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21740 (c-symbol-chars): Now exported as a lang variable.
21741 (c-not-primitive-type-keywords): New lang variable.
21742
21743 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21744 QT keyword "more" to prevent "more slots: ...." being spuriously
21745 parsed as a bitfield declaration.
21746
21747 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21748 Refactor and enhance to handle bitfield declarations.
21749 (c-punctuation-in): New function.
21750 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21751 declarations properly.
21752
21753 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21754
21755 * calendar/icalendar.el (icalendar--all-events): Take care of
21756 multiple vcalendars in a single file.
21757 (icalendar--convert-float-to-ical): Checkdoc fixes.
21758
21759 2011-07-25 Deniz Dogan <deniz@dogan.se>
21760
21761 * image.el (insert-image): Clarifying docstring.
21762
21763 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21764
21765 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21766 `tramp-send-command-and-check' if there is no error.
21767 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21768
21769 2011-07-22 Alan Mackenzie <acm@muc.de>
21770
21771 Prevent cc-langs.elc being loaded at run time.
21772
21773 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21774 cc-langs.
21775
21776 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21777 "(require 'cc-langs)". Quote a form so it will evaluate at
21778 (cc-mode's) compilation time.
21779
21780 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21781
21782 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21783 loading. (Bug#9114)
21784
21785 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21786
21787 * window.el (display-buffer-pop-up-window)
21788 (display-buffer-pop-up-side-window)
21789 (display-buffer-in-side-window): Call display-buffer-set-height
21790 and display-buffer-set-width after setting the new window's
21791 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21792
21793 2011-07-20 Sam Steingold <sds@gnu.org>
21794
21795 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21796 (etags-tags-included-tables): Call `convert-standard-filename' on
21797 the file names contained in TAGS so that windows Emacs can handle
21798 TAGS files created by cygwin ctags.
21799
21800 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21801
21802 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21803 which apparently didn't work.
21804
21805 2011-07-19 Roland Winkler <winkler@gnu.org>
21806
21807 * proced.el (proced-send-signal): For *Marked Processes* buffer
21808 put point at beginning of buffer.
21809
21810 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21811
21812 * proced.el (proced-format): Make header lines align with the text
21813 (bug#1779).
21814
21815 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21816
21817 * view.el (view-buffer): Allow running in `special' modes if we're
21818 visiting a file (bug#8615).
21819
21820 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21821
21822 * window.el (display-buffer-alist-of-strings-p)
21823 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21824 New functions.
21825 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21826 more accurately.
21827
21828 2011-07-18 Alan Mackenzie <acm@muc.de>
21829
21830 Fontify declarators properly when, e.g., a jit-lock chunk begins
21831 inside a declaration.
21832
21833 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21834
21835 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21836 New function.
21837 (c-complex-decl-matchers): Insert reference to
21838 c-font-lock-enclosing-decls.
21839
21840 * progmodes/cc-engine.el (c-backward-single-comment):
21841 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21842 to nil around calls to (forward-comment -1).
21843
21844 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21845
21846 * image.el (put-image): Doc typo fix.
21847
21848 * progmodes/etags.el (tags-search): Doc typo fix.
21849
21850 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21851 password if we get errors 550 to 554.
21852
21853 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21854
21855 * net/gnutls.el (gnutls-log-level): Remove.
21856
21857 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21858 indentation character (bug#6380).
21859
21860 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21861
21862 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21863 to clarify what the problem is (bug#4291).
21864
21865 * simple.el (current-kill): Clarify what
21866 `interprogram-paste-function' does (bug#7500).
21867 (auto-fill-mode): Document `auto-fill-function' in relation to
21868 `auto-fill-mode' (bug#2470).
21869
21870 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21871
21872 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21873 method if slot is read-only (bug#9035).
21874
21875 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21876
21877 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21878 * window.el (pop-to-buffer): Select window used even if it was
21879 selected before, see discussion of (Bug#8615), (Bug#6954).
21880 Pass argument NORECORD on to select-frame-set-input-focus.
21881
21882 2011-07-15 Glenn Morris <rgm@gnu.org>
21883
21884 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21885 Respect help-form.
21886
21887 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21888
21889 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21890 (gnutls-negotiate): Use it.
21891
21892 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21893
21894 * net/gnutls.el (gnutls-negotiate):
21895 Upcase `gnutls-algorithm-priority'.
21896
21897 2011-07-15 Glenn Morris <rgm@gnu.org>
21898
21899 * jka-compr.el (jka-compr-verbose): Move from here...
21900 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21901 Add missing :version tag.
21902 * info.el: No need to require jka-compr when compiling.
21903
21904 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21905
21906 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21907 (gnutls-negotiate): Use it.
21908
21909 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21910
21911 * info.el (Info-beginning-of-buffer): New command.
21912 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21913 announcing `b' as the key (bug#8325).
21914 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21915
21916 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21917
21918 * international/mule-cmds.el
21919 (describe-specified-language-support): Make the error message
21920 clearer (bug#8905).
21921
21922 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21923
21924 * isearch.el (isearch-barrier): Add a doc string, since it's
21925 mentioned in a function doc string (bug#8678).
21926
21927 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21928
21929 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21930 buffer argument (Bug#9083) and self-identifying label argument.
21931
21932 2011-07-15 Glenn Morris <rgm@gnu.org>
21933
21934 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21935
21936 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21937
21938 * man.el (Man-fontify-manpage): Fix message when formatting the
21939 man page (bug#7929).
21940
21941 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21942
21943 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21944 argument LRM; if non-nil, append an invisible LRM character to the
21945 buffer name.
21946 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21947 last argument non-nil, when formatting buffer names.
21948 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21949 paragraph direction.
21950
21951 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21952
21953 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21954 the man page name (bug#7929).
21955
21956 * image.el (put-image): Mention the `put-image' overlay property
21957 (bug#7834).
21958
21959 * scroll-bar.el (set-scroll-bar-mode): Mention that
21960 `scroll-bar-mode' lists the values (bug#7772).
21961
21962 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21963 command (bug#7729).
21964
21965 * rect.el (apply-on-rectangle): Return the point after the last
21966 operation.
21967 (string-rectangle): Go to the point after the last operation
21968 (bug#7522).
21969
21970 * printing.el (pr-toggle-region): Clarify the documentation
21971 slightly (bug#7493).
21972
21973 * time.el (display-time-update):
21974 Allow `display-time-mail-function' to return nil (bug#7158).
21975 Fix suggested by Detlev Zundel.
21976
21977 * vc/diff.el (diff): Clarify the order the file names are read
21978 (bug#7111).
21979
21980 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21981 the doc string (bug#7015).
21982
21983 * font-lock.el (font-lock-maximum-decoration): Mention what
21984 numeric levels mean (bug#6935).
21985
21986 * startup.el (initial-buffer-choice): Don't mention the `none'
21987 selection, which is against policy.
21988
21989 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21990
21991 * window.el (display-buffer-normalize-special):
21992 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21993
21994 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21995
21996 * subr.el (version<, version<=, version=): Mention "-CVS" and
21997 "-12345" alpha version numbers.
21998
21999 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22000
22001 * bindings.el: Add advertised binding for set-mark-command
22002 (Bug#5772).
22003
22004 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
22005
22006 * bindings.el (mode-line-other-buffer):
22007 * bookmark.el (bookmark-bmenu-2-window):
22008 * bs.el (bs-cycle-next, bs-cycle-previous):
22009 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
22010 switch-to-buffer.
22011
22012 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22013 Delete.
22014
22015 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
22016
22017 * follow.el (follow-debug-message, follow-redisplay):
22018 * jka-cmpr-hook.el (with-auto-compression-mode):
22019 Fix typos in docstrings.
22020
22021 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22022
22023 * subr.el (with-silent-modifications): Clarify somewhat what the
22024 macro inhibits (bug#6525).
22025
22026 * simple.el (eval-expression): Note what it does if called
22027 interactively (bug#6495).
22028
22029 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22030
22031 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
22032 Use pop-to-buffer buffer-or-name if it is nil.
22033
22034 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22035 Remove switch-to-buffer.
22036
22037 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22038
22039 * files.el (make-directory): Clarify that an error will be raised
22040 if there's an error (bug#6397).
22041
22042 * startup.el (initial-buffer-choice): Add `none' as a choice
22043 (bug#6234).
22044
22045 * subr.el (add-hook): Clarify section about buffer-local hooks
22046 (bug#6218).
22047
22048 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22049
22050 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22051
22052 * tabify.el (untabify): Preserve the current column so that point
22053 doesn't move (bug#6032).
22054
22055 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22056
22057 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22058 Rewrite to avoid awkward possessive "s" (bug#5986).
22059
22060 2011-07-13 Glenn Morris <rgm@gnu.org>
22061
22062 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22063 (dired-insert-directory): Give a message the first time
22064 if ls is found not to support --dired.
22065
22066 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22067
22068 * simple.el (toggle-truncate-lines): Clarify what is toggled
22069 (bug#5580). Text by Drew Adams.
22070
22071 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22072
22073 * simple.el (blink-matching-open): Make the error message from the
22074 last change less verbose.
22075
22076 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22077
22078 * font-lock.el (font-lock-comment-face): Use the high contrast
22079 "yellow" color for font-lock-comment-face on low color terminals
22080 using a dark background color (bug#4221).
22081
22082 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22083
22084 * dired.el (dired-insert-set-properties): Make the doc string
22085 reflect what it does now (bug#5325).
22086
22087 * simple.el (blink-matching-open): Say that we were unable to find
22088 the match within the limit, if we're limited (bug#5122).
22089
22090 * international/mule-cmds.el (prefer-coding-system): Add an
22091 example (bug#4869).
22092
22093 * progmodes/etags.el (tags-search): Document `file-list-form'
22094 (bug#4731).
22095
22096 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22097
22098 * net/browse-url.el (browse-url-default-browser)
22099 (browse-url-browser-function): Make the default browser choice a
22100 bit more logical (bug#4300). Also clean up the doc string.
22101
22102 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22103
22104 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22105 binary endings (bug#4440).
22106
22107 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22108
22109 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22110 which can be pretty annoying (bug#8971).
22111
22112 * jka-compr.el (jka-compr-verbose): New variable, and use
22113 throughout (bug#8971).
22114
22115 * info.el (Info-find-file): Fall back on the installation
22116 directory if we can't find the info node anywhere else.
22117
22118 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22119
22120 * vc/vc.el (vc-revert-file):
22121 Don't set file time-stamp in the past. (Bug#5181)
22122
22123 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22124
22125 * files.el (after-find-file): Give a better error message when
22126 trying to find a symlink that points to a file that doesn't exist
22127 (bug#4398).
22128
22129 * progmodes/cc-vars.el: Remove (probably) misleading comment
22130 (bug#4396).
22131
22132 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22133
22134 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22135
22136 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22137
22138 * mouse-sel.el: Hack restoring functionality, while keeping
22139 compatibility with 2010-07-03 changes to mouse selection.
22140 (mouse-sel-primary-overlay): New var.
22141 (mouse-sel-selection-alist): Use it.
22142 (mouse-sel-mode): Doc fix; remove points that are default features
22143 of mouse.el.
22144
22145 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22146
22147 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22148 Fix previous fix (bug#2490).
22149
22150 2011-07-12 Roland Winkler <winkler@gnu.org>
22151
22152 * textmodes/bibtex.el (bibtex-initialize):
22153 Use pop-to-buffer-same-window.
22154 (bibtex-search-entries): Fix interactive call.
22155
22156 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22157
22158 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22159 Fontise bytecomp Error lines more correctly (bug#2490).
22160 Fix suggested by Johan BockgĂ¥rd.
22161
22162 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22163
22164 * dired-x.el (dired-guess-default): Use `delete-dups'.
22165
22166 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22167
22168 * dired.el (dired-mark-prompt):
22169 * dired-aux.el (dired-read-shell-command): Doc fix.
22170
22171 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22172
22173 * mail/sendmail.el (sendmail-query-once):
22174 Use `customize-save-variable' unconditionally, now that it works under
22175 emacs -Q.
22176
22177 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22178
22179 * cus-edit.el (custom-file): Take an optional no-error variable.
22180 (customize-save-variable): Set the variable, and give a warning if
22181 running under "emacs -q".
22182
22183 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22184
22185 * loadhist.el (unload-feature-special-hooks):
22186 Add `auto-coding-functions', `fill-nobreak-predicate' and
22187 `find-directory-functions' (bug#5327).
22188
22189 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22190
22191 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22192
22193 * cus-edit.el (custom-guess-name-alist): -alist variables should
22194 use the `alist' type (bug#3120). Suggested by Drew Adams.
22195
22196 * printing.el: Add documentation to all the `pr-toggle-' commands.
22197
22198 2011-07-11 Leo Liu <sdl.web@gmail.com>
22199
22200 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22201 backends where it makes sense (bug#2623).
22202
22203 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22204
22205 * dired-x.el (dired-guess-default): Remove duplicate shell command
22206 entries (bug#2028).
22207 (dired-guess-default): Fix grammar in doc string (bug#2028).
22208 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22209
22210 * subr.el (remove-duplicates): New conveniency function.
22211
22212 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22213
22214 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22215 (bug#1526).
22216
22217 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22218
22219 * window.el (display-buffer-normalize-default): Don't invert
22220 meaning of even-window-heights. Reported by Eli Zaretskii
22221 <eliz@gnu.org>.
22222
22223 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22224
22225 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22226
22227 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22228
22229 * window.el (display-buffer): Fix arguments to
22230 display-buffer-reuse-window in last change.
22231
22232 * faces.el (link): Use a less saturated blue on light backgrounds.
22233
22234 * startup.el (fancy-startup-text, fancy-about-text)
22235 (fancy-startup-tail): Use font-lock faces, for background safety.
22236
22237 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22238
22239 * emulation/viper-cmd.el (viper-change-state-to-vi):
22240 Limit triggering of abbrev expansion (Bug#9038).
22241
22242 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22243
22244 * window.el (display-buffer-default-specifiers): Remove.
22245 (display-buffer-macro-specifiers): Remove default specifiers.
22246 (display-buffer-alist): Default to nil.
22247 (display-buffer-reuse-window): New optional argument other-window.
22248 (display-buffer-pop-up-window): Allow splitting internal
22249 windows. Check whether a live window was created.
22250 (display-buffer-other-window-means-other-frame)
22251 (display-buffer-normalize-arguments): Rename to
22252 display-buffer-normalize-argument and rewrite. Set the
22253 other-window specifier.
22254 (display-buffer-normalize-special): New function.
22255 (display-buffer-normalize-options): Rename to
22256 display-buffer-normalize-default and rewrite.
22257 (display-buffer-normalize-options-inhibit): Remove.
22258 (display-buffer-normalize-specifiers): Rewrite.
22259 (display-buffer): Process other-window specifier and call
22260 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22261 more faithfully.
22262 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22263 (display-buffer-alist-set): Don't handle 'unset default values.
22264 (display-buffer-in-window, display-buffer-alist-set):
22265 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22266 <tassilo@member.fsf.org>.
22267
22268 2011-07-09 Leo Liu <sdl.web@gmail.com>
22269
22270 * register.el (insert-register): Restore accidental change on
22271 2011-06-26. (Bug#9028)
22272
22273 2011-07-09 Glenn Morris <rgm@gnu.org>
22274
22275 * subr.el (remq): Handle the empty list. (Bug#9024)
22276
22277 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22278
22279 * mail/sendmail.el (send-mail-function): No longer delay custom
22280 initialization.
22281 * custom.el (custom-initialize-delay): Doc fix.
22282
22283 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22284
22285 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22286
22287 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22288
22289 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22290 human-friendly prompt.
22291
22292 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22293
22294 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22295 provided by a particular plugin.
22296
22297 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22298
22299 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22300 save customizations (with "emacs -Q"), just set the variable
22301 instead of erroring out.
22302
22303 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22304
22305 2011-07-08 Juri Linkov <juri@jurta.org>
22306
22307 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22308 (archive-zip-update-case): Use 7z if found by `executable-find'.
22309 The order of searching the available programs is the same as in
22310 `archive-zip-extract' (bug#8968).
22311
22312 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22313
22314 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22315 (menu-bar-options-menu): Tweak descriptions.
22316
22317 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22318
22319 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22320 menu items into verb phrases (bug#1421). Also refill to fit under
22321 80 columns.
22322
22323 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22324
22325 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22326 (Info-read-node-name): Doc fix (Bug#1084).
22327
22328 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22329 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22330 (end-of-sexp, beginning-of-sexp)
22331 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22332 (forward-symbol, forward-same-syntax, word-at-point)
22333 (sentence-at-point): Doc fix (Bug#1144).
22334
22335 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22336
22337 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22338 should cover it (bug#1281).
22339
22340 * cus-edit.el (custom-show): Mark as obsolete.
22341
22342 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22343 negotiation fails, then possibly try again with a non-encrypted
22344 connection (bug#9017).
22345
22346 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22347 be used.
22348
22349 2011-07-07 Richard Stallman <rms@gnu.org>
22350
22351 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22352 property, and handle its changed format.
22353 Look for the correct line number.
22354 Use file's line contents (but not past first =) to find
22355 correct line in message.
22356
22357 2011-07-07 Kenichi Handa <handa@m17n.org>
22358
22359 * international/characters.el (build-unicode-category-table):
22360 Delete it.
22361 (unicode-category-table): Set it by unicode-property-table-internal.
22362
22363 * international/mule-cmds.el (char-code-property-alist): Move to
22364 to src/chartab.c.
22365 (get-char-code-property): Call unicode-property-table-internal to
22366 load a file. Call get-unicode-property-internal where necessary.
22367 (put-char-code-property): Call unicode-property-table-internal to
22368 load a file. Call put-unicode-property-internal where necessary.
22369 put-unicode-property-internal where necessary.
22370 (char-code-property-description):
22371 Call unicode-property-table-internal to load a file.
22372
22373 * international/charprop.el:
22374 * international/uni-bidi.el:
22375 * international/uni-category.el:
22376 * international/uni-combining.el:
22377 * international/uni-comment.el:
22378 * international/uni-decimal.el:
22379 * international/uni-decomposition.el:
22380 * international/uni-digit.el:
22381 * international/uni-lowercase.el:
22382 * international/uni-mirrored.el:
22383 * international/uni-name.el:
22384 * international/uni-numeric.el:
22385 * international/uni-old-name.el:
22386 * international/uni-titlecase.el:
22387 * international/uni-uppercase.el: Regenerate.
22388
22389 * loadup.el: Load international/charprop.el before
22390 international/characters.
22391
22392 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22393
22394 * window.el (next-buffer, previous-buffer): Signal an error if
22395 called from a minibuffer window.
22396
22397 * bindings.el: Revert 2011-07-04 change.
22398
22399 2011-07-06 Richard Stallman <rms@gnu.org>
22400
22401 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22402 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22403 Treat markers like ints.
22404 (rmail-mime-entity): Doc fix.
22405
22406 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22407
22408 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22409 defcustom again for backwards compatibility.
22410
22411 * simple.el (shell-command-on-region): Fill.
22412
22413 * dired-aux.el (dired-kill-line): Add a doc string.
22414
22415 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22416 to "\\sw\\|\\s_" (bug#358).
22417
22418 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22419 (dired-unmark-backward): Ditto.
22420 (dired-flag-backup-files): Ditto.
22421
22422 * dired-x.el (dired-mark-sexp): Ditto.
22423
22424 2011-07-06 Richard Stallman <rms@gnu.org>
22425
22426 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22427 (rmail-mime-entity): New arg TRUNCATED.
22428 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22429 New functions.
22430 (rmail-mime-save): Warn if entity is truncated.
22431 (rmail-mime-toggle-hidden): Likewise, for showing.
22432 (rmail-mime-process-multipart): Record when an entity is truncated.
22433
22434 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22435 if ENTITY is a string.
22436
22437 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22438
22439 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22440 of faces when `M-C-x'-ing their definitions (bug#8378).
22441 Also clean up the code slightly.
22442
22443 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22444 because that makes the colors go away.
22445
22446 * mail/sendmail.el (send-mail-function): Change the default to
22447 `sendmail-query-once'.
22448 (sendmail-query-once): Add an autoload cookie.
22449
22450 * net/network-stream.el (network-stream-open-starttls): Try using
22451 a plain connection even if the server offered STARTTLS, and we
22452 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22453 capability. This should make smtpmail.el work in slightly more
22454 configurations.
22455
22456 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22457
22458 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22459 New defun.
22460 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22461
22462 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22463
22464 * progmodes/sql.el: Version 3.0
22465 (sql-product-alist): Add product :completion-object,
22466 :completion-column, and :statement attributes.
22467 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22468 (sql-mode-syntax-table): Mark all punctuation.
22469 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22470 ansi keywords.
22471 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22472 (sql-mode-oracle-font-lock-keywords): Improve.
22473 (sql-oracle-show-reserved-words): New function for development.
22474 (sql-product-font-lock): Simplify for source code buffers.
22475 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22476 New functions.
22477 (sql-highlight-product): Set product specific syntax table.
22478 (sql-mode-map): Add statement movement functions.
22479 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22480 New variable.
22481 (sql-statement-regexp, sql-beginning-of-statement)
22482 (sql-end-of-statement, sql-signum): New functions.
22483 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22484 (sql-show-sqli-buffer): Bug fix.
22485 (sql-interactive-mode): Store connection data as buffer local.
22486 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22487 with sql-interactive-mode.
22488 (sql-save-connection): Save buffer local settings.
22489 (sql-connection-menu-filter): Change menu entry name.
22490 (sql-product-interactive): Bug fix.
22491 (sql-preoutput-hold): New variable.
22492 (sql-interactive-remove-continuation-prompt): Bug fixes.
22493 (sql-debug-redirect): New variable.
22494 (sql-str-literal): New function.
22495 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22496 Redesign.
22497 (sql-oracle-save-settings, sql-oracle-restore-settings)
22498 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22499 (sql-completion-object, sql-completion-column)
22500 (sql-completion-sqlbuf): New variables.
22501 (sql-build-completions-1, sql-build-completions)
22502 (sql-try-completion): New functions.
22503 (sql-read-table-name): Use them.
22504 (sql-contains-names): New buffer local variable.
22505 (sql-list-all, sql-list-table): Use it.
22506 (sql-oracle-completion-types): New variable.
22507 (sql-oracle-completion-object, sql-sqlite-completion-object)
22508 (sql-postgres-completion-object): New functions.
22509
22510 2011-07-06 Glenn Morris <rgm@gnu.org>
22511
22512 * window.el (pop-to-buffer): Doc fix.
22513
22514 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22515
22516 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22517
22518 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22519
22520 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22521
22522 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22523
22524 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22525
22526 * button.el (button): Inherit from link face. Suggested by Dan
22527 Nicolaescu.
22528
22529 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22530
22531 * progmodes/gdb-mi.el: Fit in 80 columns.
22532 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22533 switch-to-buffer.
22534
22535 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22536 if imenu is simply not configured (bug#8941).
22537
22538 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22539
22540 * allout.el (allout-post-undo-hook): New allout outline-change
22541 event hook to signal undo activity.
22542 (allout-post-command-business): Run allout-post-undo-hook if an
22543 undo just occurred.
22544 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22545 * allout-widgets.el (allout-widgets-after-undo-function):
22546 Ensure the integrity of the current item's decoration after it has been
22547 in the vicinity of an undo.
22548 (allout-widgets-mode): Include allout-widgets-after-undo-function
22549 on the new allout-post-undo-hook.
22550
22551 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22552
22553 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22554 Let define-derived-mode define it.
22555 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22556 cycles of abbrev-table inheritance (bug#8998).
22557
22558 2011-07-05 Roland Winkler <winkler@gnu.org>
22559
22560 * textmodes/bibtex.el: Add support for biblatex.
22561 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22562 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22563 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22564 (bibtex-entry-alist, bibtex-field-alist): New variables.
22565 (bibtex-entry-field-alist): Obsolete alias for
22566 bibtex-BibTeX-entry-alist.
22567 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22568 (bibtex-set-dialect): New command.
22569 (bibtex-entry-type, bibtex-entry-head)
22570 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22571 Bind via bibtex-set-dialect.
22572 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22573 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22574 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22575 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22576 Define via bibtex-set-dialect.
22577 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22578 Obey bibtex-no-opt-remove-re.
22579 (bibtex-vec-push, bibtex-vec-incr): New functions.
22580 (bibtex-format-entry, bibtex-field-list)
22581 (bibtex-print-help-message, bibtex-validate)
22582 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22583
22584 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22585
22586 * progmodes/compile.el (compilation-goto-locus):
22587 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22588 * bs.el (bs-cycle-next, bs-cycle-previous):
22589 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22590 * bindings.el (mode-line-other-buffer):
22591 * autoinsert.el (auto-insert):
22592 * arc-mode.el (archive-extract):
22593 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22594
22595 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22596
22597 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22598 Fix check of `emacs-lock-unlockable-modes'.
22599 Coerce true values of `emacs-lock--try-unlocking' to t.
22600
22601 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22602
22603 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22604 * emacs-lock.el: New file.
22605
22606 2011-07-05 Julien Danjou <julien@danjou.info>
22607
22608 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22609 than `boundp' to check if face is set.
22610
22611 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22612
22613 * register.el (registerv-make):
22614 * window.el (window-min-height): Fix typos in docstrings.
22615
22616 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22617
22618 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22619 Update doc string.
22620
22621 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22622
22623 * server.el (server-execute): Catch quit and call
22624 `server-return-error' to pass the error back to emacsclient and
22625 close the connection (bug#8942).
22626
22627 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22628
22629 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22630 insecure exception for current topic. Also note that auto-saves
22631 are handled differently.
22632
22633 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22634 State variables for tracking auto-save inhibition situation.
22635
22636 (allout-write-contents-hook-handler): Rename from
22637 'allout-write-file-hook-handler', and describe how it depends on
22638 write-contents-functions sensitivity to non-nil value to prevent
22639 file write.
22640
22641 (allout-auto-save-hook-handler): Remove. auto-save does not check
22642 this in individual buffers, only in the starting buffer, so this
22643 is not the right way for us to inhibit auto-save in a buffer
22644 according to its condition.
22645
22646 (allout-mode): Use new allout-write-contents-hook-handler, and
22647 only with write-contents-functions. Remove auto-save provisions -
22648 they're implemented elsewhere.
22649
22650 (allout-before-change-handler): If undo is in progress, note that
22651 for attention of allout-post-command-business.
22652
22653 (allout-post-command-business): If the command we're following was
22654 an undo, check for change in the status of encrypted items and
22655 adjust auto-save inhibitions accordingly.
22656
22657 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22658 according to whether there are or aren't any plain-text topics
22659 pending encryption.
22660
22661 (allout-inhibit-auto-save-info-for-decryption):
22662 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22663 if there are plain-text topics pending encryption.
22664
22665 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22666 buffer-saved-size and some allout state to not inhibit auto-saves
22667 if there are no longer any plain-text topics pending encryption.
22668
22669 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22670 No longer provide for exemption of the current topic.
22671
22672 2011-07-04 Juri Linkov <juri@jurta.org>
22673
22674 Add 7z operations to delete and save changed members (bug#8968).
22675 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22676 New defcustoms.
22677 (archive-7z-write-file-member): New function.
22678 (archive-7z-summarize): Fix the number of dashes in the
22679 listing output.
22680
22681 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22682
22683 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22684 (bug#8958).
22685
22686 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22687
22688 * bindings.el: Ignore next-buffer and previous-buffer in
22689 minibuffer-local-map.
22690
22691 * font-lock.el (font-lock-builtin-face): Change light background
22692 color to dark slate blue (Bug#6693).
22693
22694 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22695
22696 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22697
22698 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22699
22700 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22701 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22702 Add switch-to-buffer.
22703
22704 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22705
22706 * isearch.el (isearch-search-fun-function): Clarify further the
22707 meaning of the function returned.
22708
22709 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22710
22711 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22712
22713 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22714 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22715 Use it.
22716 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22717 `tramp-default-remote-path' does not exist.
22718 (tramp-send-command-and-read): New optional argument NOERROR.
22719 (tramp-open-connection-setup-interactive-shell)
22720 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22721 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22722 (tramp-process-sentinel): Flush also process' connection property.
22723 (tramp-sh-handle-start-file-process): Do not set process
22724 sentinel. It is done now ...
22725 (tramp-maybe-open-connection): ... here. (Bug#8929)
22726
22727 2011-07-04 MON KEY <monkey@sandpframing.com>
22728
22729 * play/animate.el (animate-string): Doc fixes and allow changing
22730 the buffer name (bug#5417).
22731
22732 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22733
22734 * play/animate.el (animation-buffer-name): Rename from *animate*.
22735
22736 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22737
22738 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22739 This is simpler and helps future-proof the code.
22740 (timer-until): Use time-subtract and float-time.
22741 (timer--time-less-p): Use time-less-p.
22742
22743 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22744
22745 * type-break.el (timep): Use the value of `float-time' to avoid a
22746 byte-compiler warning.
22747
22748 * server.el (server-eval-and-print): Return any result, even nil.
22749
22750 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22751
22752 * type-break.el: Accept time formats that the builtins accept.
22753 (timep, type-break-time-difference): Accept any format that
22754 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22755 This is simpler and helps future-proof the code.
22756 (type-break-time-difference): Round rather than ignoring
22757 subseconds components.
22758
22759 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22760
22761 * info.el (Info-apropos-matches): Make non-interactive, since it
22762 doesn't seem to do anything useful as a command (bug#8829).
22763
22764 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22765
22766 * frame.el (frame-background-mode, frame-set-background-mode):
22767 Move from faces.el.
22768 (frame-default-terminal-background): New function.
22769
22770 * custom.el (custom-push-theme): Don't record faces in `changed'
22771 theme; this doesn't work correctly for per-frame face settings.
22772 (disable-theme): Use face-set-after-frame-default to reset faces.
22773 (custom--frame-color-default): New function.
22774
22775 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22776
22777 * dired.el (dired-flagging-regexp): Remove unused variable
22778 (bug#8769).
22779
22780 2011-03-29 Kevin Ryde <user42@zip.com.au>
22781
22782 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22783 `perl-Test2' extend to match possible "fail #N" rep count
22784 (bug#8377).
22785
22786 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22787
22788 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22789 `smtpmail-via-smtp' now returns the error instead of nil.
22790
22791 * isearch.el (isearch-search-fun-function): Clarify the doc string
22792 (bug#8101).
22793
22794 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22795
22796 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22797 unnecessary spaces (bug#8987).
22798
22799 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22800
22801 * net/network-stream.el (open-network-stream): Use the
22802 :end-of-capability command thoughout.
22803
22804 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22805
22806 * net/network-stream.el (open-network-stream): Add the
22807 :end-of-capability command parameter, used by pop3.el.
22808
22809 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22810
22811 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22812
22813 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22814 for list)" (bug#6475).
22815
22816 * files.el (file-expand-wildcards): Ignore non-readable
22817 sub-directories while trying to find matches instead of signaling
22818 an error (bug#6297).
22819
22820 * man.el (Man-reference-regexp): Allow matching possible
22821 word-wrapped references (bug#6289).
22822
22823 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22824 for consistency with the other vc buffers (bug#6197).
22825 (vc-checkin): Ditto.
22826
22827 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22828
22829 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22830
22831 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22832
22833 * custom.el (defcustom): Clarify that :set is only used in the
22834 Customize user interface (bug#6089).
22835
22836 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22837 associated with a file, refuse to run instead of erroring out
22838 (bug#6084).
22839
22840 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22841 the doc string, since it appears that using `fill-column' always
22842 controls the width (bug#7845).
22843
22844 * simple.el (shell-command-on-region): Say where the error output
22845 went if `shell-command-default-error-buffer' is set (bug#6857).
22846
22847 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22848
22849 * allout.el (allout-yank-processing): Adjust cursor position for
22850 backwards-deleted space.
22851
22852 (allout-rebullet-heading): Register changes with
22853 allout-exposure-changed-hook, so the modified topic is properly
22854 decorated.
22855
22856 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22857
22858 * minibuffer.el (completion-in-region): Document PREDICATE
22859 (bug#7136).
22860
22861 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22862 of keyword/argument pairs (bug#6904).
22863
22864 * replace.el (multi-occur):
22865 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22866
22867 2011-07-02 Drew Adams <drew.adams@oracle.com>
22868
22869 * dired.el (dired-mark-if): Make the message about whether it's
22870 marking or unmarking clearer (bug#8523).
22871
22872 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22873
22874 * disp-table.el (display-table-print-array): New function.
22875 (describe-display-table): Use it to print the vectors more pretty
22876 (Bug#8859).
22877
22878 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22879
22880 * window.el (window-state-get-1): Don't assign clone numbers.
22881 Add clone-of item to list of window parameters.
22882 (window-state-put-2): Don't process clone numbers.
22883 (display-buffer-alist): Fix doc-string.
22884
22885 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22886
22887 * subr.el (remq): Don't allocate if it's not needed.
22888 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22889 (keymap--merge-bindings): New functions.
22890 (keymap-canonicalize): Use them to refine the canonicalization.
22891 * minibuffer.el (minibuffer-local-completion-map)
22892 (minibuffer-local-must-match-map): Move initialization from C.
22893 (minibuffer-local-filename-completion-map): Move initialization from C;
22894 don't inherit from anything here.
22895 (minibuffer-local-filename-must-match-map): Make obsolete.
22896 (completing-read-default): Use make-composed-keymap to combine
22897 minibuffer-local-filename-completion-map with either
22898 minibuffer-local-must-match-map or
22899 minibuffer-local-filename-completion-map.
22900
22901 2011-07-01 Glenn Morris <rgm@gnu.org>
22902
22903 * type-break.el (type-break-time-sum): Use dolist.
22904
22905 * textmodes/flyspell.el (flyspell-word-search-backward):
22906 Replace CL function.
22907
22908 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22909
22910 * mouse.el (mouse--strip-first-event): New function.
22911 (function-key-map): Use it to map fringe clicks to normal clicks
22912 by default.
22913
22914 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22915 (vc-bzr-revision-completion-table): Add support for annotate and date.
22916
22917 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22918 inherit from parent.
22919
22920 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22921
22922 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22923 (dired-show-file-type): Doc fixup (bug#8818).
22924
22925 * dired.el (dired-mode): Fix up the doc string as suggested by
22926 Drew Adams (bug#8817).
22927
22928 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22929 cookie, since the manual says that it should be possible to add
22930 this function to `find-file-hook' (bug#8709).
22931
22932 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22933
22934 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22935 here. Noted Ted Zlatanov as the maintainer.
22936 (cfengine-common-settings, cfengine-common-syntax): New functions
22937 to set up common things between `cfengine-mode' and
22938 `cfengine3-mode'.
22939 (cfengine3-mode): New mode.
22940 (cfengine3-defuns cfengine3-defuns-regex
22941 (cfengine3-class-selector-regex cfengine3-category-regex)
22942 (cfengine3-vartypes cfengine3-font-lock-keywords)
22943 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22944 (cfengine3-indent-line): Add from cfengine3.el.
22945
22946 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22947
22948 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22949
22950 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22951
22952 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22953
22954 * window.el (same-window-buffer-names, same-window-regexps)
22955 (same-window-p, special-display-frame-alist)
22956 (special-display-popup-frame, special-display-function)
22957 (special-display-buffer-names, special-display-regexps)
22958 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22959 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22960 (split-window-preferred-function, split-height-threshold)
22961 (split-width-threshold, even-window-heights)
22962 (display-buffer-mark-dedicated, window-splittable-p)
22963 (split-window-sensibly, window-safely-shrinkable-p):
22964 Un-obsolete.
22965 (display-buffer): Don't spread args with function specifier
22966 because special-display-popup-frame won't like it.
22967
22968 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22969
22970 Time-stamp simplifications and fixes.
22971 These improve accuracy slightly, and future-proof the code
22972 against some potential changes to current-time format.
22973
22974 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22975 by using time-since and float-time.
22976
22977 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22978 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22979 + NNN microseconds".
22980
22981 * type-break.el (type-break-time-sum): Rewrite using time-add.
22982
22983 * play/hanoi.el (hanoi-current-time-float): Remove.
22984 All uses replaced by float-time.
22985
22986 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22987 This yields a more-accurate answer.
22988 (rng-time-to-float): Remove; no longer needed.
22989
22990 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22991
22992 * calendar/timeclock.el (timeclock-seconds-to-time):
22993 Defalias to seconds-to-time, since they're the same thing.
22994
22995 * emacs-lisp/elp.el (elp-elapsed-time):
22996 * emacs-lisp/benchmark.el (benchmark-elapse):
22997 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22998
22999 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23000
23001 * window.el (bury-buffer): Don't iconify the only frame.
23002 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
23003 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
23004
23005 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
23006
23007 * eshell/em-smart.el (eshell-smart-display-navigate-list):
23008 Add mouse-yank-primary.
23009
23010 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
23011
23012 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
23013
23014 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
23015
23016 * emacs-lisp/find-func.el (find-library--load-name): New fun.
23017 (find-library-name): Use it to find relative load names when provided
23018 absolute file name (bug#8803).
23019
23020 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23021
23022 * textmodes/flyspell.el (flyspell-word): Consider words that
23023 differ only in case as potential doublons (bug#5687).
23024
23025 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
23026 Remove two rather uninteresting debugging-like messages to make
23027 debbugs.el more silent.
23028
23029 * comint.el (comint-password-prompt-regexp): Accept "Response" as
23030 a password-like phrase.
23031
23032 2011-06-30 Masatake YAMATO <yamato@redhat.com>
23033
23034 * progmodes/cc-guess.el: New file.
23035
23036 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
23037
23038 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
23039 derived from `c-basic-common-init'.
23040
23041 * progmodes/cc-mode.el (top-level): Require cc-guess.
23042 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23043
23044 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23045
23046 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23047
23048 2011-06-30 Alan Mackenzie <acm@muc.de>
23049
23050 * progmodes/cc-engine.el (c-guess-continued-construct):
23051 Correct the handling of template-args-cont, particularly for when font
23052 lock is disabled. Name this case as "CASE G".
23053
23054 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23055
23056 * allout.el (allout-yank-processing): Fix injection of extra space
23057 between bullet and non-whitespace character in first topic when
23058 pasting, ensuring that the actual spacing in the pasted topic
23059 following the bullet char is preserved. This extra space was
23060 causing pasted encrypted topics to get a decrypted status even
23061 when the content was actually still encrypted. Now the decryption
23062 status from before the paste is preserved.
23063
23064 (allout-flag-region): Set all allout overlays so they evaporate
23065 when reduced to zero length (evanescent), to prevent overlay
23066 leakage.
23067
23068 2011-06-30 Glenn Morris <rgm@gnu.org>
23069
23070 * w32-fns.el (w32-charset-info-alist): Declare.
23071
23072 * find-dired.el (find-grep-options): Simplify.
23073
23074 * term/ns-win.el (ns-set-resource): Declare.
23075
23076 * ses.el (row, col): Declare dynamic variables honestly.
23077
23078 * textmodes/reftex-parse.el (index-tags): Declare.
23079
23080 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23081
23082 * cus-edit.el (customize-push-and-save): New function.
23083
23084 * files.el (hack-local-variables-confirm): Use it.
23085
23086 * custom.el (load-theme): New arg NO-CONFIRM.
23087 Use customize-push-and-save (Bug#8720).
23088 (custom-enabled-themes): Doc fix.
23089
23090 * cus-theme.el (customize-create-theme)
23091 (custom-theme-merge-theme): Callers to load-theme changed.
23092
23093 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23094
23095 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23096 short URLs have at least one dot in them (bug #7614).
23097
23098 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23099 nil, because using a pty is apparently too slow (bug #895).
23100
23101 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23102
23103 * mail/sendmail.el (sendmail-query-once): New function.
23104 (sendmail-query-once-function): New variable.
23105
23106 2011-06-29 Glenn Morris <rgm@gnu.org>
23107
23108 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23109
23110 * ses.el (top-level): Require cl when compiling.
23111 (ses-set-localvars): Fix error statement.
23112 Call it at compile time to silence a storm of warnings.
23113
23114 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23115
23116 * window.el (normalize-live-buffer): Rename to
23117 window-normalize-buffer.
23118 (normalize-live-frame): Rename to window-normalize-frame.
23119 (normalize-any-window): Rename to window-normalize-any-window.
23120 (normalize-live-window): Rename to window-normalize-live-window.
23121 (make-window-atom): Rename to window-make-atom.
23122 (window-resize-reset): Rename to window--resize-reset.
23123 (window-resize-reset-1): Rename to window--resize-reset-1.
23124 (resize-mini-window): Rename to window--resize-mini-window.
23125 (resize-subwindows-skip-p): Rename to
23126 window--resize-subwindows-skip-p.
23127 (resize-subwindows-normal): Rename to
23128 window--resize-subwindows-normal.
23129 (resize-subwindows): Rename to window--resize-subwindows.
23130 (resize-other-windows): Rename to window--resize-siblings.
23131 (resize-this-window): Rename to window--resize-this-window.
23132 (resize-root-window): Rename to window--resize-root-window.
23133 (resize-root-window-vertically): Rename to
23134 window--resize-root-window-vertically.
23135 (normalize-buffer-to-display): Rename to
23136 window-normalize-buffer-to-display.
23137 (normalize-buffer-to-switch-to): Rename to
23138 window-normalize-buffer-to-switch-to.
23139 Correspondingly update all callers of the functions listed
23140 above.
23141 (display-buffer-alist, display-buffer-normalize-arguments)
23142 (display-buffer-normalize-options, display-buffer)
23143 (display-buffer-alist-set): Use "function" instead of
23144 "fun-with-args".
23145
23146 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23147
23148 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23149 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23150 debbugs.gnu.org. Mention acknowledgment email.
23151
23152 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23153
23154 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23155 buffer multibyteness, since it shouldn't matter.
23156
23157 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23158
23159 * window.el (display-buffer-in-side-window): Handle dedicated
23160 windows as in display-buffer-reuse-window.
23161 (display-buffer-normalize-alist): Use value of override
23162 specifier.
23163 (display-buffer-normalize-specifiers): Use value of
23164 other-window-means-other-frame specifier.
23165 (display-buffer-alist): Rewrite some texts in widgets.
23166 (display-buffer): Spread arguments when calling function
23167 specified by fun-with-args.
23168
23169 2011-06-28 Deniz Dogan <deniz@dogan.se>
23170
23171 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23172 Unnest `let'.
23173
23174 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23175 selectors (Bug#5732).
23176 (css-proprietary-nmstart-re): Use `regexp-opt'.
23177
23178 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23179
23180 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23181 (eshell-ls-date-format): New defcustom.
23182 (eshell-ls-file): Use it.
23183
23184 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23185
23186 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23187
23188 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23189
23190 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23191 (ange-ftp-make-tmp-name): New arg.
23192 (ange-ftp-file-local-copy): Use it.
23193
23194 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23195
23196 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23197 no-conversion (Bug#8870).
23198
23199 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23200
23201 * window.el (window-right, window-left, window-child)
23202 (window-child-count, window-last-child)
23203 (window-iso-combination-p, walk-window-tree-1)
23204 (window-atom-check-1, window-tree-1, delete-window)
23205 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23206 new naming conventions - window-vchild, window-hchild,
23207 window-next and window-prev are now called window-top-child,
23208 window-left-child, window-next-sibling and window-prev-sibling
23209 respectively.
23210 (resize-window-reset): Rename to window-resize-reset.
23211 (resize-window-reset-1): Rename to window-resize-reset-1.
23212 (resize-window): Rename to window-resize.
23213 (window-min-height, window-min-width)
23214 (resize-mini-window, resize-this-window, resize-root-window)
23215 (resize-root-window-vertically, adjust-window-trailing-edge)
23216 (enlarge-window, shrink-window, maximize-window)
23217 (minimize-window, delete-window, quit-restore-window)
23218 (split-window, balance-windows, balance-windows-area-adjust)
23219 (balance-windows-area, window-state-put-2)
23220 (display-buffer-even-window-sizes, display-buffer-set-height)
23221 (display-buffer-set-width, set-window-text-height)
23222 (fit-window-to-buffer): Rename all "resize-window" prefixed
23223 calls to use the "window-resize" prefix convention.
23224 (display-buffer-alist): Fix symbol for label specifier.
23225 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23226 corresponding specifier.
23227 Reported by Juanma Barranquero <lekktu@gmail.com>.
23228
23229 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23230
23231 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23232 convention.
23233 (ses-call-printer): Does not pass an empty string to formatter when the
23234 cell is empty to keep from barking printer Calc math-format-value.
23235
23236 2011-06-27 Richard Stallman <rms@gnu.org>
23237
23238 * battery.el (battery-mode-line-limit): New variable.
23239 (battery-update): Handle it.
23240
23241 * mail/rmailmm.el (rmail-mime-process-multipart):
23242 Handle truncated messages.
23243
23244 2011-06-27 Glenn Morris <rgm@gnu.org>
23245
23246 * progmodes/flymake.el (flymake-err-line-patterns):
23247 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23248
23249 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23250
23251 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23252 (ses--clean-!, ses--clean-_): New functions.
23253 (ses-range): Add configurability of readout order, and conversion
23254 to Calc vector.
23255
23256 * ses.el (ses-repair-cell-reference-all): New function.
23257 (ses-cell-symbol): Set macro as safe, so that it can be used in
23258 formulas.
23259
23260 * ses.el: Update cycle detection algorithm.
23261 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23262 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23263 (ses-set-localvars): New function.
23264 (ses-make-cell): Add property-list as a cell element.
23265 (ses-cell-property-get-fun, ses-cell-property-get)
23266 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23267 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23268 New functions.
23269 (ses-cell-property-set, ses-cell-property-pop)
23270 (ses-cell-property-get-handle): New macro.
23271 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23272 New aliases, used for code readability.
23273 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23274 cycle detection.
23275 (ses-self-reference-early-detection): New defcustom.
23276 (ses-formula-references): Robustify against self-referring cells.
23277 (ses-mode): Use ses-set-localvars.
23278 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23279 before lauching the update processing.
23280 (ses-initialize-Dijkstra-attempt): New function.
23281 (ses-recalculate-cell): Update for cycle detection based on
23282 Dijkstra algorithm.
23283
23284 * ses.el: Fix commenting and indenting convention.
23285
23286 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23287
23288 * bs.el (bs-cycle-next): Complete last change.
23289
23290 2011-06-27 Drew Adams <drew.adams@oracle.com>
23291
23292 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23293
23294 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23295
23296 * net/network-stream.el (network-stream-open-starttls):
23297 Don't re-get capabilities unless we've reestablished connection.
23298 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23299
23300 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23301 to binary to possibly avoid line encoding issues on Windows (among
23302 other things).
23303
23304 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23305
23306 * net/network-stream.el (open-network-stream): Return an :error
23307 saying what the problem was, if possible.
23308
23309 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23310 server.
23311
23312 * net/network-stream.el (network-stream-open-starttls): If we
23313 wanted to use STARTTLS, and the server offered it, but we weren't
23314 able to because we had no STARTTLS support, then close the connection.
23315 (open-network-stream): Return an :error element, if present.
23316
23317 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23318
23319 * hl-line.el (hl-line-sticky-flag): Doc fix.
23320 (global-hl-line-sticky-flag): New option (Bug#8323).
23321 (global-hl-line-highlight): Obey it.
23322
23323 * vc/vc.el (vc-revert-show-diff): Default to t.
23324
23325 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23326
23327 * allout-widgets.el (allout-widgets-post-command-business):
23328 Stop decorating intermediate isearch matches. They're not being
23329 undecorated when an isearch is continued past, and isearch
23330 automatically collapses them. This leads to "widget leaks", where
23331 decorated items accumulate in collapsed areas. Lines with lots of
23332 hidden widgets can slow down cursor travel, substantially.
23333 Too much complicated machinery would be needed to ensure undecoration,
23334 so we're doing without this nicety.
23335
23336 (allout-widgets-tally-string): Don't try to do a hash-table-count
23337 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23338 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23339 *Messages* when allout-widgets-maintain-tally is t.
23340
23341 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23342
23343 * window.el (display-buffer-normalize-argument): Rename to
23344 display-buffer-normalize-arguments. Handle special meaning of
23345 LABEL argument. Respect special-display-function when popping up
23346 a new frame. Fix code searching for a window showing the buffer
23347 on another frame.
23348 (display-buffer-normalize-specifiers):
23349 Call display-buffer-normalize-arguments.
23350 (display-buffer-in-window): Don't undedicate the window if its
23351 buffer remains the same.
23352 Reported by Drew Adams <drew.adams@oracle.com>.
23353 (display-buffer-alist): Add choice for same-window macro
23354 specfier.
23355 (display-buffer): Mention special meaning of LABEL argument in
23356 doc-string. Fix quoting. Don't pop up a new frame even as
23357 fallback.
23358
23359 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23360
23361 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23362 avoid deleting the current window in some cases (bug#8911).
23363
23364 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23365
23366 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23367 (Bug#8934)
23368
23369 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23370
23371 * net/network-stream.el (network-stream-open-starttls):
23372 Use built-in TLS support if `gnutls-available-p' is true.
23373 (network-stream-open-tls): Ditto.
23374
23375 2011-06-26 Leo Liu <sdl.web@gmail.com>
23376
23377 * register.el (registerv): New struct.
23378 (registerv-make): New function.
23379 (jump-to-register, describe-register-1, insert-register):
23380 Support the jump-func, print-func and insert-func slot of a registerv
23381 struct. (Bug#8415)
23382
23383 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23384
23385 * vc/vc.el (vc-revert-show-diff): New defcustom.
23386 (vc-diff-internal): New arg specifying diff buffer.
23387 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23388 reuse an existing *vc-diff* buffer (Bug#8927).
23389
23390 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23391
23392 2011-06-26 Glenn Morris <rgm@gnu.org>
23393
23394 * progmodes/f90.el (f90-critical-indent): New option.
23395 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23396 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23397 (f90-mode): Doc fix.
23398 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23399 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23400 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23401 (f90-match-end): Handle block, critical.
23402
23403 2011-06-25 Glenn Morris <rgm@gnu.org>
23404
23405 * calendar/diary-lib.el (diary-included-files): Doc fix.
23406 (diary-include-files): New function, extracted from
23407 diary-include-other-diary-files and diary-mark-included-diary-files.
23408 (diary-include-other-diary-files, diary-mark-included-diary-files):
23409 Just call diary-include-files.
23410 (diary-mark-entries): Reset diary-included-files on first call.
23411
23412 * calendar/diary-lib.el (diary-mark-entries)
23413 (diary-mark-included-diary-files):
23414 Visit included diary-files in temp buffers.
23415
23416 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23417 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23418 (f90-start-block-re, f90-imenu-generic-expression)
23419 (f90-looking-at-program-block-start, f90-no-block-limit):
23420 Add support for submodules.
23421
23422 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23423 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23424
23425 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23426
23427 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23428 buffer-file-type before setting its value, to avoid disastrous
23429 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23430
23431 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23432
23433 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23434
23435 * ses.el (ses-unload-function):
23436 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23437
23438 * proced.el (proced-unload-function):
23439 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23440
23441 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23442
23443 * server.el (server-create-window-system-frame): Add parameters arg.
23444 (server-process-filter): Doc fix. Handle frame-parameters.
23445
23446 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23447
23448 Fix bug#8730, bug#8781.
23449
23450 * loadhist.el (unload--set-major-mode): New function.
23451 (unload-feature): Use it.
23452
23453 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23454 (python-unload-function): New function.
23455
23456 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23457
23458 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23459
23460 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23461
23462 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23463 the candidates list.
23464
23465 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23466
23467 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23468
23469 2011-06-23 Richard Stallman <rms@gnu.org>
23470
23471 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23472 (rmail-variables): Set next-error-move-function.
23473 (rmail-what-message): Take argument POS.
23474 (rmail-next-error-move): New function.
23475
23476 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23477
23478 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23479 messages for adjacent non-terminals.
23480
23481 2011-06-23 Richard Stallman <rms@gnu.org>
23482
23483 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23484 (rmail-show-message-1): Preserve buffer modified flag.
23485 (rmail-start-mail): Don't specify use of rmail-mail-return;
23486 that's done by mail-bury now.
23487 (rmail-mail-return): Handle arg NEWBUF.
23488
23489 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23490
23491 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23492 SIZE is a number.
23493
23494 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23495
23496 * window.el (get-lru-window, get-mru-window)
23497 (get-largest-window): Never return a minibuffer window.
23498 (display-buffer-pop-up-window): Fix a bug that could lead to
23499 reusing the minibuffer window.
23500 (display-buffer): Pass original specifier argument to
23501 display-buffer-function instead of the normalized one.
23502 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23503
23504 2011-06-22 Leo Liu <sdl.web@gmail.com>
23505
23506 * minibuffer.el (completing-read-function)
23507 (completing-read-default): Move from minibuf.c.
23508
23509 2011-06-22 Richard Stallman <rms@gnu.org>
23510
23511 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23512 to Rmail even if not started by a special Rmail command.
23513
23514 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23515 Copy the buffer currently showing just one message.
23516
23517 2011-06-22 Roland Winkler <winkler@gnu.org>
23518
23519 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23520 (bibtex-clean-entry): First delete the old key so that a
23521 customized algorithm for generating the new key does not get
23522 confused by the old key.
23523 (bibtex-url): Obey regexp of first step.
23524 (bibtex-search-entries): Do not use add-to-list with local
23525 list-var.
23526
23527 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23528
23529 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23530 stored a user name, then query for the password first, instead of
23531 waiting for SMTP to give an error message and the trying again.
23532
23533 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23534
23535 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23536 BUFFER in call-process.
23537
23538 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23539
23540 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23541 QUIT twice.
23542 (smtpmail-try-auth-methods): Require user name and password from
23543 auth-source.
23544
23545 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23546
23547 * window.el (display-buffer-default-specifiers)
23548 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23549 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23550 (split-window): Normalize SIDE argument (Bug#8916).
23551
23552 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23553 (special-display-frame-alist, special-display-popup-frame):
23554 Remove duplicate declarations. These are now in window.el.
23555
23556 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23557
23558 * mail/smtpmail.el (smtpmail-via-smtp):
23559 Set :use-starttls-if-possible so that we always use STARTTLS if the
23560 server supports it. SMTP servers that support STARTTLS commonly
23561 require it.
23562
23563 * net/network-stream.el (network-stream-open-starttls): Support
23564 upgrading to STARTTLS always, even if we don't have built-in support.
23565 (open-network-stream): Add the :always-query-capabilities keyword.
23566
23567 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23568 upgrades with `open-network-stream', and rely solely on
23569 auth-source for all credentials. Big changes throughout the file,
23570 but in particular:
23571 (smtpmail-auth-credentials): Remove.
23572 (smtpmail-starttls-credentials): Remove.
23573 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23574 MAIL FROM, too.
23575
23576 * net/network-stream.el (network-stream-open-starttls):
23577 Provide support for client certificates both for external and built-in
23578 STARTTLS.
23579 (auth-source): Require.
23580 (open-network-stream): Document the :client-certificate keyword.
23581 (network-stream-certificate): Change cert-cert to cert and
23582 cert-key to key.
23583
23584 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23585
23586 * net/tramp-cache.el (top): Don't load the persistency file when
23587 "emacs -Q" has been called.
23588
23589 2011-06-21 Tim Harper <timcharper@gmail.com>
23590
23591 * term/ns-win.el (ns-initialize-window-system):
23592 Set application-specific `ApplePressAndHoldEnabled' system
23593 resource to NO as it is not yet supported by the NS port.
23594
23595 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23596
23597 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23598 (list-dynamic-libraries): ...not here.
23599
23600 2011-06-21 Leo Liu <sdl.web@gmail.com>
23601
23602 * subr.el (sha1): Implement sha1 using secure-hash.
23603
23604 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23605
23606 * window.el (display-buffer-alist): In default value do not
23607 enforce searching a window on any but the selected frame.
23608 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23609 (display-buffer-select-window): Remove function.
23610 (display-buffer-in-window): When a window on another frame gets
23611 reused, do not select it any more but just raise its frame if
23612 necessary (Bug#8851) and (Bug#8856).
23613 (display-buffer-normalize-options): Handle pop-up-frames related
23614 options more faithfully.
23615 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23616 window if it is on another frame.
23617 (display-buffer-alist, display-buffer-default-specifiers):
23618 Don't make new frame unsplittable by default.
23619 (display-buffer-normalize-argument): Fix doc-string typo and use
23620 'same-frame-other-window instead of 'other-window when associating
23621 with display-buffer-macro-specifiers.
23622
23623 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23624
23625 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23626 New functions.
23627 (5x5-mode-map, 5x5-mode-menu): Bind them.
23628 (5x5-draw-grid): Tweak the solver's rendering.
23629
23630 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23631
23632 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23633 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23634
23635 2011-06-21 Drew Adams <drew.adams@oracle.com>
23636
23637 * menu-bar.el: Use function variable instead of switch-to-buffer.
23638 (menu-bar-select-buffer-function): New variable.
23639 (menu-bar-update-buffers): Use it (bug#8876).
23640
23641 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23642
23643 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23644 variable's status.
23645
23646 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23647
23648 * x-dnd.el (x-dnd-version-from-flags)
23649 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23650 and long as number (Bug#8899).
23651 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23652
23653 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23654
23655 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23656 (completion-try-completion, completion-all-completions): Compute the
23657 metadata argument if it's missing; make it optional (bug#8795).
23658
23659 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23660 (widget-complete): Use new :completion-function property.
23661 (widget-completions-at-point): New function.
23662 (default): Use :completion-function instead of :complete.
23663 (widget-default-completions): Rename from widget-default-complete;
23664 Rewrite.
23665 (widget-string-complete, widget-file-complete, widget-color-complete):
23666 Remove functions.
23667 (file, symbol, function, variable, coding-system, color):
23668 * international/mule-cmds.el (default-input-method, charset)
23669 (language-info-custom-alist):
23670 * cus-edit.el (face): Use new property :completions.
23671
23672 * progmodes/pascal.el (pascal-completions-at-point): New function.
23673 (pascal-mode): Use it.
23674 (pascal-mode-map): Use completion-at-point.
23675 (pascal-toggle-completions): Make obsolete.
23676 (pascal-complete-word, pascal-show-completions):
23677 * progmodes/octave-mod.el (octave-complete-symbol):
23678 Redefine as obsolete alias.
23679 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23680 Signal absence of completion info for old Octave,
23681 (inferior-octave-complete): Redefine as obsolete alias.
23682 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23683 (meta-completions-at-point): Rename from meta-complete-symbol and
23684 adapt it for use on completion-at-point-functions.
23685 (meta-common-mode): Use it.
23686 (meta-looking-at-backward, meta-match-buffer): Remove.
23687 (meta-complete-symbol): Redefine as obsolete alias.
23688 (meta-common-mode-map): Use completion-at-point.
23689 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23690 (makefile-mode-map): Use completion-at-point.
23691 (makefile-completions-at-point): Rename from makefile-complete and
23692 adapt it for use on completion-at-point-functions.
23693 (makefile-mode): Use it.
23694 (makefile-complete): Redefine as obsolete alias.
23695
23696 2011-06-20 Deniz Dogan <deniz@dogan.se>
23697
23698 * net/rcirc.el: Delete trailing whitespaces once and for all.
23699
23700 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23701
23702 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23703
23704 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23705
23706 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23707
23708 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23709
23710 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23711
23712 * window.el (display-buffer-other-window-means-other-frame):
23713 Call display-buffer-normalize-alist.
23714 (display-buffer-normalize-specifiers-1): Rename to
23715 display-buffer-normalize-argument. New argument other-frame.
23716 Rewrite.
23717 (display-buffer-normalize-specifiers-2): Rename to
23718 display-buffer-normalize-options.
23719 (display-buffer-normalize-alist-1): New function.
23720 (display-buffer-normalize-specifiers-3): Rename to
23721 display-buffer-normalize-alist.
23722 Call display-buffer-normalize-alist-1.
23723 (display-buffer-normalize-options-inhibit): New variable.
23724 (display-buffer-normalize-specifiers): Rewrite calling
23725 display-buffer-normalize-alist,
23726 display-buffer-normalize-argument, and
23727 display-buffer-normalize-options. Don't call the latter if
23728 display-buffer-normalize-options-inhibit is non-nil.
23729 (frame-auto-delete): New option.
23730 (window-deletable-p): Use frame-auto-delete.
23731 (window-list-no-nils, window-state-ignored-parameters)
23732 (window-state-get-1, window-state-get, window-state-put-list)
23733 (window-state-put-1, window-state-put-2, window-state-put):
23734 New functions.
23735 (display-buffer-normalize-options): Move special-display-p group
23736 after pop-up-frame group (Bug#8851) and (Bug#8856).
23737
23738 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23739
23740 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23741 groups (Bug#8776).
23742 (rx-submatch-n): New function.
23743 (rx): Document it.
23744
23745 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23746 (Bug#8768).
23747
23748 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23749
23750 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23751
23752 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23753 anytime existing face settings are present (Bug#8889).
23754
23755 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23756 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23757 Remove unused argument.
23758
23759 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23760
23761 * window.el (display-buffer-default-specifiers):
23762 Remove pop-up-frame. Add pop-up-window-min-height,
23763 pop-up-window-min-width, and another reuse-window specifier
23764 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23765 (display-buffer-normalize-specifiers-2):
23766 Handle split-height-threshold and split-width-threshold also when
23767 pop-up-windows is unset. Add a reuse-window specifier for the
23768 case popping up a new window fails.
23769 (special-display-popup-frame): Remove double quoting.
23770 (display-buffer-normalize-specifiers-1): Fix thinko.
23771
23772 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23773
23774 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23775 according to comint-completion-addsuffix.
23776
23777 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23778 (pcomplete-suffix-list): Mark as obsolete.
23779 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23780 pcomplete-seen in the closure.
23781 (pcomplete-comint-setup): Setup completion-at-point as well.
23782 (pcomplete--entries): New function.
23783 (pcomplete--env-regexp): New var.
23784 (pcomplete-entries): Rewrite to work with partial-completion and
23785 without relying on pcomplete-suffix-list.
23786 (pcomplete-pare-list): Remove, unused.
23787
23788 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23789
23790 * window.el (display-buffer-alist): Set pop-up-window-min-height
23791 and pop-up-window-min-width in default value. Reported by
23792 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23793 other-window-means-other-frame.
23794 (display-buffer-macro-specifiers): Comment out entry for
23795 other-window specifier.
23796 (display-buffer-other-window-means-other-frame): New function.
23797 (display-buffer-normalize-specifiers-1): New arguments
23798 buffer-name and label. Treat other-window case specially.
23799 (display-buffer-normalize-specifiers-2): Treat other-window case
23800 specially.
23801 (display-buffer-normalize-specifiers-3): New function.
23802 (display-buffer-normalize-specifiers):
23803 Call display-buffer-normalize-specifiers-3.
23804
23805 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23806
23807 * window.el (same-window-p): Fix two typos introduced when
23808 adding with-no-warnings.
23809 (display-buffer-normalize-specifiers-1): Don't check
23810 pop-up-frames for 'unset initialization.
23811 (display-buffer-normalize-specifiers-2): Major rewrite using
23812 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23813 (pop-up-frames, display-buffer-reuse-frames)
23814 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23815 Suggested by David Engster <deng@randomsample.de>.
23816 (even-window-heights): Initialize to 'unset.
23817 (display-buffer-alist-set): Handle new 'unset initializations.
23818 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23819 other window case.
23820
23821 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23822
23823 * window.el (display-buffer-normalize-specifiers-1):
23824 Respect current value of pop-up-frames for most reasonable values of
23825 second argument of display-buffer (Bug#8865).
23826 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23827 (switch-to-buffer-other-window-same-frame)
23828 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23829 Adams (Bug#8875).
23830 (display-buffer): Don't check noninteractive when calling
23831 display-buffer-pop-up-frame.
23832 (display-buffer-pop-up-frame): Never pop up a frame in
23833 noninteractive mode (Bug#8857).
23834 (enlarge-window, shrink-window): Don't report an error when the
23835 window can't be resized as requested (Bug#8862).
23836
23837 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23838
23839 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23840
23841 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23842
23843 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23844
23845 2011-06-15 Alan Mackenzie <acm@muc.de>
23846
23847 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23848 for declarators, disable knr checking to speed up for normal files.
23849 2: Refactor, replacing a sequence of nested if forms by a cond form.
23850
23851 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23852
23853 * net/network-stream.el (open-network-stream): Add the keyword
23854 :always-query-capabilities for the case where you want to force a
23855 `plain' network connection, but the protocol still requires the
23856 capabilitiy command (i.e., SMTP and EHLO).
23857
23858 * subr.el (process-live-p): Rename from `process-alive-p' for
23859 consistency with other `-live-p' functions.
23860
23861 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23862
23863 * window.el (same-window-buffer-names, same-window-regexps)
23864 (special-display-frame-alist, special-display-popup-frame)
23865 (special-display-function, special-display-buffer-names)
23866 (special-display-regexps, pop-up-frame-alist)
23867 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23868 (pop-up-windows, split-window-preferred-function)
23869 (split-height-threshold, split-width-threshold, even-window-heights)
23870 (display-buffer-mark-dedicated): Don't encourage the use of
23871 display-buffer-alist from Elisp code.
23872
23873 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23874
23875 * progmodes/python.el (python-mode): Derive from prog-mode.
23876 * progmodes/ps-mode.el (ps-mode):
23877 * progmodes/mixal-mode.el (mixal-mode):
23878 * progmodes/cfengine.el (cfengine-mode):
23879 * progmodes/ld-script.el (ld-script-mode): Likewise.
23880
23881 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23882
23883 * window.el (display-buffer-alist): Trim default value to avoid
23884 popping up a new frame (Bug#8857) or reusing an arbitrary window
23885 on another frame.
23886 (display-buffer): Do not fall back on popping up a new frame in
23887 batch mode (Bug#8857).
23888
23889 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23890
23891 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23892 (custom-theme-summary): New function.
23893 (customize-themes): Use it.
23894
23895 2011-06-13 Glenn Morris <rgm@gnu.org>
23896
23897 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23898
23899 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23900
23901 * help.el (help-window): Remove variable.
23902 (help-window-point-marker, temp-buffer-max-height)
23903 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23904 (help-print-return-message): Don't set help-window.
23905 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23906 (help-window-setup-finish): Remove.
23907 (help-window-display-message, help-window-setup)
23908 (with-help-window): Major rewrite based on new
23909 display-buffer-window variable.
23910
23911 * help-mode.el (help-mode-finish): Remove help-window related
23912 code.
23913
23914 * view.el (view-exits-all-viewing-windows): Remove reference to
23915 view-return-to-alist in doc-string.
23916 (view-return-to-alist): Make obsolete.
23917 (view-buffer): Call pop-to-buffer-same-window and remove
23918 undo-window code.
23919 (view-buffer-other-window): Call pop-to-buffer-other-window and
23920 simplify code. Ignore second argument.
23921 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23922 simplify code. Ignore second argument.
23923 (view-return-to-alist-update): Make obsolete.
23924 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23925 Rewrite using quit-restore window parameters.
23926 (view-mode-exit): Rename second argument to EXIT-ONLY.
23927 Rewrite using quit-restore-window.
23928 (View-exit, View-exit-and-edit, View-leave, View-quit)
23929 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23930 appropriate arguments.
23931 (view-end-message): Use quit-restore window parameter.
23932
23933 * window.el (display-buffer-function): Rewrite doc-string.
23934 (display-buffer-window, display-buffer-alist): New variables.
23935 (display-buffer-split-specifiers)
23936 (display-buffer-side-specifiers)
23937 (display-buffer-macro-specifiers): New constants.
23938 (display-buffer-even-window-sizes, display-buffer-set-height)
23939 (display-buffer-set-width, display-buffer-select-window)
23940 (display-buffer-in-window, display-buffer-reuse-window)
23941 (display-buffer-split-window-1, display-buffer-split-window)
23942 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23943 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23944 (display-buffer-in-side-window, normalize-buffer-to-display)
23945 (display-buffer-normalize-specifiers-1)
23946 (display-buffer-normalize-specifiers-2)
23947 (display-buffer-normalize-specifiers, display-buffer-frame):
23948 New functions.
23949 (display-buffer): Major rewrite.
23950 (display-buffer-other-window, display-buffer-other-frame)
23951 (pop-to-buffer, switch-to-buffer-other-window)
23952 (switch-to-buffer-other-frame): Rewrite.
23953 (display-buffer-same-window, display-buffer-same-frame)
23954 (display-buffer-same-frame-other-window)
23955 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23956 (pop-to-buffer-other-window)
23957 (pop-to-buffer-same-frame-other-window)
23958 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23959 (switch-to-buffer-other-window-same-frame): New functions.
23960 (same-window-p, special-display-p): Rewrite disabling warnings.
23961 Make obsolete.
23962 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23963 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23964 Make obsolete
23965 (same-window-buffer-names, same-window-regexps)
23966 (special-display-frame-alist, special-display-popup-frame)
23967 (special-display-function, special-display-buffer-names)
23968 (special-display-regexps, pop-up-frame-alist)
23969 (pop-up-frame-function, split-window-preferred-function)
23970 (split-height-threshold, split-width-threshold)
23971 (even-window-heights): Make obsolete.
23972
23973 2011-06-12 Glenn Morris <rgm@gnu.org>
23974
23975 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23976 Misc simplifications.
23977
23978 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23979
23980 * window.el (window-safely-shrinkable-p): Restore function which
23981 was inadvertently removed in change from 2011-06-11. Declare as
23982 obsolete.
23983
23984 * calendar/calendar.el (calendar-generate-window):
23985 Use window-iso-combined-p instead of combination of one-window-p and
23986 window-safely-shrinkable-p.
23987
23988 2011-06-12 Glenn Morris <rgm@gnu.org>
23989
23990 * progmodes/fortran.el (fortran-mode-syntax-table):
23991 * progmodes/f90.el (f90-mode-syntax-table):
23992 Set % to punctuation. (Bug#8820)
23993 (f90-find-tag-default): Remove, no longer needed.
23994
23995 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23996
23997 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23998
23999 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
24000
24001 * image.el (image-animated-p): Return animation delay in seconds.
24002 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
24003 (image-animate-timeout): Remove DELAY argument. Don't assume
24004 every subimage has the same delay; get it from image-animated-p.
24005 (image-animate): Caller changed.
24006
24007 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
24008
24009 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
24010 to ignored backtrace functions.
24011
24012 2011-06-11 Glenn Morris <rgm@gnu.org>
24013
24014 * calendar/appt.el (appt-disp-window-function): Doc fix.
24015 (appt-check): Handle overlapping appointments. (Bug#8337)
24016
24017 2011-06-11 Martin Rudalics <rudalics@gmx.at>
24018
24019 * window.el (window-tree-1, window-tree): New functions, moving
24020 the latter to window.el.
24021 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
24022 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
24023 (bw-refresh-edges): Remove.
24024 (balance-windows-1, balance-windows-2): New functions.
24025 (balance-windows): Rewrite in terms of window tree functions,
24026 balance-windows-1 and balance-windows-2.
24027 (bw-adjust-window): Remove.
24028 (balance-windows-area-adjust): New function with functionality of
24029 bw-adjust-window but using resize-window.
24030 (set-window-text-height): Rewrite doc-string.
24031 Use normalize-live-window and resize-window.
24032 (enlarge-window-horizontally, shrink-window-horizontally):
24033 Rename argument to DELTA.
24034 (window-buffer-height): New function.
24035 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
24036 Rewrite using new window resize routines.
24037 (kill-buffer-and-window, mouse-autoselect-window-select):
24038 Use ignore-errors instead of condition-case.
24039 (quit-window): Call delete-frame instead of delete-windows-on
24040 for the only buffer on frame.
24041
24042 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24043
24044 * loadup.el (top-level): Load window before files for the sake
24045 of replace-buffer-in-windows.
24046
24047 * files.el (read-buffer-to-switch)
24048 (switch-to-buffer-other-window)
24049 (switch-to-buffer-other-frame, display-buffer-other-frame):
24050 Move to window.el.
24051
24052 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24053 (previous-buffer): Move to window.el.
24054
24055 * bindings.el (unbury-buffer): Move to window.el.
24056
24057 * window.el (delete-other-windows-vertically): Move after
24058 definition of delete-other-windows.
24059 (other-window, delete-windows-on, replace-buffer-in-windows):
24060 Move here from window.c.
24061 (record-window-buffer, unrecord-window-buffer)
24062 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24063 (switch-to-next-buffer): New functions.
24064 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24065 from simple.el. Call switch-to-next-buffer.
24066 (previous-buffer): Move here from simple.el.
24067 Call switch-to-prev-buffer.
24068 (bury-buffer): Move here from buffer.c. Switch to previous
24069 buffer when window cannot be deleted.
24070 (unbury-buffer): Move here from bindings.el.
24071 (ctl-x-map): Move binding for other-window from window.c to
24072 here.
24073 (read-buffer-to-switch, switch-to-buffer-other-window)
24074 (switch-to-buffer-other-frame): Move here from files.el.
24075 (normalize-buffer-to-switch-to): New functions.
24076 (switch-to-buffer): Move here from buffer.c.
24077 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24078
24079 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24080
24081 * window.el (window-min-height, window-min-width): Move here
24082 from window.c. Add defcustoms and rewrite doc-strings.
24083 (resize-mini-window, resize-window): New functions.
24084 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24085 Move here from window.c.
24086 (maximize-window, minimize-window): New functions.
24087 (delete-window, delete-other-windows, split-window): Move here
24088 from window.c.
24089 (window-split-min-size): New function.
24090 (split-window-keep-point): Mention split-window-above-each-other
24091 instead of split-window-vertically.
24092 (split-window-above-each-other, split-window-vertically):
24093 Rename split-window-vertically to split-window-above-each-other
24094 and provide defalias for old definition.
24095 (split-window-side-by-side, split-window-horizontally):
24096 Rename split-window-horizontally to split-window-side-by-side
24097 and provide defalias for the old definition.
24098 (ctl-x-map): Move bindings for delete-window,
24099 delete-other-windows and enlarge-window here from window.c.
24100 Replace bindings for split-window-vertically and
24101 split-window-horizontally by bindings for
24102 split-window-above-each-other and split-window-side-by-side.
24103
24104 * cus-start.el (all): Remove entries for window-min-height and
24105 window-min-width. Add entries for window-splits and
24106 window-nest.
24107
24108 2011-06-09 Glenn Morris <rgm@gnu.org>
24109
24110 * calendar/appt.el (appt-mode-line): New function.
24111 (appt-check, appt-disp-window): Use it.
24112
24113 * files.el (hack-one-local-variable-eval-safep):
24114 Allow minor-modes with explicit +/-1 arguments.
24115
24116 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24117
24118 * term/xterm.el (xterm): Add defgroup.
24119 (xterm-extra-capabilities): Add defcustom to supply known xterm
24120 capabilities, skip querying them, or query them (default).
24121 (terminal-init-xterm): Use it.
24122 (terminal-init-xterm-modify-other-keys): New function to set up
24123 modifyOtherKeys support to simplify `terminal-init-xterm'.
24124
24125 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24126
24127 * window.el (resize-window-reset, resize-window-reset-1)
24128 (resize-subwindows-skip-p, resize-subwindows-normal)
24129 (resize-subwindows, resize-other-windows, resize-this-window)
24130 (resize-root-window, resize-root-window-vertically)
24131 (window-deletable-p, window-or-subwindow-p)
24132 (frame-root-window-p): New functions.
24133
24134 2011-06-09 Glenn Morris <rgm@gnu.org>
24135
24136 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24137 (ange-ftp-get-files): Use it.
24138
24139 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24140
24141 * mail/sendmail.el (mail-recover-1, mail-recover):
24142 * files.el (recover-file, recover-session):
24143 Handle dired-listing-switches not being just a single short option.
24144
24145 2011-06-09 Glenn Morris <rgm@gnu.org>
24146
24147 * calendar/appt.el (appt-display-message, appt-disp-window):
24148 Handle lists of appointments.
24149
24150 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24151
24152 * window.el (one-window-p): Move down in code.
24153 Rewrite doc-string.
24154 (window-current-scroll-bars): Rewrite doc-string.
24155 Normalize live window argument.
24156 (walk-windows, get-window-with-predicate, count-windows):
24157 Rewrite doc-string. Use window-list-1.
24158 (window-in-direction-2, window-in-direction, get-mru-window):
24159 New functions.
24160
24161 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24162
24163 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24164 Doc fix (Bug#8713).
24165
24166 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24167
24168 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24169
24170 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24171
24172 * loadhist.el (unload-feature-special-hooks):
24173 Add `comint-output-filter-functions'.
24174
24175 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24176
24177 * calendar/appt.el (appt-check): Move some initializations into the let.
24178
24179 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24180
24181 * window.el (window-height): Defalias to window-total-height.
24182 (window-width): Defalias to window-body-width.
24183
24184 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24185
24186 * image-mode.el (image-toggle-animation): New command.
24187 (image-mode-map): Bind it to RET.
24188 (image-mode): Update message.
24189 (image-toggle-display-image): Avoid a spurious cache flush.
24190 (image-transform-rotation): Doc fix.
24191 (image-transform-properties): Return quickly in the normal case.
24192 (image-animate-loop): Rename from image-animate-max-time.
24193
24194 * image.el (image-animate-max-time): Move to image-mode.el.
24195 (create-animated-image): Remove unnecessary function.
24196 (image-animate): Rename from image-animate-start. New arg.
24197 (image-animate-stop): Remove; just use image-animate-timer.
24198 (image-animate-timer): Use car-safe.
24199 (image-animate-timeout): Rename argument.
24200
24201 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24202
24203 * window.el (get-lru-window, get-largest-window): Move here from
24204 window.c. Rename first argument to ALL-FRAMES.
24205 Rephrase doc-strings.
24206 (get-buffer-window-list): Rewrite using window-list-1.
24207 Rephrase doc-string.
24208 (window-safe-min-height, window-safe-min-width): New constants.
24209 (window-size-ignore, window-min-size, window-min-size-1)
24210 (window-sizable, window-sizable-p, window-size-fixed-1)
24211 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24212 (window-max-delta-1, window-max-delta, window-resizable)
24213 (window-resizable-p, window-total-height, window-total-width)
24214 (window-body-width): New functions.
24215 (window-full-height-p, window-full-width-p): Rewrite using
24216 window-total-size.
24217 (window-body-height): Rewrite using window-body-size.
24218
24219 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24220
24221 * window.el (window-right, window-left, window-child)
24222 (window-child-count, window-last-child, window-any-p)
24223 (normalize-live-buffer, normalize-live-frame)
24224 (normalize-any-window, normalize-live-window)
24225 (window-iso-combination-p, window-iso-combined-p)
24226 (window-iso-combinations)
24227 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24228 (windows-with-parameter, window-with-parameter)
24229 (window-atom-root, make-window-atom, window-atom-check-1)
24230 (window-atom-check, window-side-check, window-check):
24231 New functions.
24232 (ignore-window-parameters, window-sides, window-sides-vertical)
24233 (window-sides-slots): New variables.
24234 (window-size-fixed): Move down in code. Minor doc-string fix.
24235
24236 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24237
24238 * comint.el (comint-dynamic-complete-as-filename)
24239 (comint-dynamic-complete-filename): Correctly call
24240 completion-in-region.
24241
24242 2011-06-05 Deniz Dogan <deniz@dogan.se>
24243
24244 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24245 in last change.
24246
24247 2011-06-05 Deniz Dogan <deniz@dogan.se>
24248
24249 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24250 (rcirc): Use it to prompt for encryption.
24251
24252 2011-06-05 Roland Winkler <winkler@gnu.org>
24253
24254 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24255 (bibtex-search-entries): New command bound to C-c C-a.
24256 (bibtex-display-entries): New function.
24257
24258 2011-06-05 Roland Winkler <winkler@gnu.org>
24259
24260 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24261 (bibtex-insert-kill): After yanking insert newline if necessary.
24262 (bibtex-initialize): Call bibtex-string-files-init only once.
24263 (bibtex-mode): Do not call easy-menu-add.
24264 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24265 (bibtex-yank): Set arg properly if nil.
24266
24267 2011-06-05 Roland Winkler <winkler@gnu.org>
24268
24269 * textmodes/bibtex.el (bibtex-search-entry-globally):
24270 New variable.
24271 (bibtex-search-entry): Use it.
24272
24273 2011-06-05 Roland Winkler <winkler@gnu.org>
24274
24275 * textmodes/bibtex.el (bibtex-entry-format): New option
24276 sort-fields.
24277 (bibtex-format-entry, bibtex-reformat): Honor this option.
24278 (bibtex-parse-entry): Return fields in proper order.
24279
24280 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24281
24282 * doc-view.el (doc-view-remove-if): Move computation of result out
24283 of `dolist' to silence misleading lexical-binding warning.
24284
24285 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24286
24287 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24288 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24289
24290 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24291
24292 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24293 "SunOS 5.10".
24294
24295 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24296
24297 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24298 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24299 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24300 (tramp-parse-putty):
24301 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24302 (tramp-completion-function-alist-ssh)
24303 (tramp-completion-function-alist-telnet)
24304 (tramp-completion-function-alist-su)
24305 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24306 cookie.
24307
24308 * net/tramp-ftp.el:
24309 * net/tramp-sh.el:
24310 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24311 load "tramp.el" `tramp-set-completion-function'.
24312
24313 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24314
24315 * shell.el: Require and use pcomplete.
24316 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24317 (shell-completion-vars): Set pcomplete-default-completion-function.
24318
24319 2011-06-04 Deniz Dogan <deniz@dogan.se>
24320
24321 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24322 `memq' (Bug#8799).
24323
24324 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24325
24326 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24327
24328 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24329
24330 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24331 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24332 * vc/log-view.el (log-view-beginning-of-defun):
24333 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24334 (smerge-refine-forward, smerge-refine-chopup-region):
24335 Silence warning for unused `dotimes' counter variables.
24336
24337 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24338
24339 * net/tramp.el (tramp-with-progress-reporter): Rename from
24340 with-progress-reporter. Use `declare'.
24341 * net/tramp-smb.el:
24342 * net/tramp-sh.el:
24343 * net/tramp-gvfs.el: Update all uses.
24344
24345 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24346
24347 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24348 buffer isn't killed before making it current.
24349
24350 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24351
24352 Silence various byte-compiler warnings.
24353 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24354 `access-type' and new obsolescence format.
24355 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24356 new format.
24357 (byte-compile-check-variable): New `access-type' argument.
24358 Only warn if the access-type is obsolete.
24359 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24360 (byte-compile-variable-set): Adjust callers.
24361 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24362 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24363 setting it as obsolete.
24364 * simple.el (minibuffer-completing-symbol):
24365 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24366 access as obsolete.
24367 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24368 obsolete yet.
24369 * international/quail.el (quail-mouse-choose-completion): Remove unused
24370 code referring to obsolete var.
24371 (quail-choose-completion-string): Remove.
24372 * server.el (server-clients-with, server-kill-buffer-query-function)
24373 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24374 * proced.el (proced-send-signal):
24375 * emacs-lisp/lisp.el (lisp-complete-symbol):
24376 Replace completion-annotate-function with completion-extra-properties.
24377
24378 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24379
24380 * simple.el (goto-line): Use read-number.
24381 (overriding-map-is-bound): Remove.
24382 (saved-overriding-map): Change default.
24383 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24384 Take the map as argument.
24385 (universal-argument, negative-argument, digit-argument): Use it.
24386 (restore-overriding-map): Adjust.
24387 (do-auto-fill): Use fill-forward-paragraph.
24388 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24389
24390 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24391 (minibuffer-inactive-mode): New major mode.
24392 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24393 the *Messages* buffer" hack.
24394 (mouse-popup-menubar): Don't burp if the event is a normal key.
24395
24396 Miscellaneous tweaks.
24397 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24398 lexical scoping as in subr.el's dolist and dotimes.
24399 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24400 Silence compiler warning.
24401 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24402 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24403 * international/ccl.el (ccl-compile): Trivial simplification.
24404 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24405 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24406 `printflag' argument.
24407 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24408 Purecopy the whole obsolescence data.
24409
24410 2011-06-01 Leo Liu <sdl.web@gmail.com>
24411
24412 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24413 improve doc-string as suggested by Marco Pessotto
24414 <melmothx@gmail.com>.
24415 (rcirc-print): Fix last change.
24416
24417 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24418
24419 * minibuffer.el (complete-with-action): Return nil for the metadata and
24420 boundaries of non-functional tables.
24421 (completion-table-dynamic): Return nil for the metadata.
24422 (completion-table-with-terminator): Add default case, using
24423 complete-with-action.
24424 (completion--metadata): New function.
24425 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24426 to try and avoid pathological performance problems.
24427 (completion--embedded-envvar-table): Return `category' metadata.
24428
24429 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24430
24431 * subr.el (process-alive-p): New tiny convenience function.
24432
24433 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24434
24435 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24436 content but also its previous major mode.
24437
24438 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24439
24440 * emacs-lisp/debug.el (debug): Restore the previous content of the
24441 *Backtrace* buffer when we exit with C-M-c.
24442
24443 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24444
24445 * minibuffer.el: Add metadata method to completion tables.
24446 (completion-category-overrides): New defcustom.
24447 (completion-metadata, completion--field-metadata)
24448 (completion-metadata-get, completion--styles)
24449 (completion--cycle-threshold): New functions.
24450 (completion-try-completion, completion-all-completions):
24451 Add `metadata' argument to choose completion-styles.
24452 (completion--do-completion): Use metadata to choose cycling.
24453 (completion-all-sorted-completions): Use metadata for sorting.
24454 Remove :completion-cycle-penalty which is not needed any more.
24455 (completion--try-word-completion): Add `metadata' argument.
24456 (minibuffer-completion-help): Check metadata for annotation function
24457 and sorting.
24458 (completion-file-name-table): Return `category' metadata.
24459 (minibuffer-completing-file-name): Make obsolete.
24460 * simple.el (minibuffer-completing-symbol): Make obsolete.
24461 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24462 completion-try-completion.
24463
24464 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24465
24466 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24467
24468 2011-05-30 Leo Liu <sdl.web@gmail.com>
24469
24470 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24471 (rcirc-print): Decode all incoming messages (bug#8744).
24472 (rcirc-decode-coding-system): Allow value nil for automatic coding
24473 system detection.
24474
24475 2011-06-01 Glenn Morris <rgm@gnu.org>
24476
24477 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24478
24479 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24480
24481 * image.el (image-animate-max-time): Allow nil and t values.
24482 Default to nil.
24483 (create-animated-image): Doc fix.
24484 (image-animate-start): Remove second arg; just use
24485 image-animate-max-time.
24486 (image-animate-timeout): Doc fix. Args changed.
24487
24488 * image-mode.el (image-toggle-display-image): Ensure that the
24489 image spec passed to the animate timer is the same object as in
24490 the buffer's display property (Bug#6981).
24491 (image-transform-properties): Doc fix.
24492
24493 * image.el (image-animate-max-time): Default to nil.
24494
24495 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24496
24497 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24498 entire buffer list (Bug#8184).
24499
24500 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24501
24502 * image.el (imagemagick-types-inhibit)
24503 (imagemagick-register-types): Doc fix.
24504
24505 2011-05-29 Deniz Dogan <deniz@dogan.se>
24506
24507 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24508 default.
24509
24510 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24511
24512 * select.el: Don't perform clipboard-manager saving in hooks;
24513 leave the hooks empty.
24514
24515 2011-05-28 Leo Liu <sdl.web@gmail.com>
24516
24517 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24518 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24519 (occur-edit-mode): New major mode (Bug#8463).
24520 (occur-after-change-function): New function.
24521 (occur-engine): Give Occur tags a read-only property.
24522
24523 2011-05-28 Kevin Ryde <user42@zip.com.au>
24524
24525 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24526
24527 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24528
24529 * bindings.el (help-echo): Make the initial non-indicator dash
24530 empty on graphical terminals (Bug#7295).
24531
24532 * files.el (auto-mode-alist): Move config rule after the
24533 in-stripping one (Bug#8547).
24534
24535 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24536
24537 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24538 setting (Bug#8740).
24539
24540 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24541
24542 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24543 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24544 (Bug#8539).
24545
24546 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24547
24548 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24549
24550 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24551
24552 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24553 (hs-hide-block-at-point, hs-find-block-beginning)
24554 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24555 (Bug#8279).
24556
24557 2011-05-28 Glenn Morris <rgm@gnu.org>
24558
24559 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24560
24561 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24562
24563 * help-fns.el (describe-function-1): If the function is a derived
24564 major mode, print the parent mode.
24565
24566 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24567 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24568
24569 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24570
24571 * minibuffer.el (completion--capf-wrapper): Check applicability before
24572 returning non-nil for non-exclusive completion data.
24573 * progmodes/etags.el (tags-completion-at-point-function):
24574 * info-look.el (info-lookup-completions-at-point): Mark as
24575 non-exclusive.
24576 (info-complete): Adjust accordingly.
24577
24578 * info-look.el: Convert to lexical-binding and completion-at-point.
24579 (info-lookup-completions-at-point): New function.
24580 (info-complete): Use it and completion-in-region.
24581
24582 2011-05-28 Drew Adams <drew.adams@oracle.com>
24583
24584 * isearch.el: Let M-e start with point at the first mismatched char.
24585 (isearch-fail-pos): New function.
24586 (isearch-edit-string): Use it.
24587
24588 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24589
24590 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24591
24592 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24593
24594 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24595 traversal functions for avl-trees.
24596 (avl-tree--stack): New struct.
24597 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24598 (avl-tree-enter): Add optional `updatefun' arg.
24599 (avl-tree--do-enter): Add optional `updatefun' arg.
24600 Change return value.
24601 (avl-tree-delete): Add optional `test' and `nilflag' args.
24602 (avl-tree--do-delete): Add `test' and `nilflag' args.
24603 Change return value.
24604 (avl-tree-member): Add optional `nilflag'
24605 (avl-tree-member-p): New function.
24606 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24607 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24608 (avl-tree-stack-empty-p): New functions.
24609
24610 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24611 avl-tree--del-balance1 and make it work both ways.
24612 (avl-tree--del-balance2): Remove.
24613 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24614 make it work both ways.
24615 (avl-tree--enter-balance2): Remove.
24616 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24617 New macros.
24618 (avl-tree--mapc, avl-tree-map): Add direction argument.
24619
24620 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24621
24622 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24623
24624 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24625
24626 * select.el: Support clipboard managers with built-in function
24627 x-clipboard-manager-save, via delete-frame-functions and
24628 kill-emacs-hook.
24629 (xselect-convert-to-targets): Add MULTIPLE target to list.
24630 (xselect-convert-to-save-targets): New function.
24631
24632 2011-05-27 Kenichi Handa <handa@m17n.org>
24633
24634 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24635 let-binding rfc2047-encode-encoded-words to nil.
24636
24637 2011-05-27 Glenn Morris <rgm@gnu.org>
24638
24639 * mail/emacsbug.el: Don't require url-util.
24640
24641 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24642
24643 * files.el (set-auto-mode):
24644 Also respect mode: entries at the end of the file. (Bug#8586)
24645
24646 2011-05-26 Glenn Morris <rgm@gnu.org>
24647
24648 * files.el (hack-local-variables-prop-line, hack-local-variables):
24649 Downcase mode names, as seems to be traditional.
24650 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24651
24652 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24653 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24654
24655 2011-05-25 Julien Danjou <julien@danjou.info>
24656
24657 * textmodes/rst.el (rst-define-level-faces): Do not define face
24658 symbol if it is already defined.
24659
24660 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24661
24662 * play/5x5.el (5x5-new-game, 5x5-randomize):
24663 Reset 5x5-solver-output to nil when a new grid is cast.
24664 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24665 these debugging traces, as defmacro breaks the compiled code.
24666
24667 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24668
24669 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24670
24671 2011-05-24 Leo Liu <sdl.web@gmail.com>
24672
24673 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24674 (vc-bzr-sha1): Adapt.
24675
24676 * sha1.el: Remove. Function `sha1' is now builtin.
24677
24678 * bindings.el: Provide sha1 feature.
24679
24680 2011-05-24 Kenichi Handa <handa@m17n.org>
24681
24682 * mail/sendmail.el: Require `rfc2047'.
24683 (mail-insert-from-field): Do not perform RFC2047 encoding.
24684 (mail-encode-header): New function.
24685 (sendmail-send-it): Set buffer-file-coding-system of the work
24686 buffer to the return value of select-message-coding-system.
24687 Call mail-encode-header.
24688
24689 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24690
24691 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24692
24693 * mail/supercite.el (sc-default-cite-frame):
24694 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24695
24696 2011-05-24 Glenn Morris <rgm@gnu.org>
24697
24698 * progmodes/python.el (brm-menu): Declare.
24699
24700 * emulation/viper.el (viper-set-hooks): Declare.
24701
24702 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24703 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24704 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24705 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24706 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24707 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24708
24709 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24710
24711 Add an :exit-function for completion-at-point.
24712
24713 * minibuffer.el (completion--done): New fun.
24714 (completion--do-completion): Use it. New arg `expect-exact'.
24715 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24716 since completion--do-completion does it for us now.
24717 (minibuffer-force-complete): Use completion--done and
24718 completion--replace. Handle sole-completion case with more care.
24719 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24720 (completion-extra-properties): New var.
24721 (completion-annotate-function): Make obsolete.
24722 (minibuffer-completion-help): Adjust accordingly.
24723 Use completion-list-insert-choice-function.
24724 (completion-at-point, completion-help-at-point):
24725 Bind completion-extra-properties.
24726 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24727 * simple.el (completion-list-insert-choice-function): New var.
24728 (completion-setup-function): Preserve it.
24729 (choose-completion): Pay attention to it, shuffle the code a bit.
24730 (choose-completion-string): New arg `insert-function'.
24731
24732 * textmodes/bibtex.el: Convert to lexical binding.
24733 (bibtex-mode-map): Use completion-at-point.
24734 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24735 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24736 (bibtex-complete): Define as obsolete alias.
24737 (bibtex-complete-internal): Remove.
24738 (bibtex-format-entry): Remove unused sub-group in regexp.
24739 * shell.el (shell--command-completion-data)
24740 (shell-environment-variable-completion):
24741 * pcomplete.el (pcomplete-completions-at-point):
24742 * comint.el (comint--complete-file-name-data): Use :exit-function
24743 instead of completion-table-with-terminator so it also works for
24744 choose-completion.
24745
24746 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24747
24748 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24749
24750 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24751 (bug#8710).
24752
24753 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24754
24755 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24756
24757 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24758 customization variable and implement: If non-nil, auto-fill will
24759 be inhibited while on topic's header line.
24760
24761 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24762
24763 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24764 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24765 always have a solution in grid size = 5 cases.
24766 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24767 (5x5-solver-output, 5x5-log-buffer): New vars.
24768 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24769 Make these variables buffer local to achieve 5x5 multi-session-ness.
24770 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24771 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24772 (5x5-solve-suggest): New funs.
24773 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24774 randomize a grid so that we ensure that there is always a solution.
24775 (5x5-make-random-grid): Allow other movement than flipping.
24776
24777 2011-05-23 Kevin Ryde <user42@zip.com.au>
24778
24779 * emacs-lisp/advice.el (ad-read-advised-function):
24780 Use `function-called-at-point' as the default, if it has
24781 advice and passes PREDICATE.
24782
24783 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24784
24785 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24786 byte-compile-lambda if it's actually a lambda.
24787
24788 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24789 Fix function quoting. Use backquote better.
24790
24791 2011-05-22 Yuanle Song <sylecn@gmail.com>
24792
24793 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24794 matching (Bug#8516).
24795
24796 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24797
24798 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24799 different face (Bug#8178).
24800
24801 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24802
24803 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24804 defface (Bug#8144).
24805
24806 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24807
24808 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24809 funcall as well (bug#8712). Warn when performing those conversions.
24810 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24811
24812 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24813
24814 2011-05-22 Glenn Morris <rgm@gnu.org>
24815
24816 * files.el (hack-local-variables-prop-line): Small simplifications.
24817 (hack-local-variables, hack-local-variables-prop-line):
24818 If MODE-ONLY, return the mode, rather than just `t'.
24819
24820 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24821
24822 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24823
24824 2011-05-21 Glenn Morris <rgm@gnu.org>
24825
24826 * files.el (hack-local-variables-prop-line, hack-local-variables):
24827 If only interested in the mode, don't bother doing the other stuff.
24828
24829 * image-mode.el (image-after-revert-hook):
24830 Redraw all frames on which the image is visible. (Bug#8567)
24831
24832 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24833
24834 * wid-edit.el (widget-checklist-match-inline):
24835 Fix 2011-04-19 change. (Bug#8649)
24836
24837 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24838
24839 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24840 Also allow singlespace after single-letter capitals followed by a dot.
24841
24842 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24843 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24844
24845 2011-05-20 Nix <nix@esperi.org.uk>
24846
24847 * files.el (basic-save-buffer-2):
24848 Fix handling of break-hardlink-on-save with non-existent files.
24849
24850 2011-05-19 Deniz Dogan <deniz@dogan.se>
24851
24852 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24853 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24854
24855 2011-05-19 Glenn Morris <rgm@gnu.org>
24856
24857 * progmodes/f90.el (f90-type-def-re):
24858 Handle "type, bind(c)". (Bug#8691)
24859
24860 * emacs-lisp/autoload.el (batch-update-autoloads):
24861 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24862
24863 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24864
24865 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24866 property for the correct connection in case of multihops.
24867
24868 2011-05-18 Glenn Morris <rgm@gnu.org>
24869
24870 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24871 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24872
24873 Rationalize calendar handling of day and month abbrev-arrays.
24874 * calendar/calendar.el (calendar-customized-p): New function.
24875 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24876 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24877 Add :set function.
24878 (calendar-abbrev-length, calendar-day-abbrev-array)
24879 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24880 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24881 Elements may no longer be nil.
24882 (calendar-day-name, calendar-month-name):
24883 Update for changed nature of abbrev arrays.
24884 * calendar/diary-lib.el (diary-name-pattern):
24885 Update for changed nature of abbrev arrays.
24886 (diary-mark-entries-1): Update calendar-make-alist calls.
24887 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24888 * calendar/cal-html.el (cal-html-day-abbrev-array):
24889 Simply inherit from calendar-day-abbrev-array.
24890
24891 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24892
24893 * progmodes/grep.el (grep-mode): Disable default
24894 compilation-directory-matcher setting (bug#8684).
24895
24896 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24897
24898 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24899 instead of "head" and "tail". There were problems with SunOS 5.9,
24900 and it performs better.
24901
24902 2011-05-17 Glenn Morris <rgm@gnu.org>
24903
24904 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24905
24906 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24907 Replace obsolete function.
24908
24909 * shell.el (pcomplete-parse-arguments-function): Declare.
24910
24911 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24912 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24913 (appt-check): Doc fixes.
24914 (appt-disp-window-function, appt-delete-window-function):
24915 Remove needless special case in custom :type.
24916 (appt-display-count): Default to 0, not nil.
24917 (appt-check): Reset appt-display-count to 0, not nil.
24918
24919 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24920
24921 * progmodes/python.el (python-font-lock-keywords):
24922 Add the Python 3.X keyword "nonlocal" (bug#8639).
24923
24924 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24925
24926 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24927
24928 2011-05-16 Kevin Ryde <user42@zip.com.au>
24929
24930 * info-look.el (makefile-automake-mode): New setups, looking in
24931 automake manual, then makefile-mode.
24932 (makefile-mode): Remove automake manual, have it just in
24933 makefile-automake-mode since there's various things different or
24934 not relevant to plain make.
24935 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24936 believe a hypothetical automake-mode would go to makefile-mode,
24937 not the other way around.
24938
24939 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24940
24941 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24942 hunk-end tags (Bug#8672).
24943
24944 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24945 vc-annotate-show-diff-revision-at-line (Bug#8671).
24946
24947 2011-05-14 Glenn Morris <rgm@gnu.org>
24948
24949 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24950 in the middle of an existing one with multiple authors. (Bug#8645)
24951 (change-log-font-lock-keywords): Also handle multiple author lines
24952 with leading tabs. (Bug#8644)
24953
24954 * calendar/appt.el (appt-check): Rename some local variables.
24955 Some simplification/reordering.
24956
24957 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24958 (feedmail-sendmail-f-doesnt-sell-me-out)
24959 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24960 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24961 (feedmail-queue-runner-message-sender): Set :version.
24962 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24963 (bbdb-dwim-net-address, vm-mail): Declare.
24964 (feedmail-binmail-gnulinuxish-template):
24965 Rename from feedmail-binmail-linuxish-template.
24966 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24967 Use insert-buffer-substring.
24968
24969 2011-05-14 Bill Carpenter <bill@carpenter.org>
24970
24971 * mail/feedmail.el (feedmail-patch-level): Increase.
24972 (feedmail-debug): New custom group.
24973 (feedmail-confirm-outgoing-timeout)
24974 (feedmail-sendmail-f-doesnt-sell-me-out)
24975 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24976 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24977 (feedmail-sender-line, feedmail-from-line)
24978 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24979 (feedmail-spray-this-address)
24980 (feedmail-spray-address-fiddle-plex-list)
24981 (feedmail-queue-use-send-time-for-date)
24982 (feedmail-queue-use-send-time-for-message-id)
24983 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24984 (feedmail-buffer-eating-function):
24985 Doc fixes.
24986 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24987 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24988 (feedmail-message-action-scroll-down): New functions.
24989 (feedmail-queue-directory, feedmail-queue-draft-directory):
24990 Use expand-file-name.
24991 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24992 Remove C-v help entry.
24993 (feedmail-queue-buffer-file-name): New variable.
24994 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24995 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24996 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24997 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24998 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24999 (feedmail-message-action-toggle-spray)
25000 (feedmail-run-the-queue-no-prompts)
25001 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
25002 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
25003 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
25004 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
25005 (feedmail-envelope-deducer, feedmail-fiddle-from)
25006 (feedmail-fiddle-sender, feedmail-default-date-generator)
25007 (feedmail-fiddle-date, feedmail-fiddle-message-id)
25008 (feedmail-fiddle-spray-address)
25009 (feedmail-fiddle-list-of-spray-fiddle-plexes)
25010 (feedmail-fiddle-list-of-fiddle-plexes)
25011 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
25012 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
25013 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
25014 Change default. Doc fix.
25015 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
25016 (feedmail-binmail-linuxish-template): New constant.
25017 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
25018 Respect feedmail-sendmail-f-doesnt-sell-me-out.
25019 (feedmail-send-it): Add debug call.
25020 Use feedmail-queue-buffer-file-name, and
25021 feedmail-send-it-immediately-wrapper.
25022 (feedmail-message-action-send): Add debug call.
25023 Use feedmail-send-it-immediately-wrapper.
25024 (feedmail-queue-express-to-queue): Add debug call.
25025 Run feedmail-queue-express-hook.
25026 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
25027 (feedmail-message-action-help-blat):
25028 Rename from feedmail-queue-send-edit-prompt-help-first.
25029 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
25030 Check line-endings. Handle errors better.
25031 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
25032 Doc fix. Add debug call.
25033 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
25034 Use feedmail-queue-send-edit-prompt-inner.
25035 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
25036 (feedmail-queue-send-edit-prompt-inner): New function, extracted
25037 from feedmail-queue-send-edit-prompt.
25038 (feedmail-queue-send-edit-prompt-help)
25039 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25040 (feedmail-tidy-up-slug): Add debug call.
25041 Respect feedmail-queue-slug-suspect-regexp.
25042 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25043 (feedmail-dump-message-to-queue): Add debug call.
25044 Expand queue-directory.
25045 (feedmail-dump-message-to-queue): Change message slightly.
25046 Use feedmail-say-chatter.
25047 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25048 (feedmail-send-it-immediately-wrapper): New function.
25049 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25050 Insert empty string rather than newline. Handle full-frame case.
25051 Use catch/throw. Use feedmail-say-chatter.
25052 (feedmail-fiddle-from): Try mail-host-address.
25053 (feedmail-default-message-id-generator): Doc fix.
25054 Bind system-time-locale. Handle missing end.
25055 (feedmail-fiddle-x-mailer): Add debug call.
25056 Handle feedmail-x-mailer-line being nil.
25057 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25058 Add debug call. Use buffer-substring-no-properties.
25059 (feedmail-say-debug, feedmail-say-chatter): New functions.
25060 (feedmail-find-eoh): Give an explicit error.
25061
25062 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25063
25064 * net/newst-treeview.el (newsticker-treeview-face): Change default
25065 family from helvetica to sans.
25066 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25067 etc/images/newsticker.
25068
25069 * net/newst-reader.el (newsticker-feed-face): Change default
25070 family from helvetica to sans.
25071
25072 * net/newst-plainview.el (newsticker-new-item-face)
25073 (newsticker-old-item-face, newsticker-immortal-item-face)
25074 (newsticker-obsolete-item-face, newsticker-date-face)
25075 (newsticker-statistics-face): Change default family from
25076 helvetica to sans.
25077 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25078 etc/images/newsticker.
25079
25080 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25081 (newsticker--process-auto-mark-filter-match): Tell user about
25082 auto-marking.
25083
25084 2011-05-13 Didier Verna <didier@xemacs.org>
25085
25086 Common Lisp indentation improvements on defmethod and lambda-lists.
25087 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25088 TODO entries.
25089 (lisp-lambda-list-keyword-parameter-indentation)
25090 (lisp-lambda-list-keyword-parameter-alignment)
25091 (lisp-lambda-list-keyword-alignment): New customizable user options.
25092 (lisp-indent-defun-method): Improve docstring.
25093 (extended-loop-p): Fix comment.
25094 (lisp-indent-lambda-list-keywords-regexp): New variable.
25095 (lisp-indent-lambda-list): New function.
25096 (lisp-indent-259): Use it.
25097 (lisp-indent-defmethod): Support for more than one
25098 method qualifier and properly indent methods lambda-lists.
25099 (defgeneric): Provide a missing common-lisp-indent-function property.
25100
25101 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25102
25103 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25104 bounds for the empty string (bug#8667).
25105
25106 2011-05-13 Glenn Morris <rgm@gnu.org>
25107
25108 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25109
25110 * mail/sendmail.el (sendmail-program): Try executable-find first.
25111 (sendmail-send-it): `sendmail-program' cannot be unbound.
25112
25113 * calendar/appt.el (appt-make-list): Simplify.
25114 (appt-time-msg-list): Doc fix.
25115 (appt-check): Change mode-line message at the time of the appointment.
25116
25117 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25118
25119 * progmodes/ld-script.el (ld-script-keywords)
25120 (ld-script-builtins): Update keywords list.
25121
25122 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25123
25124 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25125
25126 * shell.el (shell-completion-vars): New function.
25127 (shell-mode):
25128 * simple.el (read-shell-command): Use it.
25129 (blink-matching-open): No need for " [...]" in minibuffer-message.
25130
25131 2011-05-12 Glenn Morris <rgm@gnu.org>
25132
25133 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25134 (appt-check): Simplify.
25135
25136 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25137
25138 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25139 literal "/dev/null".
25140
25141 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25142
25143 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25144 Fix typo.
25145
25146 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25147
25148 * progmodes/which-func.el (which-function):
25149 Use add-log-current-defun instead of add-log-current-defun-function,
25150 which might not be defined (Bug#8260).
25151
25152 2011-05-12 Glenn Morris <rgm@gnu.org>
25153
25154 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25155 Let byte-compile-initial-macro-environment always take precedence.
25156
25157 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25158
25159 * net/rcirc.el: Add support for SSL/TLS connections.
25160 (rcirc-server-alist): New field `encryption'.
25161 (rcirc): Check `encryption' settings.
25162 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25163 Merge make-local-variable into `set'.
25164 (rcirc--connection-open-p): New function.
25165 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25166 the process is not a network process (e.g. running gnutls-cli).
25167 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25168 Make rcirc-(en|de)code-coding-system local here.
25169 (rcirc-mode): Merge make-local-variable into `set'.
25170 (rcirc-parent-buffer): Make permanent buffer-local.
25171 (rcirc-multiline-minor-mode): Don't do it here.
25172 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25173 there's no server buffer.
25174
25175 2011-05-11 Glenn Morris <rgm@gnu.org>
25176
25177 * newcomment.el (comment-kill): Prefix "unused" local.
25178
25179 * term/w32console.el (get-screen-color): Declare.
25180
25181 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25182 Handle symbol elements of byte-compile-initial-macro-environment.
25183
25184 2011-05-10 Leo Liu <sdl.web@gmail.com>
25185
25186 * bookmark.el (bookmark-bmenu-mode-map):
25187 Bind bookmark-bmenu-search to `/'.
25188
25189 * mail/footnote.el: Convert to utf-8 encoding.
25190 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25191 (Footnote-unicode): New function.
25192 (footnote-style-alist): Add unicode style to the list.
25193 (footnote-style): Doc fix.
25194
25195 2011-05-10 Jim Meyering <meyering@redhat.com>
25196
25197 Fix doubled-word typos.
25198 * international/quail.el (quail-insert-kbd-layout): and and -> and
25199 * kermit.el: and and -> and
25200 * net/ldap.el (ldap-search-internal): to to -> to
25201 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25202 * progmodes/js.el (js-mode): and and -> and
25203 * textmodes/artist.el (artist-move-to-xy): at at -> at
25204 (artist-draw-region-trim-line-endings): if if -> if
25205 And Safetyc -> Safety.
25206 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25207
25208 2011-05-10 Glenn Morris <rgm@gnu.org>
25209 Stefan Monnier <monnier@iro.umontreal.ca>
25210
25211 * files.el (hack-one-local-variable-eval-safep):
25212 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25213
25214 2011-05-10 Glenn Morris <rgm@gnu.org>
25215
25216 * calendar/diary-lib.el (diary-list-entries-hook)
25217 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25218 (diary-nongregorian-marking-hook, diary-list-entries)
25219 (diary-include-other-diary-files, diary-mark-entries)
25220 (diary-mark-included-diary-files): Doc fixes.
25221
25222 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25223
25224 * misc.el: Require tabulated-list.el during compilation.
25225
25226 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25227
25228 * progmodes/compile.el (compilation-start):
25229 Run compilation-filter-hook for the async case too.
25230 (compilation-filter-hook): Doc fix.
25231
25232 2011-05-09 Deniz Dogan <deniz@dogan.se>
25233
25234 * wdired.el: Remove outdated installation comment. Fix usage
25235 comment.
25236
25237 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25238
25239 * misc.el: Implement new command `list-dynamic-libraries'.
25240 (list-dynamic-libraries--loaded-only-p): New variable.
25241 (list-dynamic-libraries--refresh): New function.
25242 (list-dynamic-libraries): New command.
25243
25244 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25245
25246 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25247 Fix the ant regexp to handle end-line and end-column info from jikes.
25248 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25249 higher priority to avoid clobbering by gnu.
25250
25251 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25252
25253 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25254 if the face has existing theme settings (Bug#8454).
25255
25256 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25257
25258 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25259 Only match variables declared via `my' or `our' (Bug#8261).
25260
25261 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25262 special file names `.' and `..' (Bug#8259).
25263
25264 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25265
25266 * progmodes/grep.el (grep-mode-font-lock-keywords):
25267 Remove buffer-changing entries.
25268 (grep-filter): New function.
25269 (grep-mode): Add it to compilation-filter-hook.
25270
25271 * progmodes/compile.el (compilation-filter-hook)
25272 (compilation-filter-start): New defvars.
25273 (compilation-filter): Call compilation-filter-hook prior to
25274 updating the process mark.
25275
25276 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25277
25278 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25279
25280 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25281
25282 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25283 mailclient-send-it even if window-system is nil. (Bug#8595)
25284
25285 * term/w32console.el (terminal-init-w32console):
25286 Call get-screen-color and use its output to set the frame
25287 background-mode. (Bug#8597)
25288
25289 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25290
25291 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25292 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25293 New functions.
25294 (defgeneric, eieio--defmethod): Use them.
25295 (eieio-defgeneric): Remove.
25296 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25297
25298 2011-05-07 Glenn Morris <rgm@gnu.org>
25299
25300 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25301 Use let rather than let*.
25302 (timeclock-find-discrep): Remove unused local.
25303
25304 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25305
25306 * calendar/appt.el (appt-time-msg-list): Doc fix.
25307
25308 2011-05-06 Noah Friedman <friedman@splode.com>
25309
25310 * apropos.el (apropos-print-doc): Only use
25311 emacs-lisp-docstring-fill-column when it is bound to an integer,
25312 per that variable's documentation.
25313
25314 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25315
25316 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25317 and warnings are not silently discarded (e.g. use -d instead of -P).
25318
25319 2011-05-06 Glenn Morris <rgm@gnu.org>
25320
25321 * calendar/appt.el (appt-message-warning-time): Doc fix.
25322 (appt-warning-time-regexp): New option.
25323 (appt-make-list): Respect appt-message-warning-time.
25324
25325 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25326 New options.
25327 (diary-add-to-list): Strip comments from the displayed string.
25328 (diary-mode): Set comment-start and comment-end.
25329
25330 * vc/diff-mode.el (smerge-refine-subst): Declare.
25331 (diff-refine-hunk): Don't require smerge-mode when compiling.
25332
25333 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25334
25335 * simple.el (list-processes): Return nil as the docstring says.
25336
25337 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25338
25339 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25340 to "".
25341 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25342 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25343 determining of binary transfer. (Bug#7383)
25344
25345 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25346
25347 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25348 Fix port computation bug. (Bug#8618)
25349
25350 2011-05-05 Glenn Morris <rgm@gnu.org>
25351
25352 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25353
25354 * simple.el (shell-dynamic-complete-functions)
25355 (comint-dynamic-complete-functions): Declare.
25356
25357 * net/network-stream.el (gnutls-negotiate):
25358 * simple.el (tabulated-list-print): Fix declarations.
25359
25360 * progmodes/gud.el (syntax-symbol, syntax-point):
25361 Remove unnecessary and incorrect declarations.
25362
25363 * emacs-lisp/check-declare.el (check-declare-scan):
25364 Handle byte-compile-initial-macro-environment in bytecomp.el.
25365
25366 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25367
25368 Fix earlier half-done eieio-defmethod change (bug#8338).
25369 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25370 Streamline and change calling convention.
25371 (defmethod): Adjust accordingly and simplify.
25372 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25373 new eieio--defmethod.
25374 (slot-boundp): Minor CSE simplification.
25375
25376 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25377
25378 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25379 (glasses-make-readable): Use glasses-separate-capital-groups.
25380
25381 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25382
25383 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25384 (warning-series): Doc fix.
25385 (display-warning): Don't try to create the buffer if we just found it.
25386
25387 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25388
25389 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25390 (autoload-find-generated-file): New function.
25391 (generate-file-autoloads): Bind generated-autoload-file to
25392 buffer-file-name.
25393 (update-file-autoloads, update-directory-autoloads):
25394 Use autoload-find-generated-file. If called interactively, prompt for
25395 output file (Bug#7989).
25396 (batch-update-autoloads): Doc fix.
25397
25398 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25399
25400 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25401
25402 2011-05-04 Glenn Morris <rgm@gnu.org>
25403
25404 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25405 function, so it follows changes in calendar-date-style.
25406 (diary-fancy-date-matcher): New function.
25407 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25408 (diary-fancy-font-lock-fontify-region-function):
25409 Use diary-fancy-date-pattern as a function.
25410
25411 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25412 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25413
25414 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25415
25416 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25417 instead of positional arguments. Allow :keylist and :crlfiles
25418 arguments.
25419 (open-gnutls-stream): Call it.
25420
25421 * net/network-stream.el (network-stream-open-starttls): Adjust to
25422 call `gnutls-negotiate' with :process and :hostname arguments.
25423
25424 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25425
25426 * minibuffer.el (completion--message): New function.
25427 (completion--do-completion, minibuffer-complete)
25428 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25429 (completion--do-completion): Don't ignore completion-auto-help when in
25430 icomplete-mode.
25431
25432 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25433 internal encoding (e.g. tibetan zero is not whitespace).
25434 (global-whitespace-mode): Prefer save-current-buffer.
25435 (whitespace-trailing-regexp): Remove useless save-match-data.
25436 (whitespace-empty-at-bob-regexp): Minor simplification.
25437
25438 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25439
25440 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25441
25442 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25443
25444 * textmodes/ispell.el (ispell-add-per-file-word-list):
25445 Use `concat' to create string for insertion.
25446
25447 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25448
25449 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25450 Avoid open-line which runs post-self-insert-hook.
25451 (bibtex-fill-entry): Remove unused `end' var.
25452
25453 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25454
25455 * textmodes/ispell.el (ispell-add-per-file-word-list):
25456 Protect against `nil' value of `comment-start' (Bug#8579).
25457
25458 2011-05-03 Leo Liu <sdl.web@gmail.com>
25459
25460 * isearch.el (isearch-yank-pop): New command.
25461 (isearch-mode-map): Bind it to `M-y'.
25462 (isearch-forward): Mention it.
25463
25464 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25465
25466 * simple.el (minibuffer-complete-shell-command): Remove.
25467 (minibuffer-local-shell-command-map): Use completion-at-point.
25468 (read-shell-command): Setup completion vars here instead.
25469 (read-expression-map): Bind TAB to symbol completion.
25470
25471 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25472 error directly rather via storing it into `results'.
25473
25474 2011-05-02 Leo Liu <sdl.web@gmail.com>
25475
25476 * vc/diff.el: Fix description.
25477
25478 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25479
25480 * server.el (server-eval-at): New function.
25481
25482 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25483
25484 * net/network-stream.el (open-network-stream): Take a :nowait
25485 parameter and pass it on to `make-network-process'.
25486 (network-stream-open-plain): Ditto.
25487
25488 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25489
25490 * faces.el (face-spec-set-match-display): Don't match toolkit
25491 options on terminal frames.
25492
25493 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25494
25495 * progmodes/pascal.el: Use lexical binding.
25496 (pascal-mode-map): Remove author preferences.
25497
25498 * pcomplete.el (pcomplete-std-complete): Don't abuse
25499 completion-at-point.
25500
25501 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25502
25503 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25504 removing code that has been dead since 1991 or so.
25505
25506 * startup.el (command-line): When warning about "_emacs", use a
25507 delayed warning to allow the user to filter it out.
25508
25509 2011-04-28 Deniz Dogan <deniz@dogan.se>
25510
25511 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25512 user has not joined.
25513
25514 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25515
25516 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25517 aren't any completions at point.
25518
25519 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25520
25521 * subr.el (display-delayed-warnings): New function.
25522 (delayed-warnings-hook): New variable.
25523
25524 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25525
25526 * minibuffer.el (completion-at-point, completion-help-at-point):
25527 Don't presume that a given completion-at-point-function will always
25528 use the same calling convention.
25529
25530 * pcomplete.el (pcomplete-completions-at-point):
25531 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25532 pcomplete-seen is non-nil.
25533 (pcomplete-comint-setup): Also recognize the new comint/shell
25534 completion functions.
25535 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25536 pcomplete-seen is non-nil.
25537
25538 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25539
25540 * calendar/icalendar.el (diary-lib): Add require statement.
25541 (icalendar--create-uid): Read out a uid from a text-property on
25542 the first character in the entry. This allows for code to add its
25543 own uid to the entry.
25544 (icalendar--convert-float-to-ical): Add export of
25545 `diary-float'-entries save for those with the optional DAY
25546 argument.
25547
25548 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25549
25550 * subr.el (shell-quote-argument): Use alternate escaping strategy
25551 when we spot a variable reference in a string.
25552
25553 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25554
25555 * cus-start.el (all): Define customization for debug-on-event.
25556
25557 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25558
25559 * subr.el (shell-quote-argument): Escape correctly under Windows.
25560
25561 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25562
25563 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25564
25565 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25566
25567 * net/tramp.el (tramp-process-actions): Add POS argument.
25568 Delete region between POS and (pos).
25569
25570 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25571 Use `nil' position in `tramp-process-actions' call.
25572 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25573
25574 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25575 position in `tramp-process-actions' call.
25576
25577 * net/trampver.el: Update release number.
25578
25579 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25580
25581 * custom.el (defcustom): Obey lexical-binding.
25582
25583 Fix octave-inf completion problems reported by Alexander Klimov.
25584 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25585 Inherit from octave-mode-syntax-table.
25586 (inferior-octave-mode): Set info-lookup-mode.
25587 (inferior-octave-completion-at-point): New function.
25588 (inferior-octave-complete): Use it and completion-in-region.
25589 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25590 comint-filename-completion.
25591 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25592 symbol elements which shouldn't be word elements.
25593 (octave-font-lock-keywords, octave-beginning-of-defun)
25594 (octave-function-header-regexp): Adjust regexps accordingly.
25595 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25596
25597 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25598
25599 * net/gnutls.el (gnutls-errorp): Declare before first use.
25600
25601 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25602
25603 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25604 verify-error, and verify-hostname-error parameters. Check whether
25605 default trustfile exists before going to use it. Add missing
25606 argument to gnutls-message-maybe call. Return value.
25607 Reported by Claudio Bley <claudio.bley@gmail.com>.
25608 (open-gnutls-stream): Add usage example.
25609
25610 * net/network-stream.el (network-stream-open-starttls): Give host
25611 parameter to `gnutls-negotiate'.
25612 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25613 * subr.el (shell-quote-argument): Escape correctly under Windows.
25614
25615 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25616
25617 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25618 Use correct match group (bug#8438).
25619
25620 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25621
25622 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25623 (package-menu--generate): New arg specifying packages to show.
25624 (package-menu-refresh, package-menu-execute, list-packages):
25625 Callers changed.
25626 (package-show-package-list): New function, replacing deleted
25627 package--list-packages (renamed because it is non-internal).
25628
25629 * finder.el (finder-list-matches): Use package-show-package-list
25630 instead of deleted package--list-packages.
25631
25632 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25633 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25634 (vc-annotate-mode-map): Bind it to RET.
25635
25636 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25637
25638 * progmodes/etags.el (next-file): Don't use set-buffer to change
25639 buffers (Bug#8478).
25640
25641 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25642
25643 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25644
25645 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25646 (apropos-accumulator): Doc fix.
25647 (apropos-function, apropos-macro, apropos-command)
25648 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25649 (apropos-plist): Add face property.
25650 (apropos-symbols-internal): Fix indentation.
25651 (apropos-print): Simplify help, and recognize apropos-multi-type.
25652 (apropos-print-doc): Use button-type-get to extract the button's
25653 face property. Fill docstring (Bug#8352).
25654
25655 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25656
25657 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25658
25659 * play/mpuz.el (mpuz-silent): Doc fix.
25660 (mpuz-mode-map): Use mapc.
25661 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25662 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25663 Fix typos in docstrings.
25664
25665 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25666 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25667
25668 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25669
25670 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25671
25672 * minibuffer.el (completion--do-completion): Avoid the "Next char
25673 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25674
25675 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25676 mouse-2 into unread-command-events, it is interpreted correctly.
25677
25678 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25679 (image-toggle-display): Doc fix.
25680
25681 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25682
25683 * textmodes/page.el (what-page): Use line-number-at-pos to
25684 calculate line number (Bug#6825).
25685
25686 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25687
25688 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25689 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25690 Pass argument NO-DEFAULT to `find-tag-interactive'.
25691
25692 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25693
25694 Lexical-binding cleanup.
25695
25696 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25697 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25698 * progmodes/ada-prj.el (ada-prj-initialize-values)
25699 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25700 (ada-prj-show-value):
25701 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25702 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25703 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25704 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25705 * progmodes/bug-reference.el (bug-reference-push-button):
25706 * progmodes/fortran.el (fortran-line-length):
25707 * progmodes/glasses.el (glasses-change):
25708 * progmodes/octave-mod.el (octave-fill-paragraph):
25709 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25710 (python-pdbtrack-grub-for-buffer, python-sentinel):
25711 * progmodes/sql.el (sql-save-connection):
25712 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25713 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25714 Mark unused parameters.
25715
25716 * progmodes/compile.el (compilation--flush-directory-cache)
25717 (compilation--flush-parse, compile-internal): Mark unused parameters.
25718 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25719 (compilation-next-error-function): Remove unused variable `timestamp'.
25720
25721 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25722 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25723
25724 * progmodes/dcl-mode.el (dcl-end-of-command):
25725 Remove unused variable `start'.
25726 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25727 (dcl-option-value-basic, dcl-option-value-offset)
25728 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25729 Mark unused parameters.
25730 (dcl-save-local-variable): Remove unused variable `val'.
25731 (mode): Declare.
25732
25733 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25734 Mark unused parameters.
25735 (delphi-ignore-changes): Move before first use.
25736 (delphi-charset-token-at): Remove unused variable `start'.
25737 (delphi-else-start): Remove unused variable `if-count'.
25738 (delphi-comment-block-start, delphi-comment-block-end):
25739 Remove unused variable `kind'.
25740 (delphi-indent-line): Remove unused variable `new-point'.
25741
25742 * progmodes/ebrowse.el (ebrowse-files-list)
25743 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25744 Mark unused parameters. Don't quote `lambda'.
25745 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25746 Don't quote `lambda'.
25747 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25748 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25749 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25750 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25751 Use `ignore-errors'.
25752 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25753 (ebrowse-view/find-file-and-search-pattern)
25754 (ebrowse-view/find-member-declaration/definition):
25755 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25756 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25757 Rename parameter PREFIX-ARG to PREFIX.
25758 (ebrowse-tags-read-name): Remove unused variables `start' and
25759 `member-info'.
25760 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25761 to `tags-file'.
25762
25763 * progmodes/etags.el (local-find-tag-hook): Declare.
25764 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25765 Mark unused parameters.
25766
25767 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25768 (executable-interpret): Mark unused parameter.
25769
25770 * progmodes/flymake.el (flymake-process-sentinel)
25771 (flymake-after-change-function)
25772 (flymake-create-temp-with-folder-structure)
25773 (flymake-get-include-dirs-dot): Mark unused parameters.
25774 (flymake-safe-delete-directory): Remove unused variable `err'.
25775
25776 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25777 (speedbar-timer-fn, speedbar-line-text)
25778 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25779 (speedbar-center-buffer-smartly): Declare functions.
25780 (gdb-find-watch-expression): Remove unused variable `array'.
25781 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25782 (gdb-starting): Mark unused parameters.
25783 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25784 (gdb-table-string): Remove unused variable `res'.
25785 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25786 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25787 (gdb-display-buffer): Remove unused variable `cur-size'.
25788
25789 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25790 allow lexical-binding compilation.
25791 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25792 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25793 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25794 Mark unused parameters.
25795 (gud-gdb-marker-filter): Remove unused variable `match'.
25796 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25797 lambda expressions and funcall them, instead of using `fset'.
25798
25799 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25800 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25801
25802 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25803 variable `header-beg'; use `let'.
25804
25805 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25806 `restart', `last-sexp' and `at-do'.
25807
25808 * progmodes/js.el (js--debug): Mark unused parameter.
25809 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25810 (js--splice-into-items): Remove unused variable `item'.
25811 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25812
25813 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25814 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25815 (makefile-complete): Remove unused variable `try'.
25816 (makefile-fill-paragraph, makefile-match-function-end):
25817 Mark unused parameters.
25818
25819 * progmodes/octave-inf.el (inferior-octave-complete):
25820 Remove unused variable `proc'.
25821 (inferior-octave-output-digest): Mark unused parameter.
25822
25823 * progmodes/perl-mode.el (perl-calculate-indent):
25824 Remove unused variable `err'.
25825
25826 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25827 (prolog-indent-line): Mark unused parameters.
25828 (prolog-indent-line): Remove unused variable `beg'.
25829
25830 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25831 (reporter-dont-compact-list): Declare.
25832
25833 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25834 Remove unused variable `char'.
25835 (sh-debug): Mark unused parameter.
25836 (sh-get-indent-info): Remove unused variable `start'.
25837 (sh-calculate-indent): Remove unused variable `var'.
25838
25839 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25840 (simula-electric-keyword): Remove unused variable `null'.
25841 (simula-search-backward, simula-search-forward): Remove unused
25842 variables `begin' and `end'.
25843
25844 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25845 Remove unused variable `pos'.
25846 (vera-electric-tab, vera-comment-uncomment-region):
25847 Mark unused parameters.
25848 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25849
25850 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25851
25852 * emacs-lisp/package.el (package--builtins, package-alist)
25853 (package-load-descriptor, package-built-in-p, package-activate)
25854 (define-package, package-installed-p)
25855 (package-compute-transaction, package-buffer-info)
25856 (package--push): Doc fix. Distinguish more clearly between
25857 version strings and version lists.
25858
25859 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25860
25861 Lexical-binding cleanup.
25862
25863 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25864 (5x5-make-mutate-best):
25865 * play/fortune.el (fortune-in-buffer):
25866 * play/gomoku.el (gomoku-init-display):
25867 * play/solitaire.el (solitaire, solitaire-do-check):
25868 * play/tetris.el (tetris-default-update-speed-function):
25869 Mark unused parameters.
25870
25871 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25872 (bubbles--shift): Remove unused variable `char-org'.
25873 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25874 (bubbles--show-images): Remove unused variable `char'.
25875
25876 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25877 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25878 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25879 (decipher-analyze-buffer): Use ?\s.
25880 (decipher-make-checkpoint): Remove unused variable `mapping'.
25881
25882 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25883
25884 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25885 Remove unused variable `result'; use `let'.
25886
25887 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25888 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25889 (gametree-children-shown-p, gametree-compute-reduced-score):
25890 Use `ignore-errors'.
25891
25892 * play/handwrite.el (ps-lpr-switches): Declare.
25893 (handwrite): Remove unused variables `pmin' and `lastp'.
25894
25895 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25896
25897 * play/landmark.el (landmark-init-display)
25898 (landmark-update-naught-weights): Mark unused parameters.
25899 (landmark-y): Remove unused variable `noise'. Simplify.
25900 (landmark-human-plays): Remove unused variable `score'.
25901
25902 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25903 (mpuz-try-proposal): Remove unused variable `game'.
25904
25905 * play/zone.el (life-patterns): Declare.
25906
25907 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25908
25909 * vc/vc.el (ediff-vc-internal): Declare function.
25910
25911 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25912
25913 * shell.el: Use lexical-binding and std completion UI.
25914 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25915 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25916 comint-preoutput-filter-functions rather than on
25917 comint-output-filter-functions.
25918 (shell-command-completion, shell--command-completion-data)
25919 (shell-filename-completion, shell-environment-variable-completion)
25920 (shell-c-a-p-replace-by-expanded-directory): New functions.
25921 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25922 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25923 (shell-dynamic-complete-environment-variable): Use them.
25924 (shell-dynamic-complete-as-environment-variable)
25925 (shell-dynamic-complete-as-command): Remove.
25926 (shell-match-partial-variable): Match past point.
25927 * comint.el: Clean up use of completion-at-point-functions.
25928 (comint-completion-at-point): New function.
25929 (comint-mode): Use it completion-at-point-functions.
25930 (comint-dynamic-complete): Make it obsolete.
25931 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25932 (comint-c-a-p-replace-by-expanded-history): New function.
25933 (comint-dynamic-complete-functions)
25934 (comint-replace-by-expanded-history): Use it.
25935 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25936 termination strings. Try harder to avoid second try-completion.
25937 (completion-in-region-mode-map): Disable bindings that don't work yet.
25938
25939 * comint.el: Use lexical-binding. Require CL.
25940 (comint-dynamic-complete-functions): Use comint-filename-completion.
25941 (comint-completion-addsuffix): Tweak custom type.
25942 (comint-filename-completion, comint--common-suffix)
25943 (comint--common-quoted-suffix, comint--table-subvert)
25944 (comint--complete-file-name-data): New functions.
25945 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25946 (comint-dynamic-list-filename-completions): Use them.
25947 (comint-dynamic-simple-complete): Make obsolete.
25948
25949 * minibuffer.el (completion-in-region-mode):
25950 Keep completion-in-region-mode--predicate global.
25951 (completion-in-region--postch):
25952 Assume completion-in-region-mode--predicate is not null.
25953
25954 * progmodes/flymake.el (flymake-start-syntax-check-process):
25955 Obey `dir'. Simplify.
25956
25957 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25958 we're in VC after all.
25959
25960 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25961
25962 * vc/vc.el (vc-diff-build-argument-list-internal)
25963 (vc-version-ediff, vc-ediff): New commands.
25964 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25965
25966 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25967
25968 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25969 add sanity check.
25970
25971 * obsolete/erc-hecomplete.el: Make obsolete.
25972 * obsolete/: Standardize obsolescence info in the header.
25973
25974 2011-04-20 Glenn Morris <rgm@gnu.org>
25975
25976 * calendar/solar.el (solar-horizontal-coordinates):
25977 Use the longitude argument rather than `calendar-longitude'.
25978 (solar-date-next-longitude): Remove unused locals.
25979
25980 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25981
25982 * whitespace.el: New version 13.2.1.
25983
25984 2011-04-20 felix <EmacsWiki> (tiny change)
25985
25986 * whitespace.el (global-whitespace-mode): Keep highlight when
25987 switching between major modes on a file.
25988
25989 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25990
25991 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25992 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25993 multi-line comments as well.
25994
25995 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25996
25997 Lexical-binding cleanup.
25998
25999 * arc-mode.el (archive-mode-revert):
26000 * cmuscheme.el (scheme-interactively-start-process):
26001 * custom.el (custom-initialize-delay):
26002 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
26003 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
26004 * emacs-lock.el (emacs-lock-clear-sentinel):
26005 * ezimage.el (defezimage):
26006 * follow.el (follow-avoid-tail-recenter):
26007 * fringe.el (set-fringe-mode-1):
26008 * generic-x.el (bat-generic-mode-compile):
26009 * help-mode.el (help-info-variable, help-do-xref)
26010 (help-mode-revert-buffer):
26011 * help.el (view-emacs-todo):
26012 * iswitchb.el (iswitchb-completion-help):
26013 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
26014 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
26015 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
26016 * locate.el (locate-update):
26017 * longlines.el (longlines-encode-region)
26018 (longlines-after-change-function):
26019 * outline.el (outline-isearch-open-invisible):
26020 * ps-def.el (declare-function, charset-dimension, char-width)
26021 (encode-char):
26022 * ps-mule.el (ps-mule-plot-string):
26023 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
26024 (recentf-edit-list-select, recentf-edit-list-validate)
26025 (recentf-open-files-action):
26026 * rect.el (delete-whitespace-rectangle-line)
26027 (rectangle-number-line-callback):
26028 * register.el (window-configuration-to-register)
26029 (frame-configuration-to-register):
26030 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
26031 * select.el (xselect-convert-to-string, xselect-convert-to-length)
26032 (xselect-convert-to-targets, xselect-convert-to-delete)
26033 (xselect-convert-to-filename, xselect-convert-to-charpos)
26034 (xselect-convert-to-lineno, xselect-convert-to-colno)
26035 (xselect-convert-to-os, xselect-convert-to-host)
26036 (xselect-convert-to-user, xselect-convert-to-class)
26037 (xselect-convert-to-name, xselect-convert-to-integer)
26038 (xselect-convert-to-atom, xselect-convert-to-identity):
26039 * subr.el (declare, ignore, process-kill-without-query)
26040 (text-clone-maintain):
26041 * terminal.el (te-get-char, te-tic-sentinel):
26042 * tool-bar.el (tool-bar-make-keymap):
26043 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26044 * type-break.el (type-break-mode, type-break-noninteractive-query):
26045 * view.el (View-back-to-mark):
26046 * wid-browse.el (widget-browse-action, widget-browse-widget)
26047 (widget-browse-widgets, widget-browse-sexp):
26048 * widget.el (define-widget-keywords):
26049 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26050 Mark unused parameters.
26051
26052 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26053 (align-areas): Remove unused variable `look'.
26054 (align-region): Remove unused variables `real-end' and `pos-list'.
26055
26056 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26057
26058 * bindings.el (mode-line-modified, mode-line-remote):
26059 Mark unused parameters.
26060 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26061
26062 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26063 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26064
26065 * comint.el (comint-history-isearch-pop-state)
26066 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26067 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26068 (comint-substitute-in-file-name): Doc fix.
26069
26070 * completion.el (cmpl-statistics-block): Mark unused parameter.
26071 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26072 (save-completions-to-file, load-completions-from-file):
26073 Remove unused local variable `e'.
26074
26075 * composite.el (compose-chars): Remove unused variable `len'.
26076 (lgstring-insert-glyph): Remove unused variable `g'.
26077 (compose-glyph-string): Remove unused variables `ascent',
26078 `descent', `lbearing' and `rbearing'.
26079 (compose-glyph-string-relative): Remove unused variables
26080 `lbearing', `rbearing' and `wadjust'.
26081 (compose-gstring-for-graphic): Remove unused variables `header',
26082 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26083 (compose-gstring-for-terminal): Remove unused variables `header'
26084 and `nchars'. Use `let', not `let*'.
26085
26086 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26087 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26088 (Custom-buffer-done, custom-buffer-create-internal)
26089 (custom-browse-visibility-action, custom-browse-group-tag-action)
26090 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26091 (widget-magic-mouse-down-action, custom-toggle-parent)
26092 (custom-add-parent-links, custom-toggle-hide-variable)
26093 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26094 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26095 (custom-face-menu-create, custom-variable-menu-create, get)
26096 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26097 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26098 (customize-apropos): Remove unused variable `tests'.
26099 (custom-group-value-create): Remove unused variable `hidden-p'.
26100 (sort-fold-case): Declare.
26101
26102 * cus-theme.el (custom-reset-standard-faces-list)
26103 (custom-reset-standard-variables-list): Declare.
26104 (customize-create-theme, custom-theme-revert, custom-theme-write)
26105 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26106 Mark unused parameters.
26107
26108 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26109
26110 * delim-col.el (delimit-columns-max): Move defvar before first use.
26111
26112 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26113 (describe-char): Don't quote `lambda'. Mark unused parameter.
26114
26115 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26116 (auto-insert): Declare.
26117 (desktop-restore-file-buffer): Rename desktop-* parameters;
26118 mark unused ones.
26119 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26120 (desktop-buffer): Rename desktop-* parameters.
26121
26122 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26123 (dframe-reposition-frame-xemacs, dframe-help-echo)
26124 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26125 Mark unused parameters.
26126
26127 * dired-aux.el (backup-extract-version-start, overwrite-query)
26128 (overwrite-backup-query, rename-regexp-query)
26129 (rename-non-directory-query): Declare.
26130 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26131 (dired-add-entry): Remove unused variable `orig-file-name'.
26132 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26133 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26134 `dired-copy-preserve-time' directly.
26135 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26136 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26137
26138 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26139 (dired-virtual-revert, dired-make-relative-symlink):
26140 Mark unused parameters.
26141 (manual-program): Declare.
26142 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26143 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26144 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26145
26146 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26147
26148 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26149
26150 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26151 Declare.
26152
26153 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26154
26155 * electric.el (Electric-command-loop): Rename parameter
26156 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26157
26158 * expand.el (expand-in-literal): Remove unused variable `here'.
26159
26160 * facemenu.el (facemenu-add-new-color):
26161 Remove unused variable `docstring'.
26162
26163 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26164 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26165 (face-attr-construct): Mark unused parameter. Doc fix.
26166 (read-color): Remove unused variable `hex-string'.
26167
26168 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26169 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26170 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26171 (display-buffer-other-frame): Remove unused variable `old-window'.
26172 (kill-buffer-hook): Declare.
26173 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26174 Mark unused parameters.
26175 (after-find-file): Pass 1 to `auto-save-mode', not t.
26176
26177 * files-x.el (auto-insert): Declare.
26178 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26179
26180 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26181 variable `buf'. Mark unused parameter.
26182 (find-lisp-insert-directory): Mark unused parameter.
26183
26184 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26185 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26186 (format-common-tail): Remove, unused.
26187 (format-deannotate-region): Remove unused variable `loc'.
26188 (format-annotate-region): Remove unused variable `p'.
26189 (format-annotate-single-property-change): Remove unused variables
26190 `default' and `tail'.
26191
26192 * forms.el (read-file-filter): Declare.
26193 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26194
26195 * frame.el (frame-creation-function-alist): Mark unused parameter.
26196 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26197
26198 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26199 Remove unused parameters.
26200 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26201 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26202
26203 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26204 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26205 (hfy-prepare-tag-map): Mark unused parameters.
26206 (htmlfontify-buffer): Use `called-interactively-p'.
26207
26208 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26209 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26210 (ibuffer-do-occur): Mark unused parameters.
26211 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26212 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26213
26214 * ibuffer.el: Don't quote `lambda'.
26215 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26216 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26217 Mark unused parameters.
26218
26219 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26220 (ido-completing-read): Mark unused parameters.
26221 (ido-copy-current-word): Mark unused parameters;
26222 remove unused variable `name'.
26223 (ido-sort-merged-list): Remove unused parameter `dirs'.
26224
26225 * ielm.el (ielm-input-sender): Mark unused parameter.
26226 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26227 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26228 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26229 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26230 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26231
26232 * image-dired.el (image-dired-display-thumbs): Remove unused
26233 variables `curr-file' and `count'.
26234 (image-dired-remove-tag): Remove unused variable `start'.
26235 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26236 variable `curr-file'
26237 (image-dired-rotate-original): Remove unused variable `temp-file'.
26238 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26239 Remove unused variable `file'.
26240 (image-dired-gallery-generate): Remove unused variable `curr'.
26241 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26242
26243 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26244
26245 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26246
26247 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26248
26249 * isearch.el (minibuffer-history-symbol): Declare.
26250 (isearch-edit-string): Remove unused variable `err'.
26251 (isearch-message-prefix, isearch-message-suffix):
26252 Mark unused parameters.
26253
26254 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26255
26256 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26257
26258 * makesum.el (double-column): Remove unused variable `cnt'.
26259
26260 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26261 (ido-ignore-item-temp-list): Declare.
26262
26263 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26264 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26265 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26266 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26267 `mouse-col-delta'.
26268
26269 * mouse-sel.el (mouse-extend-internal):
26270 Remove unused variable `orig-window-frame'.
26271
26272 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26273 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26274 Move declarations before first use.
26275 (pcomplete-opt): Mark unused parameters; doc fix.
26276
26277 * proced.el (proced-revert): Mark unused parameter.
26278 (proced-send-signal): Remove unused variable `err'.
26279
26280 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26281 Rename parameter PREFIX-ARG to ARG.
26282 (ps-basic-plot-string, ps-basic-plot-whitespace):
26283 Mark unused parameters.
26284
26285 * replace.el (replace-count): Define.
26286 (occur-revert-function): Mark unused parameters.
26287 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26288 (isearch-case-fold-search, isearch-string): Declare.
26289 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26290 bind `case-fold-search'. Remove unused variables `beg' and `end',
26291 and simplify.
26292 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26293 COUNT and bind `replace-count'.
26294 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26295 to COUNT.
26296
26297 * savehist.el (print-readably, print-string-length): Declare.
26298
26299 * shadowfile.el (shadow-expand-cluster-in-file-name):
26300 Remove unused variable `cluster'.
26301 (shadow-copy-file): Remove unused variable `i'.
26302 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26303 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26304 (shadow-define-literal-group, shadow-define-regexp-group)
26305 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26306
26307 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26308 (shell): Use `called-interactively-p'.
26309 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26310
26311 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26312 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26313 (delete-backward-char): Remove unused variable `ocol'.
26314 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26315 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26316 (event-apply-hyper-modifier, event-apply-shift-modifier)
26317 (event-apply-control-modifier, event-apply-meta-modifier):
26318 Mark unused parameters.
26319 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26320 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26321
26322 * speedbar.el (speedbar-ignored-directory-expressions)
26323 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26324 (speedbar-find-file, speedbar-dir-follow)
26325 (speedbar-directory-buttons-follow, speedbar-tag-find)
26326 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26327 (speedbar-buffers-line-directory, speedbar-buffer-click):
26328 Mark unused parameters.
26329 (speedbar-tag-file): Remove unused variable `mode'.
26330 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26331
26332 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26333
26334 * talk.el (talk): Remove unused variable `display'.
26335
26336 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26337 (tar-write-region-annotate): Mark unused parameter.
26338
26339 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26340 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26341 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26342 warning by another.
26343
26344 * time-stamp.el (time-stamp-string-preprocess):
26345 Remove unused variable `require-padding'.
26346
26347 * tree-widget.el (widget-glyph-enable): Declare.
26348 (tree-widget-action): Mark unused parameter.
26349
26350 * w32-fns.el (x-get-selection): Mark unused parameter.
26351 (autoload-make-program, generated-autoload-file): Declare.
26352
26353 * wdired.el (wdired-revert): Mark unused parameters.
26354 (wdired-xcase-word): Remove unused variable `err'.
26355
26356 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26357 (whitespace-help-scroll): Remove unused variable `data-help'.
26358
26359 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26360 (widget-image-insert, widget-after-change, default)
26361 (widget-default-format-handler, widget-default-notify)
26362 (widget-default-prompt-value, widget-info-link-action)
26363 (widget-url-link-action, widget-function-link-action)
26364 (widget-variable-link-action, widget-file-link-action)
26365 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26366 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26367 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26368 (widget-insert-button-action, widget-delete-button-action, visibility)
26369 (widget-documentation-link-action, widget-documentation-string-action)
26370 (widget-const-prompt-value, widget-regexp-match, symbol)
26371 (widget-coding-system-prompt-value)
26372 (widget-key-sequence-value-to-external, sexp)
26373 (widget-sexp-value-to-internal, character, vector, cons)
26374 (widget-choice-prompt-value, widget-boolean-prompt-value)
26375 (widget-color--choose-action): Mark unused parameters.
26376 (widget-item-match-inline, widget-choice-match-inline)
26377 (widget-checklist-match, widget-checklist-match-inline)
26378 (widget-group-match): Rename parameter VALUES to VALS.
26379 (widget-field-value-set): Remove unused variable `size'.
26380 (widget-color-action): Remove unused variables `value' and `start'.
26381
26382 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26383 variable `dir'. Doc fix.
26384 (windmove-find-other-window): Don't pass it.
26385
26386 * window.el (count-windows): Mark unused parameter.
26387 (bw-adjust-window): Remove unused variable `err'.
26388
26389 * woman.el (woman-file-name): Remove unused variable `default'.
26390 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26391 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26392 (global-font-lock-mode): Declare.
26393 (woman-decode-region): Mark unused parameter.
26394 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26395
26396 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26397 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26398 (x-dnd-handle-moz-url): Remove unused variable `title'.
26399 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26400
26401 * xml.el (xml-parse-tag, xml-parse-attlist):
26402 Remove unused variable `pos'.
26403
26404 2011-04-19 Glenn Morris <rgm@gnu.org>
26405
26406 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26407 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26408 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26409 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26410 * calendar/cal-html.el (cal-html-insert-minical):
26411 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26412 (calendar-mark-date-pattern):
26413 Prefix "unused" locals.
26414
26415 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26416 optional argument `style'.
26417
26418 * calendar/appt.el (appt-make-list):
26419 * calendar/cal-china.el (calendar-chinese-date-string):
26420 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26421 (diary-hebrew-yahrzeit):
26422 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26423 * calendar/calendar.el (calendar-generate-window):
26424 * calendar/time-date.el (time-to-days):
26425 Remove unused local variables.
26426
26427 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26428
26429 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26430 glyphless-char-display table.
26431 (tabulated-list-glyphless-char-display): New var.
26432
26433 2011-04-18 Sam Steingold <sds@gnu.org>
26434
26435 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26436 to acknowledgments.
26437
26438 2011-04-17 Glenn Morris <rgm@gnu.org>
26439
26440 * calendar/diary-lib.el (diary-sexp-entry):
26441 * calendar/holidays.el (holiday-sexp):
26442 Set debug-on-error rather than the removed stack-trace-on-error.
26443
26444 2011-04-16 Glenn Morris <rgm@gnu.org>
26445
26446 * progmodes/f90.el: Use lexical-binding.
26447 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26448
26449 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26450
26451 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26452 (mail-mode): Setup mailalias completion here instead.
26453 * mail/mailalias.el: Use lexical-binding.
26454 (pattern, mailalias-done): Declare dynamic.
26455 (mail-completion-at-point-function): New function, from mail-complete.
26456 (mail-complete): Use it.
26457 (mail-completion-expand): New function.
26458 (mail-get-names): Use it.
26459 (mail-directory, mail-directory-process, mail-directory-stream):
26460 Don't use `pattern' for lexically bound arg.
26461
26462 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26463
26464 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26465 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26466 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26467
26468 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26469 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26470 (byte-interactive-p): Define them again, for use when inlining
26471 old code.
26472
26473 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26474
26475 * loadup.el: Use `string-to-number', not `string-to-int'.
26476
26477 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26478
26479 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26480 gud-gdb-complete-command.
26481 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26482 (gud-gdb-completion-at-point): New function.
26483 (gud-gdb-completions): Remove.
26484
26485 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26486
26487 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26488 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26489 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26490 whether `executable-find' is bound.
26491
26492 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26493
26494 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26495
26496 * minibuffer.el (completion-in-region-mode-predicate)
26497 (completion-in-region-mode--predicate): New vars.
26498 (completion-in-region, completion-in-region--postch)
26499 (completion-in-region-mode): Use them.
26500 (completion--capf-wrapper): Also return the hook function.
26501 (completion-at-point, completion-help-at-point):
26502 Adjust and provide a predicate.
26503
26504 Preserve arg names for advice of subr and lexical functions (bug#8457).
26505 * help-fns.el (help-function-arglist): Consolidate the subr and
26506 new-byte-code cases. Add argument `preserve-names' to extract names
26507 from the docstring when needed.
26508 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26509 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26510 (ad-arglist): Use help-function-arglist's new arg.
26511 (ad-definition-type): Use cond.
26512
26513 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26514
26515 * autorevert.el (auto-revert-handler):
26516 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26517 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26518 Don't quote lambda.
26519
26520 * image-mode.el (image-transform-set-scale):
26521 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26522
26523 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26524
26525 * net/network-stream.el (network-stream-open-starttls): Only do
26526 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26527 Upgrades via gnutls-cli are too slow to be done opportunistically.
26528
26529 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26530
26531 * dframe.el (dframe-current-frame): Remove spurious quote.
26532
26533 2011-04-12 Glenn Morris <rgm@gnu.org>
26534
26535 * calendar/cal-tex.el (cal-tex-end-document):
26536 Try to automatically use latin1 input if needed.
26537
26538 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26539 Don't try to cons a mark onto an empty element.
26540
26541 2011-04-11 Leo Liu <sdl.web@gmail.com>
26542
26543 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26544 buffers.
26545 (ido-kill-buffer-at-head): Support killing virtual buffers.
26546
26547 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26548
26549 * minibuffer.el (completion-show-inline-help): New var.
26550 (completion--do-completion, minibuffer-complete)
26551 (minibuffer-force-complete, minibuffer-complete-word):
26552 Inhibit minibuffer messages if completion-show-inline-help is nil.
26553
26554 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26555 to avoid interference from inline help (Bug#5849).
26556
26557 2011-04-10 Leo Liu <sdl.web@gmail.com>
26558
26559 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26560 Fix typo.
26561
26562 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26563
26564 * image-mode.el (image-toggle-display-image): Signal an error if
26565 not in Image mode.
26566 (image-transform-mode, image-transform-resize)
26567 (image-transform-set-rotation): Doc fix.
26568 (image-transform-set-resize): Delete.
26569 (image-transform-set-scale, image-transform-fit-to-height)
26570 (image-transform-fit-to-width): Handle image-toggle-display-image
26571 and image-transform-resize directly.
26572
26573 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26574
26575 * doc-view.el (doc-view-fit-width-to-window)
26576 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26577 New functions for fitting the shown image to the Emacs window size.
26578 (doc-view-mode-map): Add bindings for the new functions.
26579
26580 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26581
26582 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26583 Fix typo in docstring.
26584
26585 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26586
26587 * files.el (file-size-human-readable): Produce one digit after
26588 decimal, like "ls -lh" does.
26589
26590 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26591 the file size representation.
26592
26593 * simple.el (list-processes): If async subprocesses are not
26594 available, error out with a clear error message.
26595
26596 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26597
26598 * help.el (help-form-show): New function, to be called from C.
26599 Put help-form output in a buffer named differently than *Help*.
26600
26601 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26602
26603 * files.el (file-size-human-readable): New function.
26604
26605 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26606 computing the representation inline. Don't require `cl'.
26607
26608 2011-04-08 Glenn Morris <rgm@gnu.org>
26609
26610 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26611
26612 * net/browse-url.el (browse-url-firefox):
26613 Test system-type, not system-configuration.
26614
26615 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26616 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26617 Use log-edit-empty-buffer-p. (Bug#7598)
26618
26619 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26620 (rlogin-mode-map): Initialize in the defvar.
26621 (rlogin): Use ignore-errors.
26622
26623 * replace.el (occur-mode-map): Some fixes for menu items.
26624
26625 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26626
26627 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26628
26629 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26630
26631 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26632 issuing unused warnings.
26633
26634 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26635 macro directly.
26636
26637 * simple.el: Lisp reimplement of list-processes. Based on an
26638 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26639 (process-menu-mode): New major mode.
26640 (list-processes--refresh, list-processes):
26641 (process-menu-visit-buffer): New functions.
26642
26643 * files.el (save-buffers-kill-emacs): Don't assume any return
26644 value of list-processes, which is undocumented anyway.
26645
26646 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26647
26648 * emacs-lisp/tabulated-list.el: New file.
26649
26650 * emacs-lisp/package.el: Use Tabulated List mode.
26651 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26652 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26653 table format using Tabulated List mode variables.
26654 (package--push): New macro, replacing package-list-maybe-add.
26655 (package-menu--generate): Use package--push. Renamed from
26656 package--generate-package-list.
26657 (package-menu-refresh, list-packages): Use it.
26658 (package-menu--print-info): Rename from package-print-package.
26659 Return insertion data instead of inserting it directly.
26660 (package-menu-describe-package, package-menu-execute):
26661 Use tabulated-list-get-id.
26662 (package-menu-mark-delete, package-menu-mark-install)
26663 (package-menu-mark-unmark, package-menu-backup-unmark)
26664 (package-menu-mark-obsolete-for-deletion):
26665 Use tabulated-list-put-tag.
26666 (package--list-packages, package-menu-revert)
26667 (package-menu-get-package, package-menu-get-version)
26668 (package-menu-sort-by-column): Functions deleted.
26669 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26670 (package-menu--status-predicate, package-menu--version-predicate)
26671 (package-menu--name-predicate)
26672 (package-menu--description-predicate): Handle arguments in the
26673 Tabulated List format.
26674 (package-list-packages-no-fetch): Call list-packages.
26675
26676 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26677
26678 * files.el (after-find-file-from-revert-buffer): Remove variable.
26679 (after-find-file): Don't bind it.
26680 (revert-buffer-in-progress-p): New variable.
26681 (revert-buffer): Bind it.
26682 Pass nil for `after-find-file-from-revert-buffer'.
26683
26684 * saveplace.el (save-place-find-file-hook): Use new variable
26685 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26686
26687 2011-04-06 Glenn Morris <rgm@gnu.org>
26688
26689 * Makefile.in (AUTOGEN_VCS): New variable.
26690 (autoloads): Use $AUTOGEN_VCS.
26691
26692 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26693 * calendar/calendar.el (calendar-mode-map):
26694 Check for toolkit scroll bars. (Bug#8305)
26695
26696 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26697
26698 * minibuffer.el (completion-in-region--postch)
26699 (completion-in-region-mode): Remove unnecessary messages.
26700
26701 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26702
26703 * font-lock.el (font-lock-refresh-defaults):
26704 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26705 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26706
26707 * info.el (Info-directory-list, Info-read-node-name-2)
26708 (Info-split-parameter-string): Doc fixes.
26709 (Info-virtual-nodes): Reflow docstring.
26710 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26711 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26712 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26713 Fix typos in docstrings.
26714 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26715 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26716 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26717 (Info-restore-desktop-buffer): Mark unused parameters.
26718 (Info-directory-find-file, Info-directory-find-node)
26719 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26720 (Info-virtual-index-find-node, Info-apropos-find-file)
26721 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26722 Mark unused parameters; fix typos in docstrings.
26723 (Info-virtual-index): Remove unused local variable `nodename'.
26724
26725 2011-04-05 Deniz Dogan <deniz@dogan.se>
26726
26727 * net/rcirc.el: Update my e-mail address.
26728 (rcirc-mode-map): Remove M-o binding.
26729
26730 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26731
26732 * startup.el (command-line): Save the cursor's theme-face
26733 directly, instead of using face-override-spec.
26734
26735 * custom.el (load-theme): Minor optimization in assigning faces.
26736
26737 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26738
26739 * help-fns.el (describe-variable): Complete all variables having
26740 documentation, including keywords.
26741 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26742
26743 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26744
26745 Convert to lexical-binding.
26746
26747 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26748 (bs--get-marked-string, bs--get-modified-string)
26749 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26750 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26751 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26752
26753 * ehelp.el (electric-help-execute-extended)
26754 (electric-help-ctrl-x-prefix):
26755 * hexl.el (hexl-revert-buffer-function):
26756 * linum.el (linum-after-change, linum-after-scroll):
26757 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26758
26759 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26760
26761 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26762
26763 * epa-dired.el:
26764 * epa-mail.el:
26765 * epa-hook.el:
26766 * epa-file.el:
26767 * epa.el:
26768 * epg.el: Use lexical binding.
26769
26770 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26771
26772 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26773
26774 * textmodes/flyspell.el (flyspell-word): Recognize default
26775 dictionary case for flyspell-mark-duplications-exceptions.
26776 Use regexp matching for languages.
26777 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26778 default dictionary (Bug#7926).
26779
26780 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26781
26782 * emacs-lisp/package.el (package--with-work-buffer):
26783 Recognize https URLs.
26784
26785 * net/network-stream.el: Move from gnus/proto-stream.el.
26786 Change prefix to network-stream throughout.
26787 (open-protocol-stream): Merge into open-network-stream, leaving
26788 open-protocol-stream as an alias. Handle nil BUFFER args.
26789
26790 * subr.el (open-network-stream): Move to net/network-stream.el.
26791
26792 2011-04-02 Glenn Morris <rgm@gnu.org>
26793
26794 * find-dired.el (find-exec-terminator): New option.
26795 (find-ls-option): Test for -ls support.
26796 (find-ls-subdir-switches): Test for -b in find-ls-option.
26797 (find-dired, find-grep-dired): Doc fixes.
26798 (find-dired): Use find-exec-terminator.
26799
26800 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26801 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26802 (find-name-arg): Remove purecopy.
26803
26804 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26805 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26806 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26807 accordingly. Don't add the null-device if not needed.
26808
26809 * files.el (save-some-buffers): Doc fix.
26810
26811 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26812
26813 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26814
26815 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26816
26817 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26818 Use `dolist' rather than `mapcar'.
26819
26820 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26821
26822 Add lexical binding.
26823
26824 * subr.el (apply-partially): Use new closures rather than CL.
26825 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26826 (dolist, dotimes): Use slightly different expansion for lexical code.
26827 (functionp): Move to C.
26828 (letrec): New macro.
26829 (with-wrapper-hook): Use it and apply-partially instead of CL.
26830 (eval-after-load): Preserve lexical-binding.
26831 (save-window-excursion, with-output-to-temp-buffer): Turn them
26832 into macros.
26833
26834 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26835
26836 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26837 than the arglist.
26838 (help-add-fundoc-usage): Don't add `Not documented'.
26839 (help-function-arglist): Handle closures, subroutines, and new
26840 byte-code-functions.
26841 (help-make-usage): Remove leading underscores.
26842 (describe-function-1): Handle closures.
26843 (describe-variable): Use special-variable-p for completion.
26844
26845 * files.el (lexical-binding): Declare safe.
26846
26847 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26848 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26849 (pcase): Add `let' pattern.
26850 Change memoization so it actually works.
26851 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26852 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26853 <let>: New case.
26854
26855 * emacs-lisp/macroexp.el: Use lexical binding.
26856 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26857 Don't convert ' to #' without checking that it's indeed quoting
26858 a lambda.
26859
26860 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26861 Use eval-sexp-add-defvars.
26862 (eval-sexp-add-defvars): New fun.
26863
26864 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26865
26866 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26867 Don't autoload.
26868 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26869 than the internal `byte-compile-lambda'.
26870 (defmethod): Don't hide code under quotes.
26871 (eieio-defmethod): New `code' argument.
26872
26873 * emacs-lisp/eieio-comp.el: Remove.
26874
26875 * emacs-lisp/edebug.el (edebug-eval-defun)
26876 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26877 (edebug-toggle): Avoid `eval'.
26878
26879 * emacs-lisp/disass.el (disassemble-internal): Handle new
26880 `closure' objects.
26881 (disassemble-1): Handle new byte codes.
26882
26883 * emacs-lisp/cl.el (pushnew): Silence warning.
26884
26885 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26886 (cl-byte-compile-throw): Remove.
26887 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26888
26889 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26890 closures.
26891
26892 * emacs-lisp/cconv.el: New file.
26893
26894 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26895 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26896 (byte-compile-initial-macro-environment):
26897 Handle declare-function here.
26898 (byte-compile--lexical-environment): New var.
26899 (byte-stack-ref, byte-stack-set, byte-discardN)
26900 (byte-discardN-preserve-tos): New lap codes.
26901 (byte-interactive-p): Don't use any more.
26902 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26903 New macros.
26904 (byte-compile-lapcode): Use them and handle new lap codes.
26905 (byte-compile-obsolete): Remove.
26906 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26907 (byte-compile-arglist-warn): Check late def of inlinable funs.
26908 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26909 since they should have been expanded by now.
26910 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26911 (byte-compile-from-buffer): Remove unused second arg.
26912 (byte-compile-preprocess): New function.
26913 (byte-compile-toplevel-file-form): New function to distinguish
26914 file-form calls from outside from file-form calls from hunk-handlers.
26915 (byte-compile-file-form): Simplify.
26916 (byte-compile-file-form-defsubst): Remove.
26917 (byte-compile-file-form-defmumble): Simplify now that
26918 byte-compile-lambda always returns a byte-code-function.
26919 (byte-compile): Preprocess.
26920 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26921 Remove, not used any more.
26922 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26923 (byte-compile-make-args-desc): New funs.
26924 (byte-compile-lambda): Handle lexical functions. Always return
26925 a byte-code-function.
26926 (byte-compile-reserved-constants): New var, to make up room for
26927 closed-over variables.
26928 (byte-compile-constants-vector): Obey it.
26929 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26930 (byte-compile-macroexpand-declare-function): New function.
26931 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26932 byte-code-functions.
26933 (byte-compile-form): Check obsolescence here.
26934 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26935 (byte-compile-variable-ref): Remove.
26936 (byte-compile-dynamic-variable-op): New fun.
26937 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26938 (byte-compile-variable-set): New funs.
26939 (byte-compile-discard): Add 2 args.
26940 (byte-compile-stack-ref, byte-compile-stack-set)
26941 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26942 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26943 macroexpand-all instead.
26944 (byte-compile-quote-form): Remove.
26945 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26946 (byte-compile-bind, byte-compile-unbind): New funs.
26947 (byte-compile-let): Handle let* and lexical binding.
26948 (byte-compile-let*): Remove.
26949 (byte-compile-catch, byte-compile-unwind-protect)
26950 (byte-compile-track-mouse, byte-compile-condition-case):
26951 Handle a new :fun-body form, used for lexical scoping.
26952 (byte-compile-save-window-excursion)
26953 (byte-compile-with-output-to-temp-buffer): Remove.
26954 (byte-compile-defun): Simplify.
26955 (byte-compile-stack-adjustment): New fun.
26956 (byte-compile-out): Use it.
26957 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26958
26959 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26960 handler any more.
26961
26962 * emacs-lisp/byte-opt.el: Use lexical binding.
26963 (byte-inline-lapcode): Remove (to bytecomp).
26964 (byte-compile-inline-expand): Pay attention to inlining to/from
26965 lexically bound code.
26966 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26967 any more.
26968 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26969 any more and don't call compiler-macros.
26970 (byte-compile-splice-in-already-compiled-code): Remove.
26971 (byte-code): Don't inline any more.
26972 (disassemble-offset): Receive `bytes' as argument rather than via
26973 dynamic scoping.
26974 (byte-compile-tag-number): Declare before first use.
26975 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26976 `return' even if make-spliceable.
26977 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26978 obsolete interactive-p.
26979 (byte-optimize-lapcode): Optimize new lap-codes.
26980 Don't trip up on new form of `byte-constant' lap code.
26981
26982 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26983
26984 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26985
26986 * custom.el (custom-initialize-default, custom-declare-variable):
26987 Use `defvar'.
26988
26989 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26990 New variables.
26991 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26992 (COMPILE_FIRST): Add macroexp and cconv.
26993 * makefile.w32-in: Mirror changes in Makefile.in.
26994
26995 * vc/cvs-status.el:
26996 * vc/diff-mode.el:
26997 * vc/log-edit.el:
26998 * vc/log-view.el:
26999 * vc/smerge-mode.el:
27000 * textmodes/bibtex-style.el:
27001 * textmodes/css-mode.el:
27002 * startup.el:
27003 * uniquify.el:
27004 * minibuffer.el:
27005 * newcomment.el:
27006 * reveal.el:
27007 * server.el:
27008 * mpc.el:
27009 * emacs-lisp/smie.el:
27010 * doc-view.el:
27011 * dired.el:
27012 * abbrev.el: Use lexical binding.
27013
27014 2011-04-01 Eli Zaretskii <eliz@gnu.org>
27015
27016 * info.el (info-display-manual): New function.
27017
27018 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
27019
27020 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
27021
27022 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
27023
27024 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
27025 an entry for that server in rcirc-authinfo. (Bug#8385)
27026
27027 2011-03-31 Glenn Morris <rgm@gnu.org>
27028
27029 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
27030
27031 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
27032
27033 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
27034
27035 * progmodes/python.el (python-default-interpreter)
27036 (python-python-command-args, python-jython-command-args)
27037 (python-which-shell, python-which-args, python-which-bufname)
27038 (python-file-queue, python-comint-output-filter-function)
27039 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27040 variables and functions.
27041
27042 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27043
27044 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27045 (completion-in-region-mode): New minor mode.
27046 (completion-in-region): Use it.
27047 (completion-in-region--data, completion-in-region-mode-map): New vars.
27048 (completion-in-region--postch): New function.
27049 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27050 New vars.
27051 (completion--capf-wrapper): New function.
27052 (completion-at-point): Use it to track well-behavedness of
27053 hook functions.
27054 (completion-help-at-point): New command.
27055
27056 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27057
27058 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27059 syntax class to search for whitespace on a single line
27060 (Message-ID: <4D938140.4030905@redhat.com>).
27061
27062 2011-03-30 Leo Liu <sdl.web@gmail.com>
27063
27064 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27065 New commands.
27066 (edit-abbrevs-map): Bind them here.
27067 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27068
27069 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27070
27071 * allout.el (allout-hide-by-annotation, allout-flag-region):
27072 Reduce possibility of overlay leakage by making them volatile.
27073
27074 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27075 hash is not shared between buffers. Mode initialization is
27076 responsible for giving it a useful starting value.
27077 (allout-item-span): Reduce possibility of overlay leakage by
27078 making them volatile.
27079 (allout-widgets-count-buttons-in-region): Add diagnostic function
27080 for tracking down button overlay leaks.
27081
27082 2011-03-29 Leo Liu <sdl.web@gmail.com>
27083
27084 * ido.el (ido-read-internal): Use the default history var
27085 minibuffer-history if no HISTORY is specified.
27086
27087 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27088
27089 * net/imap.el (imap-shell-open, imap-process-connection-type):
27090 Use imap-process-connection-type for 'shell' streams as well as
27091 Kerberos, SSL, other subprocesses.
27092
27093 2011-03-28 Leo Liu <sdl.web@gmail.com>
27094
27095 * abbrev.el (abbrev-table-empty-p): New function.
27096 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27097 nonempty ones. (Bug#5937)
27098
27099 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27100
27101 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27102
27103 2011-03-27 Leo Liu <sdl.web@gmail.com>
27104
27105 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27106 for foreground and background colors.
27107 (ansi-color-make-color-map): Adapt.
27108
27109 2011-03-25 Leo Liu <sdl.web@gmail.com>
27110
27111 * midnight.el (midnight-time-float): Remove. Note it calculates
27112 the microsecond component incorrectly and seconds-to-time does the
27113 same job.
27114 Remove redundant (require 'timer).
27115
27116 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27117 (ido-completions): Remove unused arguments. (Bug#8329)
27118
27119 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27120
27121 * minibuffer.el (completion--flush-all-sorted-completions):
27122 Remove itself from hook.
27123 (completion-at-point): Let the functions perform the completion
27124 immediately and return nil or t.
27125 * comint.el (comint-dynamic-complete-functions): Now identical to
27126 completion-at-point-functions.
27127 (comint-dynamic-list-input-ring): Remove unused var `index'.
27128 (comint--match-partial-filename, comint--unquote&expand-filename):
27129 New funs, split from comint-match-partial-filename.
27130 (comint-dynamic-complete): Use completion-at-point.
27131 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27132
27133 2011-03-24 Drew Adams <drew.adams@oracle.com>
27134
27135 * thingatpt.el: Support `defun'.
27136
27137 2011-03-23 Leo Liu <sdl.web@gmail.com>
27138
27139 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27140
27141 * help-mode.el (help-mode-finish): Tweak regexp.
27142
27143 2011-03-23 Glenn Morris <rgm@gnu.org>
27144
27145 * eshell/esh-opt.el (eshell-eval-using-options):
27146 Do not bind unused local variable `eshell-option-stub'.
27147
27148 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27149
27150 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27151
27152 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27153 keymap variable in `with-no-warnings' to avoid a warning when the
27154 keymap has been already `defconst'ed.
27155
27156 2011-03-22 Leo Liu <sdl.web@gmail.com>
27157
27158 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27159 encode all chars in abbrevs; otherwise use emacs-mule or
27160 utf-8-emacs. (Bug#8308)
27161
27162 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27163
27164 * simple.el (backward-delete-char-untabify):
27165 Avoid warning about using `delete-backward-char'.
27166
27167 * image.el (image-type-file-name-regexps): Make it variable.
27168 `imagemagick-register-types' modifies it, and the user may want
27169 to add new extensions for known image types.
27170 (imagemagick-register-types): Throw error if not using ImageMagick.
27171
27172 2011-03-22 Leo Liu <sdl.web@gmail.com>
27173
27174 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27175 located before rcirc-prompt-end-marker.
27176 (rcirc-complete): Error if point is not after rcirc prompt.
27177 Handle the case when table is nil.
27178 (rcirc-user-authenticated): Define to fix compiler warning.
27179
27180 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27181
27182 * custom.el (custom--inhibit-theme-enable): Make it affect only
27183 custom-theme-set-variables and custom-theme-set-faces.
27184 (provide-theme): Ignore custom--inhibit-theme-enable.
27185 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27186 (custom-enabling-themes): Delete variable.
27187 (enable-theme): Accept only loaded themes as arguments.
27188 Ignore the special custom-enabled-themes variable.
27189 (custom-enabled-themes): Forbid themes from setting this.
27190 Eliminate use of custom-enabling-themes.
27191 (custom-push-theme): Quote "changed" custom var entry.
27192
27193 2011-03-21 Leo Liu <sdl.web@gmail.com>
27194
27195 * ido.el (ido-read-internal): Add ido-selected to history instead
27196 of user input.
27197
27198 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27199
27200 * subr.el (deferred-action-list, deferred-action-function):
27201 Mark obsolete.
27202
27203 2011-03-21 Leo Liu <sdl.web@gmail.com>
27204
27205 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27206 change on 2011-02-13 (bug#8309).
27207
27208 * minibuffer.el (read-file-name-function): Change default value.
27209 (read-file-name--defaults): Rename from read-file-name-defaults.
27210 (read-file-name-default): Rename from read-file-name.
27211 (read-file-name): Call read-file-name-function.
27212
27213 2011-03-21 Glenn Morris <rgm@gnu.org>
27214
27215 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27216 Doc fixes.
27217
27218 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27219
27220 * cus-theme.el: Add missing provide statement.
27221 (customize-create-theme): Extract theme value correctly.
27222 (custom-theme-visit-theme): Autoload.
27223 (customize-create-theme): Prompt before inserting default faces.
27224
27225 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27226
27227 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27228 units and musical notes.
27229
27230 2011-03-20 Leo Liu <sdl.web@gmail.com>
27231
27232 * ido.el (ido-read-internal): Use completing-read-default.
27233 (ido-completing-read): Fix compatibility with completing-read.
27234
27235 2011-03-20 Christian Ohler <ohler@gnu.org>
27236
27237 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27238 (ert-delete-all-tests): Use `called-interactively-p' rather than
27239 `interactive-p'.
27240 (ert--make-xrefs-region): Respect END.
27241
27242 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27243
27244 * dired-aux.el (dired-create-directory): Signal an error if the
27245 directory already exists (Bug#8246).
27246
27247 * facemenu.el (list-colors-display): Call list-faces-display
27248 inside with-help-window.
27249 (list-colors-print): Use display property to align the final
27250 column, instead of checking window-width.
27251
27252 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27253
27254 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27255 windows-nt systems.
27256 (emerge-protect-metachars): Quote correctly for ms-dos and
27257 windows-nt systems.
27258
27259 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27260
27261 * info.el (info-initialize): Replace all uses of `:' with
27262 path-separator for compatibility with non-Unix systems.
27263 Cache quoting of path-separator. (Bug#8258)
27264
27265 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27266
27267 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27268 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27269 (mouse-avoidance-mode): Fix typos in docstrings.
27270
27271 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27272
27273 * startup.el (package-subdirectory-regexp): Move from package.el.
27274 Omit \\` and \\', and let callers add them.
27275
27276 * emacs-lisp/package.el (package-strip-version)
27277 (package-load-all-descriptors): Add \\` and \\' to
27278 package-subdirectory-regexp before using it.
27279 (package-untar-buffer): New arg DIR; ensure that file untars only
27280 into this expected directory. Remove superfluous delete-region.
27281 (package-unpack): Caller changed.
27282 (package-tar-file-info): Use package-subdirectory-regexp.
27283
27284 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27285
27286 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27287 diff-mode-shared-map (bug#8284).
27288 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27289
27290 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27291
27292 * calendar/time-date.el (format-seconds): Use assoc instead of
27293 assoc-string, since assoc-string doesn't exist in XEmacs.
27294
27295 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27296
27297 * custom.el (custom-known-themes): Reflow docstring.
27298 (custom-theme-load-path): Fix typo in docstring.
27299 (load-theme): Fix typo in error message.
27300 (custom-available-themes, custom-variable-theme-value):
27301 Use `let', not `let*'.
27302
27303 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27304
27305 * calc/README: Mention inclusion of musical notes.
27306
27307 * calc/calc-units.el (calc-lu-quant): Rename from
27308 `calc-logunits-quantity'.
27309 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27310 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27311 (calc-db): Rename from `calc-dblevel'.
27312 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27313 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27314 (calc-np): Rename from `calc-nplevel'.
27315 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27316 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27317 (calc-lu-plus): Rename from `calc-logunits-add'.
27318 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27319 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27320 (calc-lu-minus): Rename from `calc-logunits-sub'.
27321 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27322 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27323 (calc-lu-times): Rename from `calc-logunits-mul'.
27324 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27325 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27326 (calc-lu-divide): Rename from `calc-logunits-div'.
27327 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27328 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27329
27330 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27331 functions being autoloaded.
27332
27333 * calc/calc.el (calc-lu-power-reference): Rename from
27334 `calc-logunits-power-reference'.
27335 (calc-lu-field-reference): Rename from
27336 `calc-logunits-field-reference'.
27337
27338 * calc/calc-help.el (calc-l-prefix-help):
27339 Mention musical note functions.
27340
27341 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27342
27343 * minibuffer.el (completion-all-sorted-completions):
27344 Use :completion-cycle-penalty text property if present.
27345
27346 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27347
27348 * allout.el (allout-yank-processing): Adjust for new rebulleting
27349 regime so bullet being yanked is used without prompting the user
27350 for a choice.
27351
27352 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27353
27354 * startup.el (command-line): Warn the user that _emacs is deprecated.
27355
27356 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27357
27358 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27359 (delphi-verbose, delphi-comment-face, delphi-string-face)
27360 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27361 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27362 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27363 (delphi-new-comment-line, delphi-font-lock-defaults)
27364 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27365 Fix typos in docstrings.
27366
27367 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27368
27369 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27370 Invert the roles of character and string values for INSTEAD, so a
27371 string is used for the more common case of a defaulting prompt.
27372
27373 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27374
27375 * progmodes/ruby-mode.el (ruby-backward-sexp):
27376 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27377 * play/gamegrid.el (gamegrid-make-face):
27378 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27379 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27380 * notifications.el (notifications-notify):
27381 * net/xesam.el (xesam-search-engines):
27382 * net/quickurl.el (quickurl-list-insert):
27383 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27384
27385 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27386
27387 * startup.el (command-line): Update package subdirectory regexp.
27388
27389 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27390
27391 * allout.el (allout-abbreviate-flattened-numbering)
27392 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27393
27394 * subr.el (read-char-choice): Only show the cursor after the prompt,
27395 not after the answer.
27396
27397 2011-03-15 Kevin Ryde <user42@zip.com.au>
27398
27399 * help-fns.el (variable-at-point): Skip leading quotes, if any
27400 (bug#8253).
27401
27402 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27403
27404 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27405 warning message.
27406
27407 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27408
27409 * shell.el (shell): When called interactively, offer to change the
27410 shell file name on remote hosts.
27411
27412 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27413
27414 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27415 integration for LDAP parameters. The host, base, user or binddn,
27416 and secret tokens can be specified in a netrc file, for instance.
27417 This is optional because an `auth-source' parameter must be
27418 specified in the search attributes.
27419
27420 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27421
27422 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27423
27424 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27425
27426 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27427 into declaration. Remove redundant and harmful binding.
27428
27429 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27430
27431 * files.el (file-ownership-preserved-p): Pass `integer' as an
27432 explicit 2nd argument to `file-attributes'. If the file's owner
27433 is the Administrators group on Windows, and the current user is
27434 Administrator, consider that a match.
27435
27436 * server.el (server-ensure-safe-dir): Consider server directory
27437 safe on MS-Windows if its owner is the Administrators group while
27438 the current Emacs user is Administrator. Use `=' to compare
27439 numerical UIDs, since they could be integers or floats.
27440
27441 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27442
27443 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27444
27445 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27446
27447 Sync with Tramp 2.2.1.
27448
27449 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27450
27451 * net/trampver.el: Update release number.
27452
27453 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27454
27455 * progmodes/compile.el (compilation--previous-directory): Fix up
27456 various nil/dead-marker mismatches (bug#8014).
27457 (compilation-directory-properties, compilation-error-properties):
27458 Don't call it at a position past the one we're about to change.
27459
27460 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27461 Disable obsolescence warnings in the file that declares it.
27462
27463 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27464
27465 * allout-widgets.el (allout-widgets-tally):
27466 Initialize allout-widgets-tally as a hash table rather than nil to
27467 prevent mode-line redisplay warnings. Also, clarify the module
27468 description and fix a comment typo.
27469
27470 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27471
27472 * help-fns.el (describe-variable): Don't complete keywords.
27473 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27474
27475 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27476
27477 * emacs-lisp/package.el (package-version-join): Impose a standard
27478 string representation for pre/alpha/beta version lists.
27479 (package-unpack-single): Standardize the directory name by passing
27480 it through package-version-join.
27481 (package-strip-rcs-id): Accept any version string that does not
27482 signal an error in version-to-list.
27483
27484 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27485
27486 * simple.el (delete-trailing-whitespace): Return nil for the
27487 benefit of `write-file-functions'.
27488
27489 2011-03-10 Glenn Morris <rgm@gnu.org>
27490
27491 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27492
27493 * vc/vc-git.el (vc-git-program): New option.
27494 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27495 (vc-git--call): Use it.
27496
27497 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27498
27499 * cus-edit.el (Custom-newline): If no button at point, look
27500 for a subgroup button at start-of-line. (Bug#2298)
27501
27502 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27503
27504 2011-03-10 Julien Danjou <julien@danjou.info>
27505
27506 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27507 `cursor-type' is nil.
27508
27509 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27510
27511 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27512
27513 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27514
27515 * allout.el: Change so yank of distinctive-bullet items
27516 preserves the existing header prefix, rebulleting it if necessary,
27517 rather than replacing it. This is necessary for proper operation
27518 of cooperative addons like allout-widgets.
27519 (allout-make-topic-prefix, allout-rebullet-heading):
27520 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27521 value as alternate bullet to be used, instead of prompting the user
27522 for a bullet character.
27523
27524 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27525
27526 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27527 Do not use `tramp-file-name-port', because this returns also
27528 `tramp-default-port'.
27529
27530 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27531
27532 * net/rcirc.el (rcirc-handler-001): Remove useless
27533 with-rcirc-process-buffer.
27534 (rcirc-check-auth-status): Swap arguments to string-match.
27535
27536 2011-03-09 Glenn Morris <rgm@gnu.org>
27537
27538 * shell.el (shell-mode):
27539 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27540
27541 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27542 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27543
27544 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27545
27546 * emacs-lisp/package.el (package-refresh-contents)
27547 (package-menu-execute): Use condition-case-no-debug.
27548
27549 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27550
27551 * simple.el (shell-command-to-string): Use `process-file'.
27552
27553 * emacs-lisp/package.el (package-tar-file-info): Handle also
27554 remote files.
27555
27556 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27557 Use `equal' for upload base check.
27558
27559 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27560
27561 * textmodes/texinfo.el (texinfo-environments):
27562 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27563
27564 2011-03-08 Glenn Morris <rgm@gnu.org>
27565
27566 * cus-start.el (cursor-in-non-selected-windows):
27567 Fix :set quoting oddness. (Bug#8192)
27568
27569 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27570 in some setf expressions. (Bug#2159)
27571
27572 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27573
27574 * custom.el (custom-available-themes): Return themes in
27575 alphabetical order.
27576
27577 See ChangeLog.15 for earlier changes.
27578
27579 ;; Local Variables:
27580 ;; coding: utf-8
27581 ;; End:
27582
27583 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27584
27585 This file is part of GNU Emacs.
27586
27587 GNU Emacs is free software: you can redistribute it and/or modify
27588 it under the terms of the GNU General Public License as published by
27589 the Free Software Foundation, either version 3 of the License, or
27590 (at your option) any later version.
27591
27592 GNU Emacs is distributed in the hope that it will be useful,
27593 but WITHOUT ANY WARRANTY; without even the implied warranty of
27594 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27595 GNU General Public License for more details.
27596
27597 You should have received a copy of the GNU General Public License
27598 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.