* lisp/textmodes/reftex-parse.el (reftex-locate-bibliography-files):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-23 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
2
3 * lisp/textmodes/reftex-parse.el
4 (reftex-locate-bibliography-files): Accept options for
5 bibliography commands.
6 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7 Add addbibresource. Basic Biblatex support.
8
9 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10
11 * net/tramp-gvfs.el (top):
12 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13 when loading package. (Bug#14447)
14
15 2013-05-23 Glenn Morris <rgm@gnu.org>
16
17 * progmodes/js.el: No need to load comint when compiling.
18 (ring-insert, comint-send-string, comint-send-input)
19 (comint-last-input-end, ido-chop): Declare.
20
21 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
22 * vc/ediff-mult.el: Adjust requires.
23 (ediff-directories-internal, ediff-directory-revisions-internal)
24 (ediff-patch-file-internal): Declare.
25 * vc/ediff-ptch.el: Adjust requires.
26 (ediff-use-last-dir, ediff-buffers-internal): Declare.
27 (ediff-find-file): Autoload.
28 * vc/ediff-util.el: No need to load ediff when compiling.
29 (ediff-regions-internal): Declare.
30 * vc/ediff-wind.el: Adjust requires.
31 (ediff-compute-toolbar-width): Define when compiling.
32 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
33 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
34 (dired-get-filename, dired-get-marked-files)
35 (ediff-last-dir-patch, ediff-patch-default-directory)
36 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
37 (ediff-patch-buffer-internal): Declare.
38
39 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
40 (ispell-process, ispell-buffer-local-words, lm-summary)
41 (lm-section-start, lm-section-end): Declare.
42 (checkdoc-ispell-init): Simplify.
43
44 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
45 (he-string-member, he-reset-string, he-substitute-string): Declare.
46
47 * eshell/em-ls.el: Adjust requires.
48 (eshell-glob-regexp): Declare.
49 * eshell/em-tramp.el: Adjust requires.
50 (eshell-parse-command): Autoload.
51 * eshell/em-xtra.el: Adjust requires.
52 (eshell-parse-command): Autoload.
53 * eshell/esh-ext.el: Adjust requires.
54 (eshell-parse-command, eshell-close-handles): Autoload.
55 * eshell/esh-io.el: Adjust requires.
56 (eshell-output-filter): Autoload.
57 * eshell/esh-util.el: No need to load tramp when compiling.
58 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
59 Declare.
60 (eshell-parse-ange-ls): Require ange-ftp and tramp.
61 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
62 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
63 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
64 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
65 * eshell/esh-opt.el, eshell/esh-proc.el:
66 * eshell/esh-var.el: Adjust requires.
67 * eshell/eshell.el: Do not require esh-util twice.
68 (eshell-add-input-to-history): Declare.
69 (eshell-command): Check history module is active before using it.
70
71 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
72
73 2013-05-22 Leo Liu <sdl.web@gmail.com>
74
75 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
76
77 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
78
79 * autorevert.el (auto-revert-notify-add-watch)
80 (auto-revert-notify-handler): Add `attrib' for the inotify case,
81 it indicates changes in file modification time.
82
83 2013-05-22 Glenn Morris <rgm@gnu.org>
84
85 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
86 Always delete the autoloaded function from the noruntime and
87 unresolved functions lists.
88
89 * allout.el: No need to load epa, epg, overlay when compiling.
90 (epg-context-set-passphrase-callback, epg-list-keys)
91 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
92 (epg-key-user-id-list): Declare.
93
94 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
95 (viper-set-parsing-style-toggling-macro)
96 (viper-set-emacs-state-searchstyle-macros):
97 Use called-interactively-p on Emacs.
98 (viper-looking-back): Make it an obsolete alias. Update callers.
99 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
100 Use looking-back rather than viper-looking-back.
101 (viper-tmp-insert-at-eob, viper-enlarge-region)
102 (viper-read-string-with-history, viper-register-to-point)
103 (viper-append-to-register, viper-change-state-to-vi)
104 (viper-backward-char-carefully, viper-forward-char-carefully)
105 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
106 (viper-change-state-to-emacs): Declare.
107 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
108 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
109 * emulation/viper-mous.el: Do not load viper-cmd.
110 (viper-backward-char-carefully, viper-forward-char-carefully)
111 (viper-forward-word, viper-adjust-window): Declare.
112
113 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
114
115 * progmodes/idlw-help.el (idlwave-help-fontify):
116 Use called-interactively-p.
117
118 * term/w32console.el (w32-get-console-codepage)
119 (w32-get-console-output-codepage): Declare.
120
121 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
122 Remove unnecessary declarations.
123 (dframe-message): Doc fix.
124
125 * info.el (dframe-select-attached-frame, dframe-current-frame):
126 Declare.
127
128 * speedbar.el (speedbar-message): Make it an obsolete alias.
129 Update all callers.
130 (speedbar-with-attached-buffer)
131 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
132 (speedbar-with-writable): Use backquote.
133 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
134 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
135 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
136 rather than speedbar- aliases.
137 * mail/rmail.el: Load dframe rather than speedbar when compiling.
138 (speedbar-make-specialized-keymap, speedbar-insert-button)
139 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
140 (speedbar-do-function-pointer): Declare.
141 (rmail-speedbar-button, rmail-speedbar-find-file)
142 (rmail-speedbar-move-message):
143 Use dframe-with-attached-buffer rather than speedbar- alias.
144 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
145 (dframe-message, speedbar-make-specialized-keymap)
146 (speedbar-add-expansion-list, speedbar-mode-functions-list)
147 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
148 (speedbar-insert-button, dframe-select-attached-frame)
149 (dframe-maybee-jump-to-attached-frame)
150 (speedbar-change-initial-expansion-list)
151 (speedbar-previously-used-expansion-list-name): Declare.
152 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
153 Use dframe-message, dframe-with-attached-buffer rather than
154 speedbar- aliases.
155 (gud-sentinel): Silence compiler.
156 * progmodes/vhdl-mode.el (speedbar-refresh)
157 (speedbar-do-function-pointer, speedbar-add-supported-extension)
158 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
159 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
160 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
161 (speedbar-file-lists, speedbar-make-tag-line)
162 (speedbar-line-directory, speedbar-goto-this-file)
163 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
164 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
165 (speedbar-make-button, speedbar-reset-scanners)
166 (speedbar-files-item-info, speedbar-line-text)
167 (speedbar-find-file-in-frame, speedbar-set-timer)
168 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
169 (speedbar-with-writable): Do not (re)define it.
170 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
171 rather than speedbar- alias.
172
173 2013-05-21 Leo Liu <sdl.web@gmail.com>
174
175 * progmodes/octave.el (octave-mode-menu): Update and re-organize
176 menu items.
177 (octave-mode): Tweak fill-nobreak-predicate.
178 (inferior-octave-startup): Check process to avoid infinite loop.
179 (inferior-octave): Pop to buffer first to show abornmal process
180 exit information.
181
182 2013-05-21 Glenn Morris <rgm@gnu.org>
183
184 * printing.el (pr-menu-bar): Define when compiling.
185
186 2013-05-21 Leo Liu <sdl.web@gmail.com>
187
188 * progmodes/octave.el (octave-auto-fill): Remove.
189 (octave-indent-new-comment-line): Improve.
190 (octave-mode): Use auto fill mode through
191 comment-line-break-function and fill-nobreak-predicate
192 (octave-goto-function-definition): Support DEFUN_DLD.
193 (octave-beginning-of-defun): Small Tweak
194 (octave-help): Show parent directory.
195
196 2013-05-21 Glenn Morris <rgm@gnu.org>
197
198 * files.el (dired-unmark):
199 * progmodes/gud.el (gdb-input): Update declarations.
200
201 * calculator.el (electric, ehelp): No need to load when compiling.
202 (Electric-command-loop, electric-describe-mode): Declare.
203
204 * doc-view.el (doc-view-current-converter-processes): Move before use.
205
206 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
207 Move MODE-set-explicitly definition before use.
208
209 * international/mule-diag.el (mule-diag):
210 Don't use obsolete window-system-version.
211
212 * mail/feedmail.el (smtpmail): No need to load when compiling.
213 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
214
215 * mail/mail-utils.el (rfc822): No need to load when compiling.
216 (rfc822-addresses): Autoload it.
217 (mail-strip-quoted-names): Trivial simplification.
218
219 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
220 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
221
222 * net/snmp-mode.el (tempo): Don't duplicate requires.
223
224 * progmodes/prolog.el (info): No need to load when compiling.
225 (comint): Require before shell requires it.
226 (Info-goto-node): Autoload it.
227 (Info-follow-nearest-node): Declare.
228 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
229
230 * textmodes/artist.el (picture-mode-exit): Declare.
231
232 * textmodes/reftex-parse.el (reftex-parse-from-file):
233 Trivial rewrite so the compiler can parse it better.
234
235 2013-05-20 Leo Liu <sdl.web@gmail.com>
236
237 * progmodes/octave.el (octave-help-mode-map)
238 (octave-help-mode-finish-hook): New variables.
239 (octave-help-mode, octave-help-mode-finish): New functions.
240 (octave-help): Use octave-help-mode.
241
242 2013-05-20 Glenn Morris <rgm@gnu.org>
243
244 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
245
246 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
247
248 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
249 start at point, so that expansion starting right after opening
250 slash in a regexp is recognized.
251 (ruby-syntax-before-regexp-re): New defvar, extracted from
252 ruby-syntax-propertize-function. Since the value of this regexp
253 is looked up at runtime now, we should be able to turn
254 `ruby-syntax-methods-before-regexp' into a defcustom later.
255 (ruby-syntax-propertize-function): Split regexp matching into two
256 parts, for opening and closing slashes. That allows us to skip
257 over string interpolations and support multiline regexps.
258 Don't call `ruby-syntax-propertize-expansions', instead use another rule
259 for them, which calls `ruby-syntax-propertize-expansion'.
260 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
261 call to `ruby-syntax-propertize-function'.
262 (ruby-syntax-propertize-expansion): Extracted from
263 `ruby-syntax-propertize-expansions'. Handles one expansion.
264 (ruby-syntax-propertize-percent-literal): Leave point right after
265 the percent symbol, so that the expression expansion rule can
266 propertize the contents.
267 (ruby-syntax-propertize-heredoc): Leave point at bol following the
268 heredoc openers.
269 (ruby-syntax-propertize-expansions): Remove.
270
271 2013-05-18 Juri Linkov <juri@jurta.org>
272
273 * man.el (Man-default-man-entry): Remove `-' from the end
274 of the default value. (Bug#14400)
275
276 2013-05-18 Glenn Morris <rgm@gnu.org>
277
278 * comint.el (comint-password-prompt-regexp):
279 Allow "password for XXX" where XXX contains colons (eg https://...).
280
281 2013-05-18 Leo Liu <sdl.web@gmail.com>
282
283 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
284 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
285 (octave-source-directories): Don't check process.
286 (octave-source-directories, octave-find-definition): Doc fix.
287
288 2013-05-18 Glenn Morris <rgm@gnu.org>
289
290 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
291 Remove backspace/delete bindings. (Bug#14392)
292
293 * cus-dep.el (custom-make-dependencies): Sort the output.
294 (custom-versions-load-alist): Convert comment to doc.
295
296 2013-05-17 Leo Liu <sdl.web@gmail.com>
297
298 * newcomment.el (comment-search-backward): Stricter in finding
299 comment start. (Bug#14303)
300
301 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
302 (octave-comment-start-skip): Properly anchored.
303
304 2013-05-17 Leo Liu <sdl.web@gmail.com>
305
306 * emacs-lisp/smie.el (smie-highlight-matching-block-mode): Clean
307 up when turned off. (Bug#14395)
308 (smie--highlight-matching-block-overlay): No longer buffer-local.
309 (smie-highlight-matching-block): Adjust.
310
311 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
312
313 Doc string fix for "nanoseconds" (Bug#14406).
314 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
315 Fix doc string typo that had "nanoseconds" instead of "microseconds".
316
317 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
318
319 * calc/calc-units.el (math-extract-units): Preserve powers
320 of units.
321
322 2013-05-17 Leo Liu <sdl.web@gmail.com>
323
324 * subr.el (delete-consecutive-dups): New function.
325 * ido.el (ido-set-matches-1): Use it.
326 * progmodes/octave.el (inferior-octave-completion-table): Use it.
327 * ido.el (ido-remove-consecutive-dups): Remove.
328
329 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
330
331 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
332 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
333 regexp-opt's `words'.
334
335 2013-05-16 Leo Liu <sdl.web@gmail.com>
336
337 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
338 (smie--highlight-matching-block-overlay)
339 (smie--highlight-matching-block-lastpos)
340 (smie--highlight-matching-block-timer): New variables.
341 (smie-highlight-matching-block): New function.
342 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
343 (smie-setup): Conditionally enable smie-blink-matching-open.
344
345 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
346
347 Sync with upstream verilog-mode r840.
348 * progmodes/verilog-mode.el (verilog-mode-version)
349 (verilog-mode-release-date): Update.
350 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
351 (verilog-sig-tieoff): Fix string error on
352 AUTORESET with colon define, bug594. Reported by Andrew Hou.
353 (verilog-read-decls): Fix parameters confusing
354 AUTOINST interfaces, bug565. Reported by Leith Johnson.
355
356 2013-05-16 Eli Zaretskii <eliz@gnu.org>
357
358 * subr.el (reveal-filename): New function.
359
360 * loadup.el: Compute Emacs executable versions on MS-Windows,
361 where executables have the .exe extension. Add a hard link
362 emacs-XX.YY.ZZ.exe on MS-Windows.
363
364 * Makefile.in (XARGS_LIMIT): New variable.
365 (custom-deps, finder-data, autoloads)
366 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
367 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
368 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
369 (compile-main): Limit xargs according to $(XARGS_LIMIT).
370
371 2013-05-16 Leo Liu <sdl.web@gmail.com>
372
373 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
374 (octave-mode-menu, octave-mode-map): Remove its uses.
375
376 2013-05-16 Reto Zimmermann <reto@gnu.org>
377
378 Sync with upstream vhdl mode v3.34.2.
379 * progmodes/vhdl-mode.el: Use `push' throughout.
380 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
381 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
382 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
383 (vhdl-actual-generic-name): New option to derive actual generic name.
384 (vhdl-port-paste-signals): Replace formal by actual generics.
385 (vhdl-beautify): New name for old group vhdl-align. Update users.
386 (vhdl-beautify-options): New option.
387 (vhdl-last-input-event): New compat alias. Use throughout.
388 (vhdl-goto-line): Replace user level function `goto-line'.
389 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
390 vhdl-fix-statement-buffer.
391 (vhdl-create-mode-menu): Add some entries.
392 (vhdl-align-region-groups): Respect vhdl-beautify-options.
393 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
394 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
395 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
396 to force statements on one line.
397 (vhdl-remove-trailing-spaces-region):
398 New, split from vhdl-remove-trailing-spaces.
399 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
400 Respect vhdl-beautify-options.
401 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
402 (vhdl-update-sensitivity-list): Not add with index if exists without.
403 Not include array index with signal. Ignore keywords in comments.
404 (vhdl-get-visible-signals): Regexp tweaks.
405 (vhdl-template-component-inst): Handle empty library.
406 (vhdl-template-type): Add template for 'enum' type.
407 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
408 Use vhdl-replace-string.
409 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
410 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
411 (vhdl-speedbar-initialize): Update for above name change.
412 (vhdl-compose-wire-components): Fix in handling of constants.
413 (vhdl-error-regexp-emacs-alist): New variable.
414 (vhdl-error-regexp-add-emacs): New function;
415 adds support for new compile.el (Emacs 22+)
416 (vhdl-generate-makefile-1): Change target order for single lib. units.
417 Allow use of absolute file names.
418
419 2013-05-16 Leo Liu <sdl.web@gmail.com>
420
421 * simple.el (prog-indent-sexp): Indent enclosing defun.
422
423 2013-05-15 Glenn Morris <rgm@gnu.org>
424
425 * cus-start.el (show-trailing-whitespace): Move to editing basics.
426 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
427 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
428 (whitespace-highlight): Move to whitespace group.
429
430 * comint.el (comint-source):
431 * pcmpl-linux.el (pcmpl-linux):
432 * shell.el (shell-faces):
433 * eshell/esh-opt.el (eshell-opt):
434 * international/ccl.el (ccl): Remove empty custom groups.
435
436 * completion.el (dynamic-completion-mode):
437 * jit-lock.el (jit-lock-debug-mode):
438 * minibuffer.el (completion-in-region-mode):
439 * type-break.el (type-break-mode-line-message-mode)
440 (type-break-query-mode):
441 * emulation/tpu-edt.el (tpu-edt-mode):
442 * progmodes/subword.el (global-subword-mode, global-superword-mode):
443 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
444 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
445
446 * term/xterm.el (xterm): Change parent group to terminals.
447
448 * master.el (master): Remove empty custom group.
449 (master-mode): Remove unused :group argument.
450 * textmodes/refill.el (refill): Remove empty custom group.
451 (refill-mode): Remove unused :group argument.
452
453 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
454
455 * cus-dep.el: Provide a feature.
456 (custom-make-dependencies): Ignore dotfiles (dir-locals).
457 Don't mistakenly ignore files whose basenames match a basename
458 from preloaded-file-list (eg cedet/ede/simple.el).
459 Add a fallback method for getting :group.
460
461 2013-05-15 Juri Linkov <juri@jurta.org>
462
463 * isearch.el (isearch-char-by-name): Rename from
464 `isearch-insert-char-by-name'. Doc fix.
465 (isearch-forward): Mention `isearch-char-by-name' in
466 the docstring. (Bug#13348)
467
468 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
469 `exit-minibuffer' instead of
470 `isearch-nonincremental-exit-minibuffer'.
471 (isearch-edit-string): Remove mention of
472 `isearch-nonincremental-exit-minibuffer' from docstring.
473 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
474 (isearch-forward-exit-minibuffer)
475 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
476
477 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * loadup.el: Just use unversioned DOC.
480
481 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
482 literals as extending to EOB.
483 (nxml-last-fontify-end): Remove unused variable.
484 (nxml-after-change1): Use with-silent-modifications.
485 (nxml-extend-after-change-region): Simplify.
486 (nxml-extend-after-change-region1): Remove function.
487 (nxml-after-change1): Don't adjust for dependent regions.
488 (nxml-fontify-matcher): Simplify.
489 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
490 (xmltok-add-dependent): Remove function.
491 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
492 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
493 (xmltok-scan-prolog-after-processing-instruction-open): Treat
494 unclosed <[[, <?, comment, and other literals as extending to EOB.
495 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
496 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
497 Remove functions.
498 (rng-do-some-validation-1): Don't mark dependent regions.
499 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
500 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
501 (nxml-clear-dependent-regions): Remove functions.
502 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
503 (nxml-ensure-scan-up-to-date):
504 Don't clear&mark dependent regions.
505
506 2013-05-15 Leo Liu <sdl.web@gmail.com>
507
508 * progmodes/octave.el (octave-goto-function-definition):
509 Improve and fix callers.
510
511 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
512
513 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
514 the setter (bug#14387).
515
516 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
517 surrounding group (bug#14402).
518
519 2013-05-14 Juri Linkov <juri@jurta.org>
520
521 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
522 (Bug#14390)
523
524 2013-05-14 Glenn Morris <rgm@gnu.org>
525
526 * progmodes/f90.el (f90-imenu-generic-expression):
527 Fix typo in 2013-05-08 change. (Bug#14402)
528
529 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
530
531 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
532 Remove signals for which replies are never received.
533
534 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
535
536 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
537 (gdb-handler-alist, gdb-handler-number): Remove variables.
538 (gdb-handler-list): New variable.
539 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
540 (gdb-pending-handler-p, gdb-handle-reply)
541 (gdb-remove-all-pending-triggers): New functions.
542 (gdb-discard-unordered-replies): New defcustom.
543 (gdb-handler): New defstruct.
544 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
545 instead of gdb-pending-triggers. Update docstring.
546 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
547 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
548 (gdb-var-update-handler, def-gdb-auto-update-trigger)
549 (def-gdb-auto-update-handler, gdb-get-changed-registers)
550 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
551 (gdb-frame-handler): Pending triggers are now automatically managed.
552 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
553 Remove argument.
554 (gdb-input): Automatically handles pending triggers. Update docstring.
555 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
556 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
557 Update comments.
558 (gdb-done-or-error): Now use gdb-handle-reply.
559
560 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
561
562 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
563 gdb-debug-log.
564
565 2013-05-14 Glenn Morris <rgm@gnu.org>
566
567 * subr.el (user-emacs-directory-warning): New option.
568 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
569
570 2013-05-14 Leo Liu <sdl.web@gmail.com>
571
572 * progmodes/octave.el (octave-font-lock-keywords): Fix error
573 during redisplay.
574 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
575 (octave-font-lock-texinfo-comment): Fix invalid search bound
576 error: wrong side of point.
577
578 2013-05-14 Glenn Morris <rgm@gnu.org>
579
580 * progmodes/flymake.el (flymake-xml-program): New option.
581 (flymake-xml-init): Use it.
582
583 * term/xterm.el: Provide a feature.
584
585 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
586
587 2013-05-13 Glenn Morris <rgm@gnu.org>
588
589 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
590 Add compat aliases as a hack workaround. (Bug#14384)
591
592 2013-05-13 Leo Liu <sdl.web@gmail.com>
593
594 * progmodes/octave.el (octave-indent-comment): Fix indentation for
595 ###, and %!.
596 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
597 C-M-q.
598 (octave-comment-start-skip): Include %!.
599 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
600
601 2013-05-12 Leo Liu <sdl.web@gmail.com>
602
603 * progmodes/octave.el (inferior-octave-startup): Store the value
604 of __octave_srcdir__ for octave-source-directories.
605 (inferior-octave-check-process): New function refactored out of
606 inferior-octave-send-list-and-digest.
607 (octave-source-directories)
608 (octave-find-definition-filename-function): New variables.
609 (octave-source-directories)
610 (octave-find-definition-default-filename): New functions.
611 (octave-find-definition): Improve to find functions implemented in C++.
612
613 2013-05-12 Glenn Morris <rgm@gnu.org>
614
615 * calendar/diary-lib.el (diary-outlook-format-1):
616 Don't include dayname in the output. (Bug#14349)
617
618 2013-05-11 Glenn Morris <rgm@gnu.org>
619
620 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
621
622 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
623 Treat cc-provide like provide.
624
625 2013-05-11 Kevin Ryde <user42@zip.com.au>
626
627 * cus-dep.el (custom-make-dependencies):
628 Use generated-autoload-load-name for the sake of files such
629 such cedet/semantic/bovine/c.el, where the base file name
630 is not in load-path. (Bug#5277)
631
632 2013-05-11 Glenn Morris <rgm@gnu.org>
633
634 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
635 Provide features.
636
637 2013-05-11 Leo Liu <sdl.web@gmail.com>
638
639 * progmodes/octave.el (octave-indent-comment): Improve.
640 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
641 (octave-eldoc-function-signatures, octave-eldoc-function):
642 New functions.
643 (octave-mode, inferior-octave-mode): Add eldoc support.
644
645 2013-05-11 Richard Stallman <rms@gnu.org>
646
647 * epa.el (epa-decrypt-file): Take output file name as argument
648 and read it using `interactive'.
649
650 2013-05-11 Leo Liu <sdl.web@gmail.com>
651
652 * progmodes/octave.el (octave-beginning-of-line)
653 (octave-end-of-line): Check before using up-list because it jumps
654 out of more syntactic contructs since moving to smie.
655 (octave-indent-comment): New function.
656 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
657 (octave-begin-keywords, octave-end-keywords)
658 (octave-reserved-words, octave-smie-bnf-table)
659 (octave-smie-rules): Add new keywords from Octave 3.6.4.
660
661 2013-05-11 Glenn Morris <rgm@gnu.org>
662
663 * faces.el (internal-face-x-get-resource):
664 * frame.el (ns-display-monitor-attributes-list):
665 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
666
667 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
668
669 * calc/calc-menu.el: Make it loadable in isolation.
670
671 * net/eudcb-bbdb.el: Make it loadable without bbdb.
672 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
673 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
674 (eudc-bbdb-query-internal): Require 'bbdb.
675
676 * lpr.el (lpr-headers-switches):
677 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
678
679 * progmodes/sql.el (sql-login-params): Fix and improve :type.
680
681 * emulation/edt-mapper.el: In batch mode, error rather than hang.
682
683 * term.el (term-set-escape-char): Make it idempotent.
684
685 2013-05-10 Leo Liu <sdl.web@gmail.com>
686
687 * progmodes/octave.el (inferior-octave-completion-table):
688 No longer a function and all uses changed. Use cache to speed up
689 completion due to bug#11906.
690 (octave-beginning-of-defun): Re-write to be more general.
691
692 2013-05-10 Glenn Morris <rgm@gnu.org>
693
694 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
695
696 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
697
698 * comint.el (comint-redirect-send-command-to-process): Use :around
699 rather than :override for comint-redirect-filter.
700 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
701 Call it instead of comint-redirect-original-filter-function (which
702 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
703
704 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
705
706 * frame.el (display-monitor-attributes-list): Add NS case.
707 (ns-display-monitor-attributes-list): Declare.
708
709 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
710
711 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
712
713 2013-05-09 Glenn Morris <rgm@gnu.org>
714
715 * international/fontset.el (vertical-centering-font-regexp):
716 Set standard-value.
717
718 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
719
720 * bookmark.el (bookmark-search-delay):
721 * cus-start.el (vertical-centering-font-regexp):
722 * ps-mule.el (ps-mule-font-info-database-default):
723 * ps-print.el (ps-default-fg, ps-default-bg):
724 * type-break.el (type-break-good-break-interval):
725 * whitespace.el (whitespace-indentation-regexp)
726 (whitespace-space-after-tab-regexp):
727 * emacs-lisp/testcover.el (testcover-1value-functions)
728 (testcover-noreturn-functions, testcover-progn-functions)
729 (testcover-prog1-functions):
730 * emulation/viper-init.el (viper-emacs-state-cursor-color):
731 * eshell/em-glob.el (eshell-glob-translate-alist):
732 * play/tetris.el (tetris-tty-colors):
733 * progmodes/cpp.el (cpp-face-default-list):
734 * progmodes/flymake.el (flymake-allowed-file-name-masks):
735 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
736 (idlwave-help-browser-generic-args):
737 * progmodes/make-mode.el (makefile-special-targets-list):
738 * progmodes/python.el (python-shell-virtualenv-path):
739 * progmodes/verilog-mode.el (verilog-active-low-regexp)
740 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
741 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
742 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
743 * textmodes/reftex-vars.el (reftex-format-label-function):
744 * textmodes/remember.el (remember-diary-file): Fix custom types.
745
746 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
747 Add :version.
748
749 2013-05-09 Leo Liu <sdl.web@gmail.com>
750
751 * progmodes/octave.el (inferior-octave-completion-at-point):
752 Restore file completion. (Bug#14300)
753 (inferior-octave-startup): Fix incorrect highlighting for the
754 first prompt.
755
756 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * progmodes/ruby-mode.el: First cut at SMIE support.
759 (ruby-use-smie): New var.
760 (ruby-smie-grammar): New constant.
761 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
762 (ruby-smie--forward-token, ruby-smie--backward-token)
763 (ruby-smie-rules): New functions.
764 (ruby-mode-variables): Setup SMIE if applicable.
765
766 2013-05-08 Eli Zaretskii <eliz@gnu.org>
767
768 * simple.el (line-move-visual): Signal beginning/end of buffer
769 only if vertical-motion moved less than it was requested. Avoids
770 silly incorrect error messages when there are display strings with
771 multiple newlines at EOL.
772
773 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
776 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
777 (prolog-char-quote-workaround):
778 * progmodes/cperl-mode.el (cperl-under-as-char):
779 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
780 Mark as obsolete.
781 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
782 their declaration.
783 (vhdl-mode-syntax-table-init): Remove.
784
785 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
786 last change.
787
788 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
789 syntax for "_".
790 (ld-script-font-lock-keywords):
791 Change regexps to use things like \_< and \_>.
792
793 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
794 Change all regexps to use things like \_< and \_>.
795
796 * progmodes/autoconf.el (autoconf-definition-regexp)
797 (autoconf-font-lock-keywords, autoconf-current-defun-function):
798 Handle a _ with symbol syntax.
799 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
800
801 * progmodes/ada-mode.el (ada-mode-abbrev-table):
802 Consolidate declaration.
803 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
804 the declaration.
805 (ada-create-syntax-table): Remove.
806 (ada-capitalize-word): Don't mess with the syntax of "_" since it
807 already has the right syntax nowadays.
808 (ada-goto-next-word): Don't change the syntax of "_".
809
810 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
811 with-wrapper-hook.
812
813 2013-05-08 Sam Steingold <sds@gnu.org>
814
815 * thingatpt.el (thing-at-point): Accept optional second argument
816 NO-PROPERTIES to strip the text properties from the return value.
817 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
818 to `thing-at-point' instead of stripping the properties ourselves.
819 Also, when `thing-at-point' fails to find a url, prepend "http://"
820 to the filename at point on the assumption that the user is
821 pointing at something like gnu.org/gnu.
822
823 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
824
825 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
826 * faces.el (crm-separator):
827 Silence byte-compiler.
828
829 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
830 (tool-bar-map): Remove unneeded defvars.
831
832 2013-05-08 Leo Liu <sdl.web@gmail.com>
833
834 Re-work a fix for bug#10994 based on Le Wang's patch.
835 * ido.el (ido-remove-consecutive-dups): New helper.
836 (ido-completing-read): Use it.
837 (ido-chop): Revert fix for bug#10994.
838
839 2013-05-08 Adam Spiers <emacs@adamspiers.org>
840
841 * cus-edit.el (custom-save-variables):
842 Pretty-print long values. (Bug#14187)
843
844 2013-05-08 Glenn Morris <rgm@gnu.org>
845
846 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
847 (m4-mode-syntax-table): Init in the defvar.
848 (m4-mode-abbrev-table): Let define-derived-mode define it.
849
850 2013-05-08 Tom Tromey <tromey@redhat.com>
851
852 * progmodes/m4-mode.el (m4-mode-syntax-table):
853 Do not treat "_" as word constituent. (Bug#14167)
854
855 2013-05-07 Glenn Morris <rgm@gnu.org>
856
857 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
858 Remove explicit eshell-isearch-cancel-map.
859
860 * progmodes/f90.el (f90-smart-end-names): New option.
861 (f90-smart-end): Doc fix.
862 (f90-end-block-optional-name): New constant.
863 (f90-block-match): Respect f90-smart-end-names.
864
865 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * progmodes/octave.el (octave-smie-forward-token): Be more careful
868 about implicit semi-colons (bug#14218).
869
870 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
871
872 * frame.el (display-monitor-attributes-list)
873 (frame-monitor-attributes): New functions.
874
875 2013-05-06 Leo Liu <sdl.web@gmail.com>
876
877 * progmodes/octave.el (octave-syntax-propertize-function): Change
878 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
879 (octave-font-lock-keywords): Use octave-operator-regexp.
880 (octave-completion-at-point): Rename from
881 octave-completion-at-point-function.
882 (inferior-octave-directory-tracker): Robustify.
883 (octave-text-functions): Remove and fix its uses. No such things
884 any more.
885
886 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * emacs-lisp/trace.el (trace--display-buffer): New function.
889 (trace-make-advice): Use it.
890
891 2013-05-06 Juri Linkov <juri@jurta.org>
892
893 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
894 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
895 Doc fix.
896 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
897 in the help string. (Bug#12985)
898
899 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
900
901 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
902
903 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
904
905 * progmodes/perl-mode.el: Add support for here documents.
906 (perl-syntax-propertize-function): Match here-doc markers.
907 (perl-syntax-propertize-special-constructs): Find their end.
908 (perl-imenu-generic-expression): Use [:alnum:].
909
910 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
911 (advice--add-function): Refresh the advice if already present
912 (bug#14317).
913
914 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
915
916 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
917
918 2013-05-06 Glenn Morris <rgm@gnu.org>
919
920 * w32-fns.el (w32-charset-info-alist): Declare.
921
922 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
923 of its defcustom properties.
924 (eshell-cmpl-initialize): No need to load pcomplete.
925
926 * generic-x.el: No need to require comint when compiling.
927
928 * net/eudc-export.el: Make it loadable without bbdb.
929 (top-level): Use require rather than load-library.
930 (eudc-create-bbdb-record, eudc-bbdbify-phone)
931 (eudc-batch-export-records-to-bbdb)
932 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
933 Require bbdb.
934
935 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
938 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
939 some tweaks, instead.
940
941 2013-05-05 Leo Liu <sdl.web@gmail.com>
942
943 * progmodes/octave.el (octave-font-lock-keywords)
944 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
945 (inferior-octave-send-list-and-digest): Improve error message.
946 (octave-mode, inferior-octave-mode): Use setq-local.
947 (octave-help): Set info-lookup-mode.
948
949 2013-05-05 Richard Stallman <rms@gnu.org>
950
951 * vc/compare-w.el (compare-windows-whitespace):
952 Treat no-break space as whitespace.
953
954 * mail/rmailsum.el (rmail-summary-rmail-update):
955 Detect empty summary and don't change selected message.
956 (rmail-summary-goto-msg): Likewise.
957
958 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
959 Doc fixes, rename args.
960
961 2013-05-05 Alan Mackenzie <acm@muc.de>
962
963 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
964
965 2013-05-05 Juri Linkov <juri@jurta.org>
966
967 * info.el (Info-read-subfile): Use (point-min) instead of (point)
968 to not add the length of the summary segment to the return value.
969 (Bug#14125)
970
971 2013-05-05 Leo Liu <sdl.web@gmail.com>
972
973 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
974 (inferior-octave-output-filter): Remove.
975 (octave-send-region, inferior-octave-startup): Fix callers.
976 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
977 (octave-binary-file-extensions): New user variable.
978 (octave-find-definition): Confirm if opening binary files.
979 (octave-help-file): Use octave-find-definition to get the binary
980 confirmation.
981 (octave-help): Adjust for octave-help-file change.
982
983 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
984
985 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
986 Merge the two entries that handle function definitions.
987 (pascal--syntax-propertize): New const.
988 (pascal-mode): Use it. Use setq-local.
989
990 2013-05-04 Glenn Morris <rgm@gnu.org>
991
992 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
993 (diary-from-outlook): Respect diary-from-outlook-function.
994
995 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
998 Move the declaration from C.
999 (read-minibuffer, eval-minibuffer): Move from C.
1000 (completion-setup-function): Avoid minibuffer-completion-contents.
1001
1002 2013-05-03 Leo Liu <sdl.web@gmail.com>
1003
1004 * progmodes/octave.el (octave-font-lock-keywords): Do not
1005 dehighlight 'end' in comments or strings.
1006 (octave-completing-read, octave-goto-function-definition):
1007 New helpers.
1008 (octave-help-buffer): New user variable.
1009 (octave-help-file, octave-help-function): New button types.
1010 (octave-help): New command and bind it to C-h ;.
1011 (octave-find-definition): New command and bind it to M-.
1012 (user-error): Alias to error if not defined.
1013
1014 2013-05-02 Leo Liu <sdl.web@gmail.com>
1015
1016 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
1017 for \. (bug#14332)
1018 (octave-font-lock-keywords): Include [ and {.
1019
1020 2013-05-02 Leo Liu <sdl.web@gmail.com>
1021
1022 * progmodes/octave.el (inferior-octave-startup-file): Change default.
1023 (inferior-octave): Remove calling comint-mode and return the buffer.
1024 (inferior-octave-startup): Cosmetic changes.
1025
1026 2013-05-02 Leo Liu <sdl.web@gmail.com>
1027
1028 * progmodes/octave.el (octave-syntax-propertize-function):
1029 Include the case when ' is at line beginning. (Bug#14336)
1030
1031 2013-05-02 Glenn Morris <rgm@gnu.org>
1032
1033 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
1034 * desktop.el (vc-dir-mode): Just autoload it here.
1035
1036 2013-05-02 Alan Mackenzie <acm@muc.de>
1037
1038 Eliminate variable c-standard-font-lock-fontify-region-function.
1039 * progmodes/cc-mode.el
1040 (c-standard-font-lock-fontify-region-function): Remove.
1041 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
1042
1043 2013-05-01 Leo Liu <sdl.web@gmail.com>
1044
1045 * progmodes/octave.el: Compatible with older emacs-24 releases.
1046 (inferior-octave-has-built-in-variables): Remove. Built-in
1047 variables were removed from Octave in 2007.
1048 (inferior-octave-startup): Fix uses.
1049 (comint-line-beginning-position): Remove compatibility code for
1050 emacs 21.
1051
1052 2013-05-01 Juri Linkov <juri@jurta.org>
1053
1054 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
1055
1056 2013-05-01 Juri Linkov <juri@jurta.org>
1057
1058 * comint.el (comint-previous-matching-input): Don't print message
1059 "History item: %d" when `isearch-mode' is active.
1060 (comint-history-isearch-message): Print message "History item: %d"
1061 when `comint-input-ring-index' is not empty and this function is
1062 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
1063
1064 2013-05-01 Leo Liu <sdl.web@gmail.com>
1065
1066 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
1067 definitions. Use completion-at-point to insert keywords.
1068 (octave-abbrev-start): Remove.
1069 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1070
1071 2013-04-30 Leo Liu <sdl.web@gmail.com>
1072
1073 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1074 change.
1075
1076 2013-04-30 Alan Mackenzie <acm@muc.de>
1077
1078 Handle arbitrarily long C++ member initialisation lists.
1079 * progmodes/cc-engine.el (c-back-over-member-initializers):
1080 new function.
1081 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1082 (most) member init lists.
1083
1084 2013-04-30 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
1085
1086 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1087 variable.
1088
1089 2013-04-30 Leo Liu <sdl.web@gmail.com>
1090
1091 * progmodes/octave.el (octave-variables): Remove. No builtin
1092 variables any more. All converted to functions.
1093 (octave-font-lock-keywords, octave-completion-at-point-function):
1094 Fix uses.
1095 (octave-font-lock-texinfo-comment): New user variable.
1096 (octave-texinfo-font-lock-keywords): New variable for texinfo
1097 comment block.
1098 (octave-function-comment-block): New face.
1099 (octave-font-lock-texinfo-comment): New function.
1100 (octave-mode): Font lock texinfo comment block.
1101
1102 2013-04-29 Leo Liu <sdl.web@gmail.com>
1103
1104 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1105 indexing expression.
1106 (octave-continuation-string): Do not use \.
1107 (inferior-octave-complete-impossible): Remove.
1108 (inferior-octave-completion-table)
1109 (inferior-octave-completion-at-point): Remove its uses.
1110 (inferior-octave-startup): completion_matches was introduced to
1111 Octave in 1996 so safe to assume it.
1112 (octave-function-file-comment): Improve to follow how Octave does it.
1113 (octave-update-function-file-comment): Tweak.
1114
1115 2013-04-29 Leo Liu <sdl.web@gmail.com>
1116
1117 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1118 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1119 (octave-function-file-comment): Fix typo.
1120 (octave-sync-function-file-names): Use read-char-choice.
1121
1122 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1123
1124 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1125 to t for the less important warnings.
1126
1127 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1128
1129 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1130
1131 2013-04-27 Glenn Morris <rgm@gnu.org>
1132
1133 * vc/log-view.el (log-view-current-entry):
1134 Treat "---" separator lines as part of the following rev. (Bug#14169)
1135
1136 2013-04-27 Juri Linkov <juri@jurta.org>
1137
1138 * subr.el (read-number): Doc fix about using it by interactive
1139 code letter `n'. (Bug#14254)
1140
1141 2013-04-27 Juri Linkov <juri@jurta.org>
1142
1143 * desktop.el (desktop-auto-save-timeout): New option.
1144 (desktop-file-checksum): New variable.
1145 (desktop-save): Add optional arg `auto-save' and don't auto-save
1146 if nothing changed.
1147 (desktop-auto-save-timer): New variable.
1148 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1149 (after-init-hook): Call `desktop-auto-save-set-timer'.
1150 Suggested by Reuben Thomas <rrt@sc3d.org> in
1151 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1152
1153 2013-04-27 Leo Liu <sdl.web@gmail.com>
1154
1155 * progmodes/octave.el (octave-function-file-p)
1156 (octave-skip-comment-forward, octave-function-file-comment)
1157 (octave-update-function-file-comment): New functions.
1158 (octave-mode-map): Bind C-c ; to
1159 octave-update-function-file-comment.
1160 (octave-mode-menu): Add octave-update-function-file-comment.
1161 (octave-mode, inferior-octave-mode): Fix doc-string.
1162 (octave-insert-defun): Conform to Octave's coding convention.
1163 (Bug#14285)
1164
1165 * files.el (basic-save-buffer): Don't let errors in
1166 before-save-hook prevent saving buffer.
1167
1168 2013-04-20 Roland Winkler <winkler@gnu.org>
1169
1170 * faces.el (read-face-name): Use completing-read if arg multiple
1171 is nil.
1172
1173 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1174
1175 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1176 displayed, move point to after the totals line.
1177 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1178 for the details.
1179
1180 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1181
1182 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1183 Add current dir to the load-path.
1184 (package-generate-autoloads): Don't rely on
1185 autoload-ensure-default-file.
1186
1187 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1188
1189 * textmodes/remember.el (remember-store-in-files): Document that
1190 the file name format is passed to `format-time-string'.
1191
1192 2013-04-26 Leo Liu <sdl.web@gmail.com>
1193
1194 * progmodes/octave.el (octave-sync-function-file-names): New function.
1195 (octave-mode): Use it in before-save-hook.
1196
1197 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1198
1199 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1200 (bug#14274).
1201
1202 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1203 \n and comment, even if it's not an implicit ; (bug#14218).
1204
1205 2013-04-26 Glenn Morris <rgm@gnu.org>
1206
1207 * subr.el (read-number): Once more use `read' rather than
1208 `string-to-number', to trap non-numeric input. (Bug#14254)
1209
1210 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1211
1212 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1213 Use `syntax-multiline' text property consistently instead of
1214 `font-lock-multiline'. (bug#14237).
1215
1216 2013-04-26 Glenn Morris <rgm@gnu.org>
1217
1218 * emacs-lisp/shadow.el (list-load-path-shadows):
1219 No longer necessary to check for duplicate simple.el, since
1220 2012-07-07 change to init_lread to not include installation lisp
1221 directories in load-path when running uninstalled. (Bug#14270)
1222
1223 2013-04-26 Leo Liu <sdl.web@gmail.com>
1224
1225 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1226 (octave-mode, inferior-octave-mode): Use setq-local.
1227 (octave-not-in-string-or-comment-p): Rename to
1228 octave-in-string-or-comment-p.
1229 (octave-in-comment-p, octave-in-string-p)
1230 (octave-in-string-or-comment-p): Replace defsubst with defun.
1231
1232 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1233
1234 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1235
1236 2013-04-25 Bastien Guerry <bzg@gnu.org>
1237
1238 * textmodes/remember.el (remember-data-directory)
1239 (remember-directory-file-name-format): Fix custom types.
1240
1241 2013-04-25 Leo Liu <sdl.web@gmail.com>
1242
1243 * progmodes/octave.el (octave-completion-at-point-function):
1244 Make use of inferior octave process.
1245 (octave-initialize-completions): Remove.
1246 (inferior-octave-completion-table): New function.
1247 (inferior-octave-completion-at-point): Use it.
1248 (octave-completion-alist): Remove.
1249
1250 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1251
1252 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1253 (opascal-mode-syntax-table): New var.
1254 (opascal-literal-kind, opascal-is-literal-end)
1255 (opascal-literal-token-at): Rewrite.
1256 (opascal--literal-start-re, opascal-font-lock-keywords)
1257 (opascal--syntax-propertize): New constants.
1258 (opascal-font-lock-defaults): Adjust.
1259 (opascal-mode): Use them. Set comment-<foo> variables as well.
1260 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1261 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1262 (delphi-other-face, opascal-other-face): Remove face variables.
1263 (opascal-save-state): Remove macro.
1264 (opascal-fontifying-progress-step): Remove constant.
1265 (opascal--ignore-changes): Remove var.
1266 (opascal-set-token-property, opascal-parse-next-literal)
1267 (opascal-is-stable-literal, opascal-complete-literal)
1268 (opascal-is-literal-start, opascal-face-of)
1269 (opascal-parse-region, opascal-parse-region-until-stable)
1270 (opascal-fontify-region, opascal-after-change)
1271 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1272 (opascal-debug-parse-region, opascal-debug-parse-window)
1273 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1274 (opascal-debug-fontify-buffer): Remove.
1275 (opascal-debug-mode-map): Adjust accordingly.
1276
1277 2013-04-25 Leo Liu <sdl.web@gmail.com>
1278
1279 Merge octave-mod.el and octave-inf.el into octave.el with some
1280 cleanups.
1281 * progmodes/octave.el: New file renamed from octave-mod.el.
1282 * progmodes/octave-inf.el: Merged into octave.el.
1283 * progmodes/octave-mod.el: Renamed to octave.el.
1284
1285 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1286
1287 * textmodes/reftex-vars.el
1288 (reftex-label-ignored-macros-and-environments): New defcustom.
1289
1290 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1291
1292 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1293
1294 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1295 (smie-indent-keyword): Improve the check to ensure that the next
1296 comment is really on the same line.
1297 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1298
1299 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1300 semi-colons if the line is not otherwise empty (bug#14218).
1301
1302 2013-04-25 Glenn Morris <rgm@gnu.org>
1303
1304 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1305
1306 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * progmodes/opascal.el (opascal-set-token-property): Rename from
1309 opascal-set-text-properties and only set `token' (bug#14134).
1310 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1311 (opascal-literal-text-properties): Remove.
1312 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1313 Adjust callers.
1314
1315 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1316
1317 * textmodes/remember.el (remember-handler-functions): Add an
1318 option for a new handler `remember-store-in-files'.
1319 (remember-data-directory, remember-directory-file-name-format):
1320 New options.
1321 (remember-store-in-files): New function to store remember notes
1322 as separate files within a directory.
1323
1324 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1325
1326 * progmodes/compile.el (compilation-next-error-function):
1327 Pass "formats" to compilation-find-file (bug#11777).
1328
1329 2013-04-24 Glenn Morris <rgm@gnu.org>
1330
1331 * vc/vc-bzr.el (vc-bzr-print-log):
1332 * vc/vc-hg.el (vc-hg-print-log):
1333 * vc/vc-svn.el (vc-svn-print-log):
1334 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1335
1336 * vc/vc-bzr.el (vc-bzr-print-log):
1337 * vc/vc-cvs.el (vc-cvs-print-log):
1338 * vc/vc-git.el (vc-git-print-log):
1339 * vc/vc-hg.el (vc-hg-print-log):
1340 * vc/vc-mtn.el (vc-mtn-print-log):
1341 * vc/vc-rcs.el (vc-rcs-print-log):
1342 * vc/vc-sccs.el (vc-sccs-print-log):
1343 * vc/vc-svn.el (vc-svn-print-log):
1344 * vc/vc.el (vc-print-log-internal): Doc fixes.
1345
1346 2013-04-23 Glenn Morris <rgm@gnu.org>
1347
1348 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1349 Remove venerable code attempting to avoid substitute-command-keys.
1350
1351 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1352
1353 * textmodes/reftex-vars.el (reftex-label-regexps):
1354 Call `reftex-compile-variables' after changes to this variable.
1355
1356 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1357
1358 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1359 Use lexical-binding.
1360 (jit-lock-force-redisplay): Use markers, check buffer's continued
1361 existence and beware narrowed buffers.
1362 (jit-lock-fontify-now): Adjust call accordingly.
1363
1364 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1365
1366 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1367 to avoid misleading the user.
1368
1369 2013-04-22 Leo Liu <sdl.web@gmail.com>
1370
1371 * info-look.el: Prefer latex2e.info. (Bug#14240)
1372
1373 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1374
1375 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1376
1377 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1378 * net/tramp.el (tramp-call-process): ... here
1379 (tramp-set-completion-function, tramp-parse-putty):
1380 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1381 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1382 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1383 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1384 (tramp-call-local-coding-command): Use `tramp-call-process'
1385 instead of `tramp-compat-call-process'.
1386
1387 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1388 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1389 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1390 (tramp-find-inline-compress): Improve traces.
1391 (tramp-maybe-send-script): Check for Perl binary.
1392 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1393
1394 2013-04-22 Daiki Ueno <ueno@gnu.org>
1395
1396 * epg.el (epg-context-pinentry-mode): New function.
1397 (epg-context-set-pinentry-mode): New function.
1398 (epg--start): Pass --pinentry-mode option to gpg command.
1399
1400 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1401
1402 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1403 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1404 `completion-at-point'. (Bug#13774)
1405
1406 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1407 default key binding for `describe-distribution' has been moved to
1408 `C-h C-o'. (Bug#13970)
1409
1410 2013-04-21 Glenn Morris <rgm@gnu.org>
1411
1412 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1413 Add doc strings.
1414 (vc-print-log): Clarify interactive prompt.
1415
1416 2013-04-20 Glenn Morris <rgm@gnu.org>
1417
1418 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1419 No longer include timestamp etc information.
1420
1421 2013-04-20 Roland Winkler <winkler@gnu.org>
1422
1423 * faces.el (read-face-name): Bug fix, return just one face if arg
1424 multiple is nil. (Bug#14209)
1425
1426 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1429 (remove-function): Autoload.
1430
1431 * comint.el (comint-redirect-original-filter-function): Remove.
1432 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1433 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1434 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1435 * progmodes/prolog.el (prolog-consult-compile):
1436 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1437 Use add/remove-function instead.
1438 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1439 (gud-tooltip-process-output, gud-tooltip-tips):
1440 Use add/remove-function instead.
1441 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1442 (scheme-interaction-mode, exit-scheme-interaction-mode):
1443 Use add/remove-function instead.
1444
1445 * vc/vc-dispatcher.el: Use lexical-binding.
1446 (vc--process-sentinel): Rename from vc-process-sentinel.
1447 Change last arg to be the code to run. Don't use vc-previous-sentinel
1448 and vc-sentinel-commands any more.
1449 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1450 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1451
1452 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1453
1454 * progmodes/sh-script.el (sh-imenu-generic-expression):
1455 Handle function names with a single character. (Bug#14111)
1456
1457 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1458
1459 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1460 for subroutines defined in an eval (bug#14182).
1461
1462 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1463
1464 * bookmark.el (bookmark-completing-read): Improve handling of empty
1465 string (bug#14176).
1466
1467 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1470
1471 2013-04-19 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1472
1473 New faster Imenu implementation (bug#14058).
1474 * progmodes/python.el:
1475 (python-imenu-prev-index-position):
1476 (python-imenu-format-item-label-function)
1477 (python-imenu-format-parent-item-label-function)
1478 (python-imenu-format-parent-item-jump-label-function):
1479 New vars.
1480 (python-imenu-format-item-label)
1481 (python-imenu-format-parent-item-label)
1482 (python-imenu-format-parent-item-jump-label)
1483 (python-imenu--put-parent, python-imenu--build-tree)
1484 (python-imenu-create-index, python-imenu-create-flat-index)
1485 (python-util-popn): New functions.
1486 (python-mode): Set imenu-create-index-function to
1487 python-imenu-create-index.
1488
1489 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * winner.el (winner-active-region): Use region-active-p, activate-mark
1492 and deactivate-mark (bug#14225).
1493
1494 * simple.el (deactivate-mark): Don't inline it.
1495
1496 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1499
1500 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1501
1502 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1503 file extensions from the archive-mode entry in order to prefer
1504 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1505
1506 2013-04-18 Leo Liu <sdl.web@gmail.com>
1507
1508 * bindings.el (help-event-list): Add ?\?.
1509
1510 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1511
1512 * subr.el (with-wrapper-hook): Declare obsolete.
1513 * simple.el (filter-buffer-substring-function): New hook.
1514 (filter-buffer-substring): Use it.
1515 (filter-buffer-substring-functions): Mark obsolete.
1516 * minibuffer.el (completion-in-region-function): New hook.
1517 (completion-in-region): Use it.
1518 (completion-in-region-functions): Mark obsolete.
1519 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1520 * abbrev.el (abbrev-expand-function): New hook.
1521 (expand-abbrev): Use it.
1522 (abbrev-expand-functions): Mark obsolete.
1523 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1524 and :filter-return.
1525
1526 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1527
1528 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1529 and do not care about match data.
1530
1531 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1532
1533 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1534 completion tables when completing error conditions and
1535 `declare' arguments.
1536 (lisp-complete-symbol, field-complete): Mark as obsolete.
1537 (check-parens): Unmatched parens are user errors.
1538 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1539
1540 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1541
1542 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1543 command changed buffer (ie. `flyspell-pre-buffer' is not current
1544 buffer), which prevents making decisions based on invalid value of
1545 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1546 cause an error when `flyspell-pre-point' was nil after switching
1547 buffers.
1548 (flyspell-post-command-hook): No longer needs to change buffers when
1549 checking pre-word. While at it remove unnecessary progn.
1550
1551 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1552
1553 * textmodes/ispell.el (ispell-add-per-file-word-list):
1554 Fix `flyspell-correct-word-before-point' error when accepting
1555 words and `coment-padding' is an integer by using
1556 `comment-normalize-vars' (Bug #14214).
1557
1558 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1559
1560 New defun movement commands.
1561 * progmodes/python.el (python-nav--syntactically)
1562 (python-nav--forward-defun, python-nav-backward-defun)
1563 (python-nav-forward-defun): New functions.
1564
1565 2013-04-17 FabiĂ¡n Ezequiel Gallina <fgallina@gnu.org>
1566
1567 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1568 (python-syntax-context): Use named compiler-macro for backwards
1569 compatibility with Emacs 24.x.
1570
1571 2013-04-17 Leo Liu <sdl.web@gmail.com>
1572
1573 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1574 octave-hide-process-buffer.
1575
1576 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1579 (bug#14216).
1580
1581 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1582
1583 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1584 Fix adjustment of offset when receiving incomplete responses from GDB
1585 (bug#14129).
1586
1587 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1588
1589 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1590 python-mode-abbrev-table.
1591 (python-skeleton-define): Adjust accordingly.
1592 (python-mode-abbrev-table): New table that inherits from it so that
1593 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1594
1595 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1596 (abbrev-symbol): Use it.
1597 (abbrev--before-point): Use it since we already handle inheritance.
1598
1599 2013-04-16 Leo Liu <sdl.web@gmail.com>
1600
1601 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1602 binding to info-lookup-symbol.
1603
1604 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1605
1606 * minibuffer.el (completion--twq-all):
1607 * term/ns-win.el (ns-initialize-window-system):
1608 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1609
1610 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1613 global bindings.
1614
1615 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1616
1617 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1618
1619 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1620 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1621 to nil.
1622 (ruby-end-of-defun): Remove the unused arg, change the docstring
1623 to reflect that this function is only used as the value of
1624 `end-of-defun-function'.
1625 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1626 to reflect an earlier change that beginning/end-of-defun functions
1627 jump between methods in a class definition, as well as top-level
1628 functions.
1629
1630 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1631
1632 * minibuffer.el (minibuffer-complete): Don't just scroll
1633 a *Completions* that's been iconified.
1634 (minibuffer-force-complete): Make sure repetitions do cycle when going
1635 through completion-in-region -> minibuffer-complete.
1636
1637 2013-04-15 Alan Mackenzie <acm@muc.de>
1638
1639 Correct the placement of c-cpp-delimiters when there're #s not at
1640 col 0.
1641
1642 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1643 place a submatch around the #.
1644 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1645 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1646 on the #, not BOL.
1647
1648 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1649
1650 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1651 (advice--member-p): New arg `name'.
1652 (advice--add-function, advice-member-p): Use it (bug#14202).
1653
1654 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1655
1656 Reformulate java imenu-generic-expression.
1657 The old expression contained ill formed regexps.
1658
1659 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1660 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1661 (cc-imenu-java-method-arg-regexp): New defconsts.
1662 (cc-imenu-java-build-type-args-regex): New defun.
1663 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1664 handling of spaces in the regexp.
1665
1666 2013-03-15 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
1667
1668 * textmodes/ispell.el (ispell-command-loop): Remove
1669 flyspell highlight of a word when ispell accepts it (bug #14178).
1670
1671 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1672
1673 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1674 uses code from the previous `ange-ftp-run-real-handler'.
1675 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1676 only in case that function exist. This is needed for proper
1677 unloading of Tramp.
1678
1679 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1680
1681 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1682
1683 * textmodes/reftex.el (reftex-compile-variables): Use it.
1684
1685 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * files.el (normal-mode): Only use default major-mode if no other mode
1688 was specified.
1689
1690 * emacs-lisp/trace.el (trace-values): New function.
1691
1692 * files.el: Allow : in local variables (bug#14089).
1693 (hack-local-variable-regexp): New var.
1694 (hack-local-variables-prop-line, hack-local-variables): Use it.
1695
1696 2013-04-13 Roland Winkler <winkler@gnu.org>
1697
1698 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1699 data before it gets modified by bibtex-beginning-of-entry.
1700
1701 2013-04-13 Roland Winkler <winkler@gnu.org>
1702
1703 * textmodes/bibtex.el (bibtex-url): Doc fix.
1704
1705 2013-04-13 Roland Winkler <winkler@gnu.org>
1706
1707 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1708 does not visit a BibTeX file, exclude it from the list of buffers
1709 returned by bibtex-initialize.
1710
1711 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1712
1713 * window.el (split-window): Remove interactive form, since as a
1714 command this function is a special case of split-window-below.
1715 Correct doc string.
1716
1717 2013-04-12 Roland Winkler <winkler@gnu.org>
1718
1719 * faces.el (read-face-name): Do not override value of arg default.
1720 Allow single faces and strings as default values. Remove those
1721 elements from return value that are not faces.
1722 (describe-face): Simplify.
1723 (face-at-point): New optional args thing and multiple so that this
1724 function can provide the same functionality previously provided by
1725 read-face-name.
1726 (make-face-bold, make-face-unbold, make-face-italic)
1727 (make-face-unitalic, make-face-bold-italic, invert-face)
1728 (modify-face, read-face-and-attribute): Use face-at-point.
1729
1730 * cus-edit.el (customize-face, customize-face-other-window)
1731 * cus-theme.el (custom-theme-add-face)
1732 * face-remap.el (buffer-face-set)
1733 * facemenu.el (facemenu-set-face): Use face-at-point.
1734
1735 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1736
1737 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1738
1739 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1740
1741 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1742 off leading { and trailing } from field values.
1743
1744 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * emacs-lisp/timer.el (timer--check): New function.
1747 (timer--time, timer-set-function, timer-event-handler): Use it.
1748 (timer-set-idle-time): Simplify.
1749 (timer--activate): CSE.
1750 (timer-event-handler): Give more info in error message.
1751 (internal-timer-start-idle): New function, moved from C.
1752
1753 * mpc.el (mpc-proc): Add `restart' argument.
1754 (mpc-proc-cmd): Use it.
1755 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1756 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1757 less often.
1758
1759 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1760
1761 * progmodes/sh-script.el: Implement `sh-mode' own
1762 `add-log-current-defun-function' (bug#14112).
1763 (sh-current-defun-name): New function.
1764 (sh-mode): Use the function.
1765
1766 2013-04-09 Bastien Guerry <bzg@gnu.org>
1767
1768 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1769
1770 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1773
1774 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1775 timer (bug#14156).
1776
1777 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1778
1779 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1780 declaration.
1781
1782 2013-04-07 Leo Liu <sdl.web@gmail.com>
1783
1784 * pcmpl-x.el: New file.
1785
1786 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1787
1788 Do not set x-display-name until X connection is established.
1789 This is needed to prevent from weird situation described at
1790 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1791 * frame.el (make-frame): Set x-display-name after call to
1792 window system initialization function, not before.
1793 * term/x-win.el (x-initialize-window-system): Add optional
1794 display argument and use it.
1795 * term/w32-win.el (w32-initialize-window-system):
1796 * term/ns-win.el (ns-initialize-window-system):
1797 * term/pc-win.el (msdos-initialize-window-system):
1798 Add compatible optional display argument.
1799
1800 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1801
1802 * files.el (normal-backup-enable-predicate): On MS-Windows and
1803 MS-DOS compare truenames of temporary-file-directory and of the
1804 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1805 don't fail comparison by compare-strings. Also, compare file
1806 names case-insensitively on MS-Windows and MS-DOS.
1807
1808 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1809
1810 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1811 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1812
1813 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1814
1815 * whitespace.el (whitespace-color-on, whitespace-color-off):
1816 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1817
1818 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1819
1820 * ispell.el (ispell-set-spellchecker-params):
1821 Really set `ispell-args' for all equivs.
1822
1823 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1824
1825 * ido.el (ido-completions): Use extra elements of ido-decorations
1826 (bug#14143).
1827 (ido-decorations): Update docstring.
1828
1829 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1830
1831 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1832 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1833 nil during initialization, in order not to miss changes since the
1834 file was opened. (Bug#14140)
1835
1836 2013-04-05 Leo Liu <sdl.web@gmail.com>
1837
1838 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1839
1840 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1841
1842 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1843
1844 2013-04-04 Glenn Morris <rgm@gnu.org>
1845
1846 * electric.el (electric-pair-inhibit-predicate): Add :version.
1847
1848 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1849
1850 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1851 when a package is required several times (bug#14082).
1852
1853 2013-04-04 Roland Winkler <winkler@gnu.org>
1854
1855 * faces.el (read-face-name): Behave as promised by the docstring.
1856 Assume that arg default is a list of faces.
1857 (describe-face): Call read-face-name with list of default faces.
1858
1859 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1860
1861 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1862 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1863 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1864 the header.
1865 (bookmark-exit-hook-internal): Save even if list is empty.
1866
1867 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1868
1869 * emacs-lisp/package.el (package-pinned-packages): New var.
1870 (package--add-to-archive-contents): Obey it (bug#14118).
1871
1872 2013-04-03 Alan Mackenzie <acm@muc.de>
1873
1874 Handle `parse-partial-sexp' landing inside a comment opener
1875 (Bug#13244). Also adapt to the new values of element 7 of a parse
1876 state.
1877
1878 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1879 parameter `not-in-delimiter'. Handle being inside comment opener.
1880 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1881 character in case we're typing a '*' after a '/'.
1882 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1883 instead by passing the parameter to c-state-pp-to-literal.
1884
1885 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1886 for elt. 7 of a parse state.
1887
1888 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1889
1890 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1891 * international/latin1-disp.el, international/mule-util.el:
1892 * language/cyril-util.el, language/european.el, language/ind-util.el:
1893 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1894 * language/tibetan.el, language/viet-util.el:
1895 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1896
1897 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1900 (electric-pair-post-self-insert-function): Use it.
1901 (electric-pair-default-inhibit): New function, extracted from
1902 electric-pair-post-self-insert-function.
1903
1904 2013-03-31 Roland Winkler <winkler@gnu.org>
1905
1906 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1907
1908 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1909
1910 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1911
1912 2013-03-30 FabiĂ¡n Ezequiel Gallina <fabian@anue.biz>
1913
1914 Un-indent after "pass" and "return" statements (Bug#13888)
1915 * progmodes/python.el (python-indent-block-enders): New var.
1916 (python-indent-calculate-indentation): Use it.
1917
1918 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1919
1920 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1921 defun. Defining it as defalias could introduce too eager
1922 byte-compiler optimization. (Bug#14030)
1923
1924 2013-03-30 Chong Yidong <cyd@gnu.org>
1925
1926 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1927
1928 2013-03-30 Leo Liu <sdl.web@gmail.com>
1929
1930 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1931 (kmacro-execute-from-register): Pass the keyboard macro to
1932 kmacro-call-macro or repeating won't work correctly.
1933
1934 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1935
1936 * progmodes/subword.el: Back to using `forward-symbol'.
1937
1938 * subr.el (forward-whitespace, forward-symbol)
1939 (forward-same-syntax): Move from thingatpt.el.
1940
1941 2013-03-29 Leo Liu <sdl.web@gmail.com>
1942
1943 * kmacro.el (kmacro-to-register): New command.
1944 (kmacro-execute-from-register): New function.
1945 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1946
1947 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1948
1949 * mpc.el: Use defvar-local and setq-local.
1950 (mpc--proc-connect): Connection failures are not bugs.
1951 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1952 (mpc-volume-map): Bind to the up-events.
1953
1954 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1955
1956 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1957 instead of `forward-symbol'.
1958
1959 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1960
1961 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1962 (edebug--recursive-edit): Use it.
1963 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1964 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1965
1966 2013-03-28 Leo Liu <sdl.web@gmail.com>
1967
1968 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1969
1970 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1971
1972 * facemenu.el (list-colors-callback): New defvar.
1973 (list-colors-redisplay): New function.
1974 (list-colors-display): Install list-colors-redisplay as the
1975 revert-buffer-function. (Bug#14063)
1976
1977 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1978
1979 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1980 and suffixes don't overlap (bug#14061).
1981
1982 * case-table.el: Use lexical-binding.
1983 (case-table-get-table): New function.
1984 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1985
1986 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1987
1988 * progmodes/subword.el: Add `superword-mode' to do word motion
1989 over symbol_words (parallels and leverages `subword-mode' which
1990 does word motion inside MixedCaseWords).
1991
1992 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1993
1994 * eshell/em-unix.el: Move su and sudo to...
1995 * eshell/em-tramp.el: ...Eshell tramp module.
1996
1997 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
2000 Change return value to be a sexp. Delay `get-buffer' to after
2001 restoring the desktop (bug#13951).
2002
2003 2013-03-26 Leo Liu <sdl.web@gmail.com>
2004
2005 * register.el: Move semantic tag handling back to
2006 cedet/semantic/senator.el. (Bug#14052)
2007
2008 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2009
2010 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
2011 into the prompt either (bug#13963).
2012
2013 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2014
2015 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
2016 part of "(error-foo)".
2017
2018 2013-03-24 Juri Linkov <juri@jurta.org>
2019
2020 * replace.el (list-matching-lines-prefix-face): New defcustom.
2021 (occur-1): Pass `list-matching-lines-prefix-face' to the function
2022 `occur-engine' if `face-differs-from-default-p' returns t.
2023 (occur-engine): Add `,' inside backquote construct to evaluate
2024 `prefix-face'. Propertize the prefix with the `prefix-face' face.
2025 Pass `prefix-face' to the functions `occur-context-lines' and
2026 `occur-engine-add-prefix'.
2027 (occur-engine-add-prefix, occur-context-lines): Add optional arg
2028 `prefix-face' and propertize the prefix with `prefix-face'.
2029 (Bug#14017)
2030
2031 2013-03-24 Leo Liu <sdl.web@gmail.com>
2032
2033 * nxml/rng-valid.el (rng-validate-while-idle)
2034 (rng-validate-quick-while-idle): Guard against deleted buffer.
2035 (Bug#13999)
2036
2037 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
2038 is the last entry in kill-buffer-hook.
2039
2040 * files.el (kill-buffer-hook): Doc fix.
2041
2042 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
2043
2044 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
2045 Make it safe-local.
2046
2047 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
2048
2049 2013-03-23 Leo Liu <sdl.web@gmail.com>
2050
2051 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
2052 Remove.
2053
2054 * nxml/rng-valid.el (rng-validate-mode)
2055 (rng-after-change-function, rng-do-some-validation):
2056 * nxml/rng-maint.el (rng-validate-buffer):
2057 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
2058 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
2059 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
2060 (nxml-extend-after-change-region): Use with-silent-modifications.
2061
2062 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
2063 timer-idle-list.
2064
2065 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
2066 (rng-next-error-1, rng-previous-error-1): Do not let-bind
2067 timer-idle-list. (Bug#13999)
2068
2069 2013-03-23 Juri Linkov <juri@jurta.org>
2070
2071 * info.el (info-index-match): New face.
2072 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2073 main pattern and add text properties with the new face to matches
2074 in index entries relative to the beginning of the index entry.
2075 (Bug#14015)
2076
2077 2013-03-21 Eric Ludlam <zappo@gnu.org>
2078
2079 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2080 Inhibit read only while inserting objects.
2081
2082 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2083
2084 * progmodes/cfengine.el: Update docs to mention
2085 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2086 symbol motion. Remove "_" from the word syntax.
2087
2088 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2089
2090 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2091 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2092
2093 2013-03-20 Juri Linkov <juri@jurta.org>
2094
2095 * info.el (Info-next-reference-or-link)
2096 (Info-prev-reference-or-link): New functions.
2097 (Info-next-reference, Info-prev-reference): Use them.
2098 (Info-try-follow-nearest-node): Handle footnote navigation.
2099 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2100
2101 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2102
2103 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2104 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2105
2106 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2107
2108 Suppress unnecessary non-ASCII chatter during build process.
2109 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2110 (batch-skkdic-convert): Suppress most of the chatter.
2111 It's not needed so much now that machines are faster,
2112 and its non-ASCII component was confusing; see Dmitry Gutov in
2113 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2114
2115 2013-03-20 Leo Liu <sdl.web@gmail.com>
2116
2117 * ido.el (ido-chop): Fix bug#10994.
2118
2119 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2120
2121 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2122 Remove vars.
2123 (whitespace-color-on, whitespace-color-off):
2124 Use `font-lock-fontify-buffer' (Bug#13817).
2125
2126 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2127
2128 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2129 remapping in mode-line.
2130 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2131
2132 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2133
2134 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2135 value for `whitespace-line' face (Bug#13875).
2136 (whitespace-font-lock-keywords): Change description.
2137 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2138 the constructed keywords instead.
2139 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2140
2141 2013-03-19 Leo Liu <sdl.web@gmail.com>
2142
2143 * progmodes/compile.el (compilation-display-error): New command.
2144 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2145 C-o. (Bug#13992)
2146
2147 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2148
2149 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2150
2151 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2152
2153 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2154
2155 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2156
2157 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2158
2159 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2160 * net/tramp-gvfs.el (top):
2161 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2162 (tramp-handle-shell-command): Use it.
2163 (tramp-dissect-file-name): Raise an error when hostname is a
2164 method name, and neither method nor user is specified.
2165
2166 * net/trampver.el: Update release number.
2167
2168 2013-03-18 Leo Liu <sdl.web@gmail.com>
2169
2170 Make sure eldoc can be turned off properly.
2171 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2172 eldoc-mode.
2173 (eldoc-display-message-p): Revert last change.
2174 (eldoc-display-message-no-interference-p)
2175 (eldoc-print-current-symbol-info): Tweak.
2176
2177 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2178
2179 * doc-view.el (doc-view-new-window-function): Check the new window
2180 overlay's display property instead the char property of the
2181 buffer's first char. Use `with-selected-window' instead of
2182 `save-window-excursion' with `select-window'.
2183 (doc-view-document->bitmap): Check the current doc-view overlay's
2184 display property instead the char property of the buffer's first char.
2185
2186 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2187
2188 Automate the build of ja-dic.el (Bug#13984).
2189 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2190 from the input, rather than assume that it's been done for us by the
2191 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2192 the current date into a ja-dic.el comment, as that complicates
2193 regression testing.
2194
2195 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2196
2197 * whitespace.el: Fix double evaluation.
2198 (whitespace-space, whitespace-hspace, whitespace-tab)
2199 (whitespace-newline, whitespace-trailing, whitespace-line)
2200 (whitespace-space-before-tab, whitespace-indentation)
2201 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2202 obsolete defvars.
2203 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2204 (whitespace-color-on): Use a single font-lock-add-keywords call.
2205 Fix double-evaluation of face variables.
2206
2207 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2208
2209 * net/tramp-adb.el (tramp-adb-parse-device-names):
2210 Use `start-process' instead of `call-process'. Otherwise, the
2211 function might be blocked under MS Windows. (Bug#13299)
2212
2213 2013-03-17 Leo Liu <sdl.web@gmail.com>
2214
2215 Extend eldoc to display info in the mode-line. (Bug#13978)
2216 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2217 (eldoc-mode-line-string): New variable.
2218 (eldoc-minibuffer-message): New function.
2219 (eldoc-message-function): New variable.
2220 (eldoc-message): Use it.
2221 (eldoc-display-message-p)
2222 (eldoc-display-message-no-interference-p):
2223 Support eldoc-post-insert-mode.
2224
2225 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2226 (eval-expression): Run it.
2227
2228 2013-03-17 Roland Winkler <winkler@gnu.org>
2229
2230 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2231 strings in the list of return values.
2232
2233 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2234
2235 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2236 radix before checking for HMS forms.
2237
2238 2013-03-16 Leo Liu <sdl.web@gmail.com>
2239
2240 * progmodes/scheme.el: Add indentation and font-locking for λ.
2241 (Bug#13975)
2242
2243 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2244
2245 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2246 token before point (bug#13942).
2247
2248 2013-03-16 Leo Liu <sdl.web@gmail.com>
2249
2250 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2251
2252 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2253
2254 * startup.el (command-line-normalize-file-name): Fix handling of
2255 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2256 <xfq.free@gmail.com> in
2257 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2258
2259 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2260
2261 Sync with Tramp 2.2.7.
2262
2263 * net/trampver.el: Update release number.
2264
2265 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2266
2267 * doc-view.el Fix bug#13887.
2268 (doc-view-insert-image): Don't modify overlay associated to
2269 non-live windows, and implement horizontal centering of image in
2270 case it's smaller than the window.
2271 (doc-view-new-window-function): Force redisplay of new windows on
2272 doc-view buffers.
2273
2274 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2275
2276 * saveplace.el (save-place-alist-to-file): Don't sort
2277 `save-place-alist', just pretty-print it (bug#13882).
2278
2279 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2280
2281 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2282 whether `default-file-name-coding-system' is bound. It isn't in
2283 XEmacs.
2284
2285 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2288 backquotes for `obsolete' (bug#13929).
2289
2290 * international/mule.el (find-auto-coding): Include file name in
2291 obsolescence warning (bug#13922).
2292
2293 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2294
2295 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2296 for CFEngine 3-specific indentation.
2297 (cfengine3-indent-line): Use it. Fix up category regex.
2298 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2299
2300 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * type-break.el (type-break-file-name):
2303 * textmodes/remember.el (remember-data-file):
2304 * strokes.el (strokes-file):
2305 * shadowfile.el (shadow-initialize):
2306 * saveplace.el (save-place-file):
2307 * ps-bdf.el (bdf-cache-file):
2308 * progmodes/idlwave.el (idlwave-config-directory):
2309 * net/quickurl.el (quickurl-url-file):
2310 * international/kkc.el (kkc-init-file-name):
2311 * ido.el (ido-save-directory-list-file):
2312 * emulation/viper.el (viper-custom-file-name):
2313 * emulation/vip.el (vip-startup-file):
2314 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2315 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2316
2317 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2318
2319 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2320 * language/thai-word.el: Switch to UTF-8.
2321
2322 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2323
2324 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2325
2326 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2327
2328 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2329 Use with-current-buffer and don't move point.
2330 (net-utils-run-simple): Remove useless code.
2331 (net-utils-remove-ctl-m): Remove unused custom.
2332
2333 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2334
2335 * international/characters.el (glyphless-set-char-table-range): New fun.
2336 (update-glyphless-char-display): Use it (bug#13744).
2337
2338 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2339
2340 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2341 namespaces in the syntax, indent closer for hanging brace
2342 correctly, allow single-quote delimited 'strings', and make
2343 `cfengine3-mode' the default.
2344
2345 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2346
2347 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2348 Use lexical-binding. Fix up docstring according to conventions.
2349 (gdbmi-debug-mode): New var.
2350 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2351 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2352 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2353 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2354 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2355 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2356 (gdbmi-bnf-incomplete-record-result): New functions.
2357 (gdb-car<): Remove function.
2358 (gdbmi-record-list): Remove variable.
2359 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2360 (gdbmi-bnf-result-state-configs): New const.
2361 (gud-gdbmi-marker-filter): Rewrite.
2362 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2363 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2364 Add `token' argument.
2365 (gdb-done, gdb-error): New functions.
2366 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2367
2368 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2369
2370 * term/xterm.el (xterm--report-background-handler): Don't burp
2371 upon timeout.
2372 (xterm--version-handler): Extract from terminal-init-xterm.
2373 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2374 Allow multiple handlers.
2375 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2376
2377 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2378 (xterm--report-background-handler, xterm--query): New functions.
2379 (terminal-init-xterm): Use them.
2380
2381 2013-03-11 Michael R. Mauger <michael@mauger.com>
2382
2383 * progmodes/sql.el Version 3.2
2384 Please note that my address changed to <michael@mauger.com>;
2385 the <mmaug@yahoo.com> address remains active.
2386 (sql-connection-alist): Updates documentation to fix bug#13715.
2387 (sql-connect): Handle missing `sql-connection-alist' correctly.
2388 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2389 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2390 property.
2391 (sql-default-value): New function.
2392 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2393 values were not used.
2394 (sql-rename-buffer): Make sure alternate buffer name has no text
2395 properties.
2396 (sql-input-sender, sql-execute-feature): Fetch variable with
2397 `buffer-local-value' rather than `with-current-buffer'.
2398 (sql-*): Use #' function syntax consistently.
2399 (sql-*): Use message/error/user-error consistently.
2400
2401 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2402
2403 * xt-mouse.el (xterm-mouse-event-read): Remove.
2404 (xterm-mouse--read-event-sequence-1000)
2405 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2406
2407 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2408
2409 * term/xterm.el (xterm-function-map): Support format used with
2410 formatOtherKeys=1 (bug#13839).
2411
2412 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2413 (with-no-warnings): Use `declare'.
2414
2415 * whitespace.el (whitespace-enable-predicate): New variable.
2416 (whitespace-enable-predicate): Use it.
2417
2418 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2419 (comint-output-filter, comint-update-fence):
2420 Use with-silent-modifications.
2421
2422 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2423
2424 * replace.el (occur-read-regexp-defaults-function): New var.
2425 (occur-read-regexp-defaults): New defun.
2426 (occur-read-primary-args): Propagate above change (bug#13892).
2427
2428 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2431
2432 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2433
2434 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2435
2436 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2437 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2438 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2439 New defconst.
2440 (tramp-gvfs-file-name-handler-alist) [directory-files]
2441 [directory-files-and-attributes, file-exists-p, file-modes]:
2442 Use Tramp default handler.
2443 [file-acl, file-selinux-context, process-file, set-file-acl]:
2444 [set-file-modes, set-file-selinux-context, shell-command]:
2445 [start-file-process]: Remove handler.
2446 [verify-visited-file-modtime]: New handler.
2447 (tramp-gvfs-dbus-string-to-byte-array)
2448 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2449 calls of `dbus-string-to-byte-array' and
2450 `tramp-gvfs-dbus-byte-array-to-string'.
2451 (tramp-gvfs-handle-copy-file)
2452 (tramp-gvfs-handle-delete-directory)
2453 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2454 (tramp-gvfs-handle-file-directory-p)
2455 (tramp-gvfs-handle-file-executable-p)
2456 (tramp-gvfs-handle-file-name-all-completions)
2457 (tramp-gvfs-handle-file-readable-p)
2458 (tramp-gvfs-handle-file-writable-p)
2459 (tramp-gvfs-handle-insert-directory)
2460 (tramp-gvfs-handle-insert-file-contents)
2461 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2462 (tramp-gvfs-handle-set-visited-file-modtime)
2463 (tramp-gvfs-handle-write-region): Rewrite.
2464 (tramp-gvfs-handle-file-acl)
2465 (tramp-gvfs-handle-file-selinux-context)
2466 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2467 (tramp-gvfs-handle-set-file-modes)
2468 (tramp-gvfs-handle-set-file-selinux-context)
2469 (tramp-gvfs-handle-shell-command)
2470 (tramp-gvfs-handle-start-file-process)
2471 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2472 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2473 over the symlinks. Fix user handling.
2474 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2475 of the D-Bus signals.
2476 (tramp-gvfs-connection-mounted-p): Handle different names of the
2477 D-Bus methods.
2478 (tramp-gvfs-mount-spec-entry): New defun.
2479 (tramp-gvfs-mount-spec): Use it.
2480 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2481 there is a share name. Handle different names of the D-Bus
2482 signals and methods. Set connection properties needed for
2483 `tramp-check-cached-permissions'.
2484 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2485 Return t or nil.
2486
2487 * net/tramp.el (tramp-backtrace): Move up.
2488 (tramp-error): Dump a backtrace into the debug buffer when
2489 `tramp-verbose > 9.
2490 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2491 (tramp-file-mode-permissions, tramp-get-local-uid)
2492 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2493 tramp-sh.el.
2494
2495 * net/tramp-sh.el (tramp-file-mode-type-map)
2496 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2497 (tramp-file-mode-permissions, tramp-get-local-uid)
2498 (tramp-get-local-gid): Move to tramp.el.
2499
2500 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2501
2502 Separate mouse-1-click-follows-link from mouse-drag-region.
2503 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2504 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2505 (mouse-drag-line, mouse-drag-track):
2506 Remove mouse-1-click-follows-link code.
2507 (mouse--remap-link-click-p): Remove.
2508
2509 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2510
2511 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2512 (hi-lock-read-regexp-defaults): New defun.
2513 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2514 (hi-lock-face-phrase-buffer): Propagate above change.
2515 Update docstring (bug#13892).
2516
2517 * subr.el (find-tag-default-as-regexp): New defun.
2518 * replace.el (read-regexp): Propagate above change.
2519
2520 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2521
2522 * calc/calc-units.el (calc-convert-units): Fix the way that default
2523 new units are stored.
2524
2525 2013-03-07 Matthias Meulien <orontee@gmail.com>
2526
2527 * bookmark.el: Define a face to highlight bookmark names in
2528 bookmark menu buffers, where the default is a bold face similarly
2529 to buffer names in buffer menu buffers.
2530 (bookmark-menu-bookmark): New face to highlight bookmark names.
2531 (bookmark-insert-location): Remove duplicated text property to
2532 conform to buffer list (see `list-buffers').
2533 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2534 `bookmark-menu-bookmark' to bookmark names.
2535
2536 2013-03-07 Matthias Meulien <orontee@gmail.com>
2537 Karl Fogel <kfogel@red-bean.com>
2538
2539 * bookmark.el: Display the bookmark list header similarly to the
2540 buffer list header (see `list-buffers'), where the default is now
2541 an immovable/immutable header line.
2542 (bookmark-bmenu-use-header-line): New variable.
2543 (bookmark-bmenu-inline-header-height): New name for
2544 `bookmark-bmenu-header-height', to avoid confusion with the code
2545 for the new immovable header. All references changed.
2546 (bookmark-bmenu-set-header): New function.
2547 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2548 Conditionalize header construction accordingly.
2549 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2550 the inline header height.
2551 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2552 Conditionalize the skipping of the inline header height.
2553
2554 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2555
2556 * progmodes/js.el (js--multi-line-declaration-indentation):
2557 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2558
2559 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2560
2561 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2562 Only propertize regexp when not inside a string (Bug#13885).
2563
2564 2013-03-06 Alan Mackenzie <acm@muc.de>
2565
2566 Correct the position of point in some line-up functions.
2567 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2568 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2569 point at column 0 rather than at a random place in the line.
2570
2571 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2572
2573 * net/tramp-compat.el (tramp-compat-delete-directory):
2574 Implement TRASH argument.
2575
2576 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2577
2578 Keep pre-existing highlighting in completion candidates (Bug#13250).
2579 * minibuffer.el (completions-first-difference): State that the
2580 face is "added" in the docstring.
2581 (completions-common-part): Same. And don't inherit from default.
2582 (completion-hilit-commonality): Prepend 'completions-common-part
2583 and 'completion-first-difference faces to the 'face property,
2584 instead of replacing the value(s).
2585 (completion--insert-strings): Same with 'completions-annotations face.
2586 (completion-hilit-commonality): Use 'face instead of
2587 'font-lock-face, because it gets priority if the completion
2588 strings already have 'face set.
2589
2590 2013-03-04 Alan Mackenzie <acm@muc.de>
2591
2592 Replace `last-command-event' by `last-command-char' in XEmacs.
2593 * progmodes/cc-defs.el (c-last-command-char): New macro.
2594 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2595 (c-semi&comma-no-newlines-before-nonblanks)
2596 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2597 in place of `last-command-event'.
2598 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2599 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2600 (c-electric-paren, c-electric-continued-statement): Use the new
2601 macro in place of `last-command-event'.
2602
2603 2013-03-04 Glenn Morris <rgm@gnu.org>
2604
2605 * files.el (inhibit-local-variables-regexps):
2606 Add .diff and .patch. (Bug#13862)
2607
2608 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2609
2610 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2611 whether the "su" command is available on the device.
2612
2613 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2614
2615 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2616 (tramp-adb-handle-process-file): Remove superfluous setting.
2617 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2618 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2619 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2620
2621 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2624 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2625 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2626 Use dict-key rather than dict-name for the error message.
2627
2628 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2629
2630 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2631 when reverting (bug#13831).
2632
2633 2013-03-01 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2634
2635 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2636 Always expand affix-file before storing to protect against changed
2637 `default-directory'.
2638 (ispell-print-if-debug): Make sure message is printed at the end
2639 of the debug buffer.
2640
2641 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2642
2643 * net/tramp.el (tramp-obsolete-methods): New defconst.
2644 (tramp-warned-obsolete-methods): New defvar.
2645 (tramp-find-method): Check for obsolete methods. Map them to a
2646 replacement method if appropriate.
2647
2648 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2649 Remove methods.
2650 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2651 "ssh2" and "plink1".
2652
2653 2013-02-28 Dale Sedivec <dale@codefu.org>
2654
2655 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2656 Return valid syntax-table property value when converting
2657 quotes within text from string syntax to punctuation syntax (bug#13844).
2658
2659 2013-02-28 Juri Linkov <juri@jurta.org>
2660
2661 * dired-aux.el (dired-diff): If file at point is a backup file,
2662 use its original as the default value, and reverse the order
2663 of arguments to the `diff' call. Doc fix. (Bug#13772)
2664
2665 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2666
2667 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2668 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2669
2670 2013-02-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
2671
2672 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2673
2674 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2675 Ask hunspell about available and default dictionaries.
2676 (ispell-parse-hunspell-affix-file): Extract relevant info from
2677 hunspell affix file.
2678 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2679 `ispell-dictionary-alist' entry for given dictionary after info
2680 provided by `ispell-parse-hunspell-affix-file'.
2681 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2682 of parsed hunspell dicts and associated affix files.
2683 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2684 of parsed hunspell dicts and associated parameters.
2685 (ispell-set-spellchecker-params):
2686 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2687 previously done.
2688 (ispell-start-process):
2689 Call `ispell-hunspell-fill-dictionary-entry' for current
2690 dictionary if it is not initialized.
2691
2692 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2693
2694 * imenu.el: Comment nitpicks.
2695
2696 2013-02-28 Sam Steingold <sds@gnu.org>
2697
2698 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2699 See <http://stackoverflow.com/questions/14720205>.
2700
2701 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2702
2703 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2704 (net-utils-mode): Use it.
2705 (net-utils--revert-cmd): New var.
2706 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2707 (traceroute): Use net-utils-run-simple.
2708
2709 2013-02-28 Glenn Morris <rgm@gnu.org>
2710
2711 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2712
2713 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2716 (doc-view-fallback-mode): Remove overlays here.
2717 (doc-view-toggle-display): Instead of here. Don't throw away
2718 image-mode-winprops-alist.
2719 (doc-view-goto-page): Don't mess with hscroll.
2720
2721 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2722
2723 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2724 &optional (bug#13819).
2725
2726 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2727
2728 * net/tramp-adb.el (tramp-adb-parse-device-names)
2729 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2730
2731 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2732
2733 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2734 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2735 defined. POSIX environments fall back to the "C" locale then and
2736 emit a warning, which shall be suppressed.
2737
2738 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2739
2740 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2741 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2742
2743 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2746
2747 2013-02-25 Juri Linkov <juri@jurta.org>
2748
2749 * replace.el (read-regexp): Let-bind `default' to the first
2750 element of `defaults' if it's a list, otherwise it should be
2751 a string or nil. Let-bind `suggestions' to `defaults' if it's
2752 a list, otherwise make a list with the string value. Doc fix.
2753 (Bug#13805)
2754
2755 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2756
2757 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2758 that match "\`\.#", to avoid compiling lock files, even if they
2759 are readable (as they are on MS-Windows).
2760
2761 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * files.el (basic-save-buffer): Remove redundant directory-creation.
2764
2765 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2766
2767 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2768 Add option to force `pi' to remain symbolic.
2769 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2770 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2771 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2772 derivatives, when necessary.
2773
2774 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2775
2776 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2777 (ps-mode-octal-region): Use string-make-unibyte.
2778
2779 2013-02-23 Glenn Morris <rgm@gnu.org>
2780
2781 * emulation/viper-cmd.el (viper-submit-report):
2782 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2783 * progmodes/vera-mode.el (vera-mode-help-address):
2784 * textmodes/artist.el (artist-maintainer-address):
2785 * textmodes/reftex.el (reftex-report-bug):
2786 * vc/ediff-util.el (ediff-submit-report):
2787 Add bug-gnu-emacs to bug report address.
2788
2789 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2790 Remove bug report entries.
2791 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2792
2793 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2794 (byte-compile-file, byte-compile-from-buffer):
2795 Use separate input/output buffers for each level of recursive
2796 byte-compile-file calls. (Bug#13787)
2797
2798 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2799
2800 * net/tramp.el (tramp-methods): Fix docstring.
2801 (tramp-ssh-controlmaster-options): Rename it from
2802 `tramp-ssh-controlmaster-template'. Return a string.
2803 (tramp-default-method): Adapt check for
2804 `tramp-ssh-controlmaster-options'.
2805
2806 * net/tramp-sh.el (tramp-methods):
2807 Replace `tramp-ssh-controlmaster-template' by "%c".
2808 (tramp-do-copy-or-rename-file-out-of-band)
2809 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2810 that it is applied for the first hop only.
2811
2812 2013-02-22 Juri Linkov <juri@jurta.org>
2813
2814 * isearch.el (isearch-lazy-highlight-new-loop):
2815 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2816 to `isearch-other-end' if it is not nil. (Bug#13402)
2817
2818 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2819 to `match-beg'.
2820
2821 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2822 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2823 and `isearch-error' to nil.
2824
2825 2013-03-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2826
2827 * progmodes/python.el (python-info-current-defun):
2828 Enhance match-data cluttering prevention.
2829
2830 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2831
2832 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2833
2834 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2835 Handle multibyte file names.
2836
2837 2013-02-22 Glenn Morris <rgm@gnu.org>
2838
2839 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2840 (sgml-transformation-function): Give it a :set function.
2841 (sgml-tag): Doc fix.
2842
2843 * cmuscheme.el (scheme-buffer):
2844 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2845 * progmodes/tcl.el (inferior-tcl-buffer):
2846 * textmodes/tex-mode.el (tex-command): Doc fixes.
2847
2848 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2849
2850 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2851
2852 2013-02-21 Bastien Guerry <bzg@gnu.org>
2853
2854 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2855
2856 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2857
2858 * progmodes/python.el (python-info-current-defun):
2859 Enhance match-data cluttering prevention.
2860
2861 2013-02-21 Glenn Morris <rgm@gnu.org>
2862
2863 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2864 loaded while outline-regexp is let bound. (Bug#9584)
2865
2866 2013-02-21 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2867
2868 * progmodes/python.el (python-info-current-defun): Fix failed
2869 defun name retrieval because of unwanted match-data cluttering.
2870
2871 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2872
2873 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2874 defconst. Apply independent check for ControlPersist.
2875
2876 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2877 temporarily, via "env".
2878
2879 2013-02-21 Glenn Morris <rgm@gnu.org>
2880
2881 * info.el (Info-enable-edit): Remove.
2882 (Info-edit): Disable it rather than using Info-enable.
2883 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2884 (Info-cease-edit): Make editing of Info files obsolete.
2885
2886 * informat.el (Info-tagify):
2887 Handle buffers not visiting files. (Bug#13763)
2888
2889 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2890
2891 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2892
2893 2013-02-21 Glenn Morris <rgm@gnu.org>
2894
2895 * files.el (basic-save-buffer): Move check for existing parent
2896 directory after hooks. (Bug#13773)
2897
2898 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * simple.el (command-execute): Move from C. Add obsolete check.
2901 (extended-command-history): Move from C.
2902
2903 2013-02-20 Ulrich MĂ¼ller <ulm@gentoo.org>
2904
2905 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2906 (jka-compr-mode-alist-additions): Handle .txz suffix for
2907 XZ-compressed tar archives (bug#13770).
2908
2909 2013-02-20 Bastien Guerry <bzg@gnu.org>
2910
2911 * outline.el (outline-regexp, outline-heading-end-regexp):
2912 Make variables, not options (bug#13731).
2913
2914 2013-02-20 Glenn Morris <rgm@gnu.org>
2915
2916 * image.el (image-current-frame): Change from variable to function.
2917 (image-show-frame): Rename from image-nth-frame. Update callers.
2918 * image-mode.el (image-multi-frame): New variable.
2919 (image-mode-map, image-mode, image-goto-frame):
2920 Use image-multi-frame rather than image-current-frame.
2921 (image-mode, image-goto-frame): Use image-current-frame as
2922 function rather than as variable.
2923
2924 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2925 * emacs-lisp/cl-macs.el (cl--make-type-test)
2926 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2927
2928 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2929
2930 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2931 (tramp-get-file-property, tramp-set-file-property)
2932 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2933 (tramp-flush-file-property, tramp-flush-directory-property):
2934 Rename argument to KEY.
2935 (tramp-flush-connection-property): Simplify a little bit.
2936 (tramp-connection-property-p): New defun.
2937 (top): Reapply saved values only if there isn't a corresponding
2938 entry in `tramp-connection-properties'.
2939
2940 2013-02-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
2941
2942 * progmodes/python.el (python-indent-context):
2943 Fix python-info-line-ends-backslash-p call.
2944 (python-info-line-ends-backslash-p)
2945 (python-info-beginning-of-backslash): Respect line-number argument.
2946 (python-info-current-line-comment-p):
2947 Fix behavior when not at beginning-of-line.
2948 (python-util-position): Remove function.
2949 (python-util-goto-line): New function.
2950
2951 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2952
2953 * eshell/em-unix.el (eshell/su): Require tramp.
2954 (eshell/sudo): Require tramp. Remove now unnecessary check.
2955
2956 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2957 `tramp-current-connection' in order to avoid an error when several
2958 commands are invoked in a short time in eshell and friends.
2959
2960 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 Cleanup some of EIEIO's namespace.
2963 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2964 Use it to define all the class-* and object-* field accessors (renamed
2965 to eieio--class-* and eieio--object-*). Update all uses.
2966 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2967 class-num-slots and object-num-slots.
2968 (eieio--check-type): New macro.
2969 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2970 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2971 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2972 (object-assoc-list-safe): Use it.
2973 (eieio-defclass): Tighten regexp.
2974 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2975 Remove unreachable code.
2976 (object-class-fast): Declare obsolete.
2977 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2978 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2979 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2980 Rename from class-name, object-name, object-set-name-string,
2981 object-class, object-class-name, class-parents, class-children,
2982 class-precedence-list, class-parent; with obsolete alias.
2983 (class-of, class-direct-superclasses, class-direct-subclasses):
2984 Declare obsolete.
2985 (eieio-defmethod): Use `memq'; remove unreachable code.
2986 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2987 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2988 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2989
2990 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2991
2992 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2993 commentary.
2994
2995 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2996
2997 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2998 Use font-lock-keyword-face for macros and special forms (bug#8345).
2999
3000 2013-02-17 Didier Verna <didier@didierverna.net>
3001
3002 * net/network-stream.el (network-stream-open-starttls):
3003 Check that response to the starttls-command is non-nil. (Bug#13706)
3004
3005 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3006
3007 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
3008 Don't assume all identifier chars have syntax word.
3009 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3010 Remove bar-not-symbol. Adjust callers.
3011 (lisp-mode-variables): Don't set a font-lock-syntax-table.
3012
3013 2013-02-17 Leo Liu <sdl.web@gmail.com>
3014
3015 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
3016
3017 2013-02-17 Glenn Morris <rgm@gnu.org>
3018
3019 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
3020
3021 * image-mode.el (image-mode-map): Add image-dired menu entry.
3022
3023 * image-dired.el (tumme): Make this alias obsolete.
3024
3025 2013-02-16 Glenn Morris <rgm@gnu.org>
3026
3027 * image.el (image-animated-types): Remove.
3028 (image-multi-frame-p): Rename from image-animated-p, and generalize.
3029 (image-animated-p): Make obsolete alias.
3030 (image-animate, image-nth-frame, image-animate-timeout):
3031 Use image-multi-frame-p.
3032 (image-animate-timeout): If no delay, use image-default-frame-delay.
3033 * image-mode.el (image-mode, image-toggle-animation):
3034 Use image-multi-frame-p. (Bug#763, bug#10739)
3035 (image-mode): Adjust startup message for a multi-frame image.
3036
3037 * image-mode.el (image-mode-map): Give it a menu.
3038
3039 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
3040
3041 * net/tramp-cache.el (tramp-connection-properties): New customer
3042 option.
3043 (tramp-get-connection-property): Use it.
3044
3045 * net/tramp-compat.el (top): Require 'trampver.
3046
3047 * net/tramp-sh.el (tramp-remote-process-environment):
3048 Set tramp-autoload cookie.
3049
3050 2013-02-16 Kevin Ryde <user42@zip.com.au>
3051
3052 * info-look.el (info-lookup-select-mode): If major-mode has no
3053 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
3054
3055 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
3056
3057 * replace.el (read-regexp): Tighten the regexp that matches tag.
3058 When tag is retrieved with `find-tag-default', use regexp that
3059 matches tag at point. Also update docstring (Bug#13687).
3060
3061 2013-02-16 Eli Zaretskii <eliz@gnu.org>
3062
3063 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
3064 add watch for the file, not its parent directory, since w32notify
3065 sets up the watch for the directory internally. (Bug#13725)
3066
3067 2013-02-16 Glenn Morris <rgm@gnu.org>
3068
3069 * image.el (image-default-frame-delay): New variable.
3070 (image-animated-p): Use image-default-frame-delay.
3071 (image-minimum-frame-delay): New constant.
3072 (image-animate-timeout): Use image-minimum-frame-delay.
3073
3074 * image.el (image-nth-frame): New, split from image-animate-timeout.
3075 (image-animate-timeout): Use image-nth-frame.
3076 * image-mode.el (image-goto-frame, image-next-frame)
3077 (image-previous-frame): New commands.
3078 (image-mode-map): Add new frame commands.
3079
3080 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3081
3082 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3083 If col-desc already has help-echo, use it. (Bug#13563)
3084
3085 2013-02-16 Glenn Morris <rgm@gnu.org>
3086
3087 * image.el (image-current-frame): New variable.
3088 (image-animate-timeout): Set image-current-frame.
3089 * image-mode.el (image-mode): For animated images,
3090 display a frame counter via mode-line-process.
3091
3092 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3093
3094 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3095
3096 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3097
3098 2013-02-15 Alan Mackenzie <acm@muc.de>
3099
3100 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3101 global minor mode has been enabled, call the minor mode function
3102 for a new buffer once only, after the major mode hook, whilst
3103 allowing that hook explicitly to disable the minor mode.
3104 (MODE-disable-in-buffer): New (generated) function.
3105 (disable-MODE): New (generated) buffer local variable.
3106
3107 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3108
3109 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3110 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3111 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3112 `ido-next-match' and `ido-prev-match' resply.
3113 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3114 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3115 `icomplete-backward-completions' (Bug#13708).
3116
3117 2013-02-15 Glenn Morris <rgm@gnu.org>
3118
3119 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3120
3121 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3122
3123 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3124 (goto-address-fontify-region): Use them instead of narrowing, so
3125 syntax-ppss has access to the whole buffer.
3126
3127 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3128
3129 * progmodes/python.el: Explain how to restore "cc-mode"-like
3130 forward-sexp movement in header documentation (Bug#13642).
3131 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3132 comments and strings (GH bug 114).
3133
3134 2013-02-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3135
3136 * progmodes/python.el (python-info-current-defun): Fix current
3137 defun detection (Bug#13618).
3138
3139 2013-02-15 Chong Yidong <cyd@gnu.org>
3140
3141 * xml.el (xml-parse-string): Fix typo in handling of bad character
3142 references.
3143
3144 2013-02-15 Glenn Morris <rgm@gnu.org>
3145
3146 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3147
3148 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3149
3150 * net/tramp.el (tramp-debug-message):
3151 Add `tramp-condition-case-unless-debug'.
3152 (tramp-debug-on-error): New defvar.
3153 (tramp-condition-case-unless-debug): New defun.
3154 (tramp-file-name-handler): Use it.
3155
3156 2013-02-14 Juri Linkov <juri@jurta.org>
3157
3158 * info.el (Info-isearch-filter): Treat non-nil values of
3159 `search-invisible' including its default value `open'
3160 like the value `t' to match hidden text. (Bug#13402)
3161
3162 2013-02-14 Glenn Morris <rgm@gnu.org>
3163
3164 * help-fns.el (find-lisp-object-file-name): Give special treatment
3165 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3166
3167 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3168
3169 * net/quickurl.el (quickurl-save-urls):
3170 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3171
3172 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3173
3174 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3175 depth for unfinished percent literal. Not using it in the caller.
3176 (ruby-move-to-block): Jump over multiline literals of all types,
3177 ignoring code-looking contents inside them.
3178 (ruby-add-log-current-method): Improve performance at the expense
3179 of accuracy. `ruby-block-contains-point' is relatively slow, so
3180 only use it for method and singleton class blocks.
3181
3182 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3183
3184 Use ControlMaster where applicable. (Bug#13677)
3185
3186 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3187 replacing `tramp-detect-ssh-controlmaster'.
3188 (tramp-default-method): Use it.
3189
3190 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3191 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3192 arguments.
3193 [scpc, rsyncc]: Remove methods.
3194 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3195 and "ssh2_old".
3196 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3197 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3198
3199 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * emacs-lisp/package.el (package--initialized): Move before first use.
3202
3203 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3204
3205 * icomplete.el (icomplete-hide-common-prefix): New user option.
3206 (icomplete-first-match): New face.
3207 (icomplete-completions): Correct handling of "complete but not
3208 unique" (Bug#12638).
3209
3210 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3211
3212 * descr-text.el (describe-char): Display the script (bug#13698).
3213
3214 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3215
3216 * tmm.el: Use lexical-binding and current-active-maps.
3217 (tmm-menubar): Use map-keymap and pcase.
3218 (tmm--completion-table): New function.
3219 (tmm-prompt): Use it to fix the menu order.
3220 (tmm-get-keybind): Use current-active-maps.
3221
3222 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3223
3224 Add dired-hide-details-mode. (Bug#6799)
3225
3226 * locate.el (locate-mode): Set parent mode property to dired-mode.
3227
3228 * find-dired.el (find-dired): Call dired-insert-set-properties on
3229 initial information line. Set process mark on end of buffer.
3230 (find-dired-sentinel):
3231 Call dired-insert-set-properties on summary.
3232
3233 * dired.el (dired-hide-details-hide-symlink-targets)
3234 (dired-hide-details-hide-information-lines): New options.
3235 (dired-insert-directory):
3236 Set properties after final treatment of output.
3237 (dired-insert-set-properties):
3238 Set dired-hide-details-* properties.
3239 (dired-mode-map): Bind dired-hide-details-mode.
3240 (dired-mode): Set buffer-invisibility-spec to a list.
3241 (dired-next-line): Skip hidden lines.
3242 (dired-previous-line): Use dired-next-line.
3243 (dired-hide-details-mode): New minor mode.
3244 (dired-hide-details-update-invisibility-spec): New function.
3245
3246 2013-02-13 Glenn Morris <rgm@gnu.org>
3247
3248 * play/yow.el: Move to obsolete/. (Bug#9384)
3249
3250 2013-02-13 Juri Linkov <juri@jurta.org>
3251
3252 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3253 to select `ediff-control-frame' and set input focus correctly on Xfce.
3254 (Bug#12218)
3255
3256 2013-02-13 Juri Linkov <juri@jurta.org>
3257
3258 * image-mode.el (image-mode-map):
3259 * doc-view.el (doc-view-mode-map):
3260 * vc/ediff-util.el (ediff-setup-keymap):
3261 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3262
3263 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3264
3265 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3266 performance. Instead of recalculating indentation fully for each
3267 line, sum up indentation depth based only on visited lines.
3268 (ruby-parse-partial): Increase the depth after "do" even when END
3269 is right after it.
3270 (ruby-parse-partial): When END is in the middle of a percent
3271 literal, increase the depth if the delimiter chars belong to the
3272 paren syntax class.
3273
3274 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3275
3276 * play/fortune.el (fortune-compile): Also make the compiled file
3277 if it does not exist at all, not just if it is old. (Bug#5338)
3278
3279 2013-02-13 Glenn Morris <rgm@gnu.org>
3280
3281 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3282
3283 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3284
3285 * lisp/emacs-lisp/package.el (package-menu-execute):
3286 Add optional noquery argument. (Bug#13625)
3287
3288 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3289
3290 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3291 if DIR exists and PARENTS is non-nil.
3292
3293 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3294
3295 * progmodes/js.el (js--multi-line-declaration-indentation):
3296 Silence byte-compiler warning.
3297
3298 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3299
3300 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3301
3302 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3303 only if it doesn't exist.
3304
3305 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3306 Set process marker.
3307
3308 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3309
3310 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3311 UserInstallation when calling soffice to work around LibreOffice
3312 bug 37531.
3313
3314 2013-02-12 Glenn Morris <rgm@gnu.org>
3315
3316 * files.el (basic-save-buffer):
3317 Offer to create a non-existing directory. (Bug#3016)
3318
3319 * calc/calc-graph.el (calc-graph-show-dumb):
3320 * calendar/calendar.el (calendar-mode-map):
3321 * cus-edit.el (custom-mode-map):
3322 * ehelp.el (electric-help-map):
3323 * emulation/vip.el (vip-mode-map):
3324 * epa.el (epa-key-list-mode-map):
3325 * info.el (Info-mode-map):
3326 * mail/rmail.el (rmail-mode-map):
3327 * mail/rmailsum.el (rmail-summary-mode-map):
3328 * man.el (Man-mode-map):
3329 * net/newst-plainview.el (newsticker-mode-map):
3330 * progmodes/cpp.el (cpp-edit-mode-map):
3331 * progmodes/grep.el (grep-mode-map):
3332 * progmodes/idlw-help.el (idlwave-help-mode-map):
3333 * simple.el (special-mode-map):
3334 * startup.el (splash-screen-keymap):
3335 * view.el (view-mode-map):
3336 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3337
3338 2013-02-11 Elias Pipping <pipping@lavabit.com>
3339
3340 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3341 (bug#13679).
3342
3343 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3344
3345 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3346
3347 2013-02-11 Glenn Morris <rgm@gnu.org>
3348
3349 * vc/diff.el (diff-use-labels): New variable.
3350 (diff-no-select): Use --label rather than -L, and first
3351 check that it is supported. (Bug#11067)
3352
3353 * files.el (enable-dir-local-variables): New variable.
3354 (hack-dir-local-variables): Respect enable-dir-local-variables.
3355 * tutorial.el (help-with-tutorial):
3356 Ignore directory-local variables. (Bug#11127)
3357
3358 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3359 (vc-svn-global-switches): ... to here. (Bug#13513)
3360
3361 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3362
3363 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3364 Handle "foo (bar, default: xxx): " prompts.
3365
3366 2013-02-10 Chong Yidong <cyd@gnu.org>
3367
3368 * files.el (basic-save-buffer-1): Do not set
3369 buffer-file-coding-system-explicit (Bug#4533).
3370
3371 * mail/emacsbug.el (report-emacs-bug): Change binding of
3372 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3373
3374 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3375
3376 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3377 * calc/calc-units.el (calc-convert-units): Use new variable.
3378
3379 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3380
3381 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3382
3383 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3384 buffer-file-type.
3385
3386 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3387 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3388 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3389 coding-system-for-write instead.
3390
3391 * jka-compr.el (jka-compr-write-region): Don't bind
3392 buffer-file-type.
3393
3394 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3395 buffer-file-type.
3396
3397 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3398 (insert-file-contents-literally): Remove reference to
3399 file-name-buffer-file-type-alist.
3400
3401 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3402 make-obsolete.
3403 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3404 (find-buffer-file-type-coding-system): Remove references to
3405 find-buffer-file-type-match, find-buffer-file-type, and
3406 buffer-file-type.
3407 Don't put find-buffer-file-type-coding-system into
3408 file-coding-system-alist.
3409 (find-file-binary, find-file-text): Bind coding-system-for-read
3410 instead of file-name-buffer-file-type-alist.
3411
3412 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3413
3414 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3415 converter (Bug#13622).
3416 (doc-view-unoconv-program): Make obsolete alias.
3417 (doc-view-odf->pdf-converter-program): New variable.
3418 (doc-view-odf->pdf-converter-function): New variable.
3419 (doc-view-mode-p): Use it.
3420 (doc-view-odf->pdf-converter-unoconv):
3421 Rename from `doc-view-odf->pdf-converter-unoconv'.
3422 (doc-view-odf->pdf-converter-soffice): New function.
3423 (doc-view-convert-current-doc):
3424 Use `doc-view-odf->pdf-converter-function'.
3425
3426 2013-02-09 Chong Yidong <cyd@gnu.org>
3427
3428 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3429 view-echo-area-messages (Bug#13340).
3430
3431 * help.el (view-echo-area-messages): Use display-buffer.
3432
3433 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3434 (Bug#13561).
3435
3436 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3437
3438 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3439 Eval body right away, now that we do eager macroexpansion (bug#13605).
3440
3441 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3442 (fundamental-mode): Use run-mode-hooks.
3443
3444 * eshell/esh-proc.el (eshell/kill): Fix last change.
3445 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3446
3447 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3448
3449 * eshell/esh-proc.el (eshell/kill): Rewrite.
3450
3451 * eshell/em-ls.el (show-almost-all): Declare.
3452 (eshell-do-ls): Add support for -A argument.
3453
3454 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3455
3456 * icomplete.el (icomplete-forward-completions)
3457 (icomplete-backward-completions): Handle corner case (bug#13602).
3458
3459 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3460
3461 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3462 be nil. Handle this. (Bug#13636)
3463
3464 2013-02-07 Richard Stallman <rms@gnu.org>
3465
3466 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3467 `save-buffer-coding-system'.
3468
3469 2013-02-07 Alan Mackenzie <acm@muc.de>
3470
3471 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3472 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3473 (c-parse-state-get-strategy): Don't return 'BOD any more.
3474 (c-append-lower-brace-pair-to-state-cache):
3475 Extra parameter HERE instead of narrowing.
3476 Widen to top of buffer before searching backwards for a brace pair.
3477 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3478 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3479 Narrow to parameter HERE, in place of being called narrowed.
3480 (c-remove-stale-state-cache): Extra parameter HERE in place of
3481 narrowing. Check there's an open brace in the cache before
3482 searching for its match.
3483 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3484 (c-parse-state-1): Don't narrow here for 'forward strategy,
3485 instead passing extra parameter HERE to several functions.
3486 Remove 'BOD strategy.
3487
3488 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3489
3490 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3491 used to install the package.
3492
3493 2013-02-06 Glenn Morris <rgm@gnu.org>
3494
3495 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3496 if we can't get user input. (Bug#6567)
3497
3498 * startup.el (command-line): If simple.el is missing,
3499 test and warn about for some possible causes.
3500
3501 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3502
3503 * cus-start.el (all): Add ns-use-native-fullscreen.
3504
3505 2013-02-05 Glenn Morris <rgm@gnu.org>
3506
3507 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3508
3509 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3510 Fix directory creation in fallback case.
3511
3512 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3513
3514 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3515 (vc-update-change-log): Use dolist.
3516
3517 2013-02-04 Chong Yidong <cyd@gnu.org>
3518
3519 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3520 code from ffap.el.
3521 (thing-at-point-beginning-of-url-regexp): New var.
3522 (thing-at-point-uri-schemes): Update list of URI schemes.
3523 (thing-at-point-url-regexp): Variable deleted.
3524 (thing-at-point-markedup-url-regexp): Disallow newlines.
3525 (thing-at-point-newsgroup-regexp)
3526 (thing-at-point-newsgroup-heads)
3527 (thing-at-point-default-mail-uri-scheme): New variables.
3528 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3529 method to find the possible bounds of the URI at point.
3530 New optional argument to find ill-formed URIs.
3531 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3532 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3533 the scheme-adding heuristics from ffap-url-at-point.
3534 (thing-at-point--bounds-of-well-formed-url): New function.
3535 Do parens matching to decide whether to include parens in the URI
3536 (Bug#9153).
3537
3538 * ffap.el: Require thingatpt.
3539 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3540 All URI-valid characters are now recognized (Bug#5673).
3541 (ffap-string-at-point): Use use-region-p.
3542 (ffap-url-regexp): Extra character is handled by thing-at-point.
3543 (ffap-string-at-point-mode-alist): Allow parentheses.
3544 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3545 Convert to aliases; code moved to thingatpt.el.
3546 (ffap-gnus-hook): Use setq-local.
3547
3548 2013-02-04 Glenn Morris <rgm@gnu.org>
3549
3550 * emacs-lisp/ert.el (ert--explain-format-atom):
3551 Don't try to print non-characters as characters. (Bug#13543)
3552
3553 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3554
3555 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3556 (tramp-backtrace): New defun.
3557 (tramp-handle-insert-file-contents): Use `visit' when inserting
3558 the local copy.
3559
3560 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3561 Use `remote-file-name-inhibit-cache'.
3562
3563 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3566 (bug#13614).
3567
3568 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3569 current-load-list (bug#13366).
3570
3571 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3572
3573 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3574 Identify g++ template instantiation trace. (Bug#12287)
3575 (compilation-mode-hook, compilation-start-hook)
3576 (compilation-window-height): Simplify docstrings. (Bug#13379)
3577
3578 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * mouse.el (mouse-drag-track): Always deactivate the mark before
3581 running the final event's command since that command is in charge of
3582 activating the mark if needed (bug#13523).
3583
3584 2013-02-02 Juri Linkov <juri@jurta.org>
3585
3586 * replace.el (perform-replace): Move let-bindings of isearch-*
3587 variables deeper to the loop that searches for the next match.
3588 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3589 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3590 (Bug#13579)
3591
3592 * isearch.el (isearch-search-fun-default): Check for null
3593 first element of isearch-cmds as a precaution when it's used
3594 with inactive isearch.
3595
3596 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3597
3598 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3599 error when buffer in question is narrowed so position 1 is out of
3600 visible part.
3601
3602 2013-02-02 Glenn Morris <rgm@gnu.org>
3603
3604 * textmodes/remember.el (remember-clipboard): Doc fix.
3605
3606 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3609 properties (bug#13179).
3610
3611 2013-02-02 Juri Linkov <juri@jurta.org>
3612
3613 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3614 instead of hard-coded default face `match'. (Bug#9438)
3615
3616 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3617
3618 * vc/vc-arch.el (vc-arch-registered):
3619 * vc/vc-bzr.el (vc-bzr-registered):
3620 * vc/vc-cvs.el (vc-cvs-registered):
3621 * vc/vc-git.el (vc-git-registered):
3622 * vc/vc-hg.el (vc-hg-registered):
3623 * vc/vc-mtn.el (vc-mtn-registered):
3624 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3625 (Bug#13139)
3626
3627 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3628 prefix argument. (Bug#11656)
3629
3630 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3631
3632 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3633
3634 2013-02-01 Glenn Morris <rgm@gnu.org>
3635
3636 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3637 if the backend is known not to support it.
3638
3639 * imenu.el (imenu-default-create-index-function):
3640 Tweak infinite loop test to check for forward motion as well as none.
3641
3642 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3643
3644 * net/soap-client.el (soap-invoke): Encode the string for
3645 `url-request-data' as UTF-8.
3646 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3647
3648 2013-02-01 Glenn Morris <rgm@gnu.org>
3649
3650 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3651
3652 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3653
3654 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * net/tramp.el (tramp-tramp-file-p): Comment check for
3657 `string-as-unibyte'. The function does not exist on XEmacs, and
3658 likely we need another approach.
3659
3660 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3661 `tramp-gw-*' variables are bound.
3662
3663 2013-01-31 Glenn Morris <rgm@gnu.org>
3664
3665 * files.el (basic-save-buffer-2): Choose coding system for
3666 writing the file before backing it up, to reduce delay between
3667 backing up and writing the new version. (Bug#13522)
3668
3669 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3670
3671 * simple.el (cycle-spacing): New command.
3672 (just-one-space): Use it.
3673
3674 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3677 (opascal-newline-always-indents): Remove custom.
3678 (opascal-tab, opascal-newline): Remove commands.
3679 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3680 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3681 (opascal-save-match-data): Remove, use save-match-data instead.
3682 (opascal-save-state): Use with-silent-modifications.
3683
3684 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3685 (bug#13585).
3686
3687 2013-01-30 Juri Linkov <juri@jurta.org>
3688
3689 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3690 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3691 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3692
3693 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3694
3695 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3696 column if we're just deleting the backslashes.
3697 (makefile-fill-paragraph): Use eolp.
3698
3699 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3700
3701 * autorevert.el (auto-revert-use-notify): Fix docstring.
3702
3703 2013-01-30 Leo Liu <sdl.web@gmail.com>
3704
3705 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3706
3707 2013-01-30 Glenn Morris <rgm@gnu.org>
3708
3709 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3710 unread-command-events twice in some cases. This tries to implement
3711 the 2012-07-26 changes in a different way. (Bug#13560)
3712
3713 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3714
3715 * progmodes/python.el
3716 (python-pdbtrack-comint-output-filter-function): Enhancements on
3717 stacktrace detection. (thanks @gnovak)
3718
3719 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3720
3721 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3722 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3723 Use defvar-local.
3724 (jit-lock-register): Use setq-local.
3725
3726 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3727
3728 * calc-units.el (math-default-units-table): Remove initial value.
3729 (calc-convert-units): Treat expressions where all the units cancel as
3730 if they didn't have units.
3731
3732 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3733
3734 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3735 (tramp-completion-reread-directory-timeout): Fix type.
3736 (tramp-connection-min-time-diff): New defcustom.
3737
3738 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3739
3740 2013-01-30 Glenn Morris <rgm@gnu.org>
3741
3742 * imenu.el (imenu-default-create-index-function):
3743 Put back a version of the infinite loop test removed 2013-01-23.
3744
3745 2013-01-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3746
3747 * progmodes/python.el (python-shell-parse-command):
3748 Find python-shell-interpreter with modified environment.
3749
3750 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3753
3754 2013-01-29 Alan Mackenzie <acm@muc.de>
3755
3756 Amend to fontify /regexp/s in actions correctly.
3757 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3758 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3759 are no longer included.
3760 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3761 What used to be these variables without "-line" in the name.
3762 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3763 (c-awk-non-arith-op-bra-re): Now also matches {.
3764 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3765 "return", and "case".
3766 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3767 by /.
3768 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3769 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3770
3771 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3772
3773 * autorevert.el (auto-revert-use-notify):
3774 Use `custom-initialize-default' for initialization. (Bug#13583)
3775
3776 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3777
3778 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3779 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3780 in `tramp-file-name-handler'.
3781 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3782 compatibility.
3783 (tramp-compute-multi-hops): Check, whether
3784 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3785
3786 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3789 (bug#13297).
3790
3791 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3792
3793 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3794 checks made superfluous by the \_< operator.
3795 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3796 temporarily) broken indentation.
3797 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3798 Highlight nested constants, too. \_< broke that.
3799
3800 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3801
3802 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3803 instead of "\\b".
3804
3805 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3806
3807 * autorevert.el (auto-revert-handler): Notifications which result
3808 from a saved file shall not be taken into account. (Bug#13557)
3809
3810 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3811
3812 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3813 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3814 (lisp-mode): Pass t for it. (Bug#13556)
3815
3816 2013-01-25 Alan Mackenzie <acm@muc.de>
3817
3818 AWK Mode: Fix indentation bug at top level. Bug #12274.
3819
3820 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3821 just before CASE 5D.
3822
3823 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3824
3825 * net/socks.el (socks-nslookup-host): Use string-to-number.
3826
3827 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3828
3829 * autorevert.el (auto-revert-remote-files)
3830 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3831 (auto-revert-notify-enabled, auto-revert-use-notify)
3832 (auto-revert-notify-watch-descriptor-hash-list)
3833 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3834 (auto-revert-notify-event-descriptor)
3835 (auto-revert-notify-event-action)
3836 (auto-revert-notify-event-file-name): Doc fix.
3837 (global-auto-revert-mode): Reorder checks.
3838 (auto-revert-notify-rm-watch): Respect changed values of
3839 `auto-revert-notify-watch-descriptor-hash-list'.
3840 (auto-revert-notify-add-watch): Check for
3841 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3842 `inotify-add-watch'. Watch `default-directory' instead of
3843 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3844 has a changed meaning now. (Bug#13540)
3845 (auto-revert-notify-handler): Change implementation wrt events
3846 returning from a directory.
3847 (auto-revert-handler): Reorder implementation for checks of remote
3848 files.
3849 (auto-revert-buffers): Fix parentheses error.
3850
3851 2013-01-25 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
3852
3853 * progmodes/python.el: Enhancements to header documentation about
3854 skeletons. (Bug#5716)
3855
3856 * imenu.el (imenu-default-create-index-function): Remove useless
3857 infinite loop check. (Bug#13438)
3858
3859 2013-01-25 Alan Mackenzie <acm@muc.de>
3860
3861 Fix a bug in the state cache mechanism. Refactor this a bit.
3862
3863 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3864 `cache-pos' element from the return value.
3865 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3866 buffer to enable proper searching from beyond HERE. Amend the
3867 test for detecting the sought brace pair. Amend the value written
3868 to the "brace desert cache" when the brace isn't found.
3869 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3870 and several other variables analogously.
3871 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3872 parameter to a locally calculated variable.
3873 (c-parse-state-1): Change the calling conventions to the two
3874 defuns involving `cache-pos'.
3875
3876 2013-01-25 Chong Yidong <cyd@gnu.org>
3877
3878 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3879
3880 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3881
3882 * paren.el (show-paren-function): Make sure to set 'priority and
3883 'face only if the overlay does exist.
3884
3885 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3886
3887 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3888
3889 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3890 basic attributes.
3891 (tramp-sh-handle-set-file-acl): Improve error checking.
3892
3893 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3894
3895 * doc-view.el (doc-view-display): Force mode line update until all
3896 document is converted. Suggested by Stefan Monnier (Bug#13164).
3897
3898 2013-01-23 Bastien Guerry <bzg@gnu.org>
3899
3900 * paren.el (show-paren-function): Make sure an overlay exists
3901 before trying to delete it. Also use `pos' as a position only
3902 when it is an integer.
3903
3904 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3905
3906 * play/gametree.el (gametree-break-line-here): Use point-marker.
3907
3908 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3909
3910 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3911 Mark descriptive parts with `display' property.
3912
3913 2013-01-21 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
3914
3915 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3916 New variable to map standard dict names to hunspell ones.
3917 (ispell-set-spellchecker-params): Make sure specific dict names
3918 are used for standard dicts with hunspell.
3919
3920 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3921
3922 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3923 chars for note (%N) and url (%U).
3924 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3925
3926 2013-01-21 Juri Linkov <juri@jurta.org>
3927
3928 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3929 in addition to existing separate binding `meta f10' in `global-map'.
3930 (Bug#13484)
3931
3932 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3933
3934 Improve XEmacs compatibility.
3935
3936 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3937
3938 * net/tramp-adb.el (top): Require `time-date'.
3939 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3940 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3941 Use `tramp-file-name-handler'.
3942 (tramp-adb-maybe-open-connection):
3943 Use `tramp-compat-set-process-query-on-exit-flag'.
3944
3945 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3946 Use `tramp-compat-funcall'.
3947
3948 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3949 `tramp-compat-funcall'.
3950
3951 2013-01-21 JĂ¼rgen Hötzel <juergen@archlinux.org>
3952
3953 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3954 reimplementation using "adb shell command ..." instead of running
3955 remote shell interactively.
3956
3957 2013-01-20 Glenn Morris <rgm@gnu.org>
3958
3959 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3960 Add native profiler menu entries.
3961
3962 * profiler.el (profiler-running-p): New function.
3963 (profiler-cpu-profile): Use profiler-running-p.
3964 (profiler-report-mode-map): Add some more menu entries.
3965
3966 2013-01-19 Glenn Morris <rgm@gnu.org>
3967
3968 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3969 fixes 2012-12-07 change. (Bug#13499)
3970
3971 2013-01-19 Leo Liu <sdl.web@gmail.com>
3972
3973 * dired.el (dired-get-marked-files): Prune erroneous values due to
3974 last change. (Bug#13152)
3975
3976 2013-01-19 Glenn Morris <rgm@gnu.org>
3977
3978 * progmodes/etags.el (tags-table-check-computed-list):
3979 Preserve point in tags buffer. (Bug#13412)
3980
3981 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3982
3983 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3984 Chong Yidong <cyd@gnu.org>
3985
3986 * image-mode.el (image-next-file, image-previous-file):
3987 New commands (Bug#8453).
3988 (image-mode-map): Bind them to n and p.
3989 (image-mode--images-in-directory): New helper function.
3990
3991 2013-01-19 Chong Yidong <cyd@gnu.org>
3992
3993 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3994 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3995 save and restore the old window configuration.
3996
3997 2013-01-18 Leo Liu <sdl.web@gmail.com>
3998
3999 * progmodes/js.el: Tweak autoload cookie for alias.
4000
4001 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4002
4003 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
4004 buffer local, again. This was lost with the fix on 2013-01-12.
4005
4006 2013-01-17 JĂ¼rgen Hötzel <juergen@archlinux.org>
4007
4008 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
4009 order to support several eshell buffers in parallel.
4010
4011 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
4012
4013 * autorevert.el (auto-revert-use-notify): In the :set function, do
4014 not modify `kill-buffer-hook'.
4015 (auto-revert-notify-rm-watch):
4016 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
4017 (auto-revert-notify-add-watch): Do not call
4018 `auto-revert-notify-rm-watch', but add it to a buffer local
4019 `kill-buffer-hook'.
4020
4021 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4022
4023 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
4024 call to `eval' rather than a backquoted lambda.
4025
4026 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
4029 to return an explicit nil.
4030 (advice--remove-function): Change accordingly.
4031
4032 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
4033 the use of nadvice.el.
4034
4035 * progmodes/which-func.el (which-function): Silence imenu errors
4036 (bug#13433).
4037
4038 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4039
4040 * progmodes/sql.el (sql-imenu-generic-expression):
4041 (sql-mode-font-lock-object-name): Match schema qualified names.
4042 (sql-connect): Use string keys.
4043 (sql-product-interactive): Wait for interpreter prompt.
4044 (sql-comint-oracle): Set process coding based on NLS_LANG.
4045
4046 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
4047
4048 * progmodes/sql.el (sql-output-to-send): Remove, unused.
4049 (sql-interactive-remove-continuation-prompt):
4050 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
4051
4052 2013-01-14 Leo Liu <sdl.web@gmail.com>
4053
4054 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
4055 (Bug#13420)
4056
4057 2013-01-14 Glenn Morris <rgm@gnu.org>
4058
4059 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4060 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
4061
4062 2013-01-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4063
4064 * progmodes/python.el (python-nav-end-of-statement):
4065 Fix cornercase when handling multiline strings.
4066
4067 2013-01-13 Richard Stallman <rms@gnu.org>
4068
4069 * mail/sendmail.el (mail-position-on-field): Add doc string.
4070
4071 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4072 Get current message boundaries and pass them to
4073 message-forward-make-body-mime. Minor style changes.
4074
4075 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4076
4077 * cus-start.el (all): Avoid warnings about
4078 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4079
4080 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4081
4082 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4083
4084 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4087 (jit-lock--debug-fontifying): New var.
4088 (jit-lock--debug-fontify): New function.
4089 * subr.el (condition-case-unless-debug): Don't prevent catching the
4090 error, just let the debbugger run.
4091 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4092 timer code and don't drop errors silently.
4093
4094 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4095
4096 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4097 `permanent-local' property.
4098 (auto-revert-notify-handler): Use `file-equal-p'.
4099
4100 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4101
4102 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4103 file notification by ACTION. For filtering by file name, compare
4104 only the non-directory part of the file name.
4105
4106 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4107
4108 * autorevert.el: Use cl-lib instead of cl.
4109
4110 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4111 (vc-bzr-checkin): Use it.
4112 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4113 will preserve match-data.
4114
4115 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4116
4117 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4118 (js--declaration-keyword-re): New var.
4119 (js--multi-line-declaration-indentation): New function.
4120 (js--proper-indentation): Use it.
4121
4122 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4123
4124 * calc/calc.el (calc-highlight-selections-with-faces)
4125 (calc-dispatch):
4126 * comint.el (comint-history-isearch-message):
4127 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4128 * ffap.el (ffap-string-at-point-region, ffap-next)
4129 (ffap-string-at-point, ffap-string-around)
4130 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4131 (ffap-literally):
4132 * font-lock.el (font-lock-keywords-alist)
4133 (font-lock-removed-keywords-alist):
4134 * help-mode.el (help-xref-symbol-regexp):
4135 * info.el (Info-find-emacs-command-nodes):
4136 * international/mule.el (add-to-coding-system-list):
4137 * isearch.el (isearch-message-function, isearch-fail-pos):
4138 * misearch.el (multi-isearch-next-buffer-function):
4139 * newcomment.el (comment-box):
4140 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4141 (pr-setting-database):
4142 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4143 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4144 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4145 (pike-font-lock-keywords-3):
4146 * progmodes/compile.el (compile):
4147 * progmodes/etags.el (tags-table-files)
4148 (tags-table-files-function, tags-included-tables-function):
4149 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4150 (gdb-restore-windows):
4151 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4152 (ps-n-up-filling-database):
4153 * server.el (server-buffer, server-log):
4154 * simple.el (newline, delete-backward-char, delete-forward-char)
4155 (minibuffer-history-isearch-message, kill-line, track-eol)
4156 (temporary-goal-column):
4157 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4158 (flyspell-default-deplacement-commands):
4159 * textmodes/ispell.el (ispell-accept-output):
4160 * textmodes/sgml-mode.el (html-tag-help):
4161 * vc/compare-w.el (compare-ignore-whitespace)
4162 (compare-ignore-case, compare-windows-dehighlight):
4163 * vc/diff.el (diff):
4164 * whitespace.el (whitespace-point)
4165 (whitespace-font-lock-refontify, whitespace-bob-marker)
4166 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4167
4168 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4169
4170 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4171 (auto-revert-notify-rm-watch): Ignore errors.
4172 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4173 inotify, and '(size last-write-time) for w32notify.
4174 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4175 watch fails - this is a fallback to the file modification check.
4176 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4177 (auto-revert-notify-event-action)
4178 (auto-revert-notify-event-file-name): New defuns.
4179 (auto-revert-notify-handler): Use them. Implement first
4180 plausibility checks.
4181 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4182
4183 2013-01-11 Julien Danjou <julien@danjou.info>
4184
4185 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4186 max are almost equal. Also return the correct value for V which is
4187 already between 0 and 1.
4188
4189 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4190
4191 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4192
4193 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4194
4195 * autorevert.el (auto-revert-notify-rm-watch)
4196 (auto-revert-notify-add-watch): Fix typos in w32notify function
4197 names.
4198
4199 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4200
4201 * autorevert.el (auto-revert-notify-enabled): Move up.
4202 (auto-revert-use-notify): New defcustom.
4203 (auto-revert-mode, global-auto-revert-mode)
4204 (auto-revert-notify-add-watch, auto-revert-handler)
4205 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4206 `auto-revert-notify-enabled'.
4207
4208 2013-01-10 Elias Pipping <pipping@exherbo.org>
4209
4210 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4211 * doc-view.el (doc-view-document->bitmap):
4212 Use doc-view-single-page-converter-function instead of
4213 single-page-converter arg; adjust callers.
4214
4215 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4216
4217 * progmodes/which-func.el (which-function): Understand Semantic's use
4218 of overlays in imenu--index-alist.
4219
4220 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4221
4222 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4223 (Man-man-k-use-anchor): New var.
4224 (Man-parse-man-k): New function.
4225 (Man-completion-table): Use it.
4226 (man): Flush the completion cache between uses.
4227
4228 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4229
4230 * autorevert.el: Add file watch support.
4231 (auto-revert-notify-enabled): New defconst.
4232 (auto-revert-notify-watch-descriptor-hash-list)
4233 (auto-revert-notify-watch-descriptor)
4234 (auto-revert-notify-modified-p): New defvars.
4235 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4236 (auto-revert-notify-handler): New defuns.
4237 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4238 when mode is disabled.
4239 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4240 (auto-revert-buffers): Add file watches for active buffers.
4241
4242 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4243
4244 * cus-start.el (toplevel): Only allow float values for
4245 scroll-up-aggressively and scroll-down-aggressively.
4246 Allow any number for line-spacing.
4247
4248 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4251 (doc-view-pdf->png-converter-function): Use mupdf if available.
4252 (doc-view-djvu->png-converter-function)
4253 (doc-view-ps->png-converter-function): Remove.
4254 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4255 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4256 (doc-view-already-converted-p): Adjust accordingly.
4257 (doc-view-mode-p): Simplify.
4258 (doc-view-enlarge): Use setq-local.
4259 (doc-view-pdf->png-converter-ghostscript)
4260 (doc-view-djvu->png-converter-ddjvu)
4261 (doc-view-pdf->png-converter-mupdf): Rework to call
4262 doc-view-start-process directly.
4263 (doc-view-pdf/ps->png): Simplify accordingly.
4264 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4265 (doc-view-document->bitmap): Rename from doc-view-document->png.
4266 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4267 (doc-view-set-slice-from-bounding-box): Fix completion table.
4268 (doc-view-mode): Use add-hook for after-revert-hook.
4269
4270 2013-01-10 Glenn Morris <rgm@gnu.org>
4271
4272 * emacs-lisp/authors.el (authors-ignored-files)
4273 (authors-valid-file-names, authors-renamed-files-alist):
4274 Add some more entries.
4275
4276 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4277
4278 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4279 `t' pseudo-window entry.
4280
4281 2013-01-10 Alan Mackenzie <acm@muc.de>
4282
4283 Fix bugs in the c-parse-state mechanism. Reuse some markers
4284 instead of continually generating new ones.
4285
4286 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4287 (c-state-old-cpp-end-marker): New variables.
4288 (c-append-lower-brace-pair-to-state-cache): Start a backward
4289 search for "}" definitively outside CPP constructs.
4290 (c-remove-stale-state-cache): Inform the caller of a need to
4291 search back for a brace pair in certain circumstances.
4292 (c-state-maybe-marker): New macro.
4293 (c-parse-state): Reuse markers when appropriate.
4294
4295 2013-01-10 Glenn Morris <rgm@gnu.org>
4296
4297 * simple.el (execute-extended-command): Doc fix.
4298 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4299
4300 2013-01-10 Chong Yidong <cyd@gnu.org>
4301
4302 * faces.el (read-face-name): Doc fix.
4303
4304 2013-01-10 Roland Winkler <winkler@gnu.org>
4305
4306 * emacs-lisp/crm.el: Allow any regexp for separators.
4307 (crm-default-separator): All spaces around the default comma separator.
4308 (crm--completion-command): New macro.
4309 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4310 (crm-complete-and-exit): Handle non-single-char separators.
4311
4312 2013-01-09 Elias Pipping <pipping@lavabit.com>
4313
4314 * doc-view.el: Add support for DjVu (bug#13164).
4315 (doc-view-djvu->png-converter-function): New config var.
4316 (doc-view-single-page-converter-function, doc-view--image-type)
4317 (doc-view--image-file-extension): New vars.
4318 (doc-view-mode): Initialize them.
4319 (doc-view-goto-page): Use them.
4320 (doc-view-mode-p): Add support for ddjvu.
4321 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4322 (doc-view-set-up-single-converter): New funs.
4323 (doc-view-pdf/ps->png): Extend for djvu.
4324 (doc-view-document->png): Rename from doc-view-pdf->png.
4325 (doc-view-convert-current-doc): Handle djvu.
4326 (doc-view-insert-image, doc-view-display)
4327 (doc-view-already-converted-p): Don't hardcode png.
4328 (doc-view-set-doc-type): Recognize djvu docs.
4329
4330 2013-01-09 Elias Pipping <pipping@lavabit.com>
4331
4332 * doc-view.el: Add support for mupdf converter (bug#13164).
4333 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4334 (doc-view-ps->png-converter-function): New config vars.
4335 (doc-view-pdf->png-converter-ghostscript)
4336 (doc-view-ps->png-converter-ghostscript)
4337 (doc-view-pdf->png-converter-mupdf): New functions.
4338 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4339
4340 2013-01-09 JĂ¼rgen Hötzel <juergen@archlinux.org>
4341
4342 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4343 first in session cache: When `tramp-own-remote-path' is in
4344 `tramp-remote-path', the remote path is only set in the session
4345 cache.
4346
4347 2013-01-09 Glenn Morris <rgm@gnu.org>
4348
4349 * emacs-lisp/trace.el (trace-function-foreground)
4350 (trace-function-background): Doc fix.
4351
4352 2013-01-09 Juri Linkov <juri@jurta.org>
4353
4354 * international/mule-cmds.el (read-char-by-name): Move let-binding
4355 of completion-ignore-case around completing-read to fix regression
4356 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4357 `string-match-p' using the nil value of `case-fold-search' and
4358 `completion-ignore-case' in `completion-pcm--all-completions'.
4359 (Bug#12615).
4360
4361 2013-01-09 Glenn Morris <rgm@gnu.org>
4362
4363 * progmodes/compile.el (compilation-parse-errors):
4364 Fix typo. (Bug#13369)
4365
4366 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4367
4368 * comint.el (comint-send-input): Check size of buffer before
4369 waiting for process output, in case already accepted. (Bug#13290)
4370
4371 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4372
4373 Spelling fixes.
4374 * net/tramp-adb.el (tramp-adb-get-toolbox):
4375 Fix misspelling of 'unknown'.
4376
4377 2013-01-08 Juri Linkov <juri@jurta.org>
4378
4379 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4380 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4381 Use underline style wave on terminals that support it. (Bug#13000)
4382
4383 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4384
4385 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4386 the predicate returns nil.
4387
4388 * simple.el: Use lexical-binding.
4389 (primitive-undo): Use pcase.
4390 (minibuffer-history-isearch-push-state): Use a closure.
4391
4392 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4393
4394 * simple.el (primitive-undo): Move from undo.c.
4395
4396 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4397
4398 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4399 (cvs-mode-remove-handled): Use it (bug#13380).
4400
4401 * emacs-lisp/nadvice.el (advice--tweak): New function.
4402 (advice--remove-function, advice--subst-main): Use it.
4403
4404 * emacs-lisp/advice.el: Update commentary.
4405
4406 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4407
4408 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4409 Remove spurious entry.
4410
4411 2013-01-08 Glenn Morris <rgm@gnu.org>
4412
4413 * net/tramp.el (tramp-default-host-alist): Add :version.
4414
4415 2013-01-08 Juri Linkov <juri@jurta.org>
4416
4417 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4418 single completion. (Bug#12456)
4419 (info--manual-names): Expand node completions into an explicit list
4420 before appending it to another list. Filter out internal buffers
4421 with the leading space in the buffer name. (Bug#10771)
4422
4423 2013-01-08 Juri Linkov <juri@jurta.org>
4424
4425 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4426 that defaults to the Top node.
4427 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4428 the short format (FILENAME) goes to the Top node.
4429 (Info-build-node-completions): Rename arg `file' to `filename'.
4430 (Bug#13365)
4431
4432 2013-01-07 Bastien Guerry <bzg@gnu.org>
4433
4434 * menu-bar.el (menu-bar-search-documentation-menu):
4435 Use `apropos-user-option' and fix the help message.
4436
4437 2013-01-07 Bastien Guerry <bzg@gnu.org>
4438
4439 * apropos.el (apropos-do-all): Update docstring.
4440 (apropos-user-option-button): New face.
4441 (apropos-user-option): Rename from `apropos-variable' and update
4442 docstring.
4443 (apropos-variable): Rewrite, now show all variables by default.
4444 (apropos-print): Mention "User option" instead of "Variable" when
4445 printing doc for user options. (Bug#13276)
4446
4447 2013-01-07 JĂ¼rgen Hötzel <juergen@archlinux.org>
4448
4449 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4450 Handle filename correctly, when parsing "source -> target" symlink
4451 output.
4452 (tramp-adb-handle-set-file-times): New defun.
4453
4454 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4457 advice list when the interactive-spec of ad-Advice-* changes.
4458
4459 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4460
4461 * wid-edit.el (widget-default-get): Work for inlined elements.
4462 (Bug#12670)
4463
4464 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4465
4466 * net/tramp.el (tramp-default-host-alist): New defcustom.
4467 (tramp-find-host): Use it.
4468 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4469 `eshell-directory-change-hook'.
4470
4471 * net/tramp-adb.el (top): Add adb specific entry in
4472 `tramp-default-host-alist'.
4473 (tramp-adb-file-name-host): Remove function.
4474 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4475 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4476
4477 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4478
4479 2013-01-06 JĂ¼rgen Hötzel <juergen@archlinux.org>
4480
4481 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4482
4483 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4484
4485 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4486 consist of more than one digit.
4487 (tramp-adb-file-name-handler-alist):
4488 Use `tramp-handle-file-exists-p' consistently.
4489 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4490 (tramp-adb-handle-file-exists-p): Remove function.
4491 (tramp-adb-file-name-host): New defun.
4492 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4493 Use it.
4494 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4495
4496 2013-01-06 Chong Yidong <cyd@gnu.org>
4497
4498 * vc/vc.el (vc-next-action): Detect buffer modifications
4499 conflicting with locking VCS operation (Bug#11490).
4500
4501 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4502
4503 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4504
4505 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4506 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4507
4508 2013-01-05 JĂ¼rgen Hötzel <juergen@archlinux.org>
4509
4510 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4511 parsing of ls output using regular expression (handle filenames
4512 with spaces). Use virtual device number.
4513 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4514 cleanup).
4515
4516 2013-01-04 Daiki Ueno <ueno@gnu.org>
4517
4518 * epg.el: Silence byte-compiler warnings.
4519 (epg--start): Use delete-char instead of delete-backward-char.
4520 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4521
4522 2013-01-04 Daiki Ueno <ueno@gnu.org>
4523
4524 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4525 Suggested by Eli Zaretskii <eliz@gnu.org>.
4526
4527 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4528
4529 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4530 non-negative integers. Otherwise, the default values are used.
4531 (tramp-convert-file-attributes): Convert uid and gid to integers.
4532
4533 2013-01-04 Glenn Morris <rgm@gnu.org>
4534
4535 * term.el (term-handle-colors-array): Ensure face attributes
4536 are fully specified, not nil. (Bug#13337)
4537
4538 * term.el (term-default-fg-color, term-default-bg-color):
4539 Fix custom type.
4540
4541 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4542 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4543 rather than 'jka-compr being loaded. (Bug#13338)
4544
4545 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4546
4547 * icomplete.el (icomplete-completions):
4548 Honor icomplete-prospects-height once more following
4549 2012-11-29 changes. (Bug#13224)
4550
4551 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4554 of called-interactively-p as well (bug#13237).
4555
4556 * view.el (view--enable, view--disable): Rename from view-mode-enable
4557 and view-mode-disable and assume it's called from view-mode.
4558 (view-mode-enable, view-mode-disable): Redefine as obsolete
4559 compatibility layer above view-mode.
4560 (view-mode-enter): Call `view-mode'.
4561
4562 * files.el (after-find-file): Call `view-mode'.
4563
4564 * doc-view.el (doc-view-scale-internally): New var.
4565 (doc-view-enlarge, doc-view-insert-image): Obey it.
4566
4567 2013-01-03 Daiki Ueno <ueno@gnu.org>
4568
4569 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4570 exist. (Bug#13344)
4571
4572 2013-01-03 Glenn Morris <rgm@gnu.org>
4573
4574 * mail/rmail.el (rmail-set-header-1): Ignore case.
4575 Handle multi-line headers. (Bug#13330)
4576
4577 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4578 Handle paragraph starting at beginning of buffer.
4579
4580 * subr.el (eval-after-load): Don't purecopy the form, so that it
4581 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4582
4583 * emacs-lisp/byte-run.el (defun): Place cl declarations
4584 after any interactive spec. (Bug#13265)
4585
4586 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4587
4588 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4589 defun. Don't check for DECL if DOCSTRING isn't a string.
4590 (defun): Likewise.
4591
4592 2013-01-02 Glenn Morris <rgm@gnu.org>
4593
4594 * eshell/em-cmpl.el (eshell-pcomplete):
4595 More thoroughly imitate pcomplete. (Bug#13293)
4596
4597 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4598 Return nil for empty path elements. (Bug#13296)
4599
4600 2013-01-02 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4601
4602 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4603 order to improve efficiency (Based on Daniel Colascione's
4604 <dancol@dancol.org> patch). (Bug#13182)
4605
4606 2013-01-02 Glenn Morris <rgm@gnu.org>
4607
4608 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4609
4610 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4611
4612 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4613 neither DOCSTRING nor DECL was given. (Bug#13316)
4614
4615 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4616
4617 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4618 `error' call.
4619 (tramp-do-copy-or-rename-file): Ignore errors when calling
4620 `set-file-extended-attributes'.
4621
4622 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4623 Add handler for `file-acl'.
4624 (tramp-smb-handle-file-acl): New defun.
4625
4626 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4627
4628 * calc/README: Mention ISO 8601 week-numbering dates.
4629
4630 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4631
4632 * view.el (view-mode-enable): New argument run-view-mode-hook.
4633 Run view-mode-hook only when it's non-nil (Bug#13315).
4634 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4635 argument t.
4636
4637 2012-12-31 JĂ¼rgen Hötzel <juergen@archlinux.org>
4638
4639 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4640 (No device connected, invalid device name). (Bug #13299)
4641
4642 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4643
4644 * window.el (window-resizable--p): Rename to window-resizable-p.
4645 (window-resize-no-error): New function.
4646
4647 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4648 broken in fix from 2012-12-28.
4649
4650 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * subr.el (special-form-p): Don't signal errors on undef aliases.
4653
4654 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4655
4656 * calc/calc-forms.el (math-parse-date): Try using
4657 `math-parse-iso-date' when it looks like it might be needed.
4658 Allow times of 24:00.
4659 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4660 of 24:00.
4661
4662 2012-12-30 Glenn Morris <rgm@gnu.org>
4663
4664 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4665 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4666 (rmail-summary-displayed, rmail-summary): Declare.
4667 (mairix-rmail-display): Just require rmail.
4668
4669 2012-12-30 Chong Yidong <cyd@gnu.org>
4670
4671 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4672 check for the tarball contents.
4673
4674 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4675
4676 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4677 tarfile content listings (Bug#13136).
4678
4679 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4680
4681 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4682 Insert the undecoded text of the message being forwarded. (Bug#9521)
4683
4684 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4685
4686 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4687 integers, if they are real numbers. (Bug#13282)
4688
4689 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4690 Return `t' on success.
4691
4692 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4693 Add handler for `set-file-selinux-context'.
4694
4695 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4696
4697 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4698 (tramp-sh-handle-set-file-acl): Return `t' on success.
4699
4700 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4701
4702 * files.el (backup-buffer-copy, basic-save-buffer-2):
4703 If set-file-extended-attributes fails, fall back on set-file-modes
4704 instead of signaling an error. (Bug#13298)
4705 (basic-save-buffer): Likewise.
4706
4707 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4708
4709 * progmodes/python.el: Support other commands triggering
4710 python-indent-line so indentation cycling continues to work.
4711 (python-indent-trigger-commands): New defcustom.
4712 (python-indent-line): Use it.
4713
4714 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4715
4716 * progmodes/python.el (python-shell-send-region): Add blank lines
4717 for non sent code so backtraces remain correct.
4718
4719 2012-12-29 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
4720
4721 * progmodes/python.el: Remove cl dependency.
4722 (python-syntax-count-quotes): Replace incf call.
4723 (python-fill-string): Replace setf call.
4724
4725 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4726
4727 * info.el (info-other-window): New arg, for consistency with info.
4728
4729 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4730
4731 * mail/rmail.el (rmail-maybe-display-summary):
4732 Rewrite (Bug#13066).
4733
4734 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4735
4736 * epg.el (epg--start): Modify process-environment locally.
4737
4738 2012-12-28 Daiki Ueno <ueno@gnu.org>
4739
4740 * epg.el: Support pinentry-curses.
4741 Suggested by Werner Koch in
4742 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4743 (epg-agent-file, epg-agent-mtime): New variable.
4744 (epg--start): Record the modified time of gpg-agent socket file,
4745 to restore Emacs frame after pinentry-curses termination.
4746 (epg-wait-for-completion): Restore Emacs frame here.
4747
4748 2012-12-27 Juri Linkov <juri@jurta.org>
4749
4750 * info.el (Info-file-completions): New variable.
4751 (Info-read-node-name-1): Complete node names in the Info file
4752 when a file name is given. Call `Info-build-node-completions'
4753 with a file name.
4754 (Info-build-node-completions): Add new arg `file'. When it is
4755 non-nil, visit it in a temporary buffer and cache its completions in
4756 `Info-current-file-completions'. Move most of the function body to
4757 `Info-build-node-completions-1'.
4758 (Info-build-node-completions-1): New function with the body from
4759 `Info-build-node-completions'. (Bug#12456)
4760
4761 2012-12-27 Juri Linkov <juri@jurta.org>
4762
4763 * frame.el (frame-maximization-style): Remove user option.
4764 (cycle-frame-maximized): Remove function.
4765 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4766 (toggle-frame-fullscreen): New command bound to <f11> instead of
4767 `toggle-frame-maximized'.
4768 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4769
4770 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4771
4772 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4773
4774 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4775 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4776 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4777 for `file-accessible-directory-p'. (Bug#13275)
4778
4779 2012-12-27 Sam Steingold <sds@gnu.org>
4780
4781 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4782 continuations, see <http://stackoverflow.com/questions/3582436>.
4783
4784 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4785
4786 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4787 "module" and "def" to have indentation before them.
4788 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4789
4790 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4791
4792 2012-12-27 Alan Mackenzie <acm@muc.de>
4793
4794 Speed up fontification where there's large brace blocks.
4795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4796 to a call of c-beginning-of-decl-1.
4797
4798 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4799
4800 * comint.el (comint-adjust-window-point): New function.
4801 (comint-postoutput-scroll-to-bottom):
4802 Call comint-adjust-window-point (Bug#13248).
4803
4804 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4805
4806 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4807 Rakefile regexp.
4808 (auto-mode-alist): Associate .gemspec files with ruby-mode
4809 (https://bugs.ruby-lang.org/issues/5453).
4810
4811 2012-12-26 JĂ¼rgen Hötzel <juergen@archlinux.org>
4812
4813 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4814 Suppress coloring, if possible (required for BusyBox based systems like
4815 CyanogenMod).
4816 (tramp-adb-handle-file-attributes)
4817 (tramp-adb-handle-insert-directory)
4818 (tramp-adb-handle-file-name-all-completions): Use it.
4819 (tramp-adb-get-toolbox): New defun. Check for remote shell
4820 implementation (BusyBox or Toolbox).
4821
4822 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4823
4824 * startup.el (initial-buffer-choice): Allow function as value
4825 (Bug#13251).
4826 (command-line-1): Handle case where initial-buffer-choice
4827 specifies a function.
4828 * server.el (server-execute): Handle case where
4829 initial-buffer-choice specifies a function.
4830
4831 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4832
4833 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4834 its own function.
4835 (smtpmail-try-auth-methods): Forget the user name/password if the
4836 login is unsuccessful (bug#12424).
4837
4838 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4839
4840 * notifications.el (notifications-notify): Protect body with
4841 `with-demoted-errors'.
4842
4843 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4844 Check properties of remote device. Restart connection, if there is a
4845 change.
4846
4847 2012-12-21 Chong Yidong <cyd@gnu.org>
4848
4849 * sort.el (sort-subr): Doc fix (Bug#13056).
4850
4851 2012-12-21 Bastien Guerry <bzg@gnu.org>
4852
4853 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4854
4855 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4856
4857 * simple.el (process-file): Overwrite stderr file, if exists.
4858
4859 2012-12-21 Daiki Ueno <ueno@gnu.org>
4860
4861 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4862 (epg-error): Set `error-message' property.
4863
4864 2012-12-21 Chong Yidong <cyd@gnu.org>
4865
4866 * international/mule-cmds.el (read-char-by-name): Signal an error
4867 if the user does not supply a valid character (Bug#13177).
4868
4869 * simple.el (transpose-subr-1): Preserve marker positions by
4870 changing the insertion sequence (Bug#13122).
4871
4872 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4873
4874 * simple.el (kill-region): Deactivate mark even for empty regions
4875 (Bug#13169).
4876
4877 2012-12-21 Chong Yidong <cyd@gnu.org>
4878
4879 * help-fns.el (describe-variable): Make sure we get the right
4880 buffer name (Bug#13105). Suggested by Kelly Dean.
4881
4882 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4883
4884 * comint.el (comint-redirect-previous-input-string): New variable.
4885 (comint-redirect-setup, comint-redirect-cleanup)
4886 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4887 (comint-redirect-preoutput-filter): Fix verbose message.
4888
4889 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4890
4891 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4892 is too long for Tramp. See discussion in
4893 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4894
4895 * progmodes/compile.el (compilation-start): Remove line escape
4896 template.
4897
4898 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4899
4900 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4901 Adjust comment.
4902
4903 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4904
4905 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4906 following non-comment text (bug#13207).
4907 (lm-header-multiline): Continuation lines need to be indented more than
4908 the first line.
4909 (lm-homepage): New function.
4910 (lm-with-file): Don't be confused if narrowing is in effect.
4911
4912 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4913
4914 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4915 very beginning of a hunk (e.g. killing the first line).
4916
4917 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4918
4919 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4920 and text properties from returned ACL string.
4921 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4922 for "setfacl" command.
4923
4924 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4925
4926 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4927 `tramp-cleanup-this-connection', when the process has died.
4928 (Bug#13151)
4929
4930 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4933
4934 2012-12-17 Kevin Ryde <user42@zip.com.au>
4935
4936 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4937
4938 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4939
4940 Add support for preserving ACL entries of files.
4941
4942 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4943 `set-file-acl' handlers.
4944
4945 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4946 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4947
4948 * net/tramp-compat.el (tramp-compat-copy-file):
4949 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4950
4951 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4952 Add `file-acl' and `set-file-acl' handlers.
4953 (tramp-gvfs-handle-copy-file):
4954 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4955 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4956 New defuns.
4957
4958 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4959 Add `file-acl' and `set-file-acl' handlers.
4960 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4961 (tramp-sh-handle-set-file-acl): New defuns.
4962 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4963 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4964
4965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4966 Add `file-acl' and `set-file-acl' handlers.
4967 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4968
4969 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4970
4971 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4972 use pop-to-buffer with NORECORD argument t. As buffer name, use
4973 *Metahelp* with a leading space (Bug#13190).
4974
4975 2012-12-16 Romain Francoise <romain@orebokech.com>
4976
4977 * files.el (file-extended-attributes)
4978 (set-file-extended-attributes): New functions.
4979 (backup-buffer): Use them to handle both SELinux context and ACL
4980 entries.
4981 (backup-buffer-copy): Work with an alist of extended attributes,
4982 rather than an SELinux context.
4983 (basic-save-buffer-2): Ditto.
4984
4985 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4986
4987 * battery.el (battery-bsd-apm): New function.
4988
4989 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4990
4991 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4992 standard date formats.
4993
4994 2012-12-15 Juri Linkov <juri@jurta.org>
4995
4996 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4997 `isearch-insert-char-by-name'.
4998 (with-isearch-suspended): New defmacro with body mostly from
4999 `isearch-edit-string' except the part that sets
5000 `isearch-new-string' and `isearch-new-message'.
5001 (isearch-edit-string): Use new macro `with-isearch-suspended' with
5002 body that sets `isearch-new-string' and `isearch-new-message'.
5003 (isearch-insert-char-by-name): New command.
5004 * international/mule-cmds.el (read-char-by-name): Let-bind
5005 `enable-recursive-minibuffers' to t.
5006 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
5007
5008 2012-12-15 Juri Linkov <juri@jurta.org>
5009
5010 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
5011 (Bug#13175)
5012
5013 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
5014
5015 * dired-x.el (dired-guess-shell-command): Put colon at the end of
5016 the prompt. (Bug#13045)
5017
5018 2012-12-14 Glenn Morris <rgm@gnu.org>
5019
5020 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
5021 Try to include filename in non-bytecomp warning. (Bug#13132)
5022
5023 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
5024
5025 Fix permissions bugs with setgid directories etc. (Bug#13125)
5026 * files.el (backup-buffer): Don't rely on 9th output of
5027 file-attributes, as it's now a placeholder. Instead, use the new
5028 optional arg of file-ownership-preserved-p.
5029 (file-ownership-preserved-p): New optional arg GROUP.
5030 Fix mishandling of setuid directories that would cause this
5031 function to return t when it should have returned nil.
5032 Document what happens if the file does not exist, and when
5033 it's not known whether the ownership will be preserved.
5034 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
5035 Likewise.
5036 (tramp-get-local-gid): Use group-gid for integer, as that's
5037 faster and more reliable.
5038
5039 2012-12-14 Julien Danjou <julien@danjou.info>
5040
5041 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
5042 Update keywords list, data type and PL/pgSQL.
5043
5044 2012-12-14 Dave Abrahams <dave@boostpro.com>
5045
5046 * vc/ediff-util.el (ediff-buffer-type): New function.
5047 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
5048 rather than taking it as as argument.
5049 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
5050
5051 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
5052
5053 * json.el: Add pretty-print option (bug#12634).
5054 (json-encoding-separator, json-encoding-default-indentation)
5055 (json--encoding-current-indentation, json-encoding-pretty-print)
5056 (json-encoding-lisp-style-closings): New vars.
5057 (json--with-indentation): New macro.
5058 (json-encode-hash-table, json-encode-alist, json-encode-plist)
5059 (json-encode-array): Use it to obey json-encoding-pretty-print.
5060 (json-pretty-print-buffer, json-pretty-print): New commands.
5061
5062 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
5063
5064 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5065 Extract `ruby-syntax-propertize-expansions'.
5066 (ruby-syntax-propertize-expansions): Only change syntax on
5067 certain string delimiters, to punctuation. This way the common
5068 functions like forward-word and thing-at-point still work.
5069 (ruby-match-expression-expansion): Improve readability.
5070 (ruby-block-contains-point): New function.
5071 (ruby-add-log-current-method): Handle several edge cases.
5072
5073 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5074
5075 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5076 unload-feature finishes even when aborting an ongoing edebug session.
5077 Also, do not worry about edebug-mode, unload-feature takes care of it.
5078
5079 2012-12-13 Andreas Schwab <schwab@suse.de>
5080
5081 * net/tls.el (tls-program): Update customize type.
5082
5083 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5084
5085 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5086 (edebug-setup-hook, cl-read-load-hooks): Use it.
5087 (edebug-unload-function): New function. (Bug#13163)
5088
5089 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5090
5091 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5092 Otherwise, there could be errors in autoloading. (Bug#13151)
5093
5094 2012-12-13 JĂ¼rgen Hötzel <juergen@archlinux.org>
5095
5096 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5097 sequences.
5098
5099 2012-12-13 Alan Mackenzie <acm@muc.de>
5100
5101 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5102 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5103 around `forward-comment' not recognizing ^M as whitespace.
5104
5105 2012-12-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5106
5107 * progmodes/python.el (python-skeleton-class)
5108 (python-skeleton-def): Do not add space after defun name.
5109
5110 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5111
5112 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5113 (cl--symbol-function): Remove (now that funbound is like nil).
5114
5115 2012-12-12 Glenn Morris <rgm@gnu.org>
5116
5117 * button.el (button--area-button-p): Fix typo.
5118
5119 2012-12-12 Sam Steingold <sds@gnu.org>
5120
5121 * frame.el (frame-maximization-style): New user option.
5122 (toggle-frame-maximized): Toggle frame maximization according to
5123 `frame-maximization-style', bound to <f11>.
5124 (cycle-frame-maximized): Cycle between all maximization styles and
5125 non-maximized frame, bound to shift-<f11>.
5126
5127 2012-12-12 David Cadé <codename68@gmail.com>
5128
5129 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5130
5131 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5132
5133 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5134 (eieio-override-prin1): Don't quote kewords and booleans.
5135 (object-write) <eieio-default-superclass>: Don't put closing parens
5136 on new line, avoid needless empty lines, align values that are objects
5137 with the slot keyword (instead of beginning on the same line).
5138 (eieio-list-prin1): Align value with slot keyword; increase
5139 eieio-print-depth before printing members of the list.
5140
5141 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5144 a display text-property.
5145 (report-emacs-bug-hook): Don't bother deleting it any more.
5146
5147 * hilit-chg.el (highlight-save-buffer-state): Delete.
5148 Use with-silent-modifications instead.
5149 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5150
5151 * button.el: Handle buttons in display text-properties.
5152 (button--area-button-p, button--area-button-string):
5153 Use (STRING . STRING-POS) representation instead of just STRING.
5154
5155 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5156
5157 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5158 subdirectory be skipped.
5159
5160 2012-12-11 Glenn Morris <rgm@gnu.org>
5161
5162 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5163
5164 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5165 Treat preprocessor lines embedded in continuations like comments.
5166 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5167
5168 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5169
5170 * calc/calc.el (calc-standard-date-formats): Add more date
5171 formats.
5172 * calc/calc-forms.el (math-parse-iso-date): New function.
5173 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5174 (math-parse-iso-date-validate): Add extra error checking.
5175 (calc-date-notation): Add ability to access new date formats.
5176
5177 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5180 font-lock as well as when there's no text-property.
5181
5182 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5183
5184 * hi-lock.el: Refine the choice of default face.
5185 (hi-lock-keyword->face): New function. Use it wherever we used
5186 cadadadr instead.
5187 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5188 (hi-lock--last-face): Remove var.
5189 (hi-lock--unused-faces): New var to replace it.
5190 (hi-lock-read-face-name): Use/maintain it.
5191 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5192 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5193 if it has another face.
5194
5195 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5196
5197 * subr.el (w32notify-handle-event): New function.
5198 (inotify-handle-event): Doc fix.
5199
5200 2012-12-10 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
5201
5202 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5203
5204 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5205
5206 * simple.el (just-one-space): Doc fix.
5207
5208 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5209
5210 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5211
5212 2012-12-10 Le Wang <l26wang@gmail.com>
5213
5214 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5215 narrowed buffer (bug#12361).
5216
5217 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5218
5219 * vc/vc-hooks.el (vc-state): Doc fix.
5220
5221 2012-12-10 Glenn Morris <rgm@gnu.org>
5222
5223 * mail/rmail.el (rmail-maybe-display-summary):
5224 Preserve buffer, in case select-window changes it. (Bug#13066)
5225
5226 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5227
5228 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5229 cl-load-hook where they belong.
5230
5231 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5234
5235 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5236
5237 Parallelize byte compilation on MS-Windows.
5238 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5239 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5240 (WINS_BASIC): Define as concatenation of the above.
5241 (compile): Subdivide into 4 separate and independent jobs that can
5242 be run in parallel.
5243 (compile0-CMD, compile0-SH): New targets for compiling
5244 COMPILE_FIRST files, which are prerequisites for the rest of the
5245 byte-compilation.
5246 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5247 New targets for parallel compilation with cmd.exe.
5248 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5249 compiling under a Unixy shell.
5250
5251 2012-12-09 Chong Yidong <cyd@gnu.org>
5252
5253 * simple.el (set-mark-default-inactive): Delete this
5254 accidentally-introduced option.
5255 (set-mark-command, exchange-point-and-mark): Remove calls.
5256
5257 2012-12-09 Glenn Morris <rgm@gnu.org>
5258
5259 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5260 Respect a defcustom's :set function, if appropriate. (Bug#109)
5261 (eval-defun): Doc fix.
5262
5263 2012-12-08 Juri Linkov <juri@jurta.org>
5264
5265 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5266 (Info-fontify-node, Info-bookmark-make-record): Remove the
5267 file extension from Info-current-file (Bug#13016).
5268
5269 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5270
5271 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5272 point, still provide some default.
5273 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5274 names, since we don't use it right now. Actually return the list.
5275 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5276
5277 2012-12-07 Chong Yidong <cyd@gnu.org>
5278
5279 * novice.el (disabled-command-function): Remove a spurious help
5280 xref (Bug#13043). Suggested by Kelly Dean.
5281
5282 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5283 syntax is specified (Bug#13025).
5284
5285 * info.el (Info-set-mode-line): Remove the file extension from
5286 Info-current-file if there is one (Bug#13016).
5287
5288 2012-12-07 Glenn Morris <rgm@gnu.org>
5289
5290 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5291 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5292 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5293 and rmail-mime-decoded. (Bug#9841)
5294
5295 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5296 (batch-unrmail, unrmail): Doc fixes.
5297 (unrmail): Respect unrmail-mbox-format.
5298 * mail/rmail.el (rmail-mbox-format): New option.
5299 (rmail-show-message-1): Respect rmail-mbox-format.
5300
5301 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5304
5305 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5306
5307 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5308 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5309 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5310 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5311 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5312 (cl-progv): Don't rely on dynamic scoping to find the body.
5313 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5314 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5315 (cl-declaim): Use backquotes.
5316 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5317 Use "cl--" prefix for the object's tag.
5318
5319 * ses.el: Use advice-add/remove.
5320 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5321 (copy-region-as-kill, yank): Use advice-add.
5322 (ses-unload-function): Use advice-remove.
5323
5324 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5325
5326 * button.el: Make them work in header-lines (bug#12817).
5327 (button-map): Add bindings for header-line and mode-line use.
5328 (button-get, button-put, button-label): `button' may now be a string.
5329 (button-activate): Don't make it a defsubst.
5330 (button--area-button-p, button--area-button-string): New functions.
5331 (make-text-button): Fix the return value when `beg' was a string.
5332 (push-button): Handle the mode-line case.
5333
5334 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5335
5336 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5337 (sql-signum): Remove. Use `cl-signum' instead.
5338 (sql-read-passwd): Remove; use read-passwd instread.
5339 (sql-get-login-ext): Use read-string.
5340 (sql-get-login): Use dolist and pcase.
5341 (sql--completion-table): Rename from sql-try-completion.
5342 Use complete-with-action.
5343 (sql-mode): Don't change abbrev-all-caps globally.
5344 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5345 (sql-postgres-completion-object): Initialize vars in their `let'.
5346 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5347 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5348 (sql-comint-interbase): Use a single append, without setq.
5349 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5350
5351 * hi-lock.el: Rework the default face and the serialize regexp code.
5352 (hi-lock--auto-select-face-defaults): Remove.
5353 (hi-lock-string-serialize-serial): Remove.
5354 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5355 make weak.
5356 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5357 equal string.
5358 (hi-lock-set-pattern): Adjust accordingly.
5359 (hi-lock--regexps-at-point): Simplify accordingly.
5360 (hi-lock--auto-select-face-defaults): Remove.
5361 (hi-lock--last-face): New var to replace it.
5362 (hi-lock-read-face-name): Rewrite (bug#11095).
5363 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5364
5365 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5366
5367 * net/tramp.el (tramp-replace-environment-variables):
5368 Hide compiler warning.
5369 (tramp-file-name-for-operation): Remove `executable-find',
5370 `start-process', `call-process' and `call-process-region'.
5371
5372 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5373
5374 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5375 compatibility.
5376
5377 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5378
5379 2012-12-06 Chong Yidong <cyd@gnu.org>
5380
5381 * ffap.el (ffap-replace-file-component): Fix typo.
5382
5383 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5384
5385 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5386 fix open-paren-like token test (bug#12785).
5387
5388 2012-12-06 Glenn Morris <rgm@gnu.org>
5389
5390 * mail/rmailsum.el (rmail-new-summary): Tweak for
5391 rmail-maybe-display-summary changing buffer. (Bug#13066)
5392
5393 2012-12-06 Juri Linkov <juri@jurta.org>
5394
5395 * info.el (Info-fontify-node): Don't hide the last newline.
5396 (Bug#12272)
5397
5398 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5399
5400 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5401 so as to enable message-read-from-minibuffer to expand mail aliases.
5402
5403 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5404
5405 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5406 the `intangible' property.
5407 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5408
5409 2012-12-05 Deniz Dogan <deniz@dogan.se>
5410
5411 * net/rcirc.el (rcirc-urls): Update documentation.
5412 (rcirc-condition-filter): New function.
5413 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5414 and exclude consecutive duplicate URLs (Bug#6082).
5415
5416 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5417
5418 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5419 Check return code of copy command.
5420
5421 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5422 Use group `tramp'. Add version.
5423
5424 2012-12-05 Chong Yidong <cyd@gnu.org>
5425
5426 * ffap.el (ffap-url-regexp): Don't require matching at front of
5427 string (Bug#4952).
5428 (ffap-url-p): If only a substring matches, return that.
5429 (ffap-url-at-point): Use the return value of ffap-url-p.
5430 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5431 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5432 (ffap-guess-file-name-at-point): Likewise.
5433 (ffap-replace-file-component): Fix typo.
5434
5435 * info.el (info-display-manual): Add existing Info buffers, whose
5436 files may not be in Info-directory-list, to the completion.
5437 (info--manual-names): New helper function.
5438
5439 2012-12-05 Glenn Morris <rgm@gnu.org>
5440
5441 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5442 New functions, for detecting and resolving conflicts. (Bug#10709)
5443
5444 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5445
5446 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5447 (hi-lock-auto-select-face-defaults): New buffer local variable.
5448 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5449 (hi-lock-unface-buffer): Prompt user with useful defaults.
5450 With prefix arg, unhighlight all hi-lock patterns in buffer.
5451
5452 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5455
5456 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5457
5458 * Makefile.in (TRAMP_SRC):
5459 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5460
5461 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5462
5463 * net/tramp-adb.el: New package.
5464
5465 2012-12-04 Chong Yidong <cyd@gnu.org>
5466
5467 * terminal.el: Move to obsolete/.
5468
5469 * longlines.el: Move to obsolete/.
5470
5471 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5472 Remove code referring to longlines mode.
5473
5474 2012-12-03 Juri Linkov <juri@jurta.org>
5475
5476 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5477
5478 2012-12-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
5479
5480 * textmodes/ispell.el (ispell-init-process)
5481 (ispell-start-process, ispell-internal-change-dictionary):
5482 Make sure personal dictionary name is expanded after initial
5483 `default-directory' value. Use expanded strings for
5484 keep/restart checks and for value (Bug#13019).
5485
5486 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5487
5488 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5489
5490 2012-12-03 Leo Liu <sdl.web@gmail.com>
5491
5492 * files.el (dir-locals-read-from-file): Check file non-empty
5493 before reading. (Bug#13038)
5494
5495 2012-12-03 Glenn Morris <rgm@gnu.org>
5496
5497 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5498 Remove any version extension before checking filename. (Bug#13006)
5499 (jka-compr-compression-info-list): Belated :version bump.
5500
5501 2012-12-03 Chong Yidong <cyd@gnu.org>
5502
5503 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5504
5505 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5506 (buffer-menu): Doc fix (Bug#12294).
5507
5508 2012-12-03 Roland Winkler <winkler@gnu.org>
5509
5510 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5511 of diary-show-all-entries in the diary buffer (Bug#12994).
5512
5513 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5514
5515 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5516 "<STDIN>". This is binary safe.
5517
5518 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5519
5520 * calc/calc-forms.el (math-absolute-from-iso-dt)
5521 (math-date-to-iso-dt, math-parse-iso-date-validate)
5522 (math-iso-dt-to-date): New functions.
5523 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5524 (math-fd-isoweekday): New variables.
5525 (calc-date-notation, math-parse-standard-date, math-format-date)
5526 (math-format-date-part): Add support for more formatting codes.
5527
5528 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5529
5530 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5531 current buffer's file name when called interactively (Bug#12488).
5532
5533 2012-12-02 Juri Linkov <juri@jurta.org>
5534
5535 * info.el (info-display-manual): Don't clobber an existing Info
5536 buffer (Bug#10770). Add completion (Bug#10771).
5537
5538 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5539
5540 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5541 before using it for comparison (Bug#5297).
5542
5543 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5544
5545 * textmodes/css-mode.el (css-current-defun-name): New function.
5546 (css-mode): Use it.
5547
5548 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5549 (html-mode): Use it.
5550
5551 2012-12-01 Chong Yidong <cyd@gnu.org>
5552
5553 Modularize add-log-current-defun (Bug#2224).
5554 Suggested by Jari Aalto.
5555
5556 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5557 (add-log-current-defun): Move mode-specific code to other files.
5558 (add-log-lisp-like-modes, add-log-c-like-modes)
5559 (add-log-tex-like-modes): Variables deleted.
5560
5561 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5562 (lisp-mode-variables): Use it.
5563
5564 * progmodes/cc-mode.el (c-common-init):
5565 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5566 add-log-current-defun-function.
5567
5568 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5569 (m4-mode): Use it.
5570
5571 * progmodes/perl-mode.el (perl-current-defun-name): New.
5572 (perl-mode): Use it.
5573
5574 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5575 Use lisp-current-defun-name.
5576
5577 * textmodes/tex-mode.el (tex-current-defun-name): New.
5578 (tex-common-initialization): Use it.
5579
5580 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5581 (texinfo-mode): Use it.
5582
5583 2012-12-01 Chong Yidong <cyd@gnu.org>
5584
5585 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5586 * progmodes/autoconf.el (autoconf-mode):
5587 * progmodes/js.el (js-mode):
5588 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5589 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5590 * progmodes/perl-mode.el (perl-mode):
5591 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5592 * textmodes/css-mode.el (css-mode):
5593 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5594 (sgml-tags-invisible, sgml-guess-indent):
5595 * textmodes/tex-mode.el (tex-common-initialization)
5596 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5597 (doctex-mode, plain-tex-mode, latex-mode):
5598 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5599
5600 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5601
5602 * vc/vc-hg.el (vc-hg-next-revision):
5603 Ensure use of default "tip" output format. (Bug#6968)
5604
5605 2012-12-01 Kim F. Storm <storm@cua.dk>
5606
5607 * startup.el (fancy-startup-tail): Add a clickable link
5608 (Bug#2176).
5609
5610 2012-12-01 Chong Yidong <cyd@gnu.org>
5611
5612 * startup.el (fancy-startup-tail): Improve the message about
5613 auto-save files (Bug#2176).
5614
5615 * files.el (recover-session): Improve the descriptive message, and
5616 use substitute-command-keys.
5617
5618 2012-12-01 Glenn Morris <rgm@gnu.org>
5619
5620 * ido.el (ido-file-internal):
5621 Handle other-window, other-frame for dired. (Bug#13036)
5622
5623 2012-11-30 Glenn Morris <rgm@gnu.org>
5624
5625 * icomplete.el (icomplete-separator): Fix :version.
5626
5627 2012-11-30 Chong Yidong <cyd@gnu.org>
5628
5629 * shell.el (shell): For C-u M-x shell, use an inactive shell
5630 buffer as the default (Bug#1975).
5631 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5632 (shell-mode): Use them to reapply ansi colorization if Shell mode
5633 is re-enabled.
5634
5635 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5636
5637 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5638
5639 2012-11-30 Samuel Bronson <naesten@gmail.com>
5640
5641 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5642 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5643
5644 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5645
5646 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5647 by move-to-column (Bug#3234).
5648
5649 2012-11-30 Chong Yidong <cyd@gnu.org>
5650
5651 * longlines.el (longlines-wrap-line, longlines-encode-region):
5652 Preserve text properties (Bug#1425).
5653
5654 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5655
5656 * vc/vc.el (vc-register): Allow registering a file which is
5657 already registered with a different backend (Bug#10589).
5658
5659 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5660 Stefan Monnier <monnier@iro.umontreal.ca>
5661
5662 * icomplete.el: Change separator; add ido-style commands.
5663 (icomplete-show-key-bindings): Remove custom var.
5664 (icomplete-get-keys): Remove function.
5665 (icomplete-forward-completions, icomplete-backward-completions):
5666 New commands.
5667 (icomplete-minibuffer-map): New var.
5668 (icomplete-minibuffer-setup): Use it.
5669 (icomplete-exhibit): Don't delay if the list of completions is known.
5670 (icomplete-separator): New custom.
5671 (icomplete-completions): Use it.
5672 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5673 (minibuffer-force-complete-and-exit): New command.
5674 (minibuffer--complete-and-exit): New function extracted from
5675 minibuffer-complete-and-exit.
5676 (minibuffer-complete-and-exit): Use it.
5677
5678 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5679 error message when the file doesn't exist (bug#12974).
5680
5681 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5682
5683 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5684
5685 2012-11-29 Glenn Morris <rgm@gnu.org>
5686
5687 * files.el (hack-dir-local-variables): Warn if try to set
5688 coding via dir-locals, since it doesn't work. (Bug#7169)
5689
5690 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5691 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5692 Set buffer-local value of desktop-save-buffer.
5693 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5694 New functions.
5695 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5696 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5697
5698 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5699 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5700 Doc fix.
5701 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5702 Doc fixes.
5703
5704 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5705
5706 * calc/calc-forms.el (calc-date-notation): Fix regexp
5707 used to find time codes. Fix symbol for seconds.
5708
5709 2012-11-27 Glenn Morris <rgm@gnu.org>
5710
5711 * emacs-lisp/derived.el (derived-mode-make-docstring):
5712 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5713
5714 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5715
5716 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5717 lexically scoped variables (bug#13005).
5718
5719 2012-11-27 Glenn Morris <rgm@gnu.org>
5720
5721 * vc/vc-hooks.el (vc-mistrust-permissions):
5722 Default to t, to avoid data-loss. (Bug#11490)
5723
5724 2012-11-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
5725
5726 * progmodes/python.el (python-indent-guess-indent-offset):
5727 If indentation is guessed make python-indent-offset buffer-local.
5728
5729 Fix Imenu regression.
5730 * progmodes/python.el (python-nav-beginning-of-defun):
5731 Fix forward movement when statement(s) separates point from defun.
5732 (python-imenu-prev-index-position): New function.
5733
5734 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5735
5736 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5737
5738 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5739 Don't set buffer-file-type. Return nil. (Bug#12989)
5740
5741 2012-11-27 Glenn Morris <rgm@gnu.org>
5742
5743 * hippie-exp.el (hippie-expand-try-functions-list):
5744 Re-autoload it. (Bug#12982)
5745
5746 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5747
5748 * descr-text.el (describe-char-padded-string):
5749 Call internal-char-font only on GUI frames. (Bug#11964)
5750
5751 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5752
5753 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5754 and obsoletion message.
5755
5756 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5759 the constructs to keep outside of the `cl-block' (bug#12977).
5760
5761 2012-11-27 Chong Yidong <cyd@gnu.org>
5762
5763 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5764 keep reading until we get the up-event anyway, in order to process
5765 the up-event for mouse-1-click-follows-link (Bug#12971).
5766
5767 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5768
5769 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5770 base function is not yet defined (bug#12965).
5771 (ad-activate-advised-definition): Use ad-compile-function.
5772 (ad-activate): Use cond.
5773
5774 2012-11-25 Leo Liu <sdl.web@gmail.com>
5775
5776 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5777 (Bug#12979)
5778
5779 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5780
5781 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5782 reftex-section-info-function in order to be compatible with
5783 Texinfo integration.
5784
5785 * textmodes/reftex.el (reftex-section-pre-regexp)
5786 (reftex-section-post-regexp, reftex-section-info-function):
5787 New variable.
5788 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5789 reftex-section-post-regexp, and reftex-section-info-function in order
5790 to be compatible with Texinfo integration.
5791
5792 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5793 use reftex-section-pre-regexp variable in order to be compatible with
5794 Texinfo integration.
5795
5796 2012-11-25 Chong Yidong <cyd@gnu.org>
5797
5798 * faces.el: Make face-spec-set more analogous to setq.
5799 (face-spec-set): Change the third arg to specify whether this
5800 function is being called via defface, customize, or a third party.
5801 Set the appropriate symbol properties. Clear the override spec if
5802 setting via Custom. Initialize face if necessary. (Bug#4988)
5803 (face-spec-recalc): Allow theme faces to completely replace the
5804 defface spec, in the same way as custom faces (Bug#8454).
5805
5806 * cus-face.el (custom-declare-face): Move face initialization to
5807 face-spec-set.
5808 (custom-theme-set-faces): Don't initialize the face name here, as
5809 that is now done in face-spec-set.
5810
5811 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5812 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5813 Simplify by using the new arg to face-spec-set.
5814
5815 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5816 reset face-override-spec too, and use custom-declare-face.
5817
5818 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5819
5820 * term/ns-win.el (ns-initialize-window-system): Move creation of
5821 fontsets here (Bug#11964).
5822
5823 2012-11-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
5824
5825 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5826 cell renaming.
5827
5828 2012-11-24 Chong Yidong <cyd@gnu.org>
5829
5830 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5831 obsolete.
5832
5833 * custom.el (custom-theme-set-variables): Use a topological sort
5834 for ordering by custom dependencies (Bug#12952).
5835 (custom--sort-vars, custom--sort-vars-1): New functions.
5836
5837 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5840 lexical-binding (bug#12938).
5841
5842 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5843
5844 * image-mode.el (image-transform-check-size): Use assertions only
5845 for images of type imagemagick.
5846
5847 Otherwise no error, image-transform-fit-to-{width,height} is
5848 silently ignored, as before. Doc fix.
5849
5850 2012-11-24 Chong Yidong <cyd@gnu.org>
5851
5852 * faces.el (color-defined-p): Doc fix (Bug#12853).
5853
5854 2012-11-24 Juri Linkov <juri@jurta.org>
5855
5856 * dired.el (dired-mark): Add optional arg `interactive'.
5857 Check for `use-region-p' if `interactive' is non-nil.
5858 (dired-unmark, dired-flag-file-deletion): Add optional arg
5859 `interactive'. Call `dired-mark' with the arg `interactive'.
5860 (Bug#10624)
5861
5862 * wdired.el: Revert 2012-10-17 change partly and replace it with
5863 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5864 (wdired-finish-edit): Add marks for new file names to
5865 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5866 after `revert-buffer'.
5867 (wdired-do-renames): Remove calls to `dired-remove-file',
5868 `dired-add-file', `dired-add-entry'. (Bug#11795)
5869
5870 2012-11-24 Alan Mackenzie <acm@muc.de>
5871
5872 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5873
5874 Fix bugs in the state cache. Enhance a debugging mechanism.
5875 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5876 "brace at column zero" strategy for C++.
5877 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5878 (c-parse-state-point): New variable.
5879 (c-record-parse-state-state): Record old parse state with
5880 `copy-tree'. Record previous value of point.
5881 (c-debug-parse-state-double-cons): New debugging function.
5882 (c-debug-parse-state): Call the above new function.
5883 (c-toggle-parse-state-debug): Output a confirmatory message.
5884
5885 * progmodes/cc-mode.el (c-before-change, c-after-change):
5886 Call c-invalidate-state-cache from `c-before-change' instead of
5887 `c-after-change'.
5888
5889 2012-11-23 Chong Yidong <cyd@gnu.org>
5890
5891 * find-cmd.el (find-constituents): Add executable, ipath,
5892 readable, samefile, writable, daystart, regextype (Bug#12856).
5893
5894 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5895
5896 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5897
5898 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5899
5900 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5901 definition. This fixes a bootstrap failure.
5902 (calc-gregorian-switch): In menu, put dates before regions.
5903 This is easier to follow, lines up better in the menu, and lets us
5904 coalesce regions that switch at the same time. Give country
5905 names, not "Vatican", as that's better for non-expert users.
5906 Use names that are stable between the date of switch and now, e.g.,
5907 Bohemia and Moravia (which existed then and now) and not
5908 Czechoslovakia (which didn't exist then and doesn't exist now).
5909 What is now the U.S. mostly did not switch at the same time as
5910 Britain, so omit the U.S. Correct spelling of "Britain".
5911 Catholic Switzerland was too much of a mess, so omit it.
5912
5913 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5914
5915 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5916 after the variable is changed.
5917
5918 2012-11-21 Daniel Colascione <dancol@dancol.org>
5919
5920 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5921 in SQL declarations for font-lock.
5922 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5923
5924 2012-11-21 Glenn Morris <rgm@gnu.org>
5925
5926 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5927 (face-italic-p): Add optional argument "inherit".
5928
5929 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5930 Remove -p suffix from names, for consistency with other set-face-*.
5931 (set-face-inverse-video): Fix interactive spec.
5932 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5933 * textmodes/table.el (table--update-cell-face):
5934 Use set-face-inverse-video rather than now obsolete alias.
5935
5936 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5937
5938 * simple.el (line-move): Don't call line-move-partial if
5939 scroll-conservatively is in effect. (Bug#12927)
5940
5941 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5942
5943 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5944 Fallback on completion-at-point rather than
5945 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5946 (eshell-cmpl-initialize): Setup completion-at-point.
5947
5948 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5949
5950 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5951
5952 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5953
5954 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5955 are remote, check out-of-band property for both.
5956
5957 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5960 code rewrite.
5961
5962 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5963
5964 More minor time fixes.
5965 * calendar/time-date.el: Commentary fix.
5966 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5967 too much other code depends on (0 0) time stamps.
5968 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5969 Add a couple of FIXME comments.
5970
5971 Minor cleanup for times as lists of four integers.
5972 * files.el (dir-locals-directory-cache):
5973 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5974 Doc fixes.
5975 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5976 * ps-bdf.el (bdf-file-newer-than-time):
5977 Process four-integers time stamps, not two. Doc fixes.
5978
5979 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5980
5981 * uniquify.el (uniquify-managed): Use defvar-local.
5982 (rename-buffer, create-file-buffer): Advise with advice-add.
5983 (uniquify-unload-function): Unadvise accordingly.
5984
5985 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5986 (trace-buffer): Don't purecopy.
5987 (trace-entry-message, trace-exit-message): Add `context' arg.
5988 (trace--timer): New var.
5989 (trace-make-advice): Adjust for use in nadvice.
5990 Add `context' argument. Delay `display-buffer' via a timer.
5991 (trace-function-internal): Use advice-add.
5992 (trace--read-args): New function.
5993 (trace-function-foreground, trace-function-background): Use it.
5994 (trace-function): Rename to trace-function-foreground and redefine as
5995 an alias to that new name.
5996 (untrace-function, untrace-all): Adjust to the use of nadvice.
5997
5998 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5999
6000 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
6001
6002 * subr.el (called-interactively-p-functions): New var.
6003 (internal--called-interactively-p--get-frame): New macro.
6004 (called-interactively-p, interactive-p): Rewrite in Lisp.
6005 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
6006 (called-interactively-p-functions): Use it.
6007 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
6008 (called-interactively-p-functions): Use it.
6009 * allout.el (allout-called-interactively-p): Don't assume
6010 called-interactively-p is a subr.
6011
6012 2012-11-20 Glenn Morris <rgm@gnu.org>
6013
6014 * profiler.el (profiler-report-mode-map): Add a menu.
6015 No need to bind `q' because we derive from special-mode.
6016 (profiler-report-find-entry): Handle calls from the menu-bar.
6017
6018 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
6019
6020 * emacs-lisp/byte-run.el (defun-declarations-alist):
6021 Allow a compiler-macro to be a lambda expression.
6022
6023 * progmodes/python.el: Use cl-lib. Move var declarations outside of
6024 eval-when-compile.
6025 (python-syntax-context): Add compiler-macro.
6026 (python-font-lock-keywords): Simplify with De Morgan.
6027
6028 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
6029
6030 * files.el (load-file): Require match in minibuffer selection, as was
6031 the case in Emacs-20 before we changed the spec to allow .elc files
6032 (bug#12935).
6033
6034 * json.el: Don't require cl since we don't use it.
6035 * color.el: Don't require cl.
6036 (color-complement): `caddr' -> `nth 2'.
6037
6038 * calendar/time-date.el (time-to-seconds): De-obsolete.
6039
6040 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
6041
6042 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
6043 year numbers.
6044 (math-date-to-julian-dt): Adjust the initial approximation for the
6045 year to deal with the new definition of the DATE.
6046
6047 2012-11-19 Daniel Colascione <dancol@dancol.org>
6048
6049 * term/w32-win.el (cygwin-convert-path-from-windows):
6050 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6051
6052 2012-11-18 Chong Yidong <cyd@gnu.org>
6053
6054 * filecache.el (file-cache--read-list): New function.
6055 (file-cache-add-directory-list, file-cache-add-file-list)
6056 (file-cache-delete-file-list, file-cache-delete-directory-list):
6057 Use it to read a list of files or directories (Bug#12846).
6058 (file-cache-add-file, file-cache-add-directory)
6059 (file-cache-delete-file-list, file-cache-delete-file-regexp)
6060 (file-cache-delete-directory): Print an message.
6061
6062 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
6063
6064 * calc/calc-forms.el (math-date-to-dt): Use integer date when
6065 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
6066
6067 2012-11-18 Glenn Morris <rgm@gnu.org>
6068
6069 * image.el (insert-image, insert-sliced-image): Doc fix.
6070
6071 2012-11-18 Chong Yidong <cyd@gnu.org>
6072
6073 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6074 (Bug#12810).
6075
6076 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6077
6078 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6079 response when the target file is in a subdirectory (Bug#12757).
6080
6081 2012-11-18 Chong Yidong <cyd@gnu.org>
6082
6083 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6084
6085 2012-11-18 Glenn Morris <rgm@gnu.org>
6086
6087 * emacs-lisp/cl-lib.el (face-underline-p):
6088 Use set-face-underline rather than the alias set-face-underline-p.
6089
6090 * window.el (with-temp-buffer-window): Doc fix.
6091 * subr.el (with-output-to-temp-buffer):
6092 Add doc xref to with-temp-buffer-window.
6093
6094 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6095
6096 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6097 * calc/calc.el (math-format-date-cache): Declare.
6098
6099 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6100
6101 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6102 It also uses January 1, 1 AD as its day number 1.
6103 * calc/calc-forms.el (math-julian-date-beginning)
6104 (math-julian-date-beginning-int): Implement this.
6105
6106 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6107
6108 * descr-text.el (quail-find-key):
6109 * dired.el (desktop-file-name):
6110 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6111 * generic-x.el (comint-mode, comint-exec):
6112 * image-dired.el (widget-forward):
6113 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6114 (speedbar-change-expand-button-char)
6115 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6116 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6117 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6118 (widget-field-action, widget-value-set):
6119 * speedbar.el (imenu--make-index-alist):
6120 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6121 (ring-length, ring-insert):
6122 * vcursor.el (compare-windows-skip-whitespace):
6123 * woman.el (dired-get-filename):
6124 Declare functions.
6125
6126 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6127
6128 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6129
6130 * calc/calc.el (calc-gregorian-switch): New variable.
6131
6132 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6133 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6134 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6135 (math-leap-year-p): Add option to distinguish between Julian
6136 and Gregorian calendars.
6137 (math-day-number): Use `math-day-in-year' to do the computations.
6138 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6139 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6140 to do the computations.
6141 (math-date-to-dt): Use `math-date-to-julian-dt' and
6142 `math-date-to-gregorian-dt' to do the computations.
6143 (calcFunc-weekday, math-format-date-part): Use the new version of
6144 the DATE to determine the weekday.
6145 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6146 when necessary.
6147
6148 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6149
6150 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6151 Cygwin; otherwise use 'file:'. (Bug#12914)
6152 (cygwin-convert-path-from-windows): Declare, to avoid
6153 byte-compiler warnings.
6154
6155 2012-11-17 Andreas Politz <politza@fh-trier.de>
6156
6157 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6158 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6159 prefix and negative numeric prefix args (Bug#12795).
6160
6161 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6162
6163 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6164 Don't signal an error with a score that is too low to add to the
6165 list of top scores. (Bug#12779)
6166
6167 2012-11-17 Chong Yidong <cyd@gnu.org>
6168
6169 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6170
6171 * filecache.el (file-cache-add-file): Handle relative file name in
6172 the argument (Bug#12694).
6173
6174 2012-11-16 JĂ¼rgen Hötzel <juergen@archlinux.org> (tiny change)
6175
6176 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6177
6178 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6181
6182 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6183
6184 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6185
6186 * window.el (enlarge-window, shrink-window): Don't mention return
6187 value in doc-string (Bug#12896).
6188 (window--display-buffer): Don't resize frames - it won't work
6189 with all window managers and defeat pop-up-frame-alist.
6190 (display-buffer-alist): In doc-string explain that CONDITION can
6191 be a function and which arguments are passed to it (Bug#12854).
6192 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6193 expressions (Bug#12854).
6194 (display-buffer): Pass ACTION argument to
6195 display-buffer-assq-regexp.
6196
6197 2012-11-16 Glenn Morris <rgm@gnu.org>
6198
6199 * window.el (fit-frame-to-buffer-bottom-margin)
6200 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6201
6202 * faces.el (face-underline-p): Use face-attribute-specified-or.
6203
6204 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6205
6206 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6207
6208 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6211
6212 2012-11-16 Glenn Morris <rgm@gnu.org>
6213
6214 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6215 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6216
6217 * faces.el (face-underline-p): Doc fix. Handle :underline being
6218 things other than `t' (a string, a list).
6219 (face-inverse-video-p): Doc fix.
6220 (set-face-underline): Rename it back from set-face-underline-p.
6221 Doc fix. Allow interactive input of values other than t.
6222 (read-face-attribute): Apply formatting to :underline,
6223 since like :box and :stipple it can take list values.
6224
6225 * term.el (ansi-term): Don't let C-x escape-char binding
6226 clobber the more standard C-c binding. (Bug#12842)
6227
6228 * subr.el (set-temporary-overlay-map): Doc fix.
6229
6230 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6231
6232 * window.el (record-window-buffer)
6233 (display-buffer-record-window): When copying the markers to
6234 window-point preserve window-point-insertion-type. (Bug#12588)
6235
6236 2012-11-16 Glenn Morris <rgm@gnu.org>
6237
6238 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6239 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6240 Use new names for hooks rather than obsolete aliases.
6241
6242 2012-11-15 Daniel Colascione <dancol@dancol.org>
6243
6244 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6245 prefix instead of "file:" so that when FILE-NAME begins with "//",
6246 as it does when the target file is on a network share, url-handler
6247 isn't confused.
6248
6249 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6250
6251 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6252 a preactivated advice from an old advice.el; they're not compatible!
6253
6254 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6255
6256 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6257 Fix string-spec case.
6258
6259 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6260
6261 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6262
6263 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6264 (advice--buffer-local-function-sample): New var.
6265 (advice--set-buffer-local, advice--buffer-local): New functions.
6266 (add-function, remove-function): Use them.
6267
6268 2012-11-15 Drew Adams <drew.adams@oracle.com>
6269
6270 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6271
6272 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6273
6274 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6275 potential binding of print-gensym to t, and prettify (back)quotes in
6276 case they appear in args's default values (bug#12884).
6277
6278 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6279
6280 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6281 (advice-eval-interactive-spec): New function.
6282 (advice--make-interactive-form): Support around advice (bug#12844).
6283
6284 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6285
6286 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6287 more strict. Add docstring.
6288 (ruby-expression-expansion-re): Extract from
6289 `ruby-match-expression-expansion'.
6290 (ruby-syntax-propertize-function): After everything else, search
6291 for expansions in string literals, mark their insides as
6292 whitespace syntax and save match data for font-lock.
6293 (ruby-font-lock-keywords): Use the 2nd group from expression
6294 expansion matches.
6295 (ruby-match-expression-expansion): Use the match data saved to the
6296 text property in ruby-syntax-propertize-function.
6297
6298 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6301 (bug#12879).
6302
6303 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6304
6305 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6306 start/end keyword a bit harder. Works with different values of N.
6307 Add more comments.
6308 (ruby-end-of-block): Update accordingly.
6309
6310 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6311
6312 * woman.el (woman-file-name): Don't mess with unread-command-events
6313 (bug#12861).
6314
6315 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6316 Remove out of date self-require hack.
6317 (ad-do-advised-functions): Use simple `dolist'.
6318 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6319 (ad-advice-definition): Redefine as functions.
6320 (ad-advice-classes): Move before first use.
6321 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6322 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6323 (ad--defalias-fset): Remove functions.
6324 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6325 (ad-get-orig-definition): Rewrite.
6326 (ad-make-advised-definition-docstring): Change base docstring.
6327 (ad-real-orig-definition): Rewrite.
6328 (ad-map-arglists): Change name of called function.
6329 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6330 (ad-make-advised-definition): Simplify.
6331 (ad-assemble-advised-definition): Tweak for new calling context.
6332 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6333 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6334 function and call ad-activate if needed.
6335 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6336 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6337 (ad-compile-function): Compile ad-Advice-*.
6338 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6339 (ad-start-advice, ad-stop-advice): Remove.
6340
6341 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6342
6343 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6344 period before class method names, not after. Remove handling of
6345 one impossible case. Add comments.
6346
6347 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * emacs-lisp/advice.el: Remove support for freezing.
6350 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6351 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6352 Remove support for `freeze'.
6353
6354 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6355 override the default.
6356 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6357 cl--dotimes/dolist.
6358 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6359 `cl' is loaded.
6360
6361 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6362 from add-advice.
6363 (advice--strip-macro): New function.
6364 (advice--defalias-fset): Use them to handle macros.
6365 (advice-add): Use them.
6366 (advice-member-p): Correctly handle macros.
6367
6368 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6369
6370 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6371 Never font-lock the beginning of singleton class as heredoc.
6372
6373 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6376
6377 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6378
6379 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6380 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6381 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6382
6383 2012-11-13 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6384
6385 Fix end-of-defun misbehavior.
6386 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6387 python-beginning-of-defun-function. Handle nested defuns
6388 correctly.
6389 (python-nav-end-of-defun): Rename from
6390 python-end-of-defun-function. Ensure forward movement.
6391 (python-info-current-defun): Reimplement to work as intended
6392 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6393 parent defuns as soon as possible.
6394
6395 2012-11-13 Glenn Morris <rgm@gnu.org>
6396
6397 * progmodes/flymake.el (flymake-error-bitmap)
6398 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6399 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6400
6401 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6402
6403 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6404 backward, always stop at indentation. Reverts the change from
6405 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6406
6407 2012-11-13 Glenn Morris <rgm@gnu.org>
6408
6409 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6410 Add ibuffer-filter-by-derived-mode.
6411
6412 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6413 the same name shadowing each other.
6414
6415 * window.el (with-temp-buffer-window): Doc tweak.
6416
6417 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6418
6419 * help.el (temp-buffer-max-height):
6420 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6421 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6422
6423 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * emacs-lisp/nadvice.el: New package.
6426 * subr.el (special-form-p): New function.
6427 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6428 (elp-all-instrumented-list): Remove var.
6429 (elp-not-profilable): Remove elp-wrapper.
6430 (elp-profilable-p): Use autoloadp and special-form-p.
6431 (elp--advice-name): New const.
6432 (elp-instrument-function): Use advice-add.
6433 (elp--instrumented-p): New predicate.
6434 (elp-restore-function): Use advice-remove.
6435 (elp-restore-all, elp-reset-all): Use mapatoms.
6436 (elp-set-master): Use elp--instrumented-p.
6437 (elp--make-wrapper): Rename from elp-wrapper, return a function
6438 suitable for advice-add. Use cl-inf.
6439 (elp-results): Use mapatoms+elp--instrumented-p.
6440 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6441 (debug-function-list): Remove var.
6442 (debug): Rename arg, and then let-bind it explicitly inside.
6443 (debugger-setup-buffer): Rename arg.
6444 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6445 (debugger-frame-number): Adjust to new debug-on-entry setup.
6446 (debug--implement-debug-on-entry): Rename from
6447 implement-debug-on-entry, add argument.
6448 (debugger-special-form-p): Remove, use special-form-p instead.
6449 (debug-on-entry): Use advice-add.
6450 (debug--function-list): New function.
6451 (cancel-debug-on-entry): Use it, along with advice-remove.
6452 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6453 (debugger-list-functions): Use debug--function-list instead of
6454 debug-function-list.
6455 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6456 (ad-special-form-p): Remove, use special-form-p instead.
6457 (ad-set-advice-info): Use add-function and remove-function.
6458 (ad--defalias-fset): Adjust accordingly.
6459
6460 2012-11-10 Glenn Morris <rgm@gnu.org>
6461
6462 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6463 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6464 (report-emacs-bug-create-existing-bugs-buffer)
6465 (report-emacs-bug-parse-query-results)
6466 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6467
6468 * term.el (term-default-fg-color, term-default-bg-color):
6469 Make obsolete, rather than just saying "deprecated" in the doc.
6470
6471 * term.el (term): Rename from `term-face'.
6472 (term-current-face, ansi-term-color-vector)
6473 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6474 Update all users.
6475
6476 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6477
6478 * server.el (server-create-window-system-frame): Handle Nextstep
6479 specially (Bug#12780).
6480
6481 2012-11-10 Glenn Morris <rgm@gnu.org>
6482
6483 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6484 Unautoload, and make obsolete. (Bug#7449)
6485
6486 2012-11-10 Chong Yidong <cyd@gnu.org>
6487
6488 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6489 rename from diff-remove-trailing-whitespace (Bug#12831).
6490
6491 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6492
6493 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6494 miscompilation of trace.el.
6495
6496 2012-11-10 Glenn Morris <rgm@gnu.org>
6497
6498 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6499
6500 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6501
6502 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6503 (bug#12812).
6504
6505 2012-11-10 Chong Yidong <cyd@gnu.org>
6506
6507 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6508 a defcustom with an appropriate :set function.
6509 (minibuffer-default--in-prompt-regexps): New function.
6510
6511 2012-11-10 Glenn Morris <rgm@gnu.org>
6512
6513 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6514 (define-modify-macro): Doc fixes.
6515
6516 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6517 (gv-define-simple-setter): Update doc of `fix-return'.
6518
6519 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6520
6521 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6522 twice when `fix-return' is set (bug#12813).
6523
6524 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6525 gv-define-simple-setter (bug#12812).
6526
6527 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6528 (bug#12756).
6529
6530 2012-11-10 Glenn Morris <rgm@gnu.org>
6531
6532 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6533
6534 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6535 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6536 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6537 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6538
6539 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6540
6541 2012-11-10 Leo Liu <sdl.web@gmail.com>
6542
6543 * ido.el (ido-set-matches-1): Improve flex matching performance by
6544 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6545
6546 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6547
6548 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6549 (ad--defalias-fset): New function.
6550 (ad-safe-fset): Remove.
6551 (ad-make-freeze-definition): Use cl-letf*.
6552
6553 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * subr.el (dolist): Don't bind VAR in RESULT.
6556
6557 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6558 (fset, documentation): Don't save real def since we don't advise.
6559 (ad-do-advised-functions): Remove problematic `result-form'.
6560 (ad-safe-fset): `ad-real-fset' => `fset'.
6561 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6562 uses CL's dolist internally.
6563 (ad-arglist): Remove unused arg `name'.
6564 (ad-docstring, ad-make-advised-docstring):
6565 `ad-real-documentation' => `documentation'.
6566 (warning-suppress-types): Declare.
6567 (ad-set-arguments): Simple CSE.
6568 (ad-recover-normality): Sanity check.
6569
6570 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6571 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6572
6573 2012-11-09 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
6574
6575 * ses.el: symbol to coordinate mapping is made by symbol property
6576 `ses-cell'. This means that the same mapping is done for all SES
6577 sheets. That is good enough for cells with standard A1 names, but
6578 not for named cell. So a hash map is added for the latter.
6579 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6580 (ses-sym-rowcol): Use hashmap for named cell.
6581 (ses-is-cell-sym-p): New defun.
6582 (ses-decode-cell-symbol): New defun.
6583 (ses-create-cell-variable): Add cell to hashmap when name is not
6584 A1-like.
6585 (ses-rename-cell): Check that cell new name is not already in
6586 spreadsheet with the use of ses-is-cell-sym-p
6587 (ses-rename-cell): Use hash map for named cells, but accept also
6588 renaming back to A1-like.
6589
6590 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6591
6592 * emacs-lisp/advice.el: Use new dynamic docstrings.
6593 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6594 Use dynamic-docstring-function instead of ad-advice-info.
6595 (ad--make-advised-docstring): New function extracted from
6596 ad-make-advised-docstring.
6597 (ad-make-advised-docstring): Use it.
6598 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6599 from sql-help.
6600 (sql-help): Use it with dynamic-docstring-function.
6601
6602 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6603
6604 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * files.el (hack-one-local-variable--obsolete): New function.
6607 (hack-one-local-variable): Use it for obsolete settings.
6608
6609 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6610 the new name.
6611
6612 * progmodes/js.el (js--filling-paragraph): New var.
6613 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6614 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6615 less sneaky.
6616
6617 2012-11-08 Julien Danjou <julien@danjou.info>
6618
6619 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6620 `auto-mode-alist' (Bug#12835).
6621
6622 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6623
6624 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6625 (perl--prettify-symbols-alist): New const.
6626 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6627 New functions.
6628 (perl-font-lock-keywords-2): Use them.
6629 (perl-electric-noindent-p): New function.
6630 (perl-mode): Use it to set up electric-indent-mode.
6631 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6632 (perl-mode-map): Remove bindings for them.
6633 (perl-imenu-generic-expression, perl-outline-level):
6634 Match functions&packages in column>0.
6635
6636 * env.el (env--substitute-vars-regexp): New const.
6637 (substitute-env-vars): Use it. Add `only-defined' arg.
6638 * net/tramp.el (tramp-replace-environment-variables): Use it.
6639
6640 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6641 Byte-compile *before* eval in eval-and-compile.
6642 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6643 (byte-compile-file-form-autoload): Don't hide actual definition.
6644 (byte-compile-maybe-guarded): Accept `functionp' as well.
6645
6646 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6647
6648 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6649
6650 * notifications.el (notifications-get-server-information-method):
6651 New defconst.
6652 (notifications-get-capabilities): Fix docstring.
6653 (notifications-get-server-information): New defun.
6654
6655 2012-11-06 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6656
6657 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6658 readability.
6659
6660 * textmodes/ispell.el: Experimental support for support debugging.
6661 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6662 buffer for ispell.
6663 (ispell-print-if-debug): New function to print stuff to
6664 `ispell-debug-buffer' if debugging is enabled.
6665 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6666 show some debugging info.
6667 (ispell-buffer-with-debug): New function that creates a debugging
6668 buffer and calls `ispell-buffer' with debugging enabled.
6669
6670 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6671 comment in autoconf mode. (Bug#12768)
6672
6673 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6674
6675 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6676 frame-first-window, frame-root-window, frame-selected-window,
6677 minibuffer-selected-window, minibuffer-window,
6678 window-absolute-pixel-edges, window-at, window-body-height,
6679 window-body-width, window-display-table, window-combination-limit,
6680 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6681 window-inside-edges, window-inside-pixel-edges, window-left-child,
6682 window-left-column, window-margins, window-next-buffers,
6683 window-next-sibling, window-new-normal, window-new-total,
6684 window-normal-size, window-parameter, window-parameters, window-parent,
6685 window-pixel-edges, window-point, window-prev-buffers,
6686 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6687 window-start, window-text-height, window-top-child, window-top-line,
6688 window-total-height, window-total-width and window-use-time to the list
6689 of functions without side-effects.
6690 (toplevel): Add window-valid-p to the list of error-free functions
6691 without side-effects.
6692
6693 2012-11-05 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
6694
6695 * textmodes/ispell.el (ispell-program-name):
6696 Update spellchecker parameters when customized.
6697
6698 2012-11-04 Glenn Morris <rgm@gnu.org>
6699
6700 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6701
6702 2012-11-04 Chong Yidong <cyd@gnu.org>
6703
6704 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6705 same-window-* variables.
6706
6707 2012-11-04 Juri Linkov <juri@jurta.org>
6708
6709 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6710 (isearch-describe-key, isearch-describe-mode): Use a display
6711 action instead of binding same-window-* variables (Bug#10040).
6712
6713 2012-11-03 Glenn Morris <rgm@gnu.org>
6714
6715 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6716 Rename handler properties back from cl-- to cl-. (Bug#12788)
6717
6718 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6719
6720 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6721
6722 * term/pc-win.el: Don't load term/internal from here.
6723
6724 * loadup.el: Load term/internal from here.
6725
6726 2012-11-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
6727
6728 * progmodes/python.el (inferior-python-mode): Fix hang in
6729 jit-lock (Bug#12645).
6730
6731 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6732
6733 * window.el (switch-to-visible-buffer)
6734 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6735
6736 2012-11-03 Glenn Morris <rgm@gnu.org>
6737
6738 * emacs-lisp/cl-lib.el (cl--random-time):
6739 Rename from cl-random-time. (Bug#12773)
6740 (cl--gensym-counter, cl--random-state): Update callers.
6741 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6742
6743 2012-11-03 Chong Yidong <cyd@gnu.org>
6744
6745 * cus-start.el: Make cursor-type customizable (Bug#11633).
6746
6747 2012-11-02 Glenn Morris <rgm@gnu.org>
6748
6749 * filecache.el: No need to load find-lisp when compiling.
6750 (find-lisp-find-files): Autoload it.
6751 (file-cache-add-directory-recursively): Don't require find-lisp.
6752
6753 * image.el (image-type-from-file-name): Trivial simplification.
6754
6755 * emacs-lisp/bytecomp.el (byte-compile-eval):
6756 Decouple "noruntime" and "cl-functions" warnings.
6757
6758 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6759
6760 * play/gomoku.el (gomoku-display-statistics): Update mode line
6761 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6762
6763 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6764
6765 * window.el (quit-restore-window): If the window has been
6766 created on an existing frame and ended up as the sole window on
6767 that frame, do not delete it (Bug#12764).
6768
6769 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6770
6771 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6772 Rename from sh--inside-arithmetic-expression, handle more cases
6773 (bug#11263).
6774
6775 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6776 (sh-font-lock-open-heredoc): Use it (bug#12770).
6777
6778 2012-10-30 Glenn Morris <rgm@gnu.org>
6779
6780 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6781
6782 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6783
6784 2012-10-29 Chong Yidong <cyd@gnu.org>
6785
6786 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6787 function key is stored in a keyboard macro (Bug#4894).
6788
6789 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6790
6791 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6792
6793 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6794 header comments".
6795 (diff-unified->context, diff-context->unified)
6796 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6797
6798 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6799
6800 * files.el (find-alternate-file): Only ask one question (bug#12487).
6801
6802 2012-10-29 Chong Yidong <cyd@gnu.org>
6803
6804 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6805 Suggested by Dan Nicolaescu (Bug#6326).
6806
6807 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6808
6809 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6810
6811 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6812
6813 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6814
6815 * face-remap.el (face-remap-add-relative): Handle the case where a
6816 face-remapping-alist entry is a cons cell (Bug#12762).
6817
6818 2012-10-29 Kevin Ryde <user42@zip.com.au>
6819
6820 * woman.el (woman-parse-numeric-value): Handle picas correctly
6821 (Bug#12639).
6822
6823 2012-10-29 Glenn Morris <rgm@gnu.org>
6824
6825 * emacs-lisp/cl.el (defsetf): Doc fix.
6826
6827 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6828
6829 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6830 syntax to the matching opener, if any (bug#12547).
6831 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6832 matching open as a "case-(".
6833 (sh-smie-rc-grammar): Add a corresponding rule for it.
6834
6835 2012-10-28 Daniel Hackney <dan@haxney.org>
6836
6837 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6838 "PKGNAME-autoloads.el" in case we created it.
6839
6840 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6841
6842 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6843 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6844 (completion--twq-all): Disable too-strict assertions.
6845
6846 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6847
6848 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6849
6850 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6851 text to match the real keybindings.
6852
6853 2012-10-27 Juri Linkov <juri@jurta.org>
6854
6855 * wdired.el (wdired-keep-marker-rename): New defcustom.
6856 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6857 (Bug#11795)
6858
6859 * dired.el (dired-keep-marker-rename): Add reference to
6860 `wdired-keep-marker-rename' in the docstring.
6861 Add default character value ?R to display initially in
6862 Customization UI instead of ?@.
6863
6864 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6865
6866 * window.el (display-buffer): In doc-string describe
6867 window-height and window-width alist entries.
6868
6869 * time.el (display-time-world): Restore fit-window-to-buffer
6870 behavior.
6871
6872 2012-10-27 Chong Yidong <cyd@gnu.org>
6873
6874 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6875
6876 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6877
6878 * minibuffer.el (completion-category-overrides): New completion
6879 category `bookmark' (bug#11131).
6880
6881 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6882
6883 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6884 Silence bogus compiler warnings for ad-do-it.
6885
6886 * bookmark.el (bookmark-completing-read): Set the completion category
6887 to `bookmark' (bug#11131).
6888
6889 2012-10-26 Bastien <bzg@altern.org>
6890 Stefan Monnier <monnier@iro.umontreal.ca>
6891
6892 * face-remap.el: Use lexical-binding.
6893 (text-scale-adjust): Improve docstring. Use itself for the temporary
6894 overlay-map bindings, so as to repeat the "Use..." message each time.
6895
6896 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * emacs-lisp/macroexp.el (macroexp--expand-all):
6899 Obey byte-compile-warning-enabled-p (bug#12486).
6900
6901 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6902 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6903
6904 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6905
6906 * mouse.el (mouse-drag-line): Move last form into preceding when
6907 clause (Bug#12731).
6908
6909 * help.el (resize-temp-buffer-window): Fix doc-string.
6910
6911 2012-10-25 David Engster <deng@randomsample.de>
6912
6913 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6914 Remove. This feature is already integrated in imenu.
6915
6916 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6917 always loaded. Require `speedbar' unconditionally.
6918
6919 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6920
6921 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6922
6923 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6924
6925 * net/ldap.el (ldap-search-internal): The official ldif format starts
6926 with a "version: 1" header (bug#12724).
6927
6928 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6929 (bug#12721).
6930
6931 2012-10-25 Glenn Morris <rgm@gnu.org>
6932
6933 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6934
6935 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * minibuffer.el (minibuffer-force-complete): Use one more marker
6938 for the temporary-overlay-map command (bug#12619).
6939
6940 2012-10-24 Chong Yidong <cyd@gnu.org>
6941
6942 * time.el (display-time-world-mode): Derive from special-mode.
6943 (display-time-world): Use display-buffer (Bug#12708).
6944 (display-time-world-mode-map): Variable deleted.
6945 (display-time-world-display): Wrap the final delete-char inside
6946 inhibit-read-only.
6947
6948 2012-10-24 Chong Yidong <cyd@gnu.org>
6949
6950 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6951 Doc fix.
6952
6953 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6954
6955 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6956
6957 * minibuffer.el (completion--all-sorted-completions-location): New var.
6958 (completion--cache-all-sorted-completions)
6959 (completion--flush-all-sorted-completions): Use it.
6960 (completion-in-region, completion-in-region--postch)
6961 (completion-at-point, completion-help-at-point): Use markers in
6962 completion-in-region--data (bug#12619).
6963
6964 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6965
6966 * progmodes/compile.el (compilation-start): Try to handle common
6967 quoting of `cd' argument (bug#12640).
6968
6969 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6970 (bug#12671).
6971
6972 2012-10-23 Glenn Morris <rgm@gnu.org>
6973
6974 * progmodes/gud.el (gud-menu-map):
6975 Check gdb-active-process is bound. (Bug#12358)
6976
6977 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6978
6979 * repeat.el (repeat): Set real-this-command (bug#12232).
6980
6981 * htmlfontify.el (hfy-post-html-hook):
6982 * filesets.el (filesets-cache-fill-content-hook):
6983 * arc-mode.el (archive-extract-hook):
6984 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6985 * net/rcirc.el (rcirc-sentinel-functions)
6986 (rcirc-receive-message-functions, rcirc-activity-functions)
6987 (rcirc-print-functions):
6988 * net/dbus.el (dbus-event-error-functions):
6989 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6990 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6991 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6992 * term/sun.el (sun-raw-prefix-hooks):
6993 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6994
6995 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6996
6997 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6998 Set `tramp-chunksize' to 1. This improves the performance.
6999 (tramp-smb-wait-for-output): Add timeout to
7000 `tramp-accept-process-output' calls.
7001
7002 2012-10-23 Chong Yidong <cyd@gnu.org>
7003
7004 * faces.el (font-list-limit): Define as an obsolete variable.
7005
7006 * startup.el (command-line):
7007 * cus-start.el: Don't refer to font-list-limit.
7008
7009 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
7010
7011 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7012
7013 * subr.el (internal-temp-output-buffer-show): Rename from
7014 temp-output-buffer-show, since previously compiled files expect this name.
7015
7016 2012-10-23 Glenn Morris <rgm@gnu.org>
7017
7018 * image.el (image-type-from-file-name): If multiple types match,
7019 return the first one that is supported. (Bug#9045)
7020
7021 2012-10-22 Glenn Morris <rgm@gnu.org>
7022
7023 * image.el (imagemagick-enabled-types): Doc fix.
7024
7025 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
7026
7027 * progmodes/which-func.el (which-func-current): The hash-table may have
7028 an explicit nil (bug#12338).
7029
7030 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7031
7032 * electric.el (electric-pair-delete-selection-self-insert-function):
7033 Rename to electric-pair-will-use-region, return a boolean.
7034 (electric-pair-mode): Adjust accordingly. Don't require delsel.
7035
7036 * delsel.el (delete-selection-helper): Use a function instead of a hook.
7037 (delete-selection-pre-hook): Use use-region-p.
7038 (delete-selection-self-insert-function): Remove.
7039 (self-insert-command): Obey self-insert-uses-region-functions.
7040 (self-insert-iso): Revert to previous setting, since we don't actually
7041 know what that command does.
7042 (delete-selection-self-insert-hooks): Remove.
7043
7044 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
7045
7046 * delsel.el (delete-selection-helper): New function, extracted from
7047 delete-selection-pre-hook.
7048 (delete-selection-pre-hook): Use it.
7049 (delete-selection-self-insert-function): New function.
7050 (delete-selection-self-insert-hooks): New hook.
7051 (self-insert-command, self-insert-iso): Use it.
7052 * electric.el (electric-pair-syntax): New function, extracted from
7053 electric-pair-post-self-insert-function.
7054 (electric-pair-post-self-insert-function): Use it.
7055 (electric-pair-delete-selection-self-insert-function): New function.
7056 (electric-pair-mode): Require delsel and setup
7057 delete-selection-self-insert-hooks (bug#11520).
7058
7059 2012-10-20 Chong Yidong <cyd@gnu.org>
7060
7061 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
7062 no changes to show (Bug#12586).
7063
7064 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
7065 list explicitly (Bug#12571).
7066
7067 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7068
7069 * progmodes/flymake.el (flymake-create-temp-inplace):
7070 Use file-truename.
7071
7072 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7073
7074 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7075
7076 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7077
7078 * calc/calc-units.el (math-extract-units): Properly extract powers
7079 of units.
7080
7081 2012-10-20 Daniel Colascione <dancol@dancol.org>
7082
7083 * frame.el (make-frame): Set x-display-name as we used to in order
7084 to unbreak creating an X11 frame from an Emacs daemon started
7085 without a display.
7086
7087 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7090 the same completion-field (bug#12221).
7091
7092 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7093
7094 * emacs-lisp/debug.el (debug): Record height of debugger window
7095 also when debugger will be back (Bug#8789).
7096
7097 2012-10-18 Chong Yidong <cyd@gnu.org>
7098
7099 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7100 Convert to defcustom.
7101 (gdb-get-source-file): Don't bind pop-up-windows.
7102
7103 * progmodes/gud.el (gud-display-line): Don't specially re-use
7104 other frames for the gdb-mi case (Bug#12648).
7105
7106 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * emacs-lisp/advice.el: Clean up commentary a bit.
7109 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7110 (byte-code-function-p): Never redefine.
7111
7112 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7113
7114 2012-10-18 Glenn Morris <rgm@gnu.org>
7115
7116 * dired.el (dired-sort-toggle): Some ls implementations only allow
7117 a single option string. (Bug#12666)
7118
7119 * minibuffer.el (completion-cycle-threshold): Doc fix.
7120
7121 2012-10-17 Kenichi Handa <handa@gnu.org>
7122
7123 * international/mule.el (set-keyboard-coding-system):
7124 Recover input meta mode when the new coding system doesn not use 8-bit.
7125 Supply TERMINAL arg to set-input-meta-mode.
7126
7127 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7128
7129 * wdired.el (wdired-old-marks): New variable.
7130 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7131 (wdired-do-renames): Move point with renamed file and don't lose
7132 mark status (Bug#11795).
7133
7134 2012-10-16 Juri Linkov <juri@jurta.org>
7135
7136 * replace.el (query-replace-help): Mention multi-buffer replacement
7137 keys in the Help message. (Bug#12655)
7138
7139 2012-10-15 Chong Yidong <cyd@gnu.org>
7140
7141 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7142
7143 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7144
7145 * window.el (display-buffer): Doc fix.
7146
7147 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7148 Adjust the msft regexp to the output of Studio 2010, and move msft
7149 before edg-1. See the discussion on emacs-devel,
7150 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7151 for the details.
7152
7153 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7154
7155 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7156 (oset): Move uses of object-class-fast macro after its definition.
7157
7158 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7159
7160 2012-10-13 Chong Yidong <cyd@gnu.org>
7161
7162 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7163 enabled, re-enable it (Bug#11963).
7164
7165 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7166
7167 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7168 non-nil, restore window configuration (Bug#12623).
7169
7170 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7171
7172 * help-fns.el (describe-variable, describe-function-1):
7173 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7174
7175 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7176
7177 2012-10-12 Glenn Morris <rgm@gnu.org>
7178
7179 * mail/rmailsum.el (rmail-header-summary):
7180 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7181
7182 2012-10-12 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7183
7184 * progmodes/python.el (python-mode-map):
7185 Replace subtitute-key-definition with proper command remapping.
7186 (python-nav--up-list): Fix behavior for blocks on the same level.
7187
7188 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7191
7192 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7193 changes to the format of load-history.
7194
7195 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7196 completion-ignore-case in case that var is buffer-local (bug#12615).
7197
7198 2012-10-11 Kenichi Handa <handa@gnu.org>
7199
7200 * international/eucjp-ms.el: Re-generated.
7201
7202 2012-10-10 Kenichi Handa <handa@gnu.org>
7203
7204 * select.el (xselect--encode-string): If a coding is specified for
7205 selection, and that is compatible with COMPOUND_TEXT, use it.
7206
7207 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7208
7209 * window.el (switch-to-buffer-preserve-window-point): New option.
7210 (switch-to-buffer):
7211 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7212
7213 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7214
7215 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7216 Don't document nil as a useful value (bug#12583).
7217
7218 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7219
7220 * net/tramp.el (tramp-debug-message):
7221 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7222 (with-tramp-progress-reporter): Rename from
7223 `tramp-with-progress-reporter'.
7224 (with-tramp-file-property, with-tramp-connection-property):
7225 Move from tramp-cache.el, rename from `with-file-property' and
7226 `with-connection-property', respectively.
7227
7228 * net/tramp-cache.el: Remove `with-file-property' and
7229 `with-connection-property'.
7230
7231 * net/tramp.el:
7232 * net/tramp-gvfs.el:
7233 * net/tramp-sh.el:
7234 * net/tramp-smb.el: Adapt callees.
7235
7236 * net/trampver.el: Update release number.
7237
7238 2012-10-09 Glenn Morris <rgm@gnu.org>
7239
7240 * w32-fns.el (set-message-beep):
7241 * term/w32-win.el (set-message-beep): Update declarations.
7242
7243 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7244
7245 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7246 (mode-line-widen, mode-line-input-method-map)
7247 (mode-line-coding-system-map, mode-line-remote)
7248 (mode-line-unbury-buffer, mode-line-bury-buffer)
7249 (mode-line-next-buffer, mode-line-previous-buffer):
7250 Replace save-selected-window+select-window => with-selected-window.
7251
7252 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7253 * progmodes/cc-vars.el (bq-process): Remove, unused.
7254
7255 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7256
7257 2012-10-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7258
7259 Implemented `backward-up-list'-like navigation.
7260 * progmodes/python.el (python-nav-up-list)
7261 (python-nav-backward-up-list): New functions.
7262 (python-mode-map): Define substitute key for backward-up-list to
7263 python-nav-backward-up-list.
7264
7265 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7266
7267 * progmodes/python.el (python-fill-paragraph): Rename from
7268 python-fill-paragraph-function. Fixed fill-paragraph for
7269 decorators (Bug#12605).
7270
7271 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7272
7273 * progmodes/python.el (python-shell-output-filter): Handle extra
7274 carriage return in OSX (Bug#12409).
7275
7276 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7277
7278 Fix shell handling of unbalanced quotes and parens in output.
7279 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7280 (python-syntax-propertize-function): Use it.
7281 (python-shell-output-syntax-table): New var.
7282 (inferior-python-mode): Prevent unbalanced parens/quotes from
7283 previous output mess with current input context.
7284
7285 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7286
7287 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7288 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7289
7290 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7291
7292 * ffap.el (ffap-replace-file-component): Support Tramp file name
7293 syntax, not only ange-ftp's one.
7294
7295 2012-10-08 Glenn Morris <rgm@gnu.org>
7296
7297 * cus-start.el (message-log-max): Set :version.
7298
7299 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7300
7301 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7302
7303 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7304 the minibuffer window (Bug#10851).
7305
7306 2012-10-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7307
7308 Enhancements on forward-sexp movement.
7309 * progmodes/python.el (python-nav-beginning-of-statement)
7310 (python-nav-end-of-statement): Return point-marker.
7311 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7312 (python-info-current-symbol)
7313 (python-info-statement-starts-block-p): Rename from
7314 python-info-beginning-of-block-p.
7315 (python-info-statement-ends-block-p): Rename from
7316 python-info-end-of-block-p.
7317 (python-info-beginning-of-statement-p)
7318 (python-info-end-of-statement-p)
7319 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7320 New functions.
7321
7322 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7325 frame-selected-windows.
7326
7327 2012-10-08 Daniel Colascione <dancol@dancol.org>
7328
7329 * battery.el (battery-status-function): Check for
7330 w32-battery-status itself, not system-time windows-nt.
7331
7332 * frame.el: Require cl-lib.
7333 (display-format-alist): New variable mapping frame types to
7334 functions that initialize them.
7335 (window-system-for-display): New function: interprets
7336 display-format-alist.
7337 (make-frame-on-display): Remove existing display-selection logic
7338 and just forward to make-frame, which will now DTRT.
7339 (make-frame): Restructure to use window-system-for-display to
7340 figure out how to create a frame on a given display.
7341 (display-mouse-p): Look for frame-type w32, not a particular
7342 system-type.
7343
7344 * loadup.el: Load w32 lisp code when we have the w32 feature.
7345
7346 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7347 system-type windows-nt.
7348
7349 * server.el (server-create-window-system-frame): Look for window
7350 type.
7351 (server-proces-filter): Only force a window system when windows-nt
7352 _and_ w32. Explain why.
7353
7354 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7355 of window systems we configure for the mode.
7356
7357 * startup.el (command-line): Mark window system is initialized
7358 after we've done it.
7359
7360 * common-win.el (x-select-text): Look for w32, not windows-nt.
7361
7362 * ns-win.el: Require cl-lib. Add ourselves to
7363 display-format-alist.
7364 (ns-initialize-window-system): Assert we're not initialized twice.
7365
7366 * w32-win.el: Enable lexical binding; require cl-lib; add
7367 ourselves to display-format-alist.
7368 (w32-handle-dropped-file): Convert incoming dropped files from
7369 Windows paths to Cygwin ones before passing them on to the rest of
7370 Emacs.
7371 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7372 (w32-initialize-window-system): Assert we're not initialized twice.
7373
7374 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7375 (x-initialize-window-system): Assert we're not initialized twice.
7376
7377 * w32-common-fns.el: New File.
7378 (w32-version, w32-using-nt, w32-get-clipboard-data)
7379 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7380 (w32-charset-info-alist, x-last-selected, text)
7381 (x-get-selection-value, x-selection-value): Move here.
7382
7383 * w32-fns.el: Require w32-common-fns.
7384 (w32-version, w32-using-nt, w32-get-clipboard-data)
7385 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7386 (w32-charset-info-alist, x-last-selected, text)
7387 (x-get-selection-value, x-selection-value): Move to
7388 w32-common-fns.
7389
7390 * w32-vars.el:
7391 (w32-allow-system-shell, w32-system-shells): Define only in
7392 non-cygwin case.
7393
7394 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7397 (read-passwd): Remove a few more potential sources of leaks.
7398
7399 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7400
7401 * progmodes/python.el (inferior-python-mode)
7402 (python-shell-make-comint): Fix initialization of local
7403 variables copied from parent buffer.
7404
7405 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7406
7407 * term/ns-win.el (ns-read-file-name): Update declaration to match
7408 nsfns.m.
7409 (ns-respond-to-change-font): Change fontsize separately so we are sure
7410 it is set when font is acted upon.
7411
7412 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7413
7414 Enhancements to indentation.
7415 * progmodes/python.el (python-indent-context): Give priority to
7416 inside-string context. Make comments indentation markers.
7417 (python-indent-region): Do not mess with strings, unless it's the
7418 enclosing set of quotes.
7419
7420 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7421
7422 * window.el (internal--before-save-selected-window)
7423 (internal--after-save-selected-window): New functions extracted from
7424 save-selected-window. Make sure we return the `alist' we construct.
7425 (save-selected-window): Use them.
7426
7427 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7428 Use with-selected-window.
7429
7430 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7431 forms that define macros (bug#12593).
7432
7433 2012-10-07 Kenichi Handa <handa@gnu.org>
7434
7435 * international/mule-conf.el (compound-text-with-extensions):
7436 Add :mime-charset property as x-ctext.
7437
7438 2012-10-07 Stefan Merten <smerten@oekonux.de>
7439
7440 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7441 (rst-indent-literal-normal, rst-indent-literal-minimized)
7442 (rst-indent-comment): Correct :version tag.
7443 (rst-official-cvs-rev): Correct version string.
7444
7445 2012-10-07 Glenn Morris <rgm@gnu.org>
7446
7447 * mail/rmailmm.el (rmail-mime-process-multipart):
7448 Do not confuse a multipart message with an epilogue
7449 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7450
7451 2012-10-07 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7452
7453 Fix shell output retrieval and comint-prompt-regexp init.
7454 * progmodes/python.el (inferior-python-mode):
7455 (python-shell-make-comint): Fix initialization of
7456 comint-prompt-regexp from copied file local variables.
7457 (python-shell-fetched-lines): Remove var.
7458 (python-shell-output-filter-in-progress): Rename from
7459 python-shell-fetch-lines-in-progress.
7460 (python-shell-output-filter-buffer): Rename from
7461 python-shell-fetch-lines-string.
7462 (python-shell-fetch-lines-filter): Delete function.
7463 (python-shell-output-filter): New function.
7464 (python-shell-send-string-no-output): Use them.
7465
7466 2012-10-07 Glenn Morris <rgm@gnu.org>
7467
7468 * hi-lock.el (hi-lock-process-phrase):
7469 Try to make it less fragile. (Bug#7161)
7470
7471 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7472
7473 2012-10-06 Glenn Morris <rgm@gnu.org>
7474
7475 * ehelp.el (electric-help-mode): Use help-mode rather than
7476 non-existent mode `help'.
7477 (electric-help-map): Use button-buffer-map. (Bug#10917)
7478
7479 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7480 (reftex-create-bibtex-footer): Fix custom types.
7481
7482 * progmodes/sh-script.el (sh-indent-after-continuation):
7483 Add explicit :group.
7484
7485 * textmodes/rst.el (rst-preferred-decorations)
7486 (rst-shift-basic-offset): Clarify obsolescence versions.
7487
7488 * profiler.el (profiler): Add missing group :version tag.
7489 * avoid.el (mouse-avoidance-banish-position):
7490 * proced.el (proced-renice-command):
7491 * calc/calc.el (calc-ensure-consistent-units):
7492 * calendar/icalendar.el (icalendar-import-format-uid):
7493 * net/tramp.el (tramp-save-ad-hoc-proxies):
7494 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7495 * progmodes/flymake.el (flymake-error-bitmap)
7496 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7497 * progmodes/sh-script.el (sh-indent-after-continuation):
7498 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7499 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7500 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7501 (vhdl-array-index-record-field-in-sensitivity-list)
7502 (vhdl-indent-comment-like-next-code-line):
7503 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7504 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7505 (reftex-cite-key-separator, reftex-create-bibtex-header)
7506 (reftex-create-bibtex-footer):
7507 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7508 (rst-indent-literal-normal, rst-indent-literal-minimized)
7509 (rst-indent-comment): Add missing custom :version tags.
7510
7511 * calendar/timeclock.el (timeclock-modeline-display):
7512 Add missing obsolete alias for renamed user option.
7513
7514 * strokes.el (strokes-modeline-string):
7515 * emulation/crisp.el (crisp-mode-modeline-string):
7516 * eshell/esh-mode.el (eshell-status-in-modeline):
7517 Aliases to defcustoms must come before the defcustom.
7518
7519 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7520 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7521 (cal-tex-cursor-week-monday): Doc fixes.
7522 (cal-tex-cursor-week2-summary): Doc fix.
7523 Rename from cal-tex-cursor-week-at-a-glance.
7524
7525 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7526 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7527
7528 * calendar/calendar.el (calendar-mode-map):
7529 Add cal-tex-cursor-week2-summary.
7530
7531 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7532
7533 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7534
7535 * subr.el (read-passwd-map): New var.
7536 (read-passwd): Use `read-string' again.
7537 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7538
7539 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7540
7541 * register.el (append-to-register, prepend-to-register):
7542 Deactivate mark, as does `copy-to-register' (bug#12389).
7543
7544 2012-10-06 Chong Yidong <cyd@gnu.org>
7545
7546 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7547
7548 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7549
7550 * international/characters.el: Fix simple mistake ((car chars) ->
7551 elt), delete duplicated code.
7552
7553 2012-10-06 Glenn Morris <rgm@gnu.org>
7554
7555 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7556
7557 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7558
7559 * color.el (color-hsl-to-rgb): Fix incorrect results for
7560 small and large hue values. (Bug#12559)
7561
7562 2012-10-05 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7563
7564 Enhancements to docstring formatting when filling paragraphs.
7565 * progmodes/python.el (python-fill-docstring-style): Rename from
7566 python-fill-string-style. Added new style.
7567 (python-fill-string): Use new style. Better checks for
7568 docstrings.
7569
7570 2012-10-05 Glenn Morris <rgm@gnu.org>
7571
7572 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7573
7574 * color.el (color-name-to-rgb, color-rgb-to-hex)
7575 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7576 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7577 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7578 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7579
7580 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7581
7582 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7583
7584 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7585 to get the correct size across symlinks.
7586
7587 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7588
7589 2012-10-04 Juri Linkov <juri@jurta.org>
7590
7591 * replace.el (query-replace-interactive): Declare obsolete.
7592 (query-replace-read-from): Add the last incremental search string
7593 to the list of default values accessible via M-n.
7594 (map-query-replace-regexp): Use `read-regexp'.
7595 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7596 (map-query-replace-regexp, replace-string, replace-regexp):
7597 Fix docstrings to replace mentions of `query-replace-interactive'
7598 with alternatives. (Bug#12526)
7599
7600 2012-10-04 Juri Linkov <juri@jurta.org>
7601
7602 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7603 (dired-pop-to-buffer): Declare obsolete.
7604 (dired-mark-pop-up): Doc fix.
7605
7606 2012-10-04 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7607
7608 Allow user to set docstring style for fill-paragraph.
7609 * progmodes/python.el
7610 (python-fill-comment-function, python-fill-string-function)
7611 (python-fill-decorator-function, python-fill-paren-function):
7612 Remove :safe for defcustoms.
7613 (python-fill-string-style): New defcustom
7614 (python-fill-paragraph-function): Enhance context detection.
7615 (python-fill-string): Honor python-fill-string-style settings.
7616
7617 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7618
7619 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7620 after setting its buffer (Bug#10805).
7621
7622 2012-10-03 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7623
7624 Fix cornercase for string syntax.
7625 * progmodes/python.el (python-syntax-propertize-function):
7626 Simplify and enhance the regexp for unescaped quotes. Now it also
7627 matches quotes in weird situations like the single quote in
7628 "something\"'".
7629 (python-syntax-stringify): Simplify num-quotes detecting code.
7630
7631 2012-10-03 Glenn Morris <rgm@gnu.org>
7632
7633 * help-macro.el (three-step-help):
7634 Revert 2012-09-29 change. (Bug#12567)
7635
7636 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7637
7638 * menu-bar.el (kill-this-buffer): Don't do anything when
7639 `menu-frame' is not alive or visible (Bug#8184).
7640
7641 * emacs-lisp/debug.el (debug): When quitting the debugger window
7642 restore current buffer (Bug#12502).
7643
7644 2012-10-02 Chong Yidong <cyd@gnu.org>
7645
7646 * progmodes/hideif.el (hif-lookup, hif-defined):
7647 Handle semantic-c-takeover-hideif.
7648
7649 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7650
7651 Change sampling interval units from ms to ns.
7652 * profiler.el (profiler-sampling-interval): Change units
7653 from ms to ns, multiplying the default by 1000000 so that
7654 it remains 1 ms.
7655 (profiler-report-cpu-line-format): Give enough room for
7656 the maximum counters on 64-bit hosts.
7657 (profiler-report-render-calltree-1): Call them "CPU samples",
7658 not "Time (ms)", since they are not milliseconds now (and
7659 never really were).
7660
7661 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7662
7663 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7664 Fix querying BBDB for entries without a last name (Bug#11580).
7665
7666 2012-10-02 Chong Yidong <cyd@gnu.org>
7667
7668 * emacs-lisp/eieio.el: Restore Version header.
7669
7670 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7671
7672 * vc/diff-mode.el (diff--auto-refine-data): New var.
7673 (diff-hunk): Use it to delay refinement.
7674 (diff-mode): Remove overlays when we turn off font-lock.
7675
7676 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7677 (table-initialize-table-fixed-width-mode)
7678 (table-set-table-fixed-width-mode): Remove functions.
7679 (table-command-list): Move initialization into declaration.
7680 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7681 (table-with-cache-buffer): Use `declare'.
7682 (table-span-cell): Simplify via CSE.
7683 (table-fixed-width-mode): Use define-minor-mode.
7684 (table-call-interactively, table-funcall, table-apply): Remove.
7685 (table-function): New function, to replace them.
7686
7687 * bookmark.el (bookmark-search-pattern): Remove var.
7688 (bookmark-read-search-input): Remove function.
7689 (bookmark-bmenu-search): Reimplement using a minibuffer.
7690
7691 * faces.el (modeline): Remove obsolete face name.
7692
7693 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7694 and give a non-nil default value.
7695 (add-change-log-entry): Simplify accordingly.
7696
7697 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7698
7699 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7700 (vc-git-log-edit-toggle-amend): New function.
7701 (vc-git-log-edit-toggle-signoff): New function.
7702 (vc-git-log-edit-mode): New major mode.
7703 (vc-git-log-edit-mode-map): Keymap for it.
7704 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7705
7706 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7707 header names.
7708 (log-edit-toggle-header): New function.
7709 (log-edit-extract-headers): Accept function values in HEADERS alist.
7710
7711 2012-10-01 David Engster <deng@randomsample.de>
7712
7713 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7714 from symbol property and change message to be more consistent with
7715 Emacs proper.
7716 (eieio-describe-generic): Add filename for each implementation.
7717 Fix indices for generic and normal methods.
7718 (eieio-method-def, eieio-class-def): New buttons.
7719 (eieio-help-find-method-definition)
7720 (eieio-help-find-class-definition): New functions.
7721 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7722 class, constructor and method definitions.
7723
7724 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7725 information in symbol property.
7726 (scoped-class): Remove.
7727 (eieio-slot-name-index, call-next-method): Check if it is bound.
7728
7729 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7730
7731 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7732 (eieio-custom-mode): New major mode.
7733 (eieio-customize-object): Use it.
7734
7735 2012-10-01 Eric Ludlam <zappo@gnu.org>
7736
7737 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7738 specifying the expected class, and whether subclassing is allowed.
7739 (eieio-persistent-convert-list-to-object):
7740 (eieio-persistent-validate/fix-slot-value)
7741 (eieio-persistent-slot-type-is-class-p): New functions.
7742 (eieio-named::slot-missing): Doc fix.
7743
7744 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7745 Stop using unused publd variable.
7746
7747 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7748 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7749 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7750 (eieio-speedbar-handle-click): Do not specify a class for the
7751 method. Fixes method invocation order problems with EDE.
7752
7753 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7754
7755 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7756 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7757
7758 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7759
7760 * bookmark.el (bookmark-version-control): Give tags in the
7761 :type choices (Bug#12309), and improve doc string.
7762 (bookmark-write-file): Bind `print-circle' to `t' to allow
7763 circular custom bookmark types. (Bug#12503)
7764
7765 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7766
7767 Revert the FOLLOW-SYMLINKS change for file-attributes.
7768 * files.el (remote-file-name-inhibit-cache, after-find-file):
7769 * time.el (display-time-file-nonempty-p): Undo last change.
7770
7771 * profiler.el (profiler-sampling-interval): Change default back to 1.
7772 See Stefan Monnier in
7773 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7774
7775 2012-10-01 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7776
7777 Shell output catching a la gud-gdb.
7778 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7779 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7780 New Vars.
7781 (python-shell-fetch-lines-filter): New function.
7782 (python-shell-send-string-no-output): Use them.
7783
7784 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7785
7786 * profiler.el (profiler-sampling-interval): Rename from
7787 profiler-sample-interval.
7788 (profiler-sampling-interval): Default to 10.
7789 (profiler-find-profile): New command (was profiler-find-log).
7790 (profiler-find-profile-other-window): New command.
7791 (profiler-find-profile-other-frame): New command.
7792 (profiler-profile): Introduce API-level data structure.
7793
7794 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7795
7796 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7797 * files.el (remote-file-name-inhibit-cache):
7798 * time.el (display-time-file-nonempty-p): Use it.
7799 * files.el (after-find-file): Don't chase links before calling
7800 file-exists-p, as file-exists-p already does the right thing.
7801
7802 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7803
7804 Merge from standalone RefTeX repository.
7805
7806 The following ChangeLog entries are shortened versions of the
7807 original ones with file paths adapted. A not so strongly edited
7808 version of the original ChangeLog can be found in the commit log.
7809
7810 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7811 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7812 Correctly handle new value type returned by `reftex-citation'.
7813
7814 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7815 that entries with whitespace at various places are found.
7816 Doc fix. Include entries that are cross-referenced from cited entries.
7817 Include @String definitions in the resulting bib file. Add header
7818 and footer defined in `reftex-create-bibtex-header' and
7819 `reftex-create-bibtex-footer'.
7820 (reftex-do-citation): Make it possible again to insert
7821 non-existent entries. Save match data when asking for optional
7822 arguments. Return all keys, not just the first one.
7823 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7824 all citations in the same line.
7825 (reftex-parse-bibtex-entry): Accept additional optional argument
7826 `raw' and keep quotes or braces if it is non-nil. Match fields
7827 containing hyphens besides word constituents.
7828 (reftex-get-string-refs): New function.
7829 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7830 and ask if it should be reread in case it did.
7831 (reftex-pop-to-bibtex-entry)
7832 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7833 entries with spaces or tabs in front of arguments.
7834 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7835 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7836 Match entries containing numbers and symbol constituents.
7837 (reftex-do-citation, reftex-figure-out-cite-format):
7838 Use `reftex-cite-key-separator'.
7839
7840 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7841 (reftex-mouse-view-crossref): Explain why point is set.
7842
7843 * textmodes/reftex-global.el: Whitespace changes.
7844
7845 * textmodes/reftex-index.el: Move provide statement to end of
7846 file.
7847 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7848 (reftex-index-visit-phrases-buffer): Set marker when visiting
7849 buffer. This allows for returning from the phrases file to the
7850 file one was just editing instead of the file where the last
7851 phrases was added from.
7852 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7853 punctuation syntax as it usually is not used as string quote in
7854 TeX-related modes and may occur unmatched. The change also
7855 prevents fontification of quoted content.
7856 (reftex-index-phrases-mode): Use it.
7857
7858 * textmodes/reftex-parse.el (reftex-parse-from-file):
7859 Move backward one char if a `\' was matched after a section macro.
7860 (reftex-parse-from-file): Use beginning of match instead of end as
7861 bound.
7862
7863 * textmodes/reftex-ref.el: Adapt creation of
7864 `reftex-<package>-<macro>' functions to new structure of
7865 `reftex-ref-style-alist'.
7866 (reftex-reference): Use `reftex-ref-style-list' function.
7867 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7868 reference macro if `reftex-ref-macro-prompt' is non-nil.
7869 (reftex-reference): Pass refstyle to `reftex-format-special'.
7870 Determine reference macro by looking at
7871 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7872 Use only one special format function.
7873 (reftex-varioref-vref, reftex-fancyref-fref)
7874 (reftex-fancyref-Fref): Remove definitions. The functions are now
7875 generated from `reftex-ref-style-alist'.
7876 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7877 Remove.
7878 (reftex-format-special): New function.
7879
7880 * textmodes/reftex-sel.el
7881 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7882 of `reftex-ref-style-alist'. Remove code for testing macro type.
7883 (reftex-select-toggle-varioref)
7884 (reftex-select-toggle-fancyref): Remove.
7885 (reftex-select-cycle-ref-style-internal)
7886 (reftex-select-cycle-ref-style-forward)
7887 (reftex-select-cycle-ref-style-backward): New functions.
7888 (reftex-select-label-map): Use `v' and `V' for general cycling
7889 through reference styles. Add `p' for switching between number
7890 and page reference types.
7891
7892 * textmodes/reftex-toc.el (reftex-re-enlarge):
7893 Call `enlarge-window' only if there is something to do because in Emacs
7894 the horizontal version throws an error even if the parameter is 0.
7895
7896 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7897 (reftex-plug-into-AUCTeX): Doc fix.
7898 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7899 string. Adapt to new name.
7900 (reftex-ref-style-alist): Change structure so that it is not
7901 possible to use multiple different package names within a style.
7902 Remove the symbols for symbols for macro type distinction.
7903 Add characters for macro selection.
7904 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7905 (reftex-create-bibtex-footer): New variables.
7906 (reftex-format-ref-function): Mention third argument of special
7907 format function.
7908 (reftex-ref-style-alist, reftex-ref-style-default-list):
7909 New variables.
7910 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7911 to new implementation. Mark as obsolete. Add compatibility code
7912 for honoring the variable values in case they are set.
7913 (reftex-cite-format-builtin, reftex-bibliography-commands):
7914 Add support for ConTeXt.
7915 (reftex-format-ref-function, reftex-format-cite-function):
7916 Fix custom type.
7917 (reftex-cite-key-separator): New variable.
7918
7919 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7920 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7921 `reftex-syntax-table' because parens have to retain their paren
7922 syntax in order for parsing of BibTeX entries like @book(...) to
7923 work.
7924 (reftex-in-comment): Do not error out if `comment-start-skip' is
7925 not set. Deal correctly with escaped comment characters.
7926 (reftex-tie-multifile-symbols): Add doc string.
7927 Initialize `reftex-ref-style-list'.
7928 (reftex-untie-multifile-symbols): Add doc string.
7929 (reftex-add-index-macros): Doc fix.
7930 (reftex-ref-style-activate, reftex-ref-style-toggle)
7931 (reftex-ref-style-list): New functions.
7932 (reftex-mode-menu): Use them. Adapt to new structure of
7933 `reftex-ref-style-alist'.
7934 (reftex-select-with-char): Kill the RefTeX Select buffer when
7935 done.
7936 (reftex-remove-if): New function.
7937 (reftex-erase-all-selection-and-index-buffers)
7938 (reftex-mode-menu): Reference styles are now computed from
7939 `reftex-ref-style-alist'. Fix typo.
7940 (reftex-report-bug): New function.
7941 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7942 algorithms with O(n log n). Introduce optional argument SORT (not
7943 yet used).
7944
7945 2012-09-30 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
7946
7947 Enhancements for triple-quote string syntax.
7948 * progmodes/python.el (python-syntax-propertize-function):
7949 Match both quote cases in one regexp.
7950 (python-syntax-stringify): Handle matches properly.
7951
7952 2012-09-30 Juri Linkov <juri@jurta.org>
7953
7954 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7955 to nil around the call to `insert' to prevent
7956 directory time modification by lock_file. (Bug#2295)
7957 * tar-mode.el (tar-summarize-buffer): Idem.
7958
7959 2012-09-30 Juri Linkov <juri@jurta.org>
7960
7961 * facemenu.el (list-colors-sort): Add option "Luminance".
7962 (list-colors-sort-key): Implement it.
7963
7964 * vc/diff-mode.el (diff-refine-removed):
7965 * vc/ediff-init.el (ediff-fine-diff-A):
7966 * vc/smerge-mode.el (smerge-refined-removed):
7967 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7968
7969 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7970
7971 * term/ns-win.el (x-file-dialog): New function.
7972
7973 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7974
7975 * ido.el (ido-max-directory-size): Default to nil; the current
7976 default is small for POSIX systems, and impractical on Windows 7
7977 now that lstat returns directory sizes for NTFS.
7978
7979 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7980
7981 In buffer display functions handle window-height/window-width
7982 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7983 * window.el (window--display-buffer): New argument ALIST.
7984 Obey window-height and window-width alist entries.
7985 (window--try-to-split-window): New argument ALIST.
7986 Bind window-combination-limit to t when the window's size shall be
7987 changed and window-combination-limit equals `window-size'.
7988 (display-buffer-in-atom-window)
7989 (display-buffer-in-major-side-window)
7990 (display-buffer-in-side-window, display-buffer-same-window)
7991 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7992 (display-buffer-pop-up-window, display-buffer-below-selected)
7993 (display-buffer-at-bottom, display-buffer-in-previous-window)
7994 (display-buffer-use-some-window): Adjust all callers of
7995 window--display-buffer and window--try-to-split-window.
7996 (fit-frame-to-buffer): New option.
7997 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7998 is non-nil.
7999 (display-buffer-in-major-side-window): Evaluate window-height /
8000 window-width alist entries.
8001
8002 * help.el (temp-buffer-resize-frames)
8003 (temp-buffer-resize-regexps): Remove options.
8004 (temp-buffer-resize-mode): Adjust doc-string.
8005 (resize-temp-buffer-window): Don't consult
8006 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
8007 temp-buffer-resize-frames.
8008
8009 * dired.el (dired-mark-pop-up):
8010 Call display-buffer-below-selected with a fit-window-to-buffer alist
8011 entry.
8012
8013 2012-09-30 Chong Yidong <cyd@gnu.org>
8014
8015 * server.el (server-host): Document the security implications.
8016 (server-auth-key): Doc fix.
8017
8018 * startup.el (initial-buffer-choice): Doc fix.
8019
8020 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
8021
8022 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
8023 restriction change.
8024
8025 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
8026
8027 * help-fns.el (help-fns--obsolete): Fix last change.
8028
8029 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
8030
8031 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
8032 (minor-mode-map-alist): Remove redundant code.
8033
8034 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
8035 visited in a buffer.
8036 (cvs-insert-visited-file): New function.
8037 (find-file-hook): Use it.
8038
8039 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
8040
8041 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
8042 chose face.
8043 (log-edit-empty-buffer-p): Don't require a space after a header.
8044
8045 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
8046
8047 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
8048
8049 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
8050 a proper minor-mode.
8051
8052 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
8053
8054 2012-09-29 Glenn Morris <rgm@gnu.org>
8055
8056 * winner.el (winner-mode): Remove variable (let define-minor-mode
8057 handle it).
8058 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
8059 Doc fixes.
8060 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
8061 (winner-mode): Use define-minor-mode.
8062
8063 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
8064 the full definition in loaddefs, rather than duplicating it.
8065
8066 * help-macro.el (three-step-help): No need to autoload defcustom.
8067
8068 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8069 (inferior-lisp-program, inferior-lisp-load-command)
8070 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8071 No need to autoload defcustoms.
8072
8073 * hippie-exp.el (hippie-expand-try-functions-list)
8074 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8075 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8076 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8077 (hippie-expand-only-buffers): No need to autoload defcustoms.
8078 * progmodes/vhdl-mode.el (vhdl-line-expand):
8079 Explicitly load hippie-exp, so it does not get autoloaded
8080 while hippie-expand-try-functions-list is let-bound.
8081
8082 2012-09-28 Glenn Morris <rgm@gnu.org>
8083
8084 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8085
8086 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8087 Only "cl.el" counts as cl these days.
8088
8089 2012-09-28 Juri Linkov <juri@jurta.org>
8090
8091 Display archive errors in the echo area instead of inserting
8092 to the file buffer.
8093
8094 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8095 to STDERR-TEST that can be a regexp matching a successful output.
8096 Create a temporary file and redirect stderr to it. Search for
8097 STDERR-TEST in the stderr output and display it in the echo area
8098 if no match is found.
8099 (archive-extract-by-file): New function like
8100 `archive-extract-by-stdout' but extracting archives to files
8101 and looking for successful matches in stdout. Function body is
8102 mostly copied from `archive-rar-extract'.
8103 (archive-rar-extract): Use `archive-extract-by-file'.
8104 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8105
8106 2012-09-28 Leo Liu <sdl.web@gmail.com>
8107
8108 * pcomplete.el (pcomplete-show-completions):
8109 Use minibuffer-message to make pcomplete usable in minibuffer.
8110
8111 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8112
8113 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8114
8115 * type-break.el: Use lexical-binding.
8116 (type-break-mode): Use define-minor-mode.
8117
8118 * emacs-lisp/pcase.el (pcase--mark-used): New.
8119 (pcase--u1): Use it (bug#12512).
8120
8121 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8122 in load-history with the right file name.
8123
8124 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8125
8126 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8127 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8128 (doc-view-get-bounding-box): Make bounding box slicing work for
8129 ODF and DVI documents.
8130
8131 2012-09-28 Glenn Morris <rgm@gnu.org>
8132
8133 * type-break.el (type-break-mode, type-break-interval)
8134 (type-break-good-rest-interval, type-break-keystroke-threshold):
8135 No need to autoload.
8136 (type-break-good-rest-interval, type-break-keystroke-threshold):
8137 Add :set-after.
8138
8139 2012-09-28 Chong Yidong <cyd@gnu.org>
8140
8141 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8142 Add :version tag.
8143
8144 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8147
8148 2012-09-27 Glenn Morris <rgm@gnu.org>
8149
8150 * faces.el (x-display-name): Declare (for without-x builds).
8151
8152 * linum.el (linum-format): Don't autoload it. Improve :type.
8153
8154 * progmodes/tcl.el: Don't require outline when compiling.
8155 (outline-regexp, outline-level): Declare.
8156 * textmodes/sgml-mode.el: Don't require outline when compiling.
8157 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8158
8159 * term.el (term-ansi-reset):
8160 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8161
8162 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8163 files for RCS and SCCS. (Bug#9781)
8164
8165 2012-09-27 Chong Yidong <cyd@gnu.org>
8166
8167 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8168 change; value should be t.
8169
8170 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8171
8172 * image-mode.el: Use lexical-binding.
8173 (image-mode-winprops): Use t to stand for the window of
8174 a buffer that's not displayed.
8175 * doc-view.el (doc-view-new-window-function): Handle the new
8176 t in winprops.
8177 (doc-view-enlarge): Make it a real nop if the size is not changed.
8178 (doc-view-display): Handle the case where the buffer is not (yet?)
8179 displayed in any window.
8180 (doc-view-saved-settings): New var.
8181 (doc-view-mode): Use it.
8182 (doc-view-fallback-mode): Set it.
8183
8184 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8185 Set lexical-binding.
8186 (minibuffer-eldef-shorten-default): New var.
8187 (minibuffer-default-in-prompt-regexps): Use it for new default.
8188 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8189
8190 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * international/uni-bidi.el:
8193 * international/uni-category.el:
8194 * international/uni-name.el:
8195 * international/uni-numeric.el: Regenerate.
8196
8197 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8198 Stefan Monnier <monnier@iro.umontreal.ca>
8199
8200 * profiler.el: New file.
8201
8202 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8203
8204 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8205 (testcover-reinstrument): Simplify with CSE.
8206
8207 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8208
8209 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8210
8211 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8212
8213 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8214 (verilog-auto-input, verilog-auto-insert-lisp)
8215 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8216 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8217 (verilog-auto-unused, verilog-auto-wire)
8218 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8219 newline. Reported by Andrew Jones.
8220 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8221 Reported by Brad Dobbie.
8222 (verilog-batch-delete-trailing-whitespace):
8223 Create verilog-batch-delete-trailing-whitespace.
8224 Reported by Brad Dobbie.
8225 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8226 parameters from another module. Reported by Dan Katz.
8227 (verilog-auto, verilog-auto-assign-modport)
8228 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8229 AUTOINOUTMODPORT for UVM interface module shell generation.
8230 Reported by Brad Dobbie.
8231 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8232 standard behavior.
8233 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8234 Reported by Matt Martin.
8235
8236 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8237
8238 * window.el (window--resize-child-windows): When resizing child
8239 windows proportionally, process them in reverse order to
8240 preserve the "when splitting a window the new one gets the odd
8241 line" behavior.
8242 (window--resize-root-window-vertically): When resizing the
8243 minibuffer window try to affect only windows at the bottom of the
8244 frame. (Bug#12419)
8245
8246 2012-09-25 Chong Yidong <cyd@gnu.org>
8247
8248 * subr.el (declare): Doc fix.
8249
8250 * help-fns.el (help-fns--obsolete): Handle macros properly.
8251
8252 2012-09-25 Chong Yidong <cyd@gnu.org>
8253
8254 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8255 this function obsolete.
8256
8257 * calendar/cal-x.el (calendar-two-frame-setup)
8258 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8259 * calendar/calendar.el (american-calendar, european-calendar)
8260 (calendar-for-loop):
8261 * comint.el (comint-dynamic-simple-complete)
8262 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8263 * desktop.el (desktop-load-default):
8264 * dired-x.el (dired-omit-here-always)
8265 (dired-hack-local-variables, dired-default-directory):
8266 * emacs-lisp/derived.el (derived-mode-class):
8267 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8268 * emacs-lock.el (toggle-emacs-lock):
8269 * epa.el (epa-display-verify-result):
8270 * epg.el (epg-sign-keys, epg-start-sign-keys)
8271 (epg-passphrase-callback-function):
8272 * eshell/esh-util.el (eshell-for):
8273 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8274 (eshell-add-to-window-buffer-names):
8275 * files.el (locate-file-completion):
8276 * imenu.el (imenu-example--create-c-index)
8277 (imenu-example--create-lisp-index)
8278 (imenu-example--lisp-extract-index-name)
8279 (imenu-example--name-and-position):
8280 * international/mule-cmds.el (princ-list):
8281 * international/mule-diag.el (decode-codepage-char):
8282 * international/mule-util.el (detect-coding-with-priority):
8283 * iswitchb.el (iswitchb-read-buffer):
8284 * mail/mailalias.el (mail-complete):
8285 * mail/sendmail.el (mail-sent-via):
8286 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8287 (mouse-major-mode-menu):
8288 * password-cache.el (password-read-and-add):
8289 * pcomplete.el (pcomplete-parse-comint-arguments):
8290 * progmodes/sh-script.el (sh-maybe-here-document):
8291 * replace.el (query-replace-regexp-eval):
8292 * savehist.el (savehist-load):
8293 * simple.el (choose-completion-delete-max-match):
8294 * term.el (term-dynamic-simple-complete):
8295 * vc/ediff-init.el (ediff-check-version):
8296 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8297 * vc/vc.el (vc-diff-switches-list):
8298 * view.el (view-return-to-alist-update): Likewise.
8299
8300 * subr.el (eval-next-after-load, makehash, insert-string)
8301 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8302 mark obsolete.
8303 (mode-line-inverse-video): Variable deleted.
8304
8305 * international/mule-util.el (string-to-sequence): Remove.
8306
8307 * calendar/calendar.el (calendar-version):
8308 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8309 (icalendar-convert-diary-to-ical):
8310 * cus-edit.el (custom-mode):
8311 * ansi-color.el (ansi-color-unfontify-region):
8312 * international/latin1-disp.el (latin1-char-displayable-p):
8313 * progmodes/cwarn.el (turn-on-cwarn-mode):
8314 * progmodes/which-func.el (which-func-update-1):
8315 Use define-obsolete-function-alias.
8316
8317 * net/newst-backend.el (newsticker-cache-filename):
8318 * net/newst-treeview.el (newsticker-groups-filename):
8319 Fix incorrect obsolescence declaration.
8320
8321 * allout.el (allout-passphrase-hint-string): Likewise.
8322 (allout-init): Use a declare form to mark obsolete.
8323
8324 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8325 this applies to functions.
8326
8327 * iswitchb.el (iswitchb-read-buffer): Move code of
8328 iswitchb-define-mode-map here, and delete that obsolete function.
8329
8330 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8331 font-lock-reference-face.
8332
8333 2012-09-25 Glenn Morris <rgm@gnu.org>
8334
8335 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8336 Doc fixes.
8337
8338 * eshell/em-term.el (eshell-term-name):
8339 Default to term-term-name. (Bug#12485)
8340
8341 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8342
8343 * progmodes/python.el (python-shell-send-buffer): Better handling
8344 of "if __name__ == '__main__':" conditionals when sending the buffer.
8345
8346 2012-09-24 Glenn Morris <rgm@gnu.org>
8347
8348 * eshell/esh-cmd.el (eshell-find-alias-function):
8349 Tighten up file-name regexp. (Bug#12499)
8350
8351 2012-09-24 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8352
8353 Enhancements for triple-quote string syntax.
8354 * progmodes/python.el (python-quote-syntax): Remove.
8355 (python-syntax-propertize-function): New value.
8356 (python-syntax-count-quotes, python-syntax-stringify):
8357 New functions.
8358
8359 2012-09-24 Chong Yidong <cyd@gnu.org>
8360
8361 * mail/supercite.el (sc-version): Remove obsolete function.
8362 (sc-describe): Don't mark as obsolete, since it is bound.
8363 (sc-submit-bug-report): Remove.
8364
8365 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8366 (cvs-commit-buffer-require-final-newline): Remove.
8367 (log-edit-require-final-newline)
8368 (log-edit-changelog-full-paragraphs): Default to t.
8369
8370 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8371 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8372 * vc/vc.el (vc-checkout-carefully): Likewise.
8373
8374 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8375 (emerge-version): Remove.
8376
8377 * progmodes/compile.el (compile-internal): Remove.
8378 (compilation-parse-errors-function): Fix typo.
8379
8380 * international/mule.el (set-char-table-default): Remove.
8381 (set-coding-priority, make-coding-system, generic-char-p)
8382 (charset-list, charset-bytes, charset-id): Use declare to mark
8383 functions as obsolete.
8384
8385 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8386 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8387 * vc/vc-hooks.el (vc-default-registered): Don't use
8388 vc-master-templates.
8389
8390 * font-lock.el (font-lock-reference-face):
8391 Use define-obsolete-variable-alias.
8392
8393 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8394 * calendar/calendar.el (calendar-font-lock-keywords):
8395 * calendar/diary-lib.el (diary-font-lock-keywords)
8396 (diary-fancy-font-lock-keywords):
8397 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8398 * textmodes/reftex-index.el (reftex-insert-index):
8399 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8400 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8401 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8402 * progmodes/prolog.el (prolog-font-lock-keywords):
8403 * progmodes/idlwave.el (idlwave-idl-keywords):
8404 * progmodes/ada-mode.el (ada-font-lock-keywords):
8405 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8406
8407 2012-09-24 Glenn Morris <rgm@gnu.org>
8408
8409 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8410
8411 2012-09-23 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
8412
8413 * progmodes/python.el (python-indent-line): More consistent cursor
8414 movement behavior.
8415
8416 2012-09-23 Stefan Merten <smerten@oekonux.de>
8417
8418 * textmodes/rst.el: Fix compiler warning.
8419
8420 2012-09-23 Roland Winkler <winkler@gnu.org>
8421
8422 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8423 Transcribe also LaTeX hyphenation.
8424 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8425 bibtex-reformat-previous-options.
8426
8427 2012-09-23 Roland Winkler <winkler@gnu.org>
8428
8429 * proced.el (proced-renice-command): New variable.
8430 (proced-marked-processes): New function.
8431 (proced-with-processes-buffer): New macro.
8432 (proced-send-signal): Use them.
8433 (proced-renice): New command bound to r.
8434
8435 2012-09-23 Roland Winkler <winkler@gnu.org>
8436
8437 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8438 ibuffer-saved-filter-groups has one element, shortcut the call of
8439 completing-read. (Bug#12331)
8440
8441 2012-09-23 Chong Yidong <cyd@gnu.org>
8442
8443 * bindings.el (mode-line-toggle-read-only):
8444 * bs.el (bs-toggle-readonly):
8445 * buff-menu.el (Buffer-menu-toggle-read-only):
8446 * dired.el (dired-toggle-read-only):
8447 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8448
8449 2012-09-23 Chong Yidong <cyd@gnu.org>
8450
8451 * image.el (image-type-available-p): Adapt to init-image-library
8452 argument changes.
8453
8454 2012-09-22 Juri Linkov <juri@jurta.org>
8455
8456 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8457 `dired-toggle-read-only'. (Bug#12462)
8458
8459 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8460
8461 * subr.el (temp-output-buffer-show): New function.
8462 (with-output-to-temp-buffer): Call temp-output-buffer-show
8463 instead of internal-temp-output-buffer-show.
8464
8465 2012-09-22 Chong Yidong <cyd@gnu.org>
8466
8467 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8468 (Bug#12462).
8469
8470 * repeat.el (repeat): Doc fix (Bug#12348).
8471
8472 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8473 (Bug#10909).
8474
8475 * simple.el (shell-command-on-region): Doc fix.
8476 (read-only-mode): Doc fix.
8477
8478 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8479
8480 * emacs-lisp/timer.el (run-with-idle-timer)
8481 (timer-activate-when-idle): Warn against reinvoking an idle timer
8482 from within its own timer action. (Bug#12447)
8483
8484 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8485
8486 * cus-start.el (window-combination-limit): Add new optional
8487 values.
8488 * window.el (temp-buffer-window-show)
8489 (window--try-to-split-window): Handle new values of
8490 window-combination-limit (Bug#1806).
8491 (split-window): Test window-combination-limit for t instead of
8492 non-nil.
8493 (display-buffer-at-bottom): New buffer display action function.
8494 * help.el (temp-buffer-resize-regexps): New option.
8495 (temp-buffer-resize-mode): Rewrite doc-string.
8496 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8497 Don't resize reused window. Suggested by Glenn Morris.
8498
8499 2012-09-22 Stefan Merten <smerten@oekonux.de>
8500
8501 * textmodes/rst.el: Revamp section title faces.
8502 (rst-official-version)
8503 (rst-package-emacs-version-alist): Sync with official version
8504 V1.4.0.
8505 (rst-faces-defaults, rst-set-level-default)
8506 (rst-level-face-max, rst-level-face-base-color)
8507 (rst-level-face-base-light, rst-level-face-format-light)
8508 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8509 (rst-adornment-faces-alist): Match new setup.
8510 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8511 (rst-level-5, rst-level-6): New faces.
8512
8513 2012-09-22 Chong Yidong <cyd@gnu.org>
8514
8515 * simple.el (undo): Handle indirect buffers (Bug#8207).
8516
8517 2012-09-21 Leo Liu <sdl.web@gmail.com>
8518
8519 IDO: Disable match re-ordering for buffer switching.
8520 * ido.el (ido-buffer-disable-smart-matches): New variable.
8521 (ido-set-matches-1): Use it. (Bug#2042)
8522
8523 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8524
8525 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8526 Fix 2011-05-17 change. (Bug#12418)
8527
8528 2012-09-21 Leo Liu <sdl.web@gmail.com>
8529
8530 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8531
8532 2012-09-21 Glenn Morris <rgm@gnu.org>
8533
8534 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8535 Be more robust about locating simple.el.
8536
8537 2012-09-21 Glenn Morris <rgm@gnu.org>
8538
8539 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8540
8541 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8542
8543 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8544
8545 2012-09-20 Juri Linkov <juri@jurta.org>
8546
8547 * replace.el (query-replace-read-from): Use `read-regexp' instead
8548 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8549 (occur-read-primary-args): Use `read-regexp' instead of
8550 `read-string'.
8551 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8552 `read-from-minibuffer'.
8553 * isearch.el (isearch-occur): Use `read-regexp' instead of
8554 `read-string'.
8555 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8556 `read-from-minibuffer'.
8557 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8558 of `read-string'. (Bug#7567)
8559
8560 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8561 and allow accepting a list of strings prepended to a list of
8562 standard default values. Doc fix. (Bug#12321)
8563
8564 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8565
8566 * replace.el (read-regexp): Don't add ": " when PROMPT already
8567 ends with a colon and space. (Bug#12321)
8568
8569 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8570
8571 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8572 error.
8573
8574 2012-09-20 Stefan Merten <smerten@oekonux.de>
8575
8576 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8577 Fixes feature request bug#11711.
8578 (rst-mode): Create `imenu-create-index-function'.
8579 (rst-get-stripped-line): Delete after refactoring.
8580 (rst-section-tree, rst-section-tree-rec)
8581 (rst-section-tree-point): Refactor and document properly.
8582 (rst-imenu-find-adornments-for-position)
8583 (rst-imenu-convert-cell, rst-imenu-create-index):
8584 New function.
8585
8586 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8587
8588 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8589 (macroexp--expand-all): Use it.
8590 (macroexp--funcall-and-return): Remove by folding it into its sole
8591 caller (macroexp--warn-and-return).
8592 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8593 Use macroexp--obsolete-warning.
8594
8595 * calc/calc.el: Fix last change by removing the whole chunk, since it
8596 was only needed back when Calc was not bundled.
8597
8598 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8599
8600 * emacs-lisp/debug.el (debug): Restore assignment to
8601 debugger-old-buffer removed on 2012-09-08.
8602
8603 2012-09-20 Juri Linkov <juri@jurta.org>
8604
8605 * dired-aux.el (dired-diff): Remove (require 'diff) since
8606 `diff-latest-backup-file' is now autoloaded.
8607
8608 2012-09-20 Chong Yidong <cyd@gnu.org>
8609
8610 * vc/diff.el (diff-latest-backup-file): Autoload.
8611
8612 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8613
8614 * calc/calc.el: Remove redundant autoload shape check.
8615 (sel-mode): Don't defvar.
8616 (calc-get-stack-element): Add `sel-mode' arg instead.
8617 (calc-top, calc-top-list): Pass it this additional argument.
8618 * calc/calc-store.el (calc-store-map):
8619 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8620 (calc-map-equation, calc-outer-product, calc-inner-product):
8621 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8622
8623 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8624
8625 2012-09-19 Juri Linkov <juri@jurta.org>
8626
8627 * dired-aux.el (dired-diff): Add (require 'diff) because
8628 `diff-latest-backup-file' is not autoloaded.
8629 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8630 of `dired-get-filename' to t to not report error when there is
8631 no default file on the current line.
8632
8633 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8636 macroexp--eval-if-compile.
8637 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8638 (macroexp--expand-all): Use them (bug#12371).
8639
8640 * doc-view.el (doc-view-guess-paper-size)
8641 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8642
8643 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8644
8645 New feature: set optimal slice from BoundingBox information.
8646 * doc-view.el (doc-view-mode-map): Add keybinding.
8647 (doc-view-menu): Add menu entry.
8648 (doc-view-set-slice): Adapt docstring.
8649 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8650 (doc-view-scale-bounding-box)
8651 (doc-view-set-slice-from-bounding-box): New functions.
8652 (doc-view-paper-sizes): New defvar.
8653
8654 2012-09-19 Glenn Morris <rgm@gnu.org>
8655
8656 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8657 (byte-compile-log-warning): Autoload. (Bug#12371)
8658
8659 * calendar/calendar.el (calendar-american-month-header)
8660 (calendar-european-month-header, calendar-iso-month-header)
8661 (calendar-month-header): New options.
8662 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8663 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8664
8665 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8666
8667 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8668
8669 2012-09-18 Juri Linkov <juri@jurta.org>
8670
8671 * dired-aux.el (dired-diff): Restore original functionality of
8672 getting the default value, but keep new feature of using the
8673 latest existing backup file (`diff-latest-backup-file').
8674
8675 2012-09-18 Juri Linkov <juri@jurta.org>
8676
8677 * dired.el (dired-mark): If the region is active in Transient Mark
8678 mode, mark all files in the active region. Doc fix.
8679 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8680 Doc fix. (Bug#10624)
8681
8682 2012-09-18 Juri Linkov <juri@jurta.org>
8683
8684 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8685 attributes for M-n are pulled from the file at point.
8686 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8687 Suggested by Drew Adams. (Bug#10624)
8688
8689 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8690
8691 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8692 whitespace after "end".
8693 (ruby-do-end-to-brace): Collapse block to one line if it fits
8694 within fill-column.
8695
8696 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8697
8698 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8699 value.
8700 (debug): Don't remove debugger window when debugger is expected
8701 to be back.
8702
8703 2012-09-18 Chong Yidong <cyd@gnu.org>
8704
8705 * custom.el (defface): Doc fix.
8706
8707 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8708
8709 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8710
8711 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8712 to initialize query-on-exit; then test that instead (bug#12288).
8713
8714 2012-09-17 Stefan Merten <smerten@oekonux.de>
8715
8716 * textmodes/rst.el: Add support for `testcover'.
8717 (rst-defcustom-testcover, rst-testcover-add-compose)
8718 (rst-testcover-add-1value): New functions.
8719 (rst-portable-mark-active-p): Replace by `use-region-p'.
8720 (rst-update-section, rst-classify-adornment)
8721 (rst-find-title-line): Mark `1value' forms.
8722 (rst-classify-adornment): Remove superfluous form.
8723 (rst-update-section, rst-get-adornments-around)
8724 (rst-adornment-complete-p, rst-get-next-adornment)
8725 (rst-adjust, rst-promote-region)
8726 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8727 (rst-find-pfx-in-region, rst-section-tree-rec)
8728 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8729 (rst-toc-node, rst-toc, rst-forward-section)
8730 (rst-iterate-leftmost-paragraphs)
8731 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8732 (rst-bullet-list-region)
8733 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8734 (rst-compile-find-conf, rst-compile)
8735 (rst-repeat-last-character): Fix style.
8736
8737 2012-09-17 Chong Yidong <cyd@gnu.org>
8738
8739 * comint.el (comint--complete-file-name-data): Don't add a space
8740 if the status is `sole'; that adds a gratuitous space in the
8741 completion-cycling case (Bug#12092).
8742
8743 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8744
8745 2012-09-17 Richard Stallman <rms@gnu.org>
8746
8747 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8748 only in the mime-shown mode, not in raw mode.
8749 (rmail-mime): Toggle off mime by displaying the message without
8750 mime processing. (Bug#12305)
8751
8752 * mail/rmail.el (rmail-retry-failure):
8753 Turn off mime processing first. (Bug#12037)
8754
8755 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8756
8757 2012-09-17 Chong Yidong <cyd@gnu.org>
8758
8759 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8760 (shell-dynamic-complete-functions): Convert to defcustom.
8761 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8762
8763 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8764 * comint.el (comint-prompt-read-only):
8765 * custom.el (defcustom):
8766 * hi-lock.el (hi-lock-mode):
8767 * ibuffer.el (ibuffer-formats):
8768 * ielm.el (ielm-prompt-read-only):
8769 * novice.el (disable-command):
8770 * saveplace.el (toggle-save-place):
8771 * speedbar.el (speedbar-supported-extension-expressions):
8772 * startup.el (auto-save-list-file-prefix, init-file-user)
8773 (after-init-hook, inhibit-startup-echo-area-message):
8774 * strokes.el (strokes-help):
8775 * time-stamp.el (time-stamp):
8776 * calendar/calendar.el (calendar, diary-file):
8777 * calendar/diary-lib.el (diary-mail-entries, diary)
8778 (diary-list-entries-hook):
8779 * calendar/holidays.el (holidays, calendar-holidays):
8780 * calendar/lunar.el (lunar-phases):
8781 * calendar/solar.el (sunrise-sunset):
8782 * emulation/edt.el (edt-load-keys):
8783 * emulation/viper.el (viper-mode):
8784 * eshell/em-alias.el (eshell-command-aliases-list):
8785 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8786 * international/ogonek.el (ogonek-information):
8787 * net/tramp-cmds.el (tramp-bug):
8788 * net/quickurl.el (quickurl-reread-hook-postfix):
8789 * play/decipher.el (decipher-font-lock-keywords):
8790 * progmodes/cc-styles.el (c-set-style):
8791 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8792 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8793 * progmodes/octave-mod.el (octave-mode):
8794 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8795 * progmodes/verilog-mode.el (verilog-read-defines):
8796 * textmodes/two-column.el (2C-mode): Likewise.
8797
8798 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8799
8800 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8801 that holds many addresses.
8802
8803 2012-09-16 Chong Yidong <cyd@gnu.org>
8804
8805 * align.el (align-areas): Call the indication function with
8806 positions instead of markers for arguments (Bug#12343).
8807
8808 * files.el (parse-colon-path): Use split-string (Bug#12351).
8809
8810 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8811 (display-buffer-function): Mark as obsolete.
8812
8813 * progmodes/compile.el (compilation-parse-errors): Accept list
8814 values similar to font-lock-keywords (Bug#12136).
8815 Suggested by Oleksandr Manzyuk.
8816 (compilation-error-regexp-alist): Doc fix.
8817
8818 2012-09-15 Glenn Morris <rgm@gnu.org>
8819
8820 * version.el (emacs-bzr-version-bzr): New function.
8821 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8822
8823 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8824 checkouts, check the parent dirstate matches the branch.
8825 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8826 empty string.
8827
8828 * version.el (emacs-bzr-version): Doc fix.
8829 (emacs-bzr-version-dirstate): New function.
8830 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8831 is local try and check that it matches the branch. If not, just
8832 use dirstate information. (Bug#12441)
8833
8834 2012-09-14 Juri Linkov <juri@jurta.org>
8835
8836 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8837 (Bug#12399)
8838
8839 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8840
8841 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8842
8843 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8844 Remove obsolete byte-compiler hack that tried to silence some warnings.
8845 (edebug-submit-bug-report): Remove.
8846 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8847 Remove aliases, use the un-prefixed name instead.
8848 (edebug-pop-to-buffer): Consider other frames.
8849 (edebug-original-read):: Make it more obvious that it's always defined.
8850 (edebug--make-form-data-entry, edebug--form-data-name)
8851 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8852 single-dashed name, and implement with cl-defstruct.
8853 (edebug-set-form-data-entry): Use the standard accessors.
8854 (edebug-make-top-form-data-entry): Use push.
8855 (edebug-no-match): Drop useless `funcall'.
8856 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8857 to functions.
8858 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8859 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8860 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8861 (easy-menu-define, with-custom-print): Remove redundant specs.
8862 (edebug-outside-overriding-local-map)
8863 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8864 (edebug--display): Bind unread-command-events directly to nil rather
8865 than binding it to unread-command-events and later setting it to nil.
8866 (edebug--display): Kill edebug-eval-buffer here...
8867 (edebug--recursive-edit): ...rather than here.
8868 Bind standard-output and standard-input.
8869 (edebug-eval): Check cl-macroexpand-all is fboundp.
8870 (edebug-temp-display-freq-count): Fix last change.
8871
8872 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8873 * subr.el (noreturn, 1value): Add `debug' spec.
8874 * emacs-lisp/advice.el: Require cl-lib.
8875 (ad-copy-tree): Remove, use copy-tree instead.
8876 (ad-dolist): Remove use dolist or cl-dolist instead.
8877 (ad-do-return): Remove, use cl-return instead.
8878 (defadvice): Add `debug' spec.
8879
8880 2012-09-13 Juri Linkov <juri@jurta.org>
8881
8882 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8883 (Bug#12399)
8884
8885 2012-09-13 Glenn Morris <rgm@gnu.org>
8886
8887 * calc/calc.el (math-compose-expr):
8888 * calc/calc-ext.el (math-compose-expr):
8889 * progmodes/cc-defs.el (cl-macroexpand-all):
8890 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8891 (cl-macroexpand-all): Update declarations.
8892
8893 * vc/vc.el: No need to require ediff.
8894 (ediff-load-version-control): Declare.
8895 (ediff-vc-internal): Fix declaration.
8896 (vc-version-ediff): Require ediff.
8897
8898 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8899
8900 Use a more backwards-compatible timer format (Bug#12430).
8901 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8902 being right after USECS, as that better supports old code that
8903 inadvisedly looked directly at the timer vector.
8904
8905 2012-09-13 Kenichi Handa <handa@gnu.org>
8906
8907 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8908 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8909 `coding-priority' property of these language environment.
8910
8911 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8912
8913 Fix glitches caused by addition of psec to timers (Bug#12430).
8914 * image.el (image-animate-timer):
8915 * time.el (display-time-world-timer):
8916 Use timer--function and timer--args rather than raw access to
8917 timer vector.
8918
8919 2012-09-13 Glenn Morris <rgm@gnu.org>
8920
8921 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8922 If not compiling a file, try using load-file-name.
8923
8924 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8927 Fix last change.
8928 (edebug-update-eval-list): Use `push'.
8929
8930 * emacs-lisp/edebug.el: Use lexical-binding.
8931 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8932 Mark unused args with underscore.
8933 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8934 (edebug-form-data): Use defvar-local.
8935 (edebug-make-before-and-after-form, edebug-make-after-form):
8936 Use backquote.
8937 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8938 Not dynamically scoped any more.
8939 (edebug--enter-trace): Add arguments `function' and `args'.
8940 Rename from edebug-enter-trace.
8941 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8942 (edebug--update-coverage): Add `after-index' and `value' args.
8943 Rename from edebug-update-coverage.
8944 (edebug-slow-after): Call it accordingly.
8945 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8946 edebug-recursive-edit.
8947 (edebug--display): Call it accordingly. Add args `value',
8948 `offset-index', and `arg-mode'. Rename from edebug-display.
8949 (edebug-debugger, edebug): Call it accordingly.
8950 (edebug-eval-display-list): Use dolist.
8951
8952 2012-09-12 Juri Linkov <juri@jurta.org>
8953
8954 * info.el (Info-search): Don't check for isearch-mode and
8955 isearch-regexp before let-binding search-spaces-regexp to
8956 Info-search-whitespace-regexp.
8957 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8958 search-whitespace-regexp if isearch-lax-whitespace or
8959 isearch-regexp-lax-whitespace is non-nil.
8960 (Info-mode): Don't set local variable search-whitespace-regexp.
8961 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8962
8963 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8966 (debugger-env-macro): Remove support for unread-command-char.
8967
8968 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8969 the temporary map re-appearing on emulation-mode-map-alists.
8970
8971 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8972 since 22.1.
8973
8974 * ehelp.el (with-electric-help): Accept functions in
8975 electric-help-form-to-execute.
8976 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8977 And replace unread-command-char -> unread-command-events.
8978
8979 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8980
8981 Sync with Tramp 2.2.6.
8982
8983 * net/tramp.el (tramp-accept-process-output): Don't use
8984 JUST-THIS-ONE in the XEmacs case.
8985
8986 * net/trampver.el: Update release number.
8987
8988 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8989
8990 * emacs-lisp/debug.el (debugger-previous-window-height):
8991 New variable.
8992 (debug): When debugger-jumping-flag is non-nil try to restore
8993 height of debugger window. (Bug#8789)
8994
8995 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8998 overriding-local-map and pre/post-command-hook here.
8999 (edebug-recursive-edit): Do it here instead (bug#12345).
9000 (edebug-outside-unread-command-char): Remove all uses of
9001 unread-command-char.
9002
9003 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
9004 inhibit-debugger is bound instead.
9005
9006 2012-09-11 Bastien Guerry <bzg@gnu.org>
9007
9008 * subr.el (set-temporary-overlay-map): Add a docstring.
9009 (Bug#12346)
9010
9011 2012-09-11 Bastien Guerry <bzg@gnu.org>
9012
9013 * minibuffer.el (completion-table-subvert): Fix docstring.
9014 (Bug#12347)
9015
9016 2012-09-11 Bastien Guerry <bzg@gnu.org>
9017
9018 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
9019
9020 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
9021
9022 * progmodes/sql.el: Version 3.1
9023 (sql-db2-escape-newlines): New variable.
9024 (sql-escape-newlines-filter): Use it.
9025
9026 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
9027
9028 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
9029
9030 2012-09-10 Dan Nicolaescu <dann@gnu.org>
9031
9032 * vc/diff-mode.el (diff-mode-menu):
9033 Bind diff-remove-trailing-whitespace.
9034
9035 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9036
9037 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
9038 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
9039 (emacs-lisp-byte-code-mode): New functions.
9040 (eval-sexp-add-defvars): Don't skip defvars in column >0.
9041 (eval-defun-2): Remove bogus interactive spec.
9042 (lisp-indent-line): Remove redundant whole-exp code, now done in
9043 indent-according-to-mode.
9044 (save-match-data): Remove redundant indent data.
9045
9046 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
9047 Use `declare'.
9048
9049 2012-09-09 Juri Linkov <juri@jurta.org>
9050
9051 * replace.el (replace-regexp-lax-whitespace): New defcustom.
9052 (replace-lax-whitespace, query-replace-regexp)
9053 (query-replace-regexp-eval, replace-regexp): Doc fix.
9054 (perform-replace, replace-highlight): Let-bind
9055 isearch-lax-whitespace to replace-lax-whitespace and
9056 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
9057
9058 * isearch.el (isearch-query-replace): Let-bind
9059 replace-lax-whitespace to isearch-lax-whitespace and
9060 replace-regexp-lax-whitespace to
9061 isearch-regexp-lax-whitespace. (Bug#10885)
9062
9063 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
9066
9067 2012-09-09 Alan Mackenzie <acm@muc.de>
9068
9069 * progmodes/cc-engine.el (c-state-cache-init):
9070 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9071 (c-record-parse-state-state):
9072 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9073
9074 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9075
9076 * register.el (register-separator): Rename from
9077 separator-register. All uses changed. Doc fix.
9078 (register): Fix version.
9079
9080 2012-09-09 Chong Yidong <cyd@gnu.org>
9081
9082 * replace.el (query-replace-map): Bind four new symbols for
9083 requesting window scrolling.
9084
9085 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9086 query-replace-map (Bug#8948).
9087
9088 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9089
9090 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9091 since they are now in query-replace-map.
9092
9093 * window.el (scroll-other-window-down): Make the arg optional.
9094
9095 2012-09-09 Chong Yidong <cyd@gnu.org>
9096
9097 * files.el (hack-local-variables-confirm): Use quit-window to kill
9098 the *Local Variables* buffer.
9099
9100 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9101
9102 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9103 not just expect to be at its beginning. Adjust callees.
9104 Succeed when do-end block has no space before the pipe character.
9105 (ruby-brace-to-do-end): When the original block is one-liner,
9106 convert to multiline. Reindent the result.
9107
9108 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9109
9110 * register.el (register): New group.
9111 (separator-register): New user option.
9112 (increment-register): Route it to `append-to-register', if
9113 register contains text. Implication is that `C-x r +' can now be
9114 used for appending to a text register (bug#12217).
9115 (append-to-register, prepend-to-register): Add separator based on
9116 `separator-register'.
9117
9118 2012-09-08 Alan Mackenzie <acm@muc.de>
9119
9120 AWK Mode: make auto-newline work when there's "==" in the pattern.
9121 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9122 correctly.
9123 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9124 Test more rigorously for "=" token.
9125
9126 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9127
9128 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9129 Only fail when reached LIMIT.
9130
9131 2012-09-08 Chong Yidong <cyd@gnu.org>
9132
9133 * dired.el (dired-mode-map): Don't bind M-=.
9134
9135 * dired-aux.el (dired-diff): Use backup file as default.
9136
9137 2012-09-08 Drew Adams <drew.adams@oracle.com>
9138
9139 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9140
9141 2012-09-08 Chong Yidong <cyd@gnu.org>
9142
9143 * subr.el (syntax-after, syntax-class): Doc fix.
9144
9145 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9146
9147 * window.el (display-buffer-in-previous-window): New buffer
9148 display action function.
9149
9150 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9151 (debugger-previous-window): New variable.
9152 (debug): Rewrite using display-buffer-in-previous-window,
9153 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9154
9155 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9156
9157 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9158
9159 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9160
9161 * progmodes/python.el (python-shell-send-string):
9162 When default-directory is remote, create temp file on remote
9163 filesystem.
9164 (python-shell-send-file): When file is remote, pass local view of
9165 file paths to remote Python interpreter. (Bug#12340)
9166
9167 2012-09-07 Chong Yidong <cyd@gnu.org>
9168
9169 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9170
9171 * files.el (after-find-file): Don't fail on a read-only buffer if
9172 require-final-newline is `visit' or `visit-save' (Bug#11156).
9173
9174 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9175
9176 * userlock.el (ask-user-about-supersession-threat):
9177 Use read-char-choice (Bug#12093).
9178
9179 2012-09-07 Chong Yidong <cyd@gnu.org>
9180
9181 * subr.el (buffer-narrowed-p): New function.
9182
9183 * ses.el (ses-widen):
9184 * simple.el (count-words--buffer-message):
9185 * net/browse-url.el (browse-url-of-buffer): Use it.
9186
9187 * simple.el (count-words-region): Don't signal an error if there
9188 is a non-nil prefix arg and the mark is not set.
9189
9190 * help.el (describe-key-briefly): Allow the message to be seen
9191 when invoked from the minibuffer (Bug#7014).
9192
9193 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9194
9195 * progmodes/ruby-mode.el (ruby-end-of-defun)
9196 (ruby-beginning-of-defun): Simplify, allow indentation before
9197 block beginning and end keywords.
9198 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9199 (ruby-end-of-defun): Expect that the point is at the beginning of
9200 the defun.
9201
9202 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9203
9204 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9205 (bug#12367).
9206 (cl--make-usage-args): Strip _ from argument names.
9207
9208 2012-09-06 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
9209
9210 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9211 obsolete alias speedbar-key-map.
9212 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9213 (vhdl-index-menu-init): Don't use obsolete variable
9214 font-lock-maximum-size.
9215
9216 2012-09-06 Chong Yidong <cyd@gnu.org>
9217
9218 * frame.el (window-system-version): Mark as obsolete.
9219
9220 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9221 of obsolete variable speedbar-key-map.
9222
9223 2012-09-06 Juri Linkov <juri@jurta.org>
9224
9225 * replace.el (replace-lax-whitespace): New defcustom.
9226 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9227 (replace-string, replace-regexp): Mention it in docstrings.
9228 (perform-replace, replace-highlight): Let-bind
9229 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9230 to the values of replace-lax-whitespace and regexp-flag.
9231 Don't let-bind search-whitespace-regexp. (Bug#10885)
9232
9233 * isearch.el (isearch-query-replace): Let-bind
9234 replace-lax-whitespace instead of let-binding
9235 replace-search-function and replace-re-search-function.
9236 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9237 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9238 (isearch-toggle-symbol): Set isearch-regexp to nil
9239 in isearch-word mode (like in isearch-toggle-word).
9240
9241 2012-09-06 Juri Linkov <juri@jurta.org>
9242
9243 * replace.el (replace-search-function)
9244 (replace-re-search-function): Set default values to nil.
9245 (perform-replace): Let-bind isearch-related variables based on
9246 replace-related values, call `isearch-search-fun' and let-bind
9247 the result to `search-function'. Remove code that sets
9248 `search-function' and `search-string' separately for
9249 `delimited-flag'.
9250 (replace-highlight): Add new argument `delimited-flag' and
9251 rename other arguments to the names used in `perform-replace'.
9252 Let-bind `isearch-word' to the argument `delimited-flag'.
9253 (Bug#10885, bug#10887)
9254
9255 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9256
9257 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9258 ruby-beginning-of-indent, simplify, allow all keywords to have
9259 indentation before them.
9260 (ruby-beginning-of-indent): Adjust for above. Search until the
9261 found point is not inside a string or comment.
9262 (ruby-font-lock-keywords): Allow symbols to start with "@"
9263 character, give them higher priority than variables.
9264 (ruby-syntax-propertize-function)
9265 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9266 matchers. Expression expansions are not comments when inside a
9267 string, and there comment syntax status is irrelevant.
9268 (ruby-match-expression-expansion): New function. Check that
9269 expression expansion is inside a string, and it's not escaped.
9270 (ruby-font-lock-keywords): Use it.
9271
9272 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9273
9274 * help.el (temp-buffer-max-height): New default value.
9275 (temp-buffer-resize-frames): New option.
9276 (resize-temp-buffer-window): Optionally resize frame.
9277
9278 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9279 (fit-frame-to-buffer): New function.
9280
9281 2012-09-05 Glenn Morris <rgm@gnu.org>
9282
9283 * emulation/cua-rect.el (cua--init-rectangles):
9284 * textmodes/picture.el (picture-mode-map):
9285 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9286 like forward-char and backward-char. (Bug#12317)
9287
9288 2012-09-05 Leo Liu <sdl.web@gmail.com>
9289
9290 * progmodes/flymake.el (flymake-warning-re): New variable.
9291 (flymake-parse-line): Use it.
9292
9293 2012-09-05 Glenn Morris <rgm@gnu.org>
9294
9295 * calendar/holidays.el (holiday-christian-holidays):
9296 Rename an entry. (Bug#12289)
9297
9298 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9299
9300 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9301 (bug#12222).
9302
9303 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9304
9305 * loadup.el: Load macroexp. Remove hack.
9306 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9307 (macroexp--expand-all): Use it to get better warnings.
9308 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9309 (internal-macroexpand-for-load): New functions.
9310 (macroexp--pending-eager-loads): New var.
9311 (emacs-startup-hook): New hack to replace one in loadup.el.
9312 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9313 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9314 (cl-psetf): Simplify.
9315 (cl-defstruct): Add indent rule.
9316
9317 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9318
9319 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9320 over `user-mail-address' for the SMTP MAIL FROM envelope.
9321 (smtpmail-via-smtp): Ditto.
9322
9323 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9324
9325 * progmodes/ruby-mode.el: Clean up keybindings.
9326 (ruby-mode-map): Don't bind ruby-electric-brace,
9327 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9328 backward-kill-word, reindent-then-newline-and-indent.
9329 (ruby-mark-defun): Remove.
9330 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9331 (ruby-mode): Set local beginning-of-defun-function and
9332 end-of-defun-function values.
9333
9334 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9335
9336 * window.el (temp-buffer-window-setup-hook)
9337 (temp-buffer-window-show-hook): New hooks.
9338 (temp-buffer-window-setup, temp-buffer-window-show)
9339 (with-temp-buffer-window): New functions.
9340 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9341 (special-display-popup-frame): Make sure the window used shows BUFFER.
9342
9343 * help.el (temp-buffer-resize-mode): Fix doc-string.
9344 (resize-temp-buffer-window): New optional argument WINDOW.
9345
9346 * files.el (recover-file, save-buffers-kill-emacs):
9347 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9348
9349 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9350
9351 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9352 remote definition of `default-directory', ensure we can connect.
9353
9354 2012-09-02 Juri Linkov <juri@jurta.org>
9355
9356 Toggle whitespace matching mode with M-s SPC.
9357 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9358
9359 * isearch.el (search-whitespace-regexp): Doc fix.
9360 Remove cons cell customization.
9361 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9362 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9363 New variables.
9364 (isearch-forward, isearch-forward-regexp): Doc fix.
9365 (isearch-toggle-lax-whitespace): New command.
9366 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9367 (re-search-forward-lax-whitespace)
9368 (re-search-backward-lax-whitespace): New functions.
9369 (isearch-whitespace-regexp): Remove function.
9370 (isearch-query-replace): Let-bind replace-search-function and
9371 replace-re-search-function.
9372 (isearch-occur): Let-bind search-spaces-regexp according to the
9373 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9374 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9375 condition for C-q SPC.
9376 (isearch-search-fun-default): Use new functions mentioned above.
9377 (isearch-search-forward, isearch-search-backward): Remove functions.
9378 (isearch-search): Don't let-bind search-spaces-regexp.
9379 (isearch-lazy-highlight-space-regexp): Remove variable.
9380 (isearch-lazy-highlight-lax-whitespace)
9381 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9382 (isearch-lazy-highlight-new-loop): Use them.
9383 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9384
9385 2012-09-02 Chong Yidong <cyd@gnu.org>
9386
9387 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9388
9389 2012-09-02 Glenn Morris <rgm@gnu.org>
9390
9391 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9392
9393 2012-09-01 Glenn Morris <rgm@gnu.org>
9394
9395 * term.el: Tidy up menu definitions.
9396 (term-mode-map): Use easymenu for In/Out, Complete menus.
9397 (term-pager-break-map): Initialize in the defvar.
9398 (term-terminal-menu, term-signals-menu): Define with easymenu.
9399 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9400 (term-pager-menu): New, extracted from term-process-pager.
9401 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9402 (term-update-mode-line): Propertize line/char and page items.
9403 (term-process-pager): Move keymap initialization elsewhere.
9404
9405 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9406
9407 * window.el (switch-to-prev-buffer): Handle additional values of
9408 BURY-OR-KILL argument. Don't switch in minibuffer window.
9409 (switch-to-next-buffer): Don't switch in minibuffer window.
9410 (quit-restore-window): New function based on quit-window.
9411 Handle additional values of former KILL argument.
9412 (quit-window): Call quit-restore-window with appropriate
9413 interpretation of KILL argument.
9414 (display-buffer-below-selected): New buffer display action
9415 function.
9416
9417 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9418
9419 * minibuffer.el (completion-at-point-functions): Complete docstring
9420 (bug#12254).
9421
9422 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9423
9424 Better seed support for (random).
9425 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9426 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9427 * play/mpuz.el, play/tetris.el, play/zone.el:
9428 * calc/calc-comb.el (math-init-random-base):
9429 * play/blackbox.el (bb-init-board):
9430 * play/life.el (life):
9431 * server.el (server-use-tcp):
9432 * type-break.el (type-break):
9433 Remove unnecessary call to (random t).
9434 * net/sasl.el (sasl-unique-id-function):
9435 Change (random t) to (random), now that the latter is more random.
9436 * play/life.el (life-initialized): Remove no-longer-needed var.
9437
9438 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9439
9440 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9441 Consider frame's buffer predicate when choosing the buffer.
9442 (Bug#12081)
9443
9444 2012-08-30 Richard Stallman <rms@gnu.org>
9445
9446 * simple.el (special-mode-map): Delete binding for `z'.
9447
9448 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9449
9450 * progmodes/compile.el (compilation-always-kill): Doc fix.
9451
9452 2012-08-30 Chong Yidong <cyd@gnu.org>
9453
9454 * window.el (display-buffer-reuse-frames): Make the obsolescence
9455 message more informative.
9456
9457 2012-08-30 Glenn Morris <rgm@gnu.org>
9458
9459 * paren.el (show-paren-delay):
9460 Add a :set function. Doc fix. (Bug#12297)
9461
9462 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9463
9464 * progmodes/compile.el (compilation-always-kill): New var.
9465 (compilation-start): Use it.
9466
9467 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9470 * files.el (read-only-mode): Move to simple.el.
9471
9472 * files.el (read-only-mode): New minor mode.
9473 (toggle-read-only): Use it and mark obsolete.
9474 (find-file--read-only):
9475 * vc/vc.el (vc-next-action, vc-checkout):
9476 * vc/vc-cvs.el (vc-cvs-checkout):
9477 * obsolete/vc-mcvs.el (vc-mcvs-update):
9478 * ffap.el (ffap--toggle-read-only): Update callers.
9479
9480 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9481
9482 * eshell/esh-ext.el (eshell-external-command): Do not examine
9483 remote shell scripts.
9484 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9485
9486 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9487 "/usr/local/sbin".
9488
9489 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9490
9491 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9492
9493 2012-08-28 Leo Liu <sdl.web@gmail.com>
9494
9495 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9496 completion-at-point. (Bug#12220)
9497
9498 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9499
9500 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9501
9502 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9503
9504 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9505 be buffer-local; add delete-trailing-whitespace (bug#12259).
9506
9507 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9508
9509 * progmodes/hideif.el (hif-compress-define-list):
9510 Fix typo. (Bug#11951)
9511
9512 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9513
9514 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9515 buffer local setting.
9516
9517 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9518 rcirc-encode-coding-system.
9519
9520 2012-08-28 Leo Liu <sdl.web@gmail.com>
9521
9522 * net/rcirc.el (rcirc-split-message): New function.
9523 (rcirc-send-message): Use it. (Bug#12051)
9524
9525 2012-08-28 Juri Linkov <juri@jurta.org>
9526
9527 * info.el (Info-fontify-node): Hide empty lines at the end of
9528 the node. (Bug#12272)
9529
9530 2012-08-27 Drew Adams <drew.adams@oracle.com>
9531
9532 * dired.el (dired-pop-to-buffer): Make window start at beginning
9533 of buffer (Bug#12281).
9534
9535 2012-08-26 Chong Yidong <cyd@gnu.org>
9536
9537 * window.el (special-display-regexps, special-display-frame-alist)
9538 (special-display-buffer-names, special-display-function)
9539 (display-buffer-reuse-frames): Mark as obsolete.
9540
9541 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9542
9543 * help.el (help-print-return-message): Don't treat
9544 display-buffer-reuse-frames specially.
9545
9546 2012-08-26 Chong Yidong <cyd@gnu.org>
9547
9548 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9549 New variable, replacing gdb-frame-parameters.
9550 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9551 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9552 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9553 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9554 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9555 the functions directly with gdb-display-buffer-other-frame-action.
9556 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9557 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9558 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9559 (gdb-display-registers-buffer): Define directly.
9560 (def-gdb-display-buffer): Macro deleted.
9561 (gdb-display-buffer): Remove second and third args, callers don't
9562 use them. Defer to the default display-buffer behavior, apart
9563 from making windows dedicated.
9564 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9565
9566 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9567
9568 * window.el (display-buffer-pop-up-frame): Handle a
9569 pop-up-frame-parameters alist entry.
9570 (display-buffer): Document it.
9571
9572 2012-08-26 Chong Yidong <cyd@gnu.org>
9573
9574 * isearch.el (search-whitespace-regexp): Make string and nil
9575 values apply to both ordinary and regexp search. Allow a cons
9576 cell value to distinguish between the two.
9577 (isearch-whitespace-regexp, isearch-search-forward)
9578 (isearch-search-backward): New functions.
9579 (isearch-occur, isearch-search-fun-default, isearch-search)
9580 (isearch-lazy-highlight-new-loop): Use them.
9581 (isearch-forward, isearch-forward-regexp): Doc fix.
9582
9583 2012-08-26 Chong Yidong <cyd@gnu.org>
9584
9585 * faces.el (help-argument-name): Always inherit from italic
9586 (Bug#12213).
9587
9588 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9589
9590 * window.el (window--even-window-heights): Even heights when
9591 WINDOW and the selected window form a vertical combination.
9592 (display-buffer-use-some-window): Provide that window used gets
9593 sized back by quit-window. (Bug#11880) and (Bug#12091)
9594
9595 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9596
9597 Fix file time stamp problem with bzr and CVS (Bug#12001).
9598 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9599 in the file's time stamp, since the version control system loses
9600 that information.
9601
9602 2012-08-22 Juri Linkov <juri@jurta.org>
9603
9604 * info.el (Info-fontify-node): Hide the suffix of the
9605 Info file name in the header line. (Bug#12187)
9606
9607 2012-08-22 Glenn Morris <rgm@gnu.org>
9608
9609 * calendar/cal-tex.el (cal-tex-weekly-common):
9610 Restore leading blank page.
9611
9612 2012-08-22 Le Wang <l26wang@gmail.com>
9613
9614 * misc.el (forward-to-word, backward-to-word): Activate or extend
9615 the region under `shift-select-mode'. (Bug#12231)
9616
9617 2012-08-22 Bastien Guerry <bzg@gnu.org>
9618
9619 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9620 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9621 gives details on why the space is never needed.
9622
9623 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9624
9625 * window.el (walk-window-tree, window-with-parameter):
9626 New optional argument MINIBUF to control whether these functions
9627 should run on the minibuffer window.
9628 (window-at-side-list): Don't operate on minibuffer window.
9629 (window-in-direction): Simplify and rewrite doc-string.
9630 (window--size-ignore): Rename to window--size-ignore-p.
9631 Update callers.
9632 (display-buffer-in-atom-window, window--major-non-side-window)
9633 (window--major-side-window, display-buffer-in-major-side-window)
9634 (delete-side-window, display-buffer-in-side-window):
9635 New functions.
9636 (window--side-check, window-deletable-p, delete-window)
9637 (delete-other-windows, split-window): Handle side windows and
9638 atomic windows appropriately.
9639 (window--display-buffer): Call display-buffer-record-window also
9640 when the window buffer did not change.
9641
9642 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9643
9644 * help-fns.el (help-fns--key-bindings):
9645 Abbreviate non-symbol remap targets. (Bug#12174)
9646
9647 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9648
9649 * dired.el (dired-mark-remembered): Don't clobber point.
9650 (Bug#11795)
9651
9652 2012-08-22 Glenn Morris <rgm@gnu.org>
9653
9654 * progmodes/bug-reference.el (bug-reference): New custom group.
9655 (bug-reference-bug-regexp): Make it a defcustom.
9656
9657 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9658
9659 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9660 (js-paren-indent-offset, js-square-indent-offset)
9661 (js-curly-indent-offset): Add :safe (Bug#12257).
9662
9663 2012-08-22 Edward O'Connor <hober0@gmail.com>
9664
9665 * json.el (json-key-format): Add error properties.
9666 (json-encode-key): New function.
9667 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9668 Use json-encode-key.
9669
9670 2012-08-22 Glenn Morris <rgm@gnu.org>
9671
9672 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9673 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9674 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9675 Update for above change.
9676
9677 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9678
9679 * cus-face.el (custom-face-attributes): Fix customize type for the
9680 :underline attribute. (Bug#11805)
9681
9682 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9683
9684 * window.el (window-point-1, set-window-point-1): Remove.
9685 (window-in-direction, record-window-buffer)
9686 (set-window-buffer-start-and-point, split-window-below)
9687 (window--state-get-1, display-buffer-record-window):
9688 Replace calls to window-point-1 and set-window-point-1 by calls to
9689 window-point and set-window-point respectively.
9690
9691 2012-08-21 Glenn Morris <rgm@gnu.org>
9692
9693 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9694 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9695 Use it.
9696
9697 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9698 (cal-tex-shortday): New function.
9699 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9700 (cal-tex-cursor-filofax-daily): Use the above.
9701
9702 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9703 New functions.
9704 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9705 (cal-tex-cursor-filofax-week): Use them.
9706
9707 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9708 New constants.
9709 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9710 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9711
9712 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9713 (cal-tex-end-document): Don't rely on buffer name.
9714
9715 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9716 Use cal-tex-vspace.
9717 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9718 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9719 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9720 Use cal-tex-arg.
9721
9722 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9723 (cal-tex-cursor-week, cal-tex-cursor-week2)
9724 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9725 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9726 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9727 (cal-tex-insert-preamble, cal-tex-b-document)
9728 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9729 Improve cal-tex-cmd usage.
9730
9731 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9732 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9733 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9734 (cal-tex-weekly-paper): New function.
9735 (cal-tex-cursor-week, cal-tex-cursor-week2)
9736 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9737 (cal-tex-cursor-day): Use it.
9738
9739 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9740 (cal-tex-cursor-filofax-week): Remove leading blank page.
9741
9742 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9743 Add autoload cookie. For now at least, don't use color, since
9744 no other cal-tex function does.
9745
9746 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9747 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9748 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9749
9750 2012-08-21 Juri Linkov <juri@jurta.org>
9751
9752 * info.el (Info-file-attributes): New variable.
9753 (info-insert-file-contents): Add file attributes to
9754 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9755 `Info-toc-nodes' when previous modtime of the Info file is less
9756 than new modtime.
9757 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9758 of info.el. (Bug#12230)
9759
9760 2012-08-20 Glenn Morris <rgm@gnu.org>
9761
9762 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9763 * calendar/holidays.el (calendar-holiday-list):
9764 Report errors with display-warning rather than beep'n'sleep.
9765
9766 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9767
9768 * net/tramp.el (tramp-accept-process-output): Accept only output
9769 from PROC. Otherwise, process filters and sentinels might be
9770 confused. (Bug#12145)
9771
9772 2012-08-20 Chong Yidong <cyd@gnu.org>
9773
9774 * descr-text.el (describe-text-properties-1): Use overlays-in to
9775 report on empty overlays (Bug#3322).
9776
9777 2012-08-20 Glenn Morris <rgm@gnu.org>
9778
9779 * mail/rmailout.el (rmail-output-read-file-name):
9780 Trap and report errors in rmail-output-file-alist elements.
9781
9782 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9783 since most non-font-lock faces are not also variables).
9784
9785 2012-08-20 Edward Reingold <reingold@iit.edu>
9786
9787 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9788 New function. (Bug12160)
9789
9790 2012-08-19 Glenn Morris <rgm@gnu.org>
9791
9792 * mail/rmailout.el (rmail-output-read-file-name):
9793 Fix previous change (when the alist is nil or does not match).
9794
9795 2012-08-19 Chong Yidong <cyd@gnu.org>
9796
9797 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9798 (Bug#12228).
9799
9800 2012-08-18 Chong Yidong <cyd@gnu.org>
9801
9802 * simple.el (yank-handled-properties): New defcustom.
9803 (yank-excluded-properties): Add font-lock-face and category.
9804 (yank): Doc fix.
9805
9806 * subr.el (remove-yank-excluded-properties):
9807 Obey yank-handled-properties. The special handling of font-lock-face
9808 and category is now done this way, instead of being hard-coded.
9809 (insert-for-yank-1): Remove font-lock-face handling.
9810 (yank-handle-font-lock-face-property)
9811 (yank-handle-category-property): New function.
9812
9813 2012-08-17 Glenn Morris <rgm@gnu.org>
9814
9815 * mail/rmailout.el (rmail-output-read-file-name):
9816 Check rmail-output-file-alist against the full message body
9817 in the correct rmail buffer. (Bug#12214)
9818
9819 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9820
9821 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9822 Eliminate superfluous prompt. (Bug#12203)
9823
9824 2012-08-17 Chong Yidong <cyd@gnu.org>
9825
9826 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9827 font spec, set the font directly (Bug#3228).
9828
9829 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9830
9831 * window.el (delete-window): Fix last fix.
9832
9833 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9834
9835 * window.el (window-valid-p): Move to window.c.
9836 (window-child, window-child-count, window-last-child)
9837 (window-normalize-window, window-combined-p)
9838 (window-combinations, window-atom-root, window-min-size)
9839 (window-sizable, window-sizable-p, window-size-fixed-p)
9840 (window-min-delta, window-max-delta, window--resizable)
9841 (window--resizable-p, window-resizable, window-total-size)
9842 (window-full-height-p, window-full-width-p, window-body-size)
9843 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9844 (minimize-window, window-deletable-p, delete-window)
9845 (delete-other-windows, set-window-buffer-start-and-point)
9846 (next-buffer, previous-buffer, split-window, balance-windows-2)
9847 (set-window-text-height, window-buffer-height)
9848 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9849 (truncated-partial-width-window-p): Minor code adjustments.
9850 In doc-strings state whether the argument window has to denote a
9851 live, valid or any window.
9852
9853 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9854
9855 * progmodes/subword.el (subword-forward-function)
9856 (subword-backward-function, subword-forward-regexp)
9857 (subword-backward-regexp): New variables.
9858 (subword-forward, subword-forward-internal, subword-backward-internal):
9859 Use new variables, eg so that different "word" definitions
9860 can be easily used. (Bug#11411)
9861
9862 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9863
9864 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9865 for composite selectors.
9866 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9867 operation just because we can't find a previous revision.
9868
9869 2012-08-15 Chong Yidong <cyd@gnu.org>
9870
9871 * frame.el (set-frame-font): Accept font objects.
9872
9873 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9874
9875 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9876
9877 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9878
9879 * man.el (Man-overstrike-face, Man-underline-face)
9880 (Man-reverse-face): Remove variables.
9881 (Man-overstrike, Man-underline, Man-reverse): New faces.
9882 (Man-fontify-manpage): Use them instead of the variables.
9883 (Man-cleanup-manpage): Comment change.
9884 (Man-ansi-color-map): New variable.
9885 (Man-fontify-manpage): Use it.
9886 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9887
9888 Implement ANSI SGR parameters 22-27 (bug#12146).
9889 * ansi-color.el (ansi-colors): Doc fix.
9890 (ansi-color-context, ansi-color-context-region): Doc fix.
9891 (ansi-color--find-face): New function.
9892 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9893 Rename the local variable `face' to `codes' since it is now a list of
9894 ansi codes. Doc fix.
9895 (ansi-color-get-face): Remove.
9896 (ansi-color-parse-sequence): New function, derived from
9897 ansi-color-get-face.
9898 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9899 codes 22-27.
9900
9901 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * subr.el (read-passwd): Allow use from a minibuffer.
9904
9905 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9906
9907 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9908 inside comments and strings as identifiers.
9909
9910 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9911 expression to evaluate. This allows to evaluate expressions with
9912 embedded whitespace.
9913 (gud-tooltip-tips): Add a blank before the newline in the
9914 message-box text, for the benefit of message-box emulation on
9915 MS-Windows.
9916
9917 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9918 messages from GDB, pop them up in a tooltip to give feedback to
9919 user.
9920 (gdb-tooltip-print-1): Quote the expression to evaluate.
9921 This allows to evaluate expressions with embedded whitespace.
9922 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9923 if the TTY name is nil or empty (which happens when communicating
9924 with the inferior via pipes, e.g. on MS-Windows).
9925 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9926 don't send that to the GUD buffer.
9927
9928 2012-08-14 Glenn Morris <rgm@gnu.org>
9929
9930 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9931 Optimize away setq-default with no args, as for setq. (Bug#12195)
9932
9933 2012-08-14 Chong Yidong <cyd@gnu.org>
9934
9935 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9936
9937 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9938 (Bug#12085).
9939
9940 2012-08-14 Glenn Morris <rgm@gnu.org>
9941
9942 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9943
9944 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9945
9946 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9947 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9948 Use cached shell name.
9949
9950 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9951
9952 * progmodes/python.el (python-shell-send-string):
9953 (python-shell-send-setup-code): Do not use `format' with `message'.
9954
9955 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9956
9957 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9958 (ruby-percent-literal-beg-re): New constant.
9959 (ruby-syntax-general-delimiters-goto-beg): Rename to
9960 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9961 (ruby-syntax-propertize-general-delimiters): Rename to
9962 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9963 popular term. Adjust comments everywhere.
9964 (ruby-syntax-propertize-percent-literal): Only propertize when not
9965 inside a simple string or comment. When the literal is unclosed,
9966 leave the text after it unpropertized.
9967 (ruby-syntax-methods-before-regexp): New constant.
9968 (ruby-syntax-propertize-function): Use it to recognize regexps.
9969 Don't look at the text after regexp, just use the whitelist.
9970
9971 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9972
9973 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9974 non-nil always load the compiled file if it exists. (Bug#12197)
9975
9976 2012-08-14 Chong Yidong <cyd@gnu.org>
9977
9978 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9979 (hi-lock-set-pattern): When deciding whether to use font lock or
9980 overlays, look at font-lock-mode instead of font-lock-fontified
9981 (Bug#12168).
9982 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9983 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9984
9985 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9986
9987 * subr.el (internal--after-with-selected-window): Fix typo
9988 (Bug#12193).
9989
9990 2012-08-14 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
9991
9992 Use `completion-table-dynamic' for completion functions.
9993 * progmodes/python.el
9994 (python-shell-completion--do-completion-at-point)
9995 (python-shell-completion--get-completions):
9996 Remove functions.
9997 (python-shell-completion-complete-at-point): New function.
9998 (python-completion-complete-at-point): Use it.
9999
10000 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
10001
10002 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
10003 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
10004
10005 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * subr.el (function-get): Refine `autoload' arg so it can also
10008 autoload functions for gv.el (bug#12191).
10009 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
10010 autoloads macros.
10011
10012 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
10013 Prefer pcase-let over destructuring-bind.
10014 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
10015 Also, remove whitespace as we go, rather than after accumulating the
10016 various places.
10017
10018 * subr.el (internal--before-with-selected-window)
10019 (internal--after-with-selected-window): Fix typo seleted->selected.
10020 (with-selected-window): Adjust callers.
10021 Reported by Dmitry Gutov <dgutov@yandex.ru>.
10022
10023 2012-08-13 Bastien Guerry <bzg@gnu.org>
10024
10025 * window.el (special-display-popup-frame): Minor docstring
10026 enhancement. (Bug#12172)
10027
10028 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
10029
10030 * tar-mode.el (tar-header-data-end): Only ignore size for files of
10031 type 1-6.
10032 (tar-header-block-summarize, tar-get-descriptor): Handle pax
10033 extended headers.
10034
10035 * files.el (hack-local-variables-filter): Remove useless eval.
10036
10037 2012-08-13 Martin Rudalics <rudalics@gmx.at>
10038
10039 * subr.el (with-selected-window): Fix last change.
10040
10041 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10042
10043 * subr.el (internal--before-with-seleted-window)
10044 (internal--after-with-seleted-window): New functions.
10045 (with-selected-window): Use them, to replace dependency on
10046 tty-top-frame.
10047
10048 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
10049
10050 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10051 binding for `newline'.
10052 (ruby-move-to-block): When moving backward, stop at block opening,
10053 not indentation.
10054 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
10055 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
10056 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
10057 `ruby-toggle-block'.
10058
10059 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
10060
10061 * ibuffer.el (ibuffer-do-toggle-read-only):
10062 * dired.el (dired-toggle-read-only):
10063 * buff-menu.el (Buffer-menu-toggle-read-only):
10064 * bindings.el (mode-line-toggle-read-only):
10065 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
10066
10067 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10068
10069 * descr-text.el (describe-char): Put the overlays over the
10070 "displayed as" character.
10071
10072 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10073
10074 * calc/calc-units.el (math-default-units-table): Give an
10075 initial value.
10076 (math-put-default-units): Add options to put composite units and
10077 unit systems in the default units table.
10078 (calc-convert-units): Send composite units to
10079 `math-put-default-units' when appropriate.
10080
10081 2012-08-11 Glenn Morris <rgm@gnu.org>
10082
10083 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10084
10085 * tutorial.el (help-with-tutorial):
10086 * emacs-lisp/copyright.el (copyright-update-directory):
10087 * emacs-lisp/autoload.el (autoload-find-generated-file)
10088 (autoload-find-file): Disable local eval: (for insurance).
10089
10090 * files.el (hack-local-variables-filter): If an eval: form is not
10091 known to be safe, and enable-local-variables is :safe, then ignore
10092 the form totally, as is done for non-eval forms. (Bug#12155)
10093 This is CVE-2012-3479.
10094
10095 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10098 (rx-form): Simplify.
10099
10100 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10101
10102 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10103 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10104 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10105 (ruby-syntax-propertize-function): Adjust for changes in
10106 `ruby-syntax-propertize-heredoc'.
10107
10108 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10109
10110 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10111 binding (use `M-;' instead).
10112 (ruby-singleton-class-p): New function.
10113 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10114
10115 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10116
10117 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10118
10119 2012-08-10 Chong Yidong <cyd@gnu.org>
10120
10121 * progmodes/python.el (python-shell-get-process-name): Don't mess
10122 with same-window-buffer-names.
10123
10124 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10125 (eshell-remove-from-window-buffer-names): Make obsolete.
10126 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10127 (eshell): Just use pop-to-buffer-same-window instead.
10128
10129 2012-08-10 Chong Yidong <cyd@gnu.org>
10130
10131 * bindings.el: Bind M-= back to count-words-region.
10132
10133 * simple.el (count-words-region): Accept a prefix arg for acting
10134 on the entire buffer.
10135 (count-words--buffer-message): New helper function.
10136
10137 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10140 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10141 (event-start, event-end): Use posn-at-point to return a more
10142 informative posn.
10143 (posnp): New function.
10144 * mouse.el (popup-menu-normalize-position): Use it.
10145
10146 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10147
10148 * mouse.el (popup-menu-normalize-position): New function.
10149 (popup-menu): Use `popup-menu-normalize-position' to normalize
10150 the form for POSITION argument.
10151
10152 * term/x-win.el (x-menu-bar-open):
10153 Use the value returend from (posn-at-point) as position
10154 passed to `popup-menu'.
10155
10156 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10157
10158 * calc/calccomp.el (math-compose-expr): Add extra argument
10159 indicating that parentheses should be put around products in
10160 denominators. Give multiplication precedence over division during
10161 composition.
10162
10163 2012-08-09 Chong Yidong <cyd@gnu.org>
10164
10165 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10166 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10167 (Man-untabify-command, manual-program): Convert to defcustom
10168 (Bug#10429).
10169
10170 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10171
10172 * descr-text.el (describe-char): Don't insert extra newlines
10173 (Bug#10127).
10174
10175 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10176 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10177
10178 * align.el (align-region): Delete temporary markers (Bug#10047).
10179 Plus some code cleanups.
10180
10181 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10182
10183 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10184 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10185 (python-shell-internal-last-output): Use make-local-variable
10186 instead of make-variable-buffer-local.
10187
10188 2012-08-09 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10189
10190 * progmodes/python.el: Enhancements to forward-sexp.
10191 (python-nav-forward-sexp): Rename from
10192 python-nav-forward-sexp-function.
10193 (python-nav--forward-sexp, python-nav--backward-sexp):
10194 New functions.
10195
10196 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10197
10198 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10199 modes and simplification modes.
10200
10201 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10202
10203 * delsel.el (delete-selection-pre-hook): Don't propagate the
10204 file-supersession signals (bug#12161).
10205
10206 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10207
10208 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10209 (cl-map-extents): Add compatibility aliases (bug#12135).
10210
10211 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10212
10213 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10214 tests by `ignore-error'.
10215 (tramp-find-shell): Open also a new shell, when cache is already
10216 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10217
10218 2012-08-08 Juri Linkov <juri@jurta.org>
10219
10220 * bookmark.el: Add `defaults' property to the bookmark record.
10221 (bookmark-current-buffer): Doc fix.
10222 (bookmark-make-record): Add `defaults' property with default values
10223 to the bookmark record.
10224 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10225 with `bookmark-insert-current-bookmark'.
10226 (bookmark-set): Get `defaults' property from the bookmark record
10227 and use it in `read-from-minibuffer'.
10228 (bookmark-insert-current-bookmark): Remove function.
10229
10230 * info.el (Info-bookmark-make-record): Add `defaults' property
10231 with values of canonical Info node name, the current Info file
10232 name and the current Info node name. (Bug#12107)
10233
10234 2012-08-08 Juri Linkov <juri@jurta.org>
10235
10236 * files.el (basic-save-buffer): Use `buffer-name' as the default
10237 of `read-file-name' when buffer is not visiting a file (bug#12128).
10238
10239 2012-08-08 Juri Linkov <juri@jurta.org>
10240
10241 * info.el (Info-isearch-search): Doc fix.
10242 (Info-search): Change search-failed message from "initial node" to
10243 "end of node" (bug#12078).
10244 (Info-isearch-search): Change `isearch-string-state' to
10245 `isearch--state-string'.
10246
10247 2012-08-08 Glenn Morris <rgm@gnu.org>
10248
10249 * language/persian.el: Remove file.
10250 * language/misc-lang.el: Move unique part of persian.el here.
10251 * loadup.el: Remove language/persian.
10252
10253 2012-08-08 Ă“scar Fuentes <ofv@wanadoo.es>
10254
10255 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10256
10257 2012-08-08 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10258
10259 * progmodes/python.el: Fix defsubst warning.
10260 (python-syntax-context) Rename from python-info-ppss-context.
10261 (python-syntax-context-type): Rename from
10262 python-info-ppss-context-type.
10263 (python-syntax-comment-or-string-p): Rename from
10264 python-info-ppss-comment-or-string-p.
10265
10266 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10267
10268 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10269
10270 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10271
10272 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10273 a defcustom that is quoted with backquote.
10274
10275 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10276 Fix handling of interactive spec when the body uses return.
10277 (math-do-arg-check, math-define-function-body): Use backquote forms.
10278 * calc/calc-ext.el (math-defcache): Likewise.
10279 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10280 * allout.el (allout-new-exposure): Likewise.
10281 * calc/calcalg2.el (math-tracing-integral): Likewise.
10282 * info.el (Info-last-menu-item): Likewise.
10283 * emulation/vip.el (vip-loop): Likewise.
10284 * textmodes/artist.el (artist-funcall): Likewise.
10285 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10286 Construct menu-item directly.
10287
10288 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10289 Don't declare.
10290
10291 2012-08-07 Chong Yidong <cyd@gnu.org>
10292
10293 * simple.el (deactivate-mark): Preserve text properties when
10294 saving the primary selection (Bug#8384).
10295
10296 2012-08-07 Kevin Ryde <user42@zip.com.au>
10297
10298 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10299 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10300 and continue processing (Bug#12110).
10301
10302 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10305 syntax-propertize-function (bug#10095).
10306
10307 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10308
10309 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10310 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10311 describe-function-1.
10312 (describe-function-1): Use them. Move compiler macro after sig.
10313 (help-fns--compiler-macro): Use function-get. Assume we're already in
10314 standard-output. Adjust layout to new call order.
10315
10316 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10317 re-binding a symbol that has a symbol-macro (bug#12119).
10318
10319 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10320
10321 * language/persian.el: New file. (Bug#11812)
10322 * loadup.el: Add language/persian.el.
10323
10324 2012-08-06 Chong Yidong <cyd@gnu.org>
10325
10326 * window.el (window--maybe-raise-frame): New function.
10327 (window--display-buffer): Split off from here.
10328 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10329 (display-buffer-pop-up-window, display-buffer-use-some-window):
10330 Obey an inhibit-switch-frame action alist entry.
10331 (display-buffer): Update doc.
10332
10333 * replace.el (occur-after-change-function): Avoid losing focus by
10334 using the inhibit-switch-frame display parameter (Bug#12139).
10335
10336 2012-08-06 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10337
10338 Make internal shell process buffer names start with space.
10339 * progmodes/python.el (python-shell-make-comint): Add optional
10340 argument INTERNAL.
10341 (run-python-internal): Use it.
10342 (python-shell-internal-get-or-create-process): Check for new
10343 internal buffer names.
10344
10345 2012-08-06 Glenn Morris <rgm@gnu.org>
10346
10347 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10348 Do less getting and setting of environment variables.
10349
10350 2012-08-05 Chong Yidong <cyd@gnu.org>
10351
10352 * proced.el (proced): Add substitution string to docstring to
10353 trigger autoloading of the proced library on C-h f (Bug#1768).
10354
10355 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10356 Don't show defvars which have no second argument (Bug#8638).
10357
10358 * imenu.el (imenu-generic-expression): Move documentation here
10359 from imenu--generic-function.
10360 (imenu--generic-function): Refer to imenu-generic-expression.
10361
10362 2012-08-05 Vegard Ă˜ye <vegard_oye@hotmail.com> (tiny change)
10363
10364 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10365 indentation declaration.
10366 (viper-loop): Add indentation declaration (Bug#7025).
10367
10368 2012-08-05 Chong Yidong <cyd@gnu.org>
10369
10370 * help-fns.el (describe-variable): Add hyperlink for
10371 directory-local variables files. Improve buffer-local and
10372 permanent-local reporting; suggested by MON KEY (Bug#6644).
10373
10374 * help-mode.el (help-dir-local-var-def): New button type.
10375
10376 * files.el (kill-buffer-hook): Provide a defvar.
10377
10378 2012-08-05 Glenn Morris <rgm@gnu.org>
10379
10380 * eshell/esh-ext.el (eshell/addpath):
10381 Also update eshell-path-env. (Bug#12013)
10382
10383 2012-08-05 Chong Yidong <cyd@gnu.org>
10384
10385 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10386
10387 * fringe.el (fringe-styles): Add docstring.
10388 (fringe--check-mode): New function.
10389 (set-fringe-mode, set-fringe-style): Use it.
10390 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10391
10392 * files.el (set-auto-mode): Fix invalid setq call.
10393
10394 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * isearch.el: Misc simplification; use defstruct.
10397 (isearch-mode-map): Dense maps now work like sparse ones.
10398 (isearch--state): New defstruct.
10399 (isearch-string-state, isearch-message-state, isearch-point-state)
10400 (isearch-success-state, isearch-forward-state)
10401 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10402 (isearch-wrapped-state, isearch-barrier-state)
10403 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10404 replaced by defstruct's accessors.
10405 (isearch--set-state): Rename from isearch-top-state and change
10406 calling convention.
10407 (isearch-push-state): Use new isearch--get-state.
10408 (isearch-toggle-word): Disable regexp when enabling word.
10409 (isearch-message-prefix): Remove unused arg _c-q-hack.
10410 (isearch-message-suffix): Remove unused arg _ellipsis.
10411
10412 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10413
10414 * simple.el (list-processes--refresh): For a server use :host or
10415 :local as the address.
10416 (list-processes): Doc fix.
10417
10418 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10419
10420 * lisp/mpc.el: Support password in host argument.
10421 (mpc--proc-connect): Parse and use new password element.
10422 Set mpc-proc variable instead of returning process.
10423 (mpc-proc): Adjust accordingly.
10424
10425 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10426
10427 * whitespace.el (whitespace-display-mappings): Use Unicode
10428 codepoints, instead of emacs-mule codepoints. See
10429 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10430 for the details.
10431
10432 * files.el (file-truename): Don't skip symlink-chasing part on
10433 windows-nt. Incorporate the resolution of 8+3 short aliases on
10434 Windows into the loop that recursively chases symlinks.
10435 Compare directory and its parent case-insensitively on MS-Windows and
10436 MS-DOS.
10437
10438 2012-08-03 Chong Yidong <cyd@gnu.org>
10439
10440 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10441
10442 * sort.el (sort-regexp-fields): Doc fix.
10443
10444 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10445
10446 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10447 labels regex position point at the expected place.
10448
10449 2012-08-03 MON KEY <monkey@sandpframing.com>
10450
10451 * net/imap.el (imap-interactive-login, imap-authenticate)
10452 (imap-mailbox-lsub, imap-mailbox-list)
10453 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10454 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10455 (imap-parse-response): Doc fix.
10456
10457 2012-08-03 JoĂ£o TĂ¡vora <joaotavora@gmail.com>
10458
10459 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10460 if sexp scanning does not move point (Bug#5734).
10461
10462 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10463
10464 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10465 Add listings, minted, and ctable packages.
10466 (reftex-label-alist-builtin): Move listings, minted, and ctable
10467 entries before LaTeX.
10468 (reftex-label-alist): Docfix.
10469
10470 2012-08-02 Bastien Guerry <bzg@gnu.org>
10471
10472 * replace.el (occur): Fix docstring (bug#12122).
10473
10474 2012-08-02 Glenn Morris <rgm@gnu.org>
10475
10476 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10477
10478 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10479
10480 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10481 * international/mule-cmds.el: Create
10482 inactivate-current-input-method-function as an obsolete alias for
10483 deactivate-current-input-method-function. See Katsumi Yamaoka in
10484 <http://bugs.gnu.org/10150#46>.
10485
10486 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10487
10488 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10489 of nested `if's.
10490
10491 2012-08-01 Glenn Morris <rgm@gnu.org>
10492
10493 * progmodes/autoconf.el (autoconf-definition-regexp):
10494 Add AH_TEMPLATE, adjust submatch numbering.
10495 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10496 (autoconf-current-defun-function): Update for above change.
10497 (autoconf-current-defun-function): First skip to end of current word.
10498
10499 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10500
10501 * calendar/cal-html.el (cal-html-insert-agenda-days):
10502 Fix typo. (Bug#12018)
10503
10504 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10505
10506 Shell processes: enhancements to startup and CEDET compatibility.
10507 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10508 (python-shell-make-comint): accept-process-output at startup.
10509 (run-python-internal): Set inferior-python-mode-hook to nil.
10510 (python-shell-internal-get-or-create-process): call sit-for.
10511 (python-preoutput-result): Add obsolete alias.
10512 (python-shell-internal-send-string): Use it.
10513 (python-shell-send-setup-code): Remove call to
10514 accept-process-output.
10515
10516 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10517
10518 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10519 (Bug#12108)
10520
10521 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10522
10523 * calc-mode.el (calc-basic-simplification-mode): Rename from
10524 `calc-limited-simplification-mode'.
10525 (calc-alg-simplification-mode): New function.
10526 (calc-set-simplify-mode): Adjust message.
10527
10528 * calc.el (calc-set-mode-line): Adjust mode line display for
10529 basic simplification mode.
10530
10531 * calc-help.el (calc-m-prefix-help): Update help message.
10532
10533 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10534 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10535
10536 2012-07-31 Bastien Guerry <bzg@gnu.org>
10537
10538 * man.el (man): Fix comment. (bug#12101)
10539
10540 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10541
10542 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10543 Don't return a non-nil value when no suitable buffer was found.
10544
10545 2012-07-31 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10546
10547 * progmodes/python.el (run-python-internal): Disable font lock for
10548 internal shells.
10549
10550 2012-07-30 Stefan Merten <smerten@oekonux.de>
10551
10552 * textmodes/rst.el: Silence `checkdoc-ispell'.
10553 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10554 (rst-official-version, rst-official-cvs-rev)
10555 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10556 (rst-mode-map): New key binding.
10557
10558 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10559
10560 Update .PHONY listings in makefiles.
10561 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10562 autoloads, update-subdirs, updates, bzr-update, update-authors,
10563 compile-onefile, compile-calc, backup-compiled-files,
10564 compile-after-backup, compile-one-process, mh-autoloads,
10565 bootstrap-clean, distclean, maintainer-clean.
10566
10567 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10568
10569 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10570 (calc-set-mode-line): Don't display "AlgSimp ".
10571
10572 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10573 (calc-lim-simplify-mode): New function.
10574 (calc-set-simplify-mode): Default to 'alg.
10575 (calc-default-simplify-mode): Make algebraic simplifications
10576 the default.
10577
10578 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10579 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10580
10581 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10582 indicate new simplification modes.
10583
10584 * calc/README: Mention new default simplification mode.
10585
10586 * calc/calc.el (math-normalize-error): New variable.
10587 (math-normalize): Set `math-normalize-error' to t
10588 when there's an error.
10589
10590 * calc/calc-alg.el (math-simplify): Don't simplify when
10591 `math-normalize' returns an error.
10592
10593 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10594
10595 * international/mule-cmds.el (set-locale-environment): Revert last
10596 change, since display-graphic-p returns nil when this function is
10597 called during startup. Instead...
10598
10599 * term/w32console.el (terminal-init-w32console): ...setup the
10600 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10601
10602 2012-07-29 Juri Linkov <juri@jurta.org>
10603
10604 * simple.el (goto-line): Don't display default line number in the
10605 prompt because it should be displayed by `read-number' (bug#9952).
10606 Add the current line number to the defaults of `goto-line' to
10607 allow its easier modification by users with `M-n' (bug#9201).
10608
10609 * subr.el (read-number): Support multiple default values like in
10610 other minibuffer reading functions. Replace `read' with
10611 `string-to-number' for consistency with `number-to-string'.
10612
10613 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10614
10615 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10616 * emulation/viper-init.el (viper-deactivate-input-method-action):
10617 Rename from viper-inactivate-input-method-action.
10618 (viper-deactivate-input-method):
10619 Rename from viper-inactivate-input-method.
10620 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10621 * international/mule-cmds.el (deactivate-input-method):
10622 Rename from inactivate-input-method.
10623 Also run input-method-deactivate-hook.
10624 (deactivate-current-input-method-function):
10625 Rename from inactivate-current-input-method-function.
10626 (input-method-deactivate-hook): New hook.
10627 (input-method-inactivate-hook): Mark obsolete.
10628 (inactivate-input-method): Mark obsolete.
10629
10630 * international/quail.el (quail-activate):
10631 Also run quail-deactivate-hook.
10632 (quail-deactivate): Rename from quail-inactivate.
10633 * international/robin.el (robin-activate):
10634 Also run robin-deactivate-hook.
10635 (robin-deactivate): Rename from robin-inactivate.
10636
10637 2012-07-29 Chong Yidong <cyd@gnu.org>
10638
10639 * simple.el (indicate-copied-region): New function.
10640 (kill-ring-save): Split off from here.
10641
10642 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10643 (kill-rectangle): Set deactivate-mark to t on read-only error.
10644
10645 * register.el (copy-to-register, copy-rectangle-to-register):
10646 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10647 (append-to-register, prepend-to-register): Call indicate-copied-region.
10648
10649 2012-07-29 Juri Linkov <juri@jurta.org>
10650
10651 * simple.el (async-shell-command-buffer): New defcustom.
10652 (shell-command): Use it. (Bug#4719)
10653
10654 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10655
10656 * international/mule-cmds.el (set-locale-environment): In a
10657 console session on MS-Windows, set up keyboard and terminal
10658 encoding from the OEM codepage, not the ANSI codepage.
10659 (Bug#12055)
10660
10661 2012-07-28 Chong Yidong <cyd@gnu.org>
10662
10663 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10664 gdb-get-location.
10665
10666 2012-07-28 Leo Liu <sdl.web@gmail.com>
10667
10668 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10669 the alist (bug#12029).
10670
10671 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10672
10673 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10674 (compile-always, compile-first)
10675 ($(lisp)/calendar/cal-loaddefs.el)
10676 ($(lisp)/calendar/diary-loaddefs.el)
10677 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10678 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10679 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10680 instead of on update-subdirs.
10681 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10682
10683 2012-07-28 Chong Yidong <cyd@gnu.org>
10684
10685 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10686 directory if vc-deduce-backend returns nil (Bug#7350).
10687
10688 * simple.el (delete-trailing-lines): New option.
10689 (delete-trailing-whitespace): Obey it (Bug#11879).
10690
10691 2012-07-28 David Engster <deng@randomsample.de>
10692
10693 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10694 Explanation of new 'symbol-qnames feature in doc-strings.
10695 (xml-maybe-do-ns): Return expanded names as plain symbols if
10696 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10697 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10698
10699 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10700
10701 Consistent completion in inferior python with emacs -nw.
10702 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10703 binding in inferior-python-mode-map with "\t".
10704 (python-shell-completion-complete-at-point)
10705 (python-completion-complete-at-point): Remove interactive spec.
10706
10707 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10708
10709 * calc/calccomp.el (math-compose-expr): Undo previous change.
10710
10711 2012-07-27 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10712
10713 * progmodes/python.el (python-mode-map): Add keybinding for
10714 run-python.
10715 (python-shell-make-comint): Fix pop-to-buffer call.
10716 (run-python): Autoload. New arg SHOW.
10717 (python-shell-get-or-create-process): Do not pop python process
10718 buffer.
10719
10720 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10721
10722 * notifications.el (notifications-on-action-signal)
10723 (notifications-on-closed-signal): Use also the bus address for the map.
10724 (notifications-notify, notifications-close-notification)
10725 (notifications-get-capabilities): Add optional argument BUS.
10726
10727 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10728
10729 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10730 Add support for the lstlisting and minted environments, and for the
10731 ctable macro.
10732 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10733 labels written in keyvals syntax.
10734
10735 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10736
10737 * calc/calccomp.el (math-compose-expr): Use parentheses when
10738 there is a product in the denominator of a fraction.
10739
10740 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10741
10742 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10743 ($(lisp)/calendar/diary-loaddefs.el)
10744 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10745 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10746 Fixes failures in parallel bootstrap because subdirs.el is being
10747 rewritten while the autoload files are built at the same time,
10748 which needs to load subdirs.el.
10749
10750 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10751
10752 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10753 (mouse-drag-line): Don't exit tracking when a switch-frame or
10754 switch-window event occurs (Bug#12006).
10755
10756 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10757
10758 * mouse.el (popup-menu): Fix last change.
10759
10760 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 Autoload from Lisp with more care. Follow aliases when looking for
10763 function properties.
10764 * subr.el (autoloadp): New function.
10765 (symbol-file): Use it.
10766 (function-get): New function.
10767 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10768 autoload-do-load.
10769 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10770 (lisp-indent-function):
10771 * emacs-lisp/gv.el (gv-get):
10772 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10773 * emacs-lisp/byte-opt.el (byte-optimize-form):
10774 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10775 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10776 Use function-get.
10777 * emacs-lisp/cl.el: Don't propagate function properties any more.
10778
10779 * speedbar.el (speedbar-add-localized-speedbar-support):
10780 * emacs-lisp/disass.el (disassemble-internal):
10781 * desktop.el (desktop-load-file):
10782 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10783 (describe-function-1):
10784 * emacs-lisp/find-func.el (find-function-noselect):
10785 * emacs-lisp/elp.el (elp-instrument-function):
10786 * emacs-lisp/advice.el (ad-has-proper-definition):
10787 * apropos.el (apropos-safe-documentation, apropos-macrop):
10788 * emacs-lisp/debug.el (debug-on-entry):
10789 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10790 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10791 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10792
10793 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10794
10795 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10796 function, not an obsolete variable (Bug#12046).
10797
10798 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10799
10800 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10801
10802 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10803
10804 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10805 window only if it is still live (Bug#12034).
10806
10807 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10808
10809 * subr.el (redirect-frame-focus): Add advertised calling
10810 convention (Bug#12030).
10811
10812 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10813
10814 Prefer typical American spelling for "acknowledgment".
10815 * vc/add-log.el (change-log-acknowledgment): Rename from
10816 change-log-acknowledgement, with an alias for the old name.
10817
10818 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10819
10820 * calc-alg.el (math-simplify-divide): Don't cross multiply
10821 in an equation when the lhs is a variable.
10822
10823 2012-07-24 Julien Danjou <julien@danjou.info>
10824
10825 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10826 Remove, unused.
10827
10828 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10829
10830 * startup.el (command-line): Don't display an empty user name in
10831 the error message about non-existent home directory, when
10832 init-file-user was set to an empty string. See
10833 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10834 for the details and context.
10835
10836 2012-07-22 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10837
10838 * ses.el (ses-cell-formula-aset): New macro.
10839 (ses-cell-references-aset): New macro.
10840 (ses-cell-p): New function.
10841 (ses-rename-cell): Do no longer rely on complex operations like
10842 ses-cell-set-formula or ses-set-cell to change the cell and handle
10843 the undo at the same time, but rather use lower level new macros
10844 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10845 the undo directly. Refresh the mode line.
10846
10847 2012-07-21 Leo Liu <sdl.web@gmail.com>
10848
10849 * progmodes/cc-cmds.el (c-defun-name):
10850 Use match-string-no-properties instead for consistency.
10851
10852 2012-07-20 Leo Liu <sdl.web@gmail.com>
10853
10854 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10855 (Bug#7879)
10856
10857 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10858
10859 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10860
10861 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10862 * progmodes/bug-reference.el, misearch.el: Provide themselves
10863 (bug#11915).
10864
10865 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10866 of narrowed buffer (bug#11966).
10867
10868 2012-07-20 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
10869
10870 * ses.el (ses-rename-cell): Set new name also in reference list of
10871 cells of which the renamed cell depends.
10872
10873 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10874
10875 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10876 to check whether menu-bar is shown or not. If not shown,
10877 show the menu-bar as a popup menu instead of using tmm.
10878 * mouse.el (popup-menu): Accept `point' as `position' argument.
10879
10880 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10881
10882 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10883 up inside string symbol literal (bug#11923).
10884
10885 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10886
10887 * startup.el (fancy-startup-text): Read the whole tutorial, not
10888 just its first 256 bytes. Prevents gibberish in display of the
10889 tutorial title.
10890
10891 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10892
10893 Drop idle buffer compaction due to an absence of the
10894 proved efficiency.
10895 * compact.el: Remove.
10896
10897 2012-07-19 Sam Steingold <sds@gnu.org>
10898
10899 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10900 vc-bzr-pull & vc-bzr-merge-branch.
10901 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10902 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10903 for consistency with compilation-error-regexp-alist.
10904 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10905 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10906 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10907 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10908
10909 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10910
10911 * emacs-lisp/chart.el: Use lexical-binding.
10912 (chart-emacs-storage): Don't hardcode the list of entries.
10913
10914 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10915
10916 Next round of tweaks caused by Fgarbage_collect changes.
10917 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10918
10919 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10920
10921 Compact buffers when idle.
10922 * compact.el: New file.
10923
10924 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10925
10926 * subr.el (eventp): Presume that if it looks vaguely like an event,
10927 it's an event (bug#10190).
10928
10929 2012-07-19 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10930
10931 Enhancements to ppss related code (thanks Stefan).
10932 * progmodes/python.el (python-indent-context)
10933 (python-indent-calculate-indentation, python-indent-dedent-line)
10934 (python-indent-electric-colon, python-nav-forward-block)
10935 (python-mode-abbrev-table)
10936 (python-info-assignment-continuation-line-p): Simplify checks
10937 for ppss context.
10938 (python-info-continuation-line-p): Cleanup.
10939 (python-info-ppss-context): Do not catch 'quote.
10940 (python-info-ppss-context-type)
10941 (python-info-ppss-comment-or-string-p): Simplify.
10942
10943 2012-07-18 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
10944
10945 * progmodes/python.el: Enhancements to eldoc support.
10946 (python-info-current-symbol): New function.
10947 (python-eldoc-at-point): Use python-info-current-symbol.
10948 (python-info-current-defun): Fix cornercase on first defun scan.
10949 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10950 and signal error when no inferior python process is available.
10951
10952 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10953
10954 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10955 assume it's always t.
10956 (vc-git-registered): Remove caching, the function is only called
10957 once.
10958 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10959
10960 2012-07-18 Chong Yidong <cyd@gnu.org>
10961
10962 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10963
10964 * simple.el (count-words): Report on narrowing (Bug#9959).
10965
10966 * bindings.el: Bind M-= to count-words.
10967
10968 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10969
10970 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10971
10972 * progmodes/sh-script.el (sh-imenu-generic-expression):
10973 Capture a function with `function' keyword and without parentheses
10974 like "function FOO" (bug#11856).
10975
10976 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10977
10978 * window.el (split-window-sensibly): Make WINDOW argument
10979 optional.
10980
10981 2012-07-18 Chong Yidong <cyd@gnu.org>
10982
10983 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10984
10985 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10986 and make C-x 8 RET exit isearch (Bug#11439).
10987
10988 * international/iso-transl.el: Move isearch-mode-map key
10989 definitions to isearch.el.
10990
10991 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10994 (eieio-defclass): Use gv-define-setter when possible.
10995
10996 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10997
10998 Reflect recent changes in Fgarbage_collect.
10999 * emacs-lisp/chart.el (chart-emacs-storage): Change to
11000 reflect new format of data returned by Fgarbage_collect.
11001
11002 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11003
11004 New utility functions + python-info-ppss-context fix (Bug#11910).
11005 * progmodes/python.el (python-info-beginning-of-block-statement-p)
11006 (python-info-ppss-comment-or-string-p): New functions.
11007 (python-info-ppss-context): Small fix for string check.
11008
11009 2012-07-17 Juri Linkov <juri@jurta.org>
11010
11011 * dired-aux.el (dired-do-async-shell-command): Doc fix.
11012 (dired-do-async-shell-command): Don't add `*' at the end of the
11013 command (Bug#11815).
11014 (dired-do-shell-command): Doc fix.
11015 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
11016 Join the individual commands using either "&" or ";" as the
11017 separator depending on the values of these trailing characters.
11018 At the end re-add the trailing "&". (Bug#10598)
11019
11020 * simple.el (async-shell-command): Sync the interactive spec with
11021 `shell-command'. Doc fix.
11022 (shell-command): Doc fix.
11023
11024 2012-07-17 Juri Linkov <juri@jurta.org>
11025
11026 * descr-text.el (describe-char): Fix format args. (Bug#10129)
11027
11028 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11029
11030 Final renames and doc fixes for movement commands (bug#11899).
11031 * progmodes/python.el (python-nav-beginning-of-statement):
11032 Rename from python-nav-statement-start.
11033 (python-nav-end-of-statement): Rename from
11034 python-nav-statement-end.
11035 (python-nav-beginning-of-block): Rename from
11036 python-nav-block-start.
11037 (python-nav-end-of-block): Rename from python-nav-block-end.
11038
11039 2012-07-17 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11040
11041 * progmodes/python.el (python-shell-send-string-no-output):
11042 Allow accept-process-output to quit, keeping shell process ready for
11043 future interactions (Bug#11868).
11044
11045 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11046
11047 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
11048
11049 * emacs-lisp/elint.el (elint-find-args-in-code):
11050 Use help-function-arglist, so as to handle lexical byte-code.
11051
11052 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
11053 change (bug#11826).
11054
11055 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
11056
11057 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
11058 Avoid spuriously marking the buffer as modified because of c-is-sws.
11059
11060 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
11061 as not-a-comment (bug#11946).
11062
11063 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
11064 for uninterned vars.
11065
11066 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
11067 Use read-event since we don't really want to read chars but bytes.
11068
11069 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11070 $$..$$ but also $..$ using regexps (bug#11953).
11071 Use tex-verbatim for \url and \path.
11072 (tex-font-lock-keywords): Define as defconst like the others.
11073 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11074
11075 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11076
11077 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11078 alias for insert-char.
11079
11080 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11081
11082 * progmodes/python.el: Simplified imenu implementation.
11083 (python-nav-jump-to-defun): Remove command.
11084 (python-mode-map): Use `imenu' instead.
11085 (python-nav-list-defun-positions-cache)
11086 (python-imenu-include-defun-type, python-imenu-make-tree)
11087 (python-imenu-subtree-root-label, python-imenu-index-alist):
11088 Remove vars.
11089 (python-nav-list-defun-positions, python-nav-read-defun)
11090 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11091 (python-imenu-make-tree, python-imenu-create-index):
11092 Remove functions.
11093 (python-mode): Update to interact with imenu by setting
11094 `imenu-extract-index-name-function' only.
11095
11096 2012-07-16 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
11097
11098 * progmodes/python.el: Enhancements to navigation commands.
11099 (python-nav-backward-sentence)
11100 (python-nav-forward-sentence): Remove.
11101 (python-nav-backward-statement, python-nav-forward-statement)
11102 (python-nav-statement-start, python-nav-statement-end)
11103 (python-nav-backward-block, python-nav-forward-block)
11104 (python-nav-block-start, python-nav-block-end)
11105 (python-nav-forward-sexp-function)
11106 (python-info-current-line-comment-p)
11107 (python-info-current-line-empty-p): New functions.
11108 (python-indent-context): Use `python-nav-statement-start'.
11109
11110 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11111
11112 * eshell/em-ls.el (eshell/ls): Use `apply'.
11113
11114 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11115 multi-hops, instead of Tramp internals.
11116
11117 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11118
11119 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11120 when F1 and F2 are located on different hosts.
11121
11122 2012-07-14 Chong Yidong <cyd@gnu.org>
11123
11124 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11125 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11126 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11127 (xterm-mouse--read-event-sequence-1000)
11128 (xterm-mouse--read-event-sequence-1006): New functions. For old
11129 mouse protocol, handle M-mouse-X events correctly.
11130 (xterm-mouse-event): New arg specifying mouse protocol.
11131 (turn-on-xterm-mouse-tracking-on-terminal)
11132 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11133 sequence to toggle extended coordinates on newer XTerms.
11134 This appears to be harmless on terminals which do not support this.
11135
11136 2012-07-14 Leo Liu <sdl.web@gmail.com>
11137
11138 Add fringe bitmap indicators for flymake. (Bug#11253)
11139 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11140 (flymake-make-overlay): New arg BITMAP.
11141 (flymake-error-bitmap, flymake-warning-bitmap)
11142 (flymake-fringe-indicator-position): New user variables.
11143
11144 * fringe.el: New bitmap exclamation-mark.
11145
11146 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11147
11148 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11149 also (Bug#7879).
11150
11151 2012-07-14 Chong Yidong <cyd@gnu.org>
11152
11153 * electric.el (electric-pair-post-self-insert-function): Fix pair
11154 insertion in empty-region case (Bug#11520).
11155
11156 2012-07-14 Chong Yidong <cyd@gnu.org>
11157
11158 * bindings.el: Consolidate ctl-x-r-map bindings.
11159 Bind copy-rectangle-as-kill to C-x r w.
11160
11161 * rect.el, register.el: Move bindings to bindings.el.
11162
11163 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11164
11165 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11166
11167 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11168
11169 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11170
11171 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11172
11173 * bindings.el (top): Use `mapc' instead of `mapcar'.
11174
11175 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11176
11177 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11178
11179 * progmodes/sql.el (sql-comint): Suppress the check for program on
11180 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11181 (Bug#11908)
11182
11183 2012-07-13 Chong Yidong <cyd@gnu.org>
11184
11185 * bindings.el: Assign a non-nil permanent-local property to
11186 per-buffer variables which lack a default value (Bug#11930).
11187
11188 * help-fns.el (describe-variable): In the "automatically becomes
11189 local" notice, take note of permanent-local variables.
11190
11191 2012-07-13 Chong Yidong <cyd@gnu.org>
11192
11193 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11194 to allow printing the message when called from Lisp.
11195
11196 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11197 Remove toggle-read-only.
11198
11199 * bs.el (bs-toggle-readonly):
11200 * buff-menu.el (Buffer-menu-toggle-read-only):
11201 Remove with-no-warnings around toggle-read-only.
11202
11203 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11204 Remove with-no-warnings around toggle-read-only.
11205 (ffap-read-only, ffap-read-only-other-window)
11206 (ffap-read-only-other-frame): Callers changed.
11207
11208 * help-mode.el: Don't require view package.
11209 (help-mode-finish): Set buffer-read-only instead of calling
11210 toggle-read-only.
11211
11212 * bindings.el (mode-line-toggle-read-only):
11213 * dired.el (dired-toggle-read-only):
11214 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11215 with non-nil second arg.
11216
11217 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11218 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11219 directly.
11220
11221 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11222
11223 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11224 not incf.
11225
11226 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 More CL cleanups and reduction of use of cl.el.
11229 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11230 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11231 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11232 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11233 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11234 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11235 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11236 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11237 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11238 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11239 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11240 * eshell/em-cmpl.el, eshell/em-banner.el:
11241 * calendar/parse-time.el: Use cl-lib.
11242 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11243 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11244 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11245 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11246 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11247 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11248 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11249 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11250 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11251 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11252 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11253 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11254 `lambda' rather than with `quote'.
11255 (eshell-do-opt): Adjust accordingly.
11256 (eshell-process-option): Simplify.
11257 * eshell/esh-var.el:
11258 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11259 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11260 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11261 to `pcase--dontcare'.
11262 * emacs-lisp/cl.el (labels): Mark obsolete.
11263 (cl--letf, letf): Move to cl-lib.
11264 (cl--letf*, letf*): Remove.
11265 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11266 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11267 (cl-progv): Rewrite.
11268 (cl--letf, cl-letf): Move from cl.el.
11269 (cl-letf*): New macro.
11270 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11271
11272 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11273
11274 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11275
11276 2012-07-11 Chong Yidong <cyd@gnu.org>
11277
11278 * vc/log-edit.el (log-edit-vc-backend): New variable.
11279 (log-edit): Doc fix.
11280
11281 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11282 argument of log-edit to set up all local variables.
11283 (vc-start-logentry): New optional arg specifying VC backend.
11284
11285 * vc/vc.el (vc-checkin): Use it.
11286 (vc-deduce-fileset): Handle Log Edit buffers.
11287 (vc-diff): Make first argument optional too.
11288
11289 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11290
11291 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11292
11293 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11294 command, just in case. The function is not needed anymore.
11295 (eshell-external-command): Do not call `eshell-remote-command'.
11296
11297 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 Reduce use of (require 'cl).
11300 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11301 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11302 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11303 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11304 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11305 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11306 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11307 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11308 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11309 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11310 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11311 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11312 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11313 (byte-compile-unfold-bcf, byte-compile-check-variable):
11314 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11315 (byte-compile-nilconstp):
11316 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11317 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11318
11319 * emacs-lisp/gv.el (cond): Make it a valid place.
11320 (if): Simplify slightly.
11321
11322 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11323 (pcase--self-quoting-p): New function.
11324 (pcase--u1): Use it.
11325
11326 2012-07-10 Glenn Morris <rgm@gnu.org>
11327
11328 * emacs-lisp/authors.el (authors-fixed-entries):
11329 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11330
11331 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11332
11333 Rename configure.in to configure.ac (Bug#11603).
11334 * emacs-lisp/authors.el (authors-canonical-file-name):
11335 * progmodes/autoconf.el (autoconf-mode):
11336 Prefer configure.ac to configure.in.
11337
11338 2012-07-08 Chong Yidong <cyd@gnu.org>
11339
11340 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11341 Implement the mouse-1-click-follows-link handling properly.
11342
11343 * info.el (Info-link-keymap): Use follow-link mechanism for
11344 header-line links (Bug#374).
11345
11346 * simple.el (deactivate-mark): Do not set the primary selection
11347 if another program has acquired it (Bug#11772).
11348
11349 2012-07-07 Kevin Ryde <user42@zip.com.au>
11350
11351 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11352 (woman-decode-region): Replace escaped-escapes without destroying
11353 bold or underline (Bug#11552).
11354 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11355
11356 2012-07-07 Chong Yidong <cyd@gnu.org>
11357
11358 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11359 (interprogram-cut-function, interprogram-paste-function):
11360 Mention that we typically mean the clipboard.
11361
11362 2012-07-06 Glenn Morris <rgm@gnu.org>
11363
11364 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11365
11366 * files.el (toggle-read-only): Restrict message to interactive use.
11367
11368 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11369
11370 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11371
11372 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11373
11374 2012-07-06 Glenn Morris <rgm@gnu.org>
11375
11376 * Makefile.in (compile-one-process): Rename from "recompile".
11377
11378 * Makefile.in (bzr-update): "compile" is the same as "recompile
11379 autoloads", but parallelizable, so use that instead.
11380
11381 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11382
11383 * window.el (quit-window): Always restore window height when
11384 it's saved in quit-restore parameter (Bug#11810).
11385
11386 2012-07-06 Glenn Morris <rgm@gnu.org>
11387
11388 * simple.el (kill-whole-line): Doc tweak.
11389
11390 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11391
11392 * files.el (file-relative-name): Compare file names
11393 case-insensitively if on MS-Windows or MS-DOS, or if
11394 read-file-name-completion-ignore-case is non-nil. Don't use
11395 case-fold-search for this purpose. (Bug#11827)
11396
11397 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11398
11399 * calendar/cal-dst.el (calendar-current-time-zone):
11400 Return calendar-current-time-zone-cache if non-nil.
11401
11402 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11403 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11404
11405 * calendar/cal-dst.el (calendar-current-time-zone):
11406 Return calendar-current-time-zone-cache if non-nil.
11407
11408 2012-07-06 Glenn Morris <rgm@gnu.org>
11409
11410 * Makefile.in (cvs-update): Remove old alias.
11411
11412 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11413
11414 Sync with Tramp 2.2.6-pre.
11415
11416 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11417 compatible declaration.
11418
11419 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11420 Protect `list-load-path-shadows' call.
11421
11422 * net/tramp-compat.el (top): Require packages, which aren't
11423 autoloaded anymore for XEmacs. Protect call of
11424 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11425 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11426 it hurts at least for SXEmacs.
11427 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11428 standard-value for `temporary-file-directory'.
11429
11430 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11431 Redirect stderr to /dev/null.
11432 (tramp-sh-handle-write-region): uid and gid can be floats.
11433 Reported by Russell Sim <russell.sim@gmail.com>.
11434 (tramp-sh-handle-vc-registered): Hide errors.
11435 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11436 and `start-file-process'.
11437 (tramp-maybe-open-connection): Check also whether `non-essential'
11438 is bound.
11439
11440 2012-07-04 Chong Yidong <cyd@gnu.org>
11441
11442 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11443 (xml-parse-tag): Likewise, and avoid changing entity tables.
11444 (xml-syntax-table): Define from scratch, making sure not to give
11445 x2000 and other Unicode spaces whitespace syntax, since those are
11446 not spaces in XML.
11447 (xml-parse-fragment): Delete unused function.
11448 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11449 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11450 (xml-entity-ref, xml-pe-reference-re)
11451 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11452 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11453 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11454 (xml-entity-value-re): Use syntax references in regexps where
11455 possible; no need to define inside a let-binding.
11456 (xml-parse-dtd): Use xml-pe-reference-re.
11457 (xml-entity-or-char-ref-re): New defconst.
11458 (xml-parse-string, xml-substitute-special): Use it.
11459
11460 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11461
11462 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11463 (find-file--read-only): New function.
11464 (find-file-read-only, find-file-read-only-other-window)
11465 (find-file-read-only-other-frame): Use it.
11466 (insert-file-contents-literally): Don't `fset'.
11467 (get-free-disk-space): Use locate-dominating-file.
11468
11469 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11470 function is already compiled.
11471
11472 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11473
11474 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11475
11476 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11477 files on the same host.
11478
11479 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11480
11481 * help-fns.el (describe-function-1): Only call
11482 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11483
11484 2012-07-03 Chong Yidong <cyd@gnu.org>
11485
11486 * xml.el: Protect parser against XML bombs.
11487 (xml-entity-expansion-limit): New variable.
11488 (xml-parse-string, xml-substitute-special): Use it.
11489 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11490
11491 2012-07-03 Glenn Morris <rgm@gnu.org>
11492
11493 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11494 Allow linking to specific messages in debbugs reports (eg 123#5).
11495
11496 2012-07-02 Chong Yidong <cyd@gnu.org>
11497
11498 * xml.el: Fix entity and character reference expansion, allowing
11499 them to expand into markup as per XML spec.
11500 (xml-default-ns): New variable.
11501 (xml-entity-alist): Use XML spec definitions for lt and amp.
11502 (xml-parse-region): Make first two arguments optional.
11503 Discard text properties.
11504 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11505 All callers changed.
11506 (xml-parse-tag): Call xml-parse-tag-1. For backward
11507 compatibility, this function should not modify buffer contents.
11508 (xml-parse-tag-1): Fix opening-tag regexp.
11509 (xml-parse-string): Rewrite, handling entity and character
11510 references properly.
11511 (xml--entity-replacement-text): Signal an error if a parameter
11512 entity is undefined.
11513
11514 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11515
11516 * comint.el (comint-output-filter): Filter out repeated prompts.
11517
11518 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11519 and file-name-absolute-p.
11520 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11521 internal calls.
11522
11523 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11524
11525 Spelling fixes.
11526 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11527 Rename from byte-compile--refiy-function. All uses changed.
11528
11529 2012-07-01 Chong Yidong <cyd@gnu.org>
11530
11531 * xml.el (xml--parse-buffer): New function. Move most of
11532 xml-parse-region here.
11533 (xml-parse-region): Copy region into a temporary buffer, since
11534 parameter entity substitution requires changing buffer contents.
11535 Use xml--parse-buffer.
11536 (xml-parse-file): Use xml--parse-buffer.
11537 (xml-parse-dtd): Make parameter entity substitution work right.
11538 Use proper regexps for ELEMENT declarations (Bug#7172).
11539
11540 2012-06-30 Glenn Morris <rgm@gnu.org>
11541
11542 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11543
11544 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11545 Remove outdated and unnecessary dbus declarations.
11546
11547 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11548
11549 * emacs-lisp/timer.el (timer-until): Subtract results of
11550 float-time, instead of taking float-time of the result of
11551 time-subtract, since float-time signals an error for negative time
11552 arguments.
11553
11554 2012-06-30 Chong Yidong <cyd@gnu.org>
11555
11556 * xml.el (xml-*-re): Convert defvars into defconsts, and
11557 eval-and-compile them so eval-and-compile works on derivatives.
11558 (xml--entity-replacement-text): Use eval-and-comple.
11559
11560 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11561
11562 * vc/vc-git.el (vc-git-registered): Use cache property
11563 `git-registered'.
11564 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11565 `vc-git-working-revision' in order to benefit from the cache.
11566 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11567
11568 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11569
11570 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11571 removed (likely outside Emacs). (Bug#11757)
11572
11573 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11574
11575 * emacs-lisp/cl-lib.el: Require macroexp.
11576
11577 2012-06-30 Chong Yidong <cyd@gnu.org>
11578
11579 * xml.el: Implement XML parameter entities.
11580 (xml-parameter-entity-alist): New variable.
11581 (xml-parse-region, xml-parse-fragment): Preserve previous values
11582 of xml-entity-alist and xml-parameter-entity-alist, so that
11583 repeated calls on different documents do not change them.
11584 (xml-parse-tag): Fix doctype regexp.
11585 (xml--entity-replacement-text): New function.
11586 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11587 properly requires url retrieval which is unimplemented.
11588 (xml-escape-string): Doc fix.
11589
11590 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11591
11592 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11593
11594 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11595
11596 * fringe.el (fringe-mode): Doc fix.
11597
11598 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11599
11600 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11601 is non-nil.
11602 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11603 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11604
11605 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11606
11607 * calendar/cal-dst.el (calendar-current-time-zone):
11608 Return calendar-current-time-zone-cache if non-nil.
11609
11610 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11611
11612 * progmodes/which-func.el (which-func-format):
11613 Add mouse-face. (Bug#11698)
11614
11615 2012-06-29 Leo Liu <sdl.web@gmail.com>
11616
11617 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11618
11619 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11620
11621 * minibuffer.el (minibuffer-confirm-exit-commands):
11622 Add completion-at-point (bug#11725).
11623
11624 2012-06-29 Glenn Morris <rgm@gnu.org>
11625
11626 * progmodes/f90.el (f90-font-lock-keywords-2):
11627 Add some preprocessor elements. (Bug#10499)
11628
11629 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11630
11631 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11632 Use syntax-propertize (bug#11739).
11633
11634 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11635
11636 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11637
11638 2012-06-28 Julien Danjou <julien@danjou.info>
11639
11640 * term.el (term-handle-colors-array): Use a set of new faces to
11641 color the terminal. Also uses :inverse-video property.
11642 (term-default-fg-color): Set to nil by default, deprecate in favor
11643 of `term-face'.
11644 (term-default-bg-color): Set to nil by default, deprecate in favor
11645 of `term-face'.
11646 (term-current-face): Use `term-face' by default.
11647 (term-bold-attribute): Variable deleted.
11648
11649 2012-06-28 Glenn Morris <rgm@gnu.org>
11650
11651 * simple.el (completion-list-mode-finish):
11652 Don't use toggle-read-only. (Since completion-list-mode has
11653 a special mode-class, it wasn't doing anything extra anyway.)
11654
11655 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11656
11657 Make inlining of other-mode interpreted functions work (bug#11799).
11658 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11659 (byte-compile): Use it to fix compilation of lexical-binding closures.
11660 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11661 function, if needed.
11662
11663 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11664
11665 * help-mode.el (help-make-xrefs): Don't just withstand
11666 cyclic-variable-indirection but any error in documentation-property.
11667
11668 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11669 memory use.
11670 * bindings.el (bindings--define-key): New function.
11671 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11672 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11673 * bindings.el: Use it to purecopy define-key bindings.
11674
11675 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11676
11677 * emacs-lisp/cl.el (flet): Mark obsolete.
11678 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11679 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11680 * progmodes/js.el (js-c-fill-paragraph):
11681 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11682 (ebrowse-switch-member-buffer-to-derived-class):
11683 * play/5x5.el (5x5-solver): Use cl-flet.
11684
11685 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11686 (cl--symbol-function): New macro.
11687 (cl--letf, cl--letf*): Use it.
11688
11689 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11690 Strip "toggle-" if any.
11691
11692 2012-06-27 Glenn Morris <rgm@gnu.org>
11693
11694 * info.el (Info-default-directory-list): Move here from paths.el.
11695 * paths.el: Remove file, which is now empty.
11696 * loadup.el: No longer load "paths".
11697
11698 * custom.el (custom-initialize-delay): Doc fix.
11699
11700 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11701 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11702 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11703 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11704 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11705 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11706 * eshell/eshell.el (eshell-defgroup): Remove alias.
11707
11708 2012-06-27 Chong Yidong <cyd@gnu.org>
11709
11710 * help.el (help-enable-auto-load): New variable.
11711
11712 * help-fns.el (help-fns--autoloaded-p): New function.
11713 (describe-function-1): Refer to a function as "autoloaded" if it
11714 was autoloaded at any time in the past. Perform autoloading if
11715 help-enable-auto-load is non-nil.
11716
11717 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11718
11719 * makefile.w32-in (compile, compile-always): Depend on
11720 update-subdirs, not on subdirs.el. Otherwise, several different
11721 sub-targets of 'bootstrap' running in parallel could
11722 simultaneously write to subdirs.el, producing a garbled file.
11723
11724 2012-06-26 Sam Steingold <sds@gnu.org>
11725
11726 * files.el (file-name-base): New convenience function.
11727 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11728 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11729 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11730 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11731 * textmodes/ispell.el, textmodes/reftex-ref.el:
11732 * textmodes/tex-mode.el: Use it.
11733 Did not touch cedet and org because they are maintained elsewhere.
11734
11735 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11736
11737 * calendar/calendar.el (calendar-exit): Don't try to delete or
11738 iconify last frame. See:
11739 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11740
11741 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11742
11743 * server.el (server-process-filter): Remember dir in the
11744 process's `server-client-directory' properties.
11745
11746 2012-06-24 Chong Yidong <cyd@gnu.org>
11747
11748 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11749 non-tag text.
11750
11751 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11752
11753 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11754
11755 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11756
11757 * help-fns.el (describe-variable): Don't croak when doc is not found.
11758 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11759 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11760 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11761 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11762 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11763 ((lambda ..) ..).
11764 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11765
11766 2012-06-23 Chong Yidong <cyd@gnu.org>
11767
11768 * info.el (Info-mouse-follow-link): Accept symbol values of
11769 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11770 (Info-fontify-node): Use Info-link-keymap for all navigation
11771 buttons, with link-args property to perform the desired action.
11772 (Info-link-keymap): Doc fix.
11773 (Info-next-link-keymap, Info-prev-link-keymap)
11774 (Info-up-link-keymap): Delete now-unused keymaps.
11775
11776 2012-06-23 Chong Yidong <cyd@gnu.org>
11777
11778 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11779
11780 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11781 system abbrevs.
11782
11783 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11784
11785 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11786
11787 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11788 (bug#11719).
11789
11790 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11791 the requote function doesn't work properly (bug#11714).
11792
11793 2012-06-23 Glenn Morris <rgm@gnu.org>
11794
11795 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11796
11797 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 Further GV/CL cleanups.
11800 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11801 gv-expander.
11802 (gv--defun-declaration): New function.
11803 (defun-declarations-alist): Use it.
11804 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11805 (gv-place): Autoload.
11806 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11807 original definition of dotimes and dolist.
11808 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11809 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11810 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11811 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11812 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11813 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11814 to the function's definition.
11815 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11816 * window.el:
11817 * files.el:
11818 * faces.el:
11819 * env.el: Don't use CL.
11820
11821 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11822
11823 Support higher-resolution time stamps (Bug#9000).
11824
11825 * calendar/time-date.el (with-decoded-time-value): New arg
11826 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11827 (encode-time-value): New optional arg PICO. New type 3.
11828 (time-to-seconds) [!float-time]: Support the new picoseconds
11829 component if it's used.
11830 (seconds-to-time, time-subtract, time-add):
11831 Support ps-resolution time stamps as well.
11832
11833 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11834 (timerp): Timer vectors now have length 9, not 8.
11835 (timer--time): Support new-style (4-part) time stamps.
11836 (timer-next-integral-multiple-of-time): Time stamps now have
11837 picosecond resolution, so take a bit more care about rounding.
11838 (timer-relative-time, timer-inc-time): New optional arg psecs.
11839 (timer-set-time-with-usecs): Set psecs to 0.
11840 (timer--activate): Check psecs component, too.
11841
11842 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11843
11844 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11845
11846 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11847 Move the non-essential binding to the post/pre-command-hook where it is
11848 more obviously correct.
11849
11850 * subr.el (read-passwd): Don't use a history at all.
11851 * savehist.el (savehist-save): Remove password saved accidentally
11852 because of the above bug.
11853
11854 2012-06-22 Bastien Guerry <bzg@gnu.org>
11855
11856 * files.el (toggle-read-only): Display a message telling whether
11857 the buffer is read-only or not (bug#11726).
11858
11859 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11860
11861 * emacs-lisp/gv.el: New file.
11862 * subr.el (push, pop): Extend to generalized variables.
11863 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11864 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11865 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11866 gv-define-simple-setter, and gv-define-expander.
11867 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11868 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11869 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11870 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11871 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11872 gv-letplace.
11873 (cl-defstruct): Don't define setf-method any more.
11874 * emacs-lisp/cl.el (flet): Don't autoload.
11875 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11876 (define-setf-expander, defsetf, define-modify-macro)
11877 (cl-struct-setf-expander): Move from cl-lib.el.
11878 * emacs-lisp/syntax.el:
11879 * emacs-lisp/ewoc.el:
11880 * emacs-lisp/smie.el:
11881 * emacs-lisp/cconv.el:
11882 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11883 (timer--time): Use gv-define-simple-setter.
11884 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11885 to avoid coding-system problems in subr.el. Adjust all users.
11886 (macroexp--maxsize, macroexp-small-p): New functions.
11887 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11888 * scroll-bar.el (scroll-bar-mode):
11889 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11890 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11891 * winner.el (winner-configuration, winner-make-point-alist)
11892 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11893 * files.el (locate-file-completion-table): Avoid list*.
11894
11895 2012-06-22 Chong Yidong <cyd@gnu.org>
11896
11897 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11898 (dired-create-files): Doc fix (Bug#11329).
11899 (dired-do-copy): Doc fix (Bug#11334).
11900 (dired-mark-read-string): Doc fix (Bug#11553).
11901
11902 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11903 Doc fix (Bug#11326).
11904 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11905 (dired-dwim-target): Doc fix.
11906
11907 * wdired.el (wdired-mode): Doc fix.
11908
11909 2012-06-22 Glenn Morris <rgm@gnu.org>
11910
11911 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11912 (pcmpl-rpm-cache-stamp-file): New constant.
11913 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11914 (pcmpl-rpm-packages): Optionally cache list of packages.
11915
11916 * pcmpl-rpm.el (pcmpl-rpm): New group.
11917 (pcmpl-rpm-query-options): New option.
11918 (pcmpl-rpm-packages): No need to inline it.
11919 Use pcmpl-rpm-query-options.
11920
11921 * calendar/calendar.el (calendar-in-read-only-buffer):
11922 Avoid some needless mode changes.
11923
11924 2012-06-21 Chong Yidong <cyd@gnu.org>
11925
11926 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11927 (desktop-path): Remove . from the default value (Bug#10977).
11928 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11929
11930 2012-06-20 Chong Yidong <cyd@gnu.org>
11931
11932 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11933
11934 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11935
11936 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11937 (bug#11201).
11938
11939 2012-06-20 Chong Yidong <cyd@gnu.org>
11940
11941 * term.el (term-window-width): Handle the case of a missing right
11942 fringe (Bug#8837).
11943 (term-check-size): Use window-text-height (Bug#5445).
11944 (term-mode): Use define-derived-mode. Minor cleanups.
11945 Set font-lock-defaults (Bug#7692).
11946 (term-move-columns, term-insert-char, term-emulate-terminal)
11947 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11948
11949 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11950
11951 * net/ange-ftp.el (ange-ftp-get-passwd):
11952 Bind `enable-recursive-minibuffers'.
11953 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11954
11955 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11956
11957 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11958
11959 2012-06-19 Glenn Morris <rgm@gnu.org>
11960
11961 * progmodes/python.el (python-mode): Derive from prog-mode.
11962
11963 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11964
11965 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11966 (edt-user-menu-bar-update-buffers): New functions.
11967 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11968
11969 2012-06-19 Chong Yidong <cyd@gnu.org>
11970
11971 * subr.el (with-selected-window): Preserve the selected window's
11972 terminal's top-frame (Bug#4702).
11973
11974 * window.el (save-selected-window): Likewise.
11975
11976 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11977
11978 * progmodes/python.el (python-rx-constituents): Move backquote.
11979 (python-skeleton-define, python-define-auxiliary-skeleton):
11980 Use `declare'.
11981
11982 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11983
11984 * minibuffer.el (read-file-name-default): Revert the patch from
11985 2012-06-17.
11986
11987 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11988
11989 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11990 (pcase--u1, pcase--q1): Don't use apply-partially.
11991
11992 2012-06-18 Glenn Morris <rgm@gnu.org>
11993
11994 * progmodes/python.el (python-proc, python-buffer)
11995 (python-send-receive, python-send-string): Fix obsolete versions.
11996
11997 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11998
11999 * window.el (special-display-p): Completely remove stringp
12000 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
12001
12002 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
12003
12004 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
12005
12006 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
12007
12008 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
12009 * net/tramp-sh.el (tramp-maybe-open-connection):
12010 Throw if `non-essential' is non-nil.
12011
12012 2012-06-17 Martin Rudalics <rudalics@gmx.at>
12013
12014 * window.el (special-display-p): Signal an error if BUFFER-NAME
12015 is not a string (Bug#11713).
12016
12017 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
12018
12019 * progmodes/python.el (python-info-beginning-of-backslash):
12020 Rename from python-info-beginning-of-backlash, as a spelling fix.
12021
12022 2012-06-17 Chong Yidong <cyd@gnu.org>
12023
12024 * term.el (term-emulate-terminal): If term-check-size is called,
12025 move point to the process mark without resetting point (Bug#4635).
12026
12027 2012-06-17 Glenn Morris <rgm@gnu.org>
12028
12029 * international/mule-cmds.el (mule-menu-keymap)
12030 (set-language-environment, set-locale-environment): Doc tweaks.
12031
12032 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
12033
12034 * cus-face.el (custom-face-attributes): Add wave-style underline
12035 attribute.
12036 * faces.el (set-face-attribute): Update docstring to describe
12037 wave-style underline attribute.
12038
12039 2012-06-16 Chong Yidong <cyd@gnu.org>
12040
12041 * term/xterm.el (terminal-init-xterm): Discard input before
12042 querying background mode (Bug#10959).
12043
12044 2012-06-16 Stefan Merten <smerten@oekonux.de>
12045
12046 * textmodes/rst.el: Added and corrected some comments.
12047 (rst-re-alist-def): Improve symbol syntax.
12048 (rst-mode-syntax-table): Correct syntax entries.
12049 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
12050 (rst-official-version, rst-official-cvs-rev): Update version
12051 information.
12052
12053 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
12054
12055 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
12056 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
12057
12058 2012-06-15 FabiĂ¡n Ezequiel Gallina <fgallina@cuca>
12059
12060 * progmodes/python.el: New python.el merge.
12061 (python-guess-indent): Obsolete var.
12062 (python-indent-guess-indent-offset): New defcustom.
12063 (python-indent): Obsolete var.
12064 (python-indent-offset): New defcustom.
12065 (python-python-command, python-jython-command): Delete var.
12066 (python-shell-interpreter): New defcustom.
12067 (python-pdbtrack-do-tracking-p): Delete var.
12068 (python-pdbtrack-activate): New defcustom.
12069 (python-use-skeletons): Obsolete var.
12070 (python-skeleton-autoinsert): New defcustom.
12071 (inferior-python-filter-regexp, python-continuation-offset)
12072 (python-honour-comment-indentation, python-indent-string-contents)
12073 (python-jython-packages, python-mode-hook)
12074 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12075 (python-shell-prompt-alist)
12076 (python-source-modes): Delete defcustoms.
12077 (python-check-buffer-name, python-eldoc-setup-code)
12078 (python-eldoc-string-code, python-ffap-setup-code)
12079 (python-ffap-string-code, python-fill-comment-function)
12080 (python-fill-decorator-function, python-fill-paren-function)
12081 (python-fill-string-function, python-imenu-include-defun-type)
12082 (python-imenu-make-tree, python-imenu-subtree-root-label)
12083 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12084 (python-shell-compilation-regexp-alist)
12085 (python-shell-completion-module-string-code)
12086 (python-shell-completion-pdb-string-code)
12087 (python-shell-completion-setup-code)
12088 (python-shell-completion-string-code)
12089 (python-shell-enable-font-lock, python-shell-exec-path)
12090 (python-shell-extra-pythonpaths)
12091 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12092 (python-shell-process-environment)
12093 (python-shell-prompt-block-regexp)
12094 (python-shell-prompt-output-regexp)
12095 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12096 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12097 (python-shell-virtualenv-path): New defcustoms.
12098 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12099 (inferior-python-mode-syntax-table, python--prompt-regexp)
12100 (python-buffer, python-command python-python-command)
12101 (python-default-template, python-imports, python-indent-index)
12102 (python-indent-list, python-indent-list-length)
12103 (python-mode-running, python-pdbtrack-is-tracking-p)
12104 (python-preoutput-continuation, python-preoutput-leftover)
12105 (python-preoutput-result, python-preoutput-skip-next-prompt)
12106 (python-prev-dir/file, python-recursing)
12107 (python-saved-check-command, python-version-checked)
12108 (python-which-func-length-limit)
12109 (view-return-to-alist): Delete vars.
12110 (python-check-custom-command, python-dotty-syntax-table)
12111 (python-imenu-index-alist, python-indent-current-level)
12112 (python-indent-dedenters, python-indent-levels)
12113 (python-nav-beginning-of-defun-regexp)
12114 (python-nav-list-defun-positions-cache)
12115 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12116 (python-shell-internal-buffer)
12117 (python-skeleton-available): New vars.
12118 (def-python-skeleton): Delete macro.
12119 (python-skeleton-define): New macro.
12120 (python-define-auxiliary-skeleton, python-rx): New macros.
12121 (python-insert-class): Delete command.
12122 (python-skeleton-class): New command.
12123 (python-insert-def): Delete command.
12124 (python-skeleton-def): New command.
12125 (python-insert-for): Delete command.
12126 (python-skeleton-for): New command.
12127 (python-insert-if): Delete command.
12128 (python-skeleton-if): New command.
12129 (python-insert-try/except, python-insert-try/finally): Delete commands.
12130 (python-skeleton-try): New command.
12131 (python-insert-while): Delete command.
12132 (python-skeleton-while): New command.
12133 (python-backspace): Delete command.
12134 (python-indent-dedent-line-backspace): New command.
12135 (python-electric-colon): Delete command.
12136 (python-indent-electric-colon): New command.
12137 (python-guess-indent): Delete command.
12138 (python-indent-guess-indent-offset): New command.
12139 (python-shift-left): Delete command.
12140 (python-indent-shift-left): New command.
12141 (python-shift-right): Delete command.
12142 (python-indent-shift-right): New command.
12143 (python-find-function): Delete command.
12144 (python-nav-jump-to-defun): New command.
12145 (python-next-statement): Delete command.
12146 (python-nav-forward-sentence): New command.
12147 (python-previous-statement): Delete command.
12148 (python-nav-backward-sentence): New command.
12149 (python-fill-paragraph): Delete command.
12150 (python-fill-paragraph-function): New command.
12151 (python-send-buffer): Delete command.
12152 (python-shell-send-buffer): New command.
12153 (python-send-defun): Delete command.
12154 (python-shell-send-defun): New command.
12155 (python-send-region, python-send-region-and-go): Delete commands.
12156 (python-shell-send-region)
12157 (python-shell-switch-to-shell): New commands.
12158 (python-send-string): Delete command.
12159 (python-shell-send-string): New command.
12160 (python-switch-to-python): Delete command.
12161 (python-shell-switch-to-shell): New command.
12162 (python-describe-symbol): Delete command.
12163 (python-eldoc-at-point): New command.
12164 (python--set-prompt-regexp, python-args-to-list)
12165 (python-after-info-look, python-check-version)
12166 (python-check-comint-prompt, python-find-imports)
12167 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12168 (python-unload-function, python-expand-template)
12169 (python-maybe-jython, python-preoutput-filter)
12170 (python-pdbtrack-get-source-buffer)
12171 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12172 (python-pdbtrack-toggle-stack-tracking)
12173 (python-pdbtrack-track-stack-file, python-initial-text)
12174 (python-first-word, python-comment-line-p, python-send-command)
12175 (python-setup-brm, python-sentinel, python-set-proc)
12176 (python-skip-out, python-input-filter, python-outdent-p)
12177 (python-outline-level, python-backslash-continuation-line-p)
12178 (python-end-of-block, python-end-of-statement, python-mark-block)
12179 (python-beginning-of-block, python-beginning-of-statement)
12180 (python-blank-line-p, python-beginning-of-string)
12181 (python-open-block-statement-p): Delete functions.
12182 (python-indent-line, python-indent-line-1): Delete functions.
12183 (python-indent-line): New function.
12184 (python-indentation-levels): Delete function.
12185 (python-indent-calculate-levels): New function.
12186 (python-proc): Delete function.
12187 (python-shell-get-process): New function.
12188 (python-send-receive): Delete function.
12189 (python-shell-send-string-no-output): New function.
12190 (python-module-path): Delete function.
12191 (python-ffap-module-path): New function.
12192 (python-completion-at-point)
12193 (python-symbol-completions): Delete functions.
12194 (python-completion-complete-at-point): New function.
12195 (python-load-file): Delete function.
12196 (python-shell-send-file): New function.
12197 (python-calculate-indentation): Delete function.
12198 (python-indent-calculate-indentation): New function.
12199 (python-skip-comments/blanks): Delete function.
12200 (python-util-forward-comment): New function.
12201 (python-continuation-line-p): Delete function.
12202 (python-info-continuation-line-p): New function.
12203 (python-which-func, python-current-defun): Delete function.
12204 (python-info-current-defun): New function.
12205 (python-beginning-of-defun): Delete function.
12206 (python-nav-beginning-of-defun): New function.
12207 (python-close-block-statement-p)
12208 (python-block-end-p): Delete function.
12209 (python-info-closing-block): New function.
12210 (python-comint-output-filter-function)
12211 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12212 (python-fill-comment, python-fill-decorator, python-fill-paren)
12213 (python-fill-string, python-imenu-make-element-tree)
12214 (python-imenu-make-tree, python-imenu-tree-assoc)
12215 (python-indent-context, python-indent-dedent-line)
12216 (python-indent-line-function)
12217 (python-indent-post-self-insert-function)
12218 (python-indent-toggle-levels)
12219 (python-info-assignment-continuation-line-p)
12220 (python-info-beginning-of-backlash)
12221 (python-info-block-continuation-line-p)
12222 (python-info-closing-block-message)
12223 (python-info-line-ends-backslash-p)
12224 (python-info-looking-at-beginning-of-defun)
12225 (python-info-ppss-context, python-info-ppss-context-type)
12226 (python-nav-list-defun-positions, python-nav-read-defun)
12227 (python-nav-sentence-end, python-nav-sentence-start)
12228 (python-pdbtrack-comint-output-filter-function)
12229 (python-pdbtrack-set-tracked-buffer)
12230 (python-shell-calculate-exec-path)
12231 (python-shell-calculate-process-environment)
12232 (python-shell-completion--do-completion-at-point)
12233 (python-shell-completion--get-completions)
12234 (python-shell-completion-complete-at-point)
12235 (python-shell-completion-complete-or-indent)
12236 (python-shell-get-or-create-process)
12237 (python-shell-get-process-name)
12238 (python-shell-internal-get-or-create-process)
12239 (python-shell-internal-get-process-name)
12240 (python-shell-internal-send-string, python-shell-make-comint)
12241 (python-shell-parse-command, python-shell-send-setup-code)
12242 (python-skeleton-add-menu-items)
12243 (python-util-clone-local-variables, python-util-position)
12244 (run-python-internal, python-indentation-levels)
12245 (python-nav-beginning-of-defun)
12246 (python-completion-complete-at-point): New functions.
12247 (run-python): Change arguments. New API requirements.
12248
12249 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12250
12251 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12252 (bug#11649).
12253
12254 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12255 (macroexp--expand-all): Use it.
12256
12257 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12258 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12259 Use `cl-function' instead.
12260
12261 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12262
12263 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12264 Suggested by Stefan Monnier while discussing bug#11657.
12265
12266 2012-06-14 Sam Steingold <sds@gnu.org>
12267
12268 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12269
12270 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12271
12272 * play/doctor.el (doctor-doc): Remove parameter and use
12273 doctor-sent instead of sent.
12274 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12275
12276 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12277
12278 * files.el: Require cl-lib.
12279 (file-name-non-special): Replace case -> cl-case.
12280
12281 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12282
12283 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12284 mapping from #' to function*.
12285
12286 2012-06-13 Chong Yidong <cyd@gnu.org>
12287
12288 * mouse.el (mouse-drag-track): Do not set the mark if the user
12289 releases the mouse without selecting anything (Bug#11588).
12290
12291 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12292
12293 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12294 as well (bug#11646).
12295
12296 * loadup.el: Count byte-code functions as well.
12297
12298 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12299 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12300
12301 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12302 (bug#11649). Add cl-defun and cl-defmacro.
12303
12304 2012-06-13 Drew Adams <drew.adams@oracle.com>
12305
12306 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12307 Fix last change.
12308
12309 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12310
12311 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12312 Otherwise, it blocks in batch mode.
12313
12314 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12315
12316 * help-mode.el (bookmark-make-record-default): Declare.
12317
12318 2012-06-13 Chong Yidong <cyd@gnu.org>
12319
12320 * emacs-lisp/package.el (list-packages): Compute a list of
12321 packages that are newly-available since the last list-packages
12322 invocation.
12323 (package-menu--new-package-list): New var.
12324 (package-menu--generate, package-menu--print-info)
12325 (package-menu--status-predicate, package-menu-mark-install):
12326 Handle new status label "new".
12327
12328 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12329
12330 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12331 conversion to backquotes.
12332
12333 2012-06-12 Chong Yidong <cyd@gnu.org>
12334
12335 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12336 Rename from gud-inhibit-global-bindings.
12337
12338 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12339
12340 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12341 hook from nxml-glyph-set-hook.
12342
12343 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12344 declaration.
12345
12346 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12347
12348 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12349 Convert to defcustom.
12350
12351 2012-06-12 Drew Adams <drew.adams@oracle.com>
12352
12353 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12354 New functions.
12355 (help-mode): Use them.
12356
12357 2012-06-11 Glenn Morris <rgm@gnu.org>
12358
12359 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12360 Use preprocessor face for directives.
12361 (fortran-directive-re): Doc fix.
12362
12363 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12364
12365 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12366 conversion to backquotes (bug#11652).
12367
12368 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12369 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12370 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12371 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12372 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12373 (cl-ninth, cl-tenth): Mark them as inlinable.
12374 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12375 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12376 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12377 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12378 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12379 (cl-list*, cl-adjoin): Don't put an autoload manually.
12380 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12381 (cl--compiler-macro-list*): Add autoload cookie.
12382 (cl--compiler-macro-cXXr): New function.
12383
12384 * help-fns.el (help-fns--compiler-macro): New function extracted from
12385 describe-function-1; follow aliases and use `compiler-macro' property.
12386 (describe-function-1): Use it.
12387
12388 2012-06-11 Chong Yidong <cyd@gnu.org>
12389
12390 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12391 is uninstalled, if imagemagick is installed.
12392
12393 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12394
12395 * emacs-lisp/cl-lib.el: Use lexical-binding.
12396 (cl-map-extents, cl-maclisp-member): Remove.
12397 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12398 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12399 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12400 * emacs-lisp/cl-extra.el: Use lexical-binding.
12401 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12402 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12403 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12404 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12405 * emacs-lisp/cl-seq.el: Use lexical-binding.
12406 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12407 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12408 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12409 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12410 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12411 CL's internals.
12412
12413 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12414
12415 Sync with Tramp 2.2.6-pre.
12416
12417 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12418 `print-length' and `print-level' to nil, in order to avoid
12419 truncation. Reported by Christopher Schmidt
12420 <christopher@ristopher.com>.
12421
12422 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12423
12424 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12425 New defmacro.
12426 (tramp-compat-copy-directory): Add optional argument
12427 COPY-CONTENTS. It is not handled yet.
12428
12429 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12430 (tramp-ftp-file-name-p): Simplify.
12431
12432 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12433 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12434 connection vector.
12435
12436 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12437 (tramp-methods): Do not use `tramp-password-end-of-line'.
12438 (tramp-completion-function-alist-putty): Handle UNIX case.
12439 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12440 (tramp-do-file-attributes-with-stat)
12441 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12442 gid as real numbers. They could run out of integer range on cygwin.
12443 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12444 (tramp-sh-handle-expand-file-name): Handle hops.
12445 (tramp-open-connection-setup-interactive-shell):
12446 Use `tramp-cleanup'. Move check for busyboxes ...
12447 (tramp-find-shell): ... here. Simplify implementation.
12448 Set "remote-shell" property also for alternative shells.
12449 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12450 If failing, a regular file would be written otherwise.
12451 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12452 (tramp-find-inline-encoding): Cache the coding commands in the
12453 process cache. Apply test command on the remote side, if defined.
12454 (tramp-find-inline-compress): Cache the compress commands in the
12455 process cache.
12456 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12457 when requested. Handle hops.
12458 (tramp-current-connection): New defvar.
12459 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12460 Throw `suppress', if there was a failed connection shortly before.
12461 Handle user interrupt. (Bug#10187)
12462 (tramp-get-inline-compress, tramp-get-inline-coding):
12463 Read connection properties from the process cache.
12464
12465 * net/tramp-smb.el (tramp-smb-server-version)
12466 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12467 New defconsts.
12468 (tramp-smb-prompt): Extend for powershell prompt.
12469 (tramp-smb-file-name-handler-alist): Add handlers for
12470 `process-file', `shell-command' and `start-file-process'.
12471 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12472 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12473 (tramp-smb-file-name-p): Simplify.
12474 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12475 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12476 (tramp-smb-shell-quote-argument): New defuns.
12477 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12478 Implement using "tar". By this, time-stamps are preserved.
12479 (tramp-smb-handle-copy-file): Handle also the case of directories.
12480 (tramp-smb-do-file-attributes-with-stat)
12481 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12482 Use `tramp-get-connection-buffer').
12483 (tramp-smb-handle-rename-file): Use "rename", when source and
12484 target are on the same share.
12485 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12486 Use `tramp-smb-server-version'.
12487 (tramp-smb-wait-for-output): Remove prompt.
12488
12489 * net/tramp.el (top): Require 'cl.
12490 (tramp-methods, tramp-rsh-end-of-line):
12491 Remove `tramp-password-end-of-line' from docstring.
12492 (tramp-save-ad-hoc-proxies): New defcustom.
12493 (tramp-completion-function-alist): Adapt docstring.
12494 (tramp-default-password-end-of-line): Remove defcustom.
12495 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12496 (tramp-user-regexp, tramp-file-name-regexp-unified)
12497 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12498 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12499 (tramp-remote-file-name-spec-regexp): New defconst.
12500 (tramp-file-name-structure): Extend structure for hops.
12501 (tramp-get-method-parameter): Move up.
12502 (tramp-file-name-p, tramp-dissect-file-name)
12503 (with-parsed-tramp-file-name): Handle hops.
12504 (tramp-file-name-hop): New defun.
12505 (tramp-make-tramp-file-name): New optional arg HOP.
12506 (tramp-message-show-progress-reporter-message): New defvar.
12507 (tramp-with-progress-reporter): Use it. We cannot use
12508 `tramp-message-show-message' here, because this suppresses also
12509 error buffers.
12510 (tramp-error-with-buffer): Suppress buffer view, if
12511 `tramp-message-show-message' is nil.
12512 Use `tramp-get-connection-buffer'.
12513 (tramp-cleanup): New defun.
12514 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12515 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12516 an error unchanged.
12517 (tramp-completion-handle-file-name-all-completions): Handle hops.
12518 Fix an error when called from ido.
12519 (tramp-completion-dissect-file-name): Use better local variable
12520 name. Add hop to the vector.
12521 (tramp-handle-insert-file-contents): Use progress-reporter for the
12522 whole scenario.
12523 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12524 to `t'.
12525 (tramp-check-for-regexp): Simplify search.
12526 (tramp-enter-password): Remove it. Move implementation ...
12527 (tramp-action-password): ... here.
12528 (tramp-mode-string-to-int, tramp-local-host-p)
12529 (tramp-make-tramp-temp-file, tramp-read-passwd)
12530 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12531 Set tramp-autoload cookie.
12532
12533 * net/trampver.el: Update release number.
12534
12535 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12536 Michael Albinus <michael.albinus@gmx.de>
12537
12538 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12539 (tramp-parse-group, tramp-parse-file)
12540 (tramp-parse-shostkeys-sknownhosts): New defuns.
12541 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12542 (tramp-parse-shosts-group, tramp-parse-sconfig)
12543 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12544 (tramp-parse-sknownhosts, tramp-parse-hosts)
12545 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12546 Use them.
12547 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12548 (tramp-parse-putty-group): Don't narrow.
12549 (tramp-parse-putty): Make a loop.
12550 (tramp-file-name-handler): Catch the `suppress' signal.
12551
12552 2012-06-11 Chong Yidong <cyd@gnu.org>
12553
12554 * image.el (imagemagick-register-types): Put the ImageMagick entry
12555 at the end of image-type-file-name-regexps.
12556
12557 2012-06-11 Johan BockgĂ¥rd <bojohan@gnu.org>
12558
12559 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12560 (pcase, pcase-let*, pcase-dolist): Use them.
12561
12562 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12563
12564 * emacs-lisp/pcase.el (pcase--let*): New function.
12565 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12566 (pcase--expand): Use macroexp-let².
12567
12568 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12569
12570 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12571 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12572 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12573 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12574 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12575 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12576
12577 2012-06-10 Glenn Morris <rgm@gnu.org>
12578
12579 * mail/rmail.el (rmail-yank-current-message): Leave point at
12580 correct position. (Bug#11660)
12581
12582 2012-06-10 Chong Yidong <cyd@gnu.org>
12583
12584 * allout-widgets.el: Fix code header.
12585
12586 2012-06-10 Chong Yidong <cyd@gnu.org>
12587
12588 * cus-edit.el (customize-changed-options-previous-release):
12589 Bump to 24.1.
12590
12591 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12592
12593 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12594
12595 2012-06-09 Chong Yidong <cyd@gnu.org>
12596
12597 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12598
12599 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12600
12601 * window.el (special-display-popup-frame): Don't use
12602 window--display-buffer (Bug#11651).
12603
12604 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12605
12606 Fix parallel builds: make sure loaddefs.el is not being written
12607 while Lisp files are compiled.
12608 (compile): Don't depend on 'mh-autoloads'.
12609 (compile-CMD, compile-SH): Depend on 'autoloads'.
12610 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12611
12612 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12613
12614 2012-06-09 Chong Yidong <cyd@gnu.org>
12615
12616 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12617 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12618 Doc fixes (Bug#11225).
12619
12620 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12621
12622 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12623 a function if there's a clear indication that it has a compiler-macro.
12624 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12625 (macro-declarations-alist): Add arglist to declaration functions.
12626 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12627 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12628 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12629 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12630 Also add autoload to find the compiler macro.
12631 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12632 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12633 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12634 (cl--compiler-macro-get): New functions, replacing calls to
12635 cl-define-compiler-macro.
12636 (cl-typep) [compiler-macro]: Use macroexp-let².
12637
12638 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12639
12640 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12641 string properly, fixes Bug#11473.
12642
12643 2012-06-08 Chong Yidong <cyd@gnu.org>
12644
12645 * faces.el (set-face-attribute): Doc fix.
12646 (modify-face): Don't use :bold and :italic.
12647 (error, warning, success): Tweak definitions.
12648
12649 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12650 (custom-modified, custom-set, custom-changed, custom-themed)
12651 (custom-saved, custom-button, custom-button-mouse)
12652 (custom-button-pressed, custom-state, custom-comment-tag)
12653 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12654 (custom-group-subtitle): Use new-style face specs.
12655 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12656 (custom-set-face, custom-changed-face, custom-saved-face)
12657 (custom-button-face, custom-button-pressed-face)
12658 (custom-documentation-face, custom-state-face)
12659 (custom-comment-face, custom-comment-tag-face)
12660 (custom-variable-tag-face, custom-variable-button-face)
12661 (custom-face-tag-face, custom-group-tag-face-1)
12662 (custom-group-tag-face): Remove obsolete face alias.
12663
12664 * epa.el (epa-validity-high, epa-validity-medium)
12665 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12666 (epa-field-name, epa-field-body):
12667 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12668 (font-lock-keyword-face, font-lock-builtin-face)
12669 (font-lock-function-name-face, font-lock-variable-name-face)
12670 (font-lock-type-face, font-lock-constant-face):
12671 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12672 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12673 * speedbar.el (speedbar-button-face, speedbar-file-face)
12674 (speedbar-directory-face, speedbar-tag-face)
12675 (speedbar-selected-face, speedbar-highlight-face)
12676 (speedbar-separator-face):
12677 * whitespace.el (whitespace-newline, whitespace-space)
12678 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12679 (whitespace-line, whitespace-space-before-tab)
12680 (whitespace-space-after-tab, whitespace-indentation)
12681 (whitespace-empty):
12682 * emulation/cua-base.el (cua-global-mark):
12683 * eshell/em-prompt.el (eshell-prompt):
12684 * net/newst-plainview.el (newsticker-new-item-face)
12685 (newsticker-old-item-face, newsticker-immortal-item-face)
12686 (newsticker-obsolete-item-face, newsticker-date-face)
12687 (newsticker-statistics-face, newsticker-default-face):
12688 * net/newst-reader.el (newsticker-feed-face)
12689 (newsticker-extra-face, newsticker-enclosure-face):
12690 * net/newst-treeview.el (newsticker-treeview-face)
12691 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12692 (newsticker-treeview-immortal-face)
12693 (newsticker-treeview-obsolete-face)
12694 (newsticker-treeview-selection-face):
12695 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12696 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12697 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12698 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12699 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12700 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12701 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12702 (mpuz-text):
12703 * progmodes/vera-mode.el (vera-font-lock-number)
12704 (vera-font-lock-function, vera-font-lock-interface):
12705 * textmodes/table.el (table-cell): Use new-style face specs, and
12706 don't use the old :bold and :italic attributes.
12707
12708 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12709 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12710 (ebrowse-member-class, ebrowse-progress): Likewise.
12711 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12712 (ebrowse-file-name-face, ebrowse-default-face)
12713 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12714 (ebrowse-progress-face): Remove obsolete faces.
12715
12716 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12717 Inherit from error and warning faces respectively.
12718
12719 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12720 Likewise.
12721 (flyspell-incorrect-face, flyspell-duplicate-face):
12722 Remove obsolete aliases.
12723
12724 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12725
12726 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12727 Avoid infloop.
12728
12729 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * startup.el (argv, argi): Make lexically scoped.
12732 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12733 * emacs-lisp/cl-macs.el: Use lexical-binding.
12734 Rename cl-bind-* to cl--bind-*.
12735 * files.el: Don't require `cl' since it doesn't use it.
12736 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12737
12738 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12739
12740 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12741 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12742 instead of calling external sort utility.
12743 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12744
12745 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12746
12747 * descr-text.el (describe-char): Mention how to insert the
12748 character, if the current input method doesn't support it.
12749 See the discussion in this thread for the details:
12750 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12751
12752 2012-06-08 Sam Steingold <sds@gnu.org>
12753
12754 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12755 XF86Back to previous-buffer.
12756 (minibuffer-local-map): Bind them to next-history-element and
12757 previous-history-element respectively.
12758 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12759 help-go-back respectively.
12760 * info.el (Info-mode-map): Bind them to Info-history-forward and
12761 Info-history-back respectively.
12762 These are the keys next to Up on the ThinkPad keyboard.
12763
12764 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12765
12766 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12767 * emacs-lisp/cl-macs.el: Provide itself.
12768 (cl--labels-convert-cache): New var.
12769 (cl--labels-convert): New function.
12770 (cl-flet, cl-labels): New implementation with new semantics, relying on
12771 lexical-binding.
12772 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12773 (cl-closure-vars, cl--function-convert-cache)
12774 (cl--function-convert): Move from cl-macs.el.
12775 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12776 rename by removing the "cl-" prefix.
12777 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12778
12779 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12780
12781 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12782 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12783 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12784 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12785 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12786 (cl-hash-table-count): Add old compatibility aliases.
12787
12788 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12789 Use macroexpand-all-environment instead.
12790 (cl--old-macroexpand): New var.
12791 (cl--sm-macroexpand): New function.
12792 (cl-symbol-macrolet): Use it during macro expansion.
12793 (cl--function-convert-cache): New var.
12794 (cl--function-convert): New function, extracted from
12795 cl-macroexpand-all.
12796 (cl-lexical-let): Use it.
12797
12798 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12799 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12800 (cl-member): Remove old alias.
12801
12802 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12803 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12804 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12805 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12806 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12807 (cl-macroexpand-cmacs): Remove var.
12808 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12809 Use macroexpand-all instead.
12810
12811 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12812
12813 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12814 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12815 (macroexp-copyable-p): New functions and macros.
12816 * emacs-lisp/edebug.el (edebug-unwrap):
12817 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12818 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12819 (pcase--let*): Remove.
12820 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12821 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12822 macroexp-const-p instead.
12823 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12824
12825 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12826 instead of "cl-" for internal definitions. Use macroexp-const-p.
12827 (cl-old-bc-file-form): Remove var.
12828 (cl-const-exprs-p): Remove fun.
12829 (cl-labels, cl-macrolet): Use backquote.
12830 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12831 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12832 (cl-define-setf-expander): Rename from cl-define-setf-method.
12833 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12834
12835 * international/mule-cmds.el: Don't require CL.
12836 (view-hello-file): Don't use `letf'.
12837
12838 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12839
12840 * tmm.el (tmm-prompt): Use string-prefix-p.
12841 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12842 (tmm-add-prompt): Use minibuffer-completion-help.
12843 (tmm-delete-map): Remove.
12844
12845 * subr.el (kbd): Make it its own function.
12846
12847 2012-06-07 Stefan Merten <smerten@oekonux.de>
12848
12849 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12850 Silence compiler warnings. Fix versions.
12851 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12852 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12853 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12854 (rst-package-emacs-version-alist): Correct Emacs version to
12855 represent major merge with upstream.
12856 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12857
12858 2012-06-06 Glenn Morris <rgm@gnu.org>
12859
12860 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12861 Only print environment variables if set.
12862
12863 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12864
12865 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12866 (macroexp--cons): Rename from maybe-cons.
12867 (macroexp--accumulate): Rename from macroexp-accumulate.
12868 (macroexp--all-forms): Rename from macroexpand-all-forms.
12869 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12870 (macroexp--expand-all): Rename from macroexpand-all-1.
12871
12872 2012-06-06 Sam Steingold <sds@gnu.org>
12873
12874 * calendar/calendar.el (calendar-in-read-only-buffer):
12875 Call `special-mode' to enable the standard read-only keybindings.
12876
12877 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12880 with "loading" messages (bug#11635).
12881
12882 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12883
12884 * files.el (enable-remote-dir-locals): New option.
12885 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12886
12887 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12888 Ensure, that the temp directory is local.
12889
12890 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12891 `temporary-file-directory'.
12892
12893 * progmodes/python.el (python-send-region): Ensure, that the
12894 temporary file is created also in the remote case.
12895
12896 2012-06-06 Glenn Morris <rgm@gnu.org>
12897
12898 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12899 (vc-rcs-update-changelog): Use it.
12900
12901 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12902
12903 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12904 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12905 (vc-sccs-diff): Replace use of the external vcdiff script.
12906
12907 2012-06-05 Glenn Morris <rgm@gnu.org>
12908
12909 * ledit.el: Move to obsolete/.
12910
12911 2012-06-05 Sam Steingold <sds@gnu.org>
12912
12913 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12914 patch (Bug#11140).
12915
12916 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * emacs-lisp/cust-print.el: Move to obsolete.
12919
12920 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12921 compiler-macro expansion.
12922
12923 Add native compiler-macro support.
12924 * emacs-lisp/macroexp.el (macroexpand-all-1):
12925 Support compiler-macros directly. Properly follow aliases and apply
12926 the compiler macros more thoroughly.
12927 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12928 macroexpand now properly follows aliases.
12929 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12930 (cl-compiler-macroexpand): Use new prop.
12931 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12932
12933 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12934
12935 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12936
12937 * window.el (get-lru-window, get-mru-window, get-largest-window):
12938 New argument NOT-SELECTED to avoid picking the selected window.
12939 (window--display-buffer-1, window--display-buffer-2): Replace by
12940 new function window--display-buffer
12941 (display-buffer-same-window, display-buffer-reuse-window)
12942 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12943 Use window--display-buffer.
12944 (display-buffer-use-some-window): Remove temporary dedication
12945 hack by calling get-lru-window and get-largest-window with
12946 NOT-SELECTED argument non-nil. Call window--display-buffer.
12947
12948 2012-06-05 Glenn Morris <rgm@gnu.org>
12949
12950 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12951 Replace external vcdiff script.
12952
12953 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12954
12955 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12956
12957 2012-06-04 Chong Yidong <cyd@gnu.org>
12958
12959 * image.el (imagemagick-types-inhibit): Revert last change.
12960 Add INFO and M.
12961 (imagemagick-enabled-types): Remove CIN and EPS*.
12962
12963 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12964
12965 * emacs-lisp/cl-lib.el: Rename from cl.el.
12966 * emacs-lisp/cl.el: New compatibility file.
12967 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12968 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12969 to obey the "cl-" prefix.
12970 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12971
12972 2012-06-03 Glenn Morris <rgm@gnu.org>
12973
12974 * emacs-lisp/authors.el (authors-aliases): Addition.
12975
12976 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12977 Fix :version.
12978
12979 2012-06-03 Stefan Merten <smerten@oekonux.de>
12980
12981 * textmodes/rst.el: Add comments.
12982 (rst-transition, rst-adornment): New faces.
12983 (rst-adornment-faces-alist): Make default safe to reevaluate.
12984 Fixes
12985 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12986 Improve customization tags.
12987 (rst-define-level-faces): Clarify meaning.
12988
12989 2012-06-03 Chong Yidong <cyd@gnu.org>
12990
12991 * progmodes/compile.el (compilation-mode-line-fail)
12992 (compilation-mode-line-run, compilation-mode-line-exit):
12993 New faces.
12994 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12995
12996 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12997
12998 * progmodes/which-func.el (which-func-update-ediff-windows):
12999 New function. Use it in ediff-select-hook (Bug#11478).
13000
13001 2012-06-03 Chong Yidong <cyd@gnu.org>
13002
13003 * bindings.el: Remove explicit help text from format-mode-line.
13004 It is now supplied by mode-line-default-help-echo.
13005 (mode-line-front-space, mode-line-end-spaces)
13006 (mode-line-misc-info): New variables.
13007 (mode-line-modes, mode-line-position): Move the default value to
13008 the variable definition.
13009 (mode-line-default-help-echo): New defcustom.
13010 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
13011 (mode-line-modified-help-echo): New functions.
13012 (mode-line-mule-info, mode-line-modified): Use them.
13013 (mode-line-eol-desc, propertized-buffer-identification):
13014 Consistency fixes for help text.
13015 (mode-line-coding-system-map): Allow using mouse-3 to invoke
13016 set-buffer-file-coding-system (Bug#289).
13017 (mode-line-mule-info-help-echo): Update help text.
13018
13019 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * simple.el (execute-extended-command): Set real-this-command
13022 (bug#11506).
13023
13024 2012-06-02 Chong Yidong <cyd@gnu.org>
13025
13026 Remove incorrect uses of "modeline" in comments, docstrings, and
13027 function/variable names (Bug#10329).
13028
13029 * cus-edit.el (mode-line):
13030 * dframe.el (dframe-mouse-hscroll):
13031 * emacs-lisp/re-builder.el:
13032 * emacs-lisp/easy-mmode.el (define-minor-mode):
13033 * frame.el (set-frame-name):
13034 * help.el (lookup-minor-mode-from-indicator):
13035 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
13036 * progmodes/cc-cmds.el (c-toggle-auto-newline)
13037 (c-toggle-hungry-state):
13038 * progmodes/antlr-mode.el (antlr-language-alist):
13039 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
13040 * progmodes/vhdl-mode.el (vhdl-mode):
13041 * progmodes/which-func.el (which-func, which-func-cleanup-function):
13042 * term/ns-win.el (ns-face-at-pos):
13043 * term/sup-mouse.el (sup-mouse-report):
13044 * textmodes/flyspell.el (flyspell-mode-line-string):
13045 * textmodes/ispell.el (ispell-highlight-face):
13046 * textmodes/reftex-global.el:
13047 * vc/vc-arch.el (vc-arch-mode-line-string):
13048 * vc/vc-cvs.el (vc-cvs-mode-line-string):
13049 * vc/vc-git.el (vc-git-mode-line-string):
13050 * vc/vc-hooks.el (vc-display-status)
13051 (vc-default-mode-line-string):
13052 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
13053
13054 * ansi-color.el (ansi-color-faces-vector): Change default faces.
13055
13056 * dired.el (dired-sort-set-mode-line): Rename from
13057 dired-sort-set-modeline. All callers changed.
13058
13059 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
13060 eshell-status-in-modeline.
13061
13062 * foldout.el (foldout-mode-line-string): Rename from
13063 foldout-modeline-string. All callers changed.
13064 (foldout-update-mode-line): Rename from foldout-update-modeline.
13065
13066 * subr.el (redraw-modeline): Make into obsolete alias.
13067
13068 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13069 timeclock-modeline-display. Make old name an alias.
13070 (timeclock-update-mode-line): Likewise. All callers changed.
13071 (timeclock-mode-line-display): No need to check before using
13072 add-hook.
13073 (timeclock-relative, timeclock-day-over-hook)
13074 (timeclock-use-elapsed, timeclock-mode-string)
13075 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13076
13077 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13078 crisp-mode-modeline-string.
13079
13080 * play/solitaire.el (solitaire-build-mode-line): Rename from
13081 solitaire-build-modeline. All callers changed.
13082
13083 * play/zone.el (zone-hiding-mode-line): Rename from
13084 zone-hiding-modeline. All callers changed.
13085 (zone): Remove unusued `modeline-hidden-level' property.
13086
13087 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13088 xscheme-modeline-initialize. All callers changed.
13089
13090 * strokes.el (strokes-lighter): Rename from
13091 strokes-modeline-string.
13092
13093 * textmodes/sgml-mode.el (html-face-tag-alist)
13094 (html-tag-face-alist): Use mode-line face instead of obsolete
13095 alias modeline.
13096
13097 2012-06-02 Stefan Merten <smerten@oekonux.de>
13098
13099 * textmodes/rst.el: Always require `cl'.
13100 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13101
13102 2012-06-02 Chong Yidong <cyd@gnu.org>
13103
13104 * image.el (imagemagick-enabled-types): Rename from
13105 imagemagick-types-enable. Add many more types.
13106 (imagemagick-types-inhibit): Change default to nil.
13107 (imagemagick-filter-types): Caller changed.
13108
13109 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13110
13111 * emacs-lisp/cl-macs.el: Use backquotes.
13112 (cl-transform-function-property): Use eval-and-compile rather than
13113 abusing `require'.
13114 (defstruct): Use declare-function instead of with-no-warnings.
13115
13116 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13117 (byte-compile-output-docform): Re-add the print-circle bindings.
13118 (byte-compile-fix-header): Use #$ just because it's shorter.
13119 (byte-compile-output-file-form): Remove defun/defmacro.
13120
13121 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13122
13123 * simple.el (choose-completion): Remove now obsolete binding for
13124 owindow.
13125
13126 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13127
13128 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13129 in order to avoid "Stack overflow in regexp matcher".
13130
13131 2012-05-31 Glenn Morris <rgm@gnu.org>
13132
13133 * image.el: For clarity, call imagemagick-register-types at
13134 top-level, rather than relying on a custom :initialize.
13135 (imagemagick-types-enable): New option. (Bug#11557)
13136 (imagemagick-filter-types): New function. (Bug#7406)
13137 (imagemagick-register-types): Use imagemagick-filter-types.
13138 If disabling support, remove elements altogether rather
13139 than using an impossible regexp.
13140 (imagemagick-types-inhibit): Give it the default init function.
13141
13142 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13143
13144 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13145 Handle arbitrary file name lengths (Bug#11585).
13146
13147 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13148
13149 * desktop.el (desktop-read): Clear previous and next buffers for
13150 all windows and bury *Messages* buffer (bug#11556).
13151
13152 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13153
13154 Add `declare' for `defun'. Align `defmacro's with it.
13155 * emacs-lisp/easy-mmode.el (define-minor-mode)
13156 (define-globalized-minor-mode): Don't autoload the var definitions.
13157 * emacs-lisp/byte-run.el: Use lexical-binding.
13158 (defun-declarations-alist, macro-declarations-alist): New vars.
13159 (defmacro, defun): Use them.
13160 (make-obsolete, define-obsolete-function-alias)
13161 (make-obsolete-variable, define-obsolete-variable-alias):
13162 Use `declare'.
13163 (macro-declaration-function): Mark obsolete.
13164 * emacs-lisp/autoload.el: Use lexical-binding.
13165 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13166
13167 2012-05-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13168
13169 * textmodes/ispell.el (ispell-with-no-warnings):
13170 Define as a macro.
13171 (ispell-kill-ispell, ispell-change-dictionary):
13172 Use `called-interactively-p' for Emacs instead of obsolete
13173 `interactive-p'.
13174
13175 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13176
13177 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13178 (macro-declaration-function): Move var from C code.
13179 (macro-declaration-function): Define function with defalias.
13180 * emacs-lisp/macroexp.el (macroexpand-all-1):
13181 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13182 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13183 defun/defmacro any more.
13184 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13185 Provide fallback for unknown arglist.
13186 (byte-compile-arglist-warn): Change calling convention.
13187 (byte-compile-output-file-form): Move print-vars binding.
13188 (byte-compile-output-docform): Simplify accordingly.
13189 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13190 (byte-compile-defmacro-declaration): Remove.
13191 (byte-compile-file-form-defmumble): Generalize to defalias.
13192 (byte-compile-output-as-comment): Return byte-positions.
13193 Simplify callers accordingly.
13194 (byte-compile-lambda): Use `assert'.
13195 (byte-compile-defun, byte-compile-defmacro): Remove.
13196 (byte-compile-file-form-defalias):
13197 Use byte-compile-file-form-defmumble.
13198 (byte-compile-defalias-warn): Remove.
13199
13200 2012-05-29 Stefan Merten <smerten@oekonux.de>
13201
13202 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13203 possible. Fix authors. Improve comments. Improve loading of `cl'.
13204
13205 (rst-mode-abbrev-table): Merge definition.
13206 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13207 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13208
13209 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13210
13211 * calendar/icalendar.el
13212 (icalendar-export-region): Export UID properly.
13213
13214 2012-05-29 Leo Liu <sdl.web@gmail.com>
13215 * calendar/icalendar.el (icalendar-import-format):
13216 Add `icalendar-import-format-uid' (Bug#11525).
13217 (icalendar-import-format-uid): New.
13218 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13219 Export UID.
13220
13221 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13222
13223 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13224 different alternative patterns.
13225 (pcase-codegen): Be more careful to preserve identity.
13226 (pcase--u1): Don't forget to mark vars as used.
13227
13228 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13229 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13230 (byte-compile-from-buffer): ...rather than here.
13231
13232 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13233 functions from byte-compile-function-environment.
13234
13235 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13236
13237 * window.el (window-deletable-p): Avoid deleting the root window
13238 of a frame with an active minibuffer.
13239
13240 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13241
13242 * simple.el (choose-completion): Use quit-window (Bug#11567).
13243
13244 2012-05-29 Chong Yidong <cyd@gnu.org>
13245
13246 * whitespace.el (whitespace-cleanup): Fix usage of
13247 whitespace-empty-at-bob-regexp (Bug#11492).
13248
13249 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13250
13251 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13252 revert (Bug#11488).
13253
13254 2012-05-29 Juri Linkov <juri@jurta.org>
13255
13256 * isearch.el (isearch-mode-map): Bind `M-s _' to
13257 `isearch-toggle-symbol'. Bind `M-s c' to
13258 `isearch-toggle-case-fold'.
13259 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13260 (isearch-forward): Add `M-s _' to the docstring.
13261 (isearch-forward-symbol, isearch-toggle-case-fold)
13262 (isearch-symbol-regexp): New functions. (Bug#11381)
13263
13264 2012-05-29 Juri Linkov <juri@jurta.org>
13265
13266 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13267 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13268 a function, call it to get the regexp.
13269 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13270 property `isearch-message-prefix' instead of the string "word ".
13271 (isearch-search-fun-default): For the case of `isearch-word',
13272 return a lambda that calls re-search-forward/re-search-backward
13273 with a regexp returned by `word-search-regexp' or by the function
13274 in `isearch-word'.
13275
13276 2012-05-29 Juri Linkov <juri@jurta.org>
13277
13278 * isearch.el (isearch-search-fun-default): New function.
13279 (isearch-search-fun): Move default part to the new function
13280 `isearch-search-fun-default'.
13281 (isearch-search-fun-function): Set the default value to
13282 `isearch-search-fun-default'. (Bug#11381)
13283
13284 * comint.el (comint-history-isearch-end):
13285 Use `isearch-search-fun-default'.
13286 (comint-history-isearch-search): Use `isearch-search-fun-default'
13287 and remove spacial case for `isearch-word'.
13288 (comint-history-isearch-wrap): Remove spacial case for
13289 `isearch-word'.
13290
13291 * hexl.el (hexl-isearch-search-function):
13292 Use `isearch-search-fun-default'.
13293
13294 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13295 Use `word-search-regexp' for `isearch-word'.
13296
13297 * misearch.el (multi-isearch-search-fun):
13298 Use `isearch-search-fun-default'.
13299
13300 * simple.el (minibuffer-history-isearch-search):
13301 Use `isearch-search-fun-default' and remove spacial case for
13302 `isearch-word'.
13303 (minibuffer-history-isearch-wrap): Remove spacial case for
13304 `isearch-word'.
13305
13306 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13307 Remove spacial case for `isearch-word'.
13308 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13309
13310 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13311
13312 Decrease XEmacs incompatibilities.
13313 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13314 Use `string-match'.
13315 (flyspell-delete-region-overlays): Use alternative definition for
13316 XEmacs.
13317 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13318 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13319 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13320 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13321 `define-obsolete-face-alias' under XEmacs, but old method.
13322
13323 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13324 `with-no-warnings' definition or Emacs alias.
13325 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13326 (ispell-word): Do not use `region-p' if XEmacs.
13327
13328 2012-05-28 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13329
13330 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13331 Check for `ispell-dictionary-base-alist' instead of full
13332 `ispell-dictionary-alist'.
13333 (ispell-init-process): Show spellchecker when starting new Ispell
13334 process.
13335
13336 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13337
13338 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13339 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13340
13341 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13342
13343 * version.el (motif-version-string, gtk-version-string)
13344 (ns-version-string): Declare.
13345
13346 2012-05-27 Juri Linkov <juri@jurta.org>
13347
13348 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13349 after the `eval-defun-1' specialcaseing
13350 like in `edebug-eval-defun' (bug#10181).
13351
13352 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13353 like in `eval-defun-1'.
13354
13355 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13356
13357 * mail/sendmail.el (mail-yank-region):
13358 Recognize rmail-yank-current-message in addition to insert-buffer.
13359 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13360 a *mail* buffer created through rmail-start-mail with sendmail as
13361 mail-user-agent.
13362
13363 2012-05-27 Chong Yidong <cyd@gnu.org>
13364
13365 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13366 Default to 256 (Bug#11267).
13367
13368 * help.el (describe-mode): Doc fix.
13369
13370 2012-05-26 Glenn Morris <rgm@gnu.org>
13371
13372 * w32-fns.el (w32-init-info): Remove.
13373 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13374
13375 * info.el (info-initialize): For self-contained NS builds, put the
13376 included info/ directory at the front. (Bug#2791)
13377
13378 * paths.el (Info-default-directory-list): Make it a defcustom,
13379 mainly so that we can use custom-initialize-delay.
13380
13381 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * subr.el (buffer-has-markers-at): Mark obsolete.
13384
13385 * subr.el (lambda): Use declare.
13386
13387 * emacs-lisp/lisp-mode.el (lambda):
13388 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13389
13390 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13391
13392 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13393
13394 2012-05-26 Glenn Morris <rgm@gnu.org>
13395
13396 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13397
13398 2012-05-25 Glenn Morris <rgm@gnu.org>
13399
13400 * paths.el: Remove no-byte-compile.
13401 * loadup.el: No need to load paths.el uncompiled.
13402
13403 * image.el (imagemagick-types-inhibit): Doc fix.
13404
13405 * version.el: Remove no-byte-compile and associated formatting.
13406 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13407 is ancient code from when there was an "inc-vers.el".
13408
13409 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13410
13411 * progmodes/gdb-mi.el: Minor style changes.
13412 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13413 Turn into minor modes.
13414 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13415 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13416 (gdb-shell): Remove unneeded let-binding.
13417 (gdb-get-many-fields): Eliminate O(n²) behavior.
13418
13419 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13420
13421 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13422 platforms that don't link in fontset.c.
13423
13424 2012-05-25 Juri Linkov <juri@jurta.org>
13425
13426 Use the same diff color scheme as in modern VCSes (bug#10181).
13427
13428 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13429 to avoid confusion with `diff-added' that now uses green colors.
13430 (diff-removed): Use shades of red.
13431 (diff-added): Use shades of green.
13432 (diff-changed): Leave just the yellow color.
13433 (diff-use-changed-face): New variable.
13434 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13435 how to highlight context diff changes.
13436 (diff-refine-change): Use shades of yellow.
13437 (diff-refine-removed): New face that uses shades of red.
13438 (diff-refine-added): New face that uses shades of green.
13439 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13440 `diff-refine-removed' in the call to `smerge-refine-subst'
13441 depending on the value of `diff-use-changed-face'.
13442
13443 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13444 (smerge-other): Use shades of green.
13445 (smerge-base): Use shades of yellow.
13446 (smerge-refined-change): Empty face.
13447 (smerge-refined-removed): New face that uses shades of red.
13448 (smerge-refined-added): New face that uses shades of green.
13449 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13450 args `props-r' and `props-a', and use them. Doc fix.
13451 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13452 on its value use different faces `smerge-refined-change',
13453 `smerge-refined-removed', `smerge-refined-added' in the call to
13454 `smerge-refine-subst'.
13455
13456 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13457 Add face condition `min-colors 88' with shades of red.
13458 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13459 `min-colors 88' with shades of green.
13460 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13461 `min-colors 88' with shades of yellow.
13462
13463 2012-05-24 Glenn Morris <rgm@gnu.org>
13464
13465 * paths.el (prune-directory-list, remote-shell-program): Move to...
13466 * files.el (prune-directory-list, remote-shell-program): ...here.
13467 For the latter, delay initialization, prefer ssh, just search PATH.
13468
13469 * paths.el (term-file-prefix): Move to faces.el (the only user).
13470 * faces.el (term-file-prefix): Move here, make it a defcustom.
13471
13472 * paths.el (news-directory, news-path, news-inews-program):
13473 Move to gnus/nnspool.el.
13474
13475 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13476
13477 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13478 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13479 Make the latter a defcustom, with a delayed initialization.
13480
13481 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13482 These were deleted from Gnus itself late 2010.
13483
13484 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13485
13486 * progmodes/which-func.el (which-func-ff-hook):
13487 Check against user-error, not error.
13488
13489 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13490 cl-specs.el, which no longer exists.
13491
13492 2012-05-22 Glenn Morris <rgm@gnu.org>
13493
13494 * info.el (info-emacs-bug): New command.
13495 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13496 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13497
13498 2012-05-21 Glenn Morris <rgm@gnu.org>
13499
13500 * makefile.w32-in (update-subdirs-SH):
13501 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13502
13503 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13504
13505 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13506
13507 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13508 Simplify Maven regexp, and make sure the file can't start with a space
13509 (bug#11517).
13510
13511 2012-05-21 Glenn Morris <rgm@gnu.org>
13512
13513 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13514 Scrap superfluous subshells.
13515
13516 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13517
13518 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13519 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13520
13521 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13522
13523 * calc/calc.el (calc-ensure-consistent-units): New variable.
13524
13525 * calc/calc-units.el (math-consistent-units-p)
13526 (math-check-unit-consistency): New functions.
13527 (calc-quick-units, calc-convert-units):
13528 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13529 is non-nil.
13530 (calc-extract-units): Fix typo.
13531
13532 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13533
13534 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13535
13536 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13537 (flyspell-default-deplacement-commands): Don't spell check after
13538 repeated window/frame switches (e.g. triggered by mouse-movement).
13539 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13540 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13541 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13542 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13543 Remove unused vars.
13544 (flyspell-get-casechars, flyspell-get-not-casechars):
13545 Simplify; Don't bother removing a ] just to add it back.
13546 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13547
13548 2012-05-18 RĂ¼diger Sonderfeld <ruediger@c-plusplus.de>
13549
13550 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13551 New functions.
13552 (math-function-table): Add support for more C functions.
13553
13554 2012-05-18 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13555
13556 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13557 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13558 Protect delay handling for otherchars against empty otherchars.
13559
13560 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13563 their respective macro declarations.
13564 * skeleton.el (define-skeleton):
13565 * progmodes/compile.el (define-compilation-mode):
13566 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13567 (define-ibuffer-filter):
13568 * emacs-lisp/generic.el (define-generic-mode):
13569 * emacs-lisp/easy-mmode.el (define-minor-mode)
13570 (define-globalized-minor-mode):
13571 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13572 * emacs-lisp/byte-run.el (defsubst):
13573 * custom.el (deftheme): Add doc-string metadata.
13574
13575 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13576
13577 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13578
13579 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13580
13581 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13582
13583 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13584 * emacs-lisp/cl-macs.el: Idem.
13585 * emacs-lisp/cl-specs.el: Remove.
13586
13587 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13588
13589 Minor renaming of internal CL functions and variables.
13590 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13591 (cl--position): Rename from cl-position.
13592 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13593 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13594 (cl--random-state): Rename from *random-state*.
13595
13596 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13597
13598 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13599 parens around the arg list (bug#11499).
13600
13601 2012-05-17 Juri Linkov <juri@jurta.org>
13602
13603 * isearch.el (word-search-regexp, word-search-backward)
13604 (word-search-forward, word-search-backward-lax)
13605 (word-search-forward-lax): Move functions from search.c
13606 (bug#10145, bug#11381).
13607
13608 2012-05-16 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
13609
13610 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13611 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13612 Delay for otherchars as for normal word components.
13613
13614 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13615
13616 * minibuffer.el (completion--sifn-requote): Fix last change.
13617 (minibuffer-local-must-match-filename-map):
13618 Move define-obsolete-variable-alias before its var.
13619
13620 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13621
13622 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13623
13624 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13625 behavior.
13626 (completion--string-equal-p): New function.
13627 (completion--twq-all): Use it to get better assertion failure data.
13628
13629 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13630 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13631 (shell--requote-argument): New functions.
13632 (shell-completion-vars): Use them.
13633 (shell--parse-pcomplete-arguments): Rename from
13634 shell-parse-pcomplete-arguments.
13635 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13636 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13637 Obey comint-file-name-quote-list.
13638
13639 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13640 (smie-indent-keyword): Use it.
13641
13642 2012-05-14 Stefan Merten <smerten@oekonux.de>
13643
13644 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13645
13646 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13647
13648 * net/rlogin.el (rlogin-mode-map): Fix last change.
13649
13650 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13651
13652 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13653 the following \r\n using a single `process-send-string', since the
13654 Lotus SMTP server refuses to accept any commands if they are sent
13655 with two `process-send-string's (Bug#11444).
13656
13657 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13658
13659 * shell.el (shell-parse-pcomplete-arguments):
13660 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13661
13662 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13663
13664 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13665 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13666 (image-transform-width, image-transform-fit-width): New functions.
13667 (image-transform-properties): Use them.
13668 (image-transform-check-size): New function.
13669 (image-toggle-display-image): Use it (for testing).
13670 (image-transform-set-rotation): Reduce angle mod 360.
13671 Delete obsolete comment.
13672
13673 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13674
13675 * image-mode.el: Fix scaling (bug#11399).
13676 (image-transform-resize): Doc fix.
13677 (image-transform-properties): Default scale is 1 and height should
13678 be an integer.
13679
13680 2012-05-13 Johan BockgĂ¥rd <bojohan@gnu.org>
13681
13682 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13683 than hard-coding `car', to fix misbehavior when moving forward.
13684
13685 2012-05-13 Chong Yidong <cyd@gnu.org>
13686
13687 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13688 (tabulated-list-entries, tabulated-list-padding)
13689 (tabulated-list-sort-key): Make permanent-local.
13690
13691 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13692 (electric-buffer-list): Put electric buffer menu
13693 command descriptions in this docstring, instead of the docstring
13694 of electric-buffer-menu-mode. Code cleanups.
13695 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13696 Electric-buffer-menu-mode.
13697 (electric-buffer-update-highlight): Minor code cleanup.
13698
13699 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13700
13701 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13702 (Bug#11447)
13703
13704 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 Move define-obsolete-variable-alias before the var's definition.
13707 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13708 * tooltip.el (tooltip-hook):
13709 * textmodes/reftex-toc.el (reftex-toc-map):
13710 * textmodes/reftex-sel.el (reftex-select-label-map)
13711 (reftex-select-bib-map):
13712 * textmodes/reftex-index.el (reftex-index-map)
13713 (reftex-index-phrases-map):
13714 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13715 * progmodes/meta-mode.el (meta-mode-map):
13716 * novice.el (disabled-command-hook):
13717 * loadhist.el (unload-hook-features-list):
13718 * frame.el (blink-cursor):
13719 * files.el (find-file-not-found-hooks, write-file-hooks)
13720 (write-contents-hooks):
13721 * emulation/tpu-edt.el (GOLD-map):
13722 * emacs-lock.el (emacs-lock-from-exiting):
13723 * emacs-lisp/generic.el (generic-font-lock-defaults):
13724 * emacs-lisp/chart.el (chart-map):
13725 * dos-fns.el (register-name-alist):
13726 * dired-x.el (dired-omit-files-p):
13727 * desktop.el (desktop-enable):
13728 * cus-edit.el (custom-mode-hook):
13729 * buff-menu.el (buffer-menu-mode-hook):
13730 * bookmark.el (bookmark-read-annotation-text-func)
13731 (bookmark-exit-hooks):
13732 * allout.el (allout-mode-deactivate-hook)
13733 (allout-exposure-change-hook, allout-structure-added-hook)
13734 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13735 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13736 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13737 comes before the corresponding variable's definition.
13738
13739 2012-05-12 Chong Yidong <cyd@gnu.org>
13740
13741 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13742 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13743 (Buffer-menu-mode-map): Bind it.
13744 (Buffer-menu--pretty-name): Add a mouse-face property.
13745
13746 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13747
13748 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13749 (prolog-upper-case-string, prolog-lower-case-string)
13750 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13751 (prolog-use-smie, prolog-smie-grammar): New vars.
13752 (prolog-smie-forward-token, prolog-smie-backward-token)
13753 (prolog-smie-rules): New funs.
13754 (prolog-comment-indent): Remove.
13755 (prolog-mode-variables): Use default comment indentation instead.
13756 Setup SMIE.
13757 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13758 (prolog-mode): Don't call them any more.
13759 (prolog-electric-colon, prolog-electric-dash)
13760 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13761
13762 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13763
13764 * minibuffer.el (completion--twq-all): Again, allow case differences.
13765
13766 * term.el: Move keymap initialization code to be more idiomatic.
13767 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13768 (term-terminal-menu): Move initialization into declaration.
13769 (term-escape-char): Let the user set it in her .emacs.
13770
13771 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13772 Provide SMIE-based indentation (not enabled by default yet).
13773 (sh-mode-map): Don't bind electric keys.
13774 Use electric-pair-mode instead of skeleton-pair.
13775 (sh-assignment-regexp): Fit within 80 columns.
13776 (sh-indent-supported): Specify actual shell name instead of boolean.
13777 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13778 (sh-maybe-here-document): Use it. Make obsolete.
13779 (sh-electric-here-document-mode) New minor mode.
13780 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13781 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13782 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13783 (sh-smie-rc-grammar, sh-use-smie): New vars.
13784 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13785 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13786 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13787 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13788 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13789 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13790 (sh-set-shell): Use smie-setup if requested.
13791
13792 * term.el (term-set-escape-char): Properly set term-escape-char.
13793 See http://stackoverflow.com/questions/10524656.
13794
13795 2012-05-10 Chong Yidong <cyd@gnu.org>
13796
13797 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13798 Use url-generic-parse-url, and handle host names and Windows
13799 filenames properly.
13800 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13801 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13802 URL schemes to work on.
13803 (ffap--toggle-read-only): New function.
13804 (ffap-read-only, ffap-read-only-other-window)
13805 (ffap-read-only-other-frame): Use it.
13806 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13807 necessary for ffap-url-unwrap-remote.
13808
13809 2012-05-10 Dave Abrahams <dave@boostpro.com>
13810
13811 * cus-start.el (create-lockfiles): Add it.
13812
13813 2012-05-09 Chong Yidong <cyd@gnu.org>
13814
13815 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13816 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13817
13818 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13819
13820 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13821
13822 2012-05-09 Chong Yidong <cyd@gnu.org>
13823
13824 * ansi-color.el (ansi-color-process-output): Check for validity of
13825 comint-last-output-start before using it. This avoids a bad
13826 interaction with gdb-mi's input/output buffer.
13827
13828 2012-05-09 Glenn Morris <rgm@gnu.org>
13829
13830 * files.el (dir-locals-read-from-file):
13831 Mention dir-locals in any error message.
13832
13833 2012-05-09 Chong Yidong <cyd@gnu.org>
13834
13835 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13836 package (Bug#11410).
13837
13838 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13839 variables into description.
13840
13841 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13842
13843 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13844 shell-delimiter-argument-list (bug#11348).
13845 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13846
13847 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13848
13849 * textmodes/rst.el: Silence byte-compiler warnings.
13850 (rst-re-alist, rst-reset-section-caches): Move around.
13851 (rst-re): Use `characterp', not `char-valid-p'.
13852 (font-lock-beg, font-lock-end): Declare.
13853
13854 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13855 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13856
13857 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13858
13859 2012-05-08 Glenn Morris <rgm@gnu.org>
13860
13861 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13862
13863 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13864
13865 * vc/log-edit.el: Add GNU coding standards highlighting.
13866 (log-edit-font-lock-gnu-style)
13867 (log-edit-font-lock-gnu-keywords): New vars.
13868 (log-edit-font-lock-keywords): New fun.
13869 (log-edit-mode): Don't fold case in font-lock.
13870 (log-edit-font-lock-keywords): Do not assume case-folding.
13871
13872 * imenu.el: Misc cleanup. Make docstrings out of comments.
13873 Use lexical-binding.
13874 (imenu--index-alist, imenu--last-menubar-index-alist)
13875 (imenu-menubar-modified-tick): Use defvar-local.
13876 (imenu--split-menu): Remove unused var.
13877 (imenu--cleanup-seen): Declare as global.
13878 (imenu--cleanup): Use dolist.
13879
13880 * subr.el (defvar-local): Add debug spec and doc-string position.
13881
13882 2012-05-08 Glenn Morris <rgm@gnu.org>
13883
13884 * language/burmese.el, language/cham.el, language/czech.el:
13885 * language/english.el, language/georgian.el, language/greek.el:
13886 * language/japanese.el, language/khmer.el, language/korean.el:
13887 * language/lao.el, language/misc-lang.el, language/romanian.el:
13888 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13889 * language/thai.el, language/utf-8-lang.el:
13890 Remove no-byte-compile setting.
13891
13892 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13893
13894 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13895
13896 * progmodes/make-mode.el (makefile-browse):
13897 Remove unnecessary interactive. (Bug#11324)
13898
13899 2012-05-07 Glenn Morris <rgm@gnu.org>
13900
13901 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13902
13903 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13904
13905 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13906
13907 * loadup.el: Preload newcomment.el.
13908 * newcomment.el: Move autoload-only code to toplevel.
13909
13910 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13911 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13912 Handle new :right-align column property.
13913 (tabulated-list-print-col): Idem, plus use `display' text-property to
13914 try and preserve alignment for variable pitch fonts.
13915
13916 2012-05-07 Chong Yidong <cyd@gnu.org>
13917
13918 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13919 (tabulated-list-use-header-line): New var.
13920 (tabulated-list-init-header): Use it.
13921 (tabulated-list-print-fake-header): New function.
13922 (tabulated-list-print): Use it.
13923 (tabulated-list-sort-button-map): Add non-header-line commands.
13924 (tabulated-list-init-header): Add column name property to basic
13925 labels as well.
13926 (tabulated-list-col-sort): Handle non-header-line button case.
13927 (tabulated-list--sort-by-column-name): Fix a corner case.
13928
13929 * buff-menu.el (list-buffers--refresh):
13930 Handle Buffer-menu-use-header-line.
13931
13932 2012-05-06 Chong Yidong <cyd@gnu.org>
13933
13934 * buff-menu.el: Convert to Tabulated List mode.
13935 (Buffer-menu-buffer+size-width): Make obsolete.
13936 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13937 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13938 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13939 documentation into docstring of buffer-menu.
13940 (Buffer-menu-toggle-files-only): Add an informative message.
13941 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13942 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13943 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13944 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13945 (Buffer-menu-execute, Buffer-menu-select)
13946 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13947 (Buffer-menu-bury): Use Tabulated List machinery.
13948 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13949 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13950 Delete.
13951 (list-buffers--refresh): New function.
13952 (list-buffers-noselect): Use it.
13953 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13954 (Buffer-menu--pretty-file-name): New helper functions.
13955
13956 * loadup.el: Preload tabulated-list.
13957
13958 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13959 tabulated-list-sort-column.
13960 (tabulated-list-init-header): Add the initial aligning space even
13961 if tabulated-list-padding is zero.
13962
13963 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13964
13965 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13966 whose cdr is not a cons cell correctly (bug#11038).
13967
13968 2012-05-06 Chong Yidong <cyd@gnu.org>
13969
13970 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13971 Accept additional plist in column descriptors.
13972 (tabulated-list-init-header): Obey it.
13973 (tabulated-list-get-entry): New function.
13974 (tabulated-list-put-tag): Use it. Use string-width instead of
13975 length.
13976 (tabulated-list--column-number): New function.
13977 (tabulated-list-print): Use it.
13978 (tabulated-list-print-col): New function.
13979 Set `tabulated-list-column-name' property on each column's text.
13980 (tabulated-list-print-entry): Use it.
13981 (tabulated-list-delete-entry, tabulated-list-set-col):
13982 New functions.
13983 (tabulated-list-sort-column): New command (Bug#11337).
13984
13985 * buff-menu.el (list-buffers): Move C-x C-b binding from
13986 buff-menu.el to bindings.el.
13987
13988 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13989 :advertised-binding feature.
13990
13991 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13992
13993 * progmodes/compile.el (compilation-internal-error-properties):
13994 Calculate start position correctly when end-col is set but
13995 end-line is not (Bug#11382).
13996
13997 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13998
13999 * man.el (Man-unindent): Use text-property-default-nonsticky to
14000 prevent untabify from inheriting face properties (Bug#11408).
14001
14002 2012-05-05 Stefan Merten <smerten@oekonux.de>
14003
14004 * textmodes/rst.el: Major merge with upstream development up to
14005 Docutils SVN r7399 / rst.el V1.2.1.
14006
14007 Clarify maintainership and authors.
14008
14009 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
14010 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
14011 (rst-official-version, rst-official-cvs-rev, rst-version)
14012 (rst-package-emacs-version-alist): New functions and variables
14013 for version information.
14014
14015 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
14016 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
14017 (rst-mode-syntax-table, rst-mode): New and corrected functions
14018 and variables representing reStructuredText features.
14019
14020 (rst-re): New function for reStructuredText regexes. Use in
14021 many places.
14022
14023 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
14024 (rst-mode-map): Rebind keys.
14025
14026 (rst-mode-lazy, rst-font-lock-keywords)
14027 (rst-font-lock-extend-region)
14028 (rst-font-lock-extend-region-internal)
14029 (rst-font-lock-extend-region-extend)
14030 (rst-font-lock-find-unindented-line-limit)
14031 (rst-font-lock-find-unindented-line-match)
14032 (rst-adornment-level, rst-font-lock-adornment-level)
14033 (rst-font-lock-adornment-match)
14034 (rst-font-lock-handle-adornment-pre-match-form)
14035 (rst-font-lock-handle-adornment-matcher): Major revision of
14036 font-locking. Integrate with other code. Use `jit-lock-mode'.
14037
14038 (rst-preferred-adornments, rst-adjust-hook)
14039 (rst-new-adornment-down, rst-preferred-bullets)
14040 (rst-preferred-bullets, rst-indent, rst-indent-width)
14041 (rst-indent-field, rst-indent-literal-normal)
14042 (rst-indent-literal-minimized, rst-indent-comment): Change,
14043 extend and improve customization.
14044
14045 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
14046 (rst-normalize-cursor-position, rst-get-decoration)
14047 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
14048 (rst-rstrip, rst-toc-insert-find-delete-contents)
14049 (rst-shift-fill-region, rst-compute-bullet-tabs)
14050 (rst-debug-print-tabs, rst-debug-mark-found)
14051 (rst-shift-region-guts, rst-shift-region-right)
14052 (rst-shift-region-left, rst-use-char-classes)
14053 (rst-font-lock-keywords-function)
14054 (rst-font-lock-indentation-point)
14055 (rst-font-lock-find-unindented-line-begin)
14056 (rst-font-lock-find-unindented-line-end)
14057 (rst-font-lock-find-unindented-line)
14058 (rst-font-lock-adornment-point, rst-font-lock-level)
14059 (rst-adornment-level-alist): Remove functions and variables.
14060
14061 (rst-compare-adornments, rst-get-adornment-match)
14062 (rst-suggest-new-adornment, rst-get-adornments-around)
14063 (rst-adornment-complete-p, rst-get-next-adornment)
14064 (rst-adjust-adornment, rst-display-adornments-hierarchy)
14065 (rst-straighten-adornments): Standardize function names to
14066 use "adornment" instead of "decoration". Correct callers.
14067 Similar standardizing in many places.
14068
14069 (rst-update-section, rst-adjust, rst-promote-region)
14070 (rst-enumerate-region, rst-bullet-list-region)
14071 (rst-repeat-last-character): Correct use of `interactive'.
14072
14073 (rst-classify-adornment, rst-find-all-adornments)
14074 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14075 (rst-find-leftmost-column, rst-repeat-last-character):
14076 Refactor functions.
14077
14078 (rst-find-title-line, rst-reset-section-caches)
14079 (rst-get-adornments-around, rst-adjust-adornment-work)
14080 (rst-arabic-to-roman, rst-roman-to-arabic)
14081 (rst-insert-list-pos, rst-insert-list-new-item)
14082 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14083 New functions.
14084
14085 (rst-all-sections, rst-section-hierarchy)
14086 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14087 New variables.
14088
14089 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14090 configuration instead of only buffer. Change where necessary.
14091
14092 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14093 (rst-shift-region, rst-adaptive-fill): New functions for
14094 indentation and filling.
14095
14096 (rst-comment-line-break, rst-comment-indent)
14097 (rst-comment-insert-comment, rst-comment-region)
14098 (rst-uncomment-region): New functions for handling comments.
14099
14100 (rst-compile): Quote shell arguments.
14101
14102 (rst-compile-pdf-preview, rst-compile-slides-preview):
14103 Delete temporary files after use.
14104
14105 2012-05-05 Glenn Morris <rgm@gnu.org>
14106
14107 * calendar/cal-html.el: Optionally include holidays in the output.
14108 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14109 (cal-html-holidays): New option.
14110 (cal-html-css-default): Add holiday entry.
14111 (holiday-in-range): Autoload it.
14112 (cal-html-htmlify-entry): Add optional class argument.
14113 (cal-html-htmlify-list): Add optional holidays argument.
14114 (cal-html-insert-agenda-days): Include holidays in the output.
14115 (cal-html-one-month): Maybe include holidays.
14116
14117 * calendar/holidays.el (holiday-in-range):
14118 Move here from cal-tex-list-holidays.
14119 * calendar/cal-tex.el (cal-tex-list-holidays):
14120 Make it an obsolete alias for holiday-in-range. Update all callers.
14121
14122 2012-05-05 Chong Yidong <cyd@gnu.org>
14123
14124 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14125 Nextstep.
14126
14127 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14128
14129 * files.el (file-auto-mode-skip): New var.
14130 (set-auto-mode-1): Use it.
14131
14132 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * repeat.el: Use lexical-binding.
14135 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14136 (repeat-undo-count): Remove.
14137 (repeat):
14138 * progmodes/octave-mod.el (octave-abbrev-start):
14139 * progmodes/f90.el (f90-abbrev-start):
14140 * face-remap.el (text-scale-adjust):
14141 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14142
14143 * emacs-lisp/pcase.el (pcase--let*): New function.
14144 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14145 a bit more.
14146 (pcase--split-pred): Be more clever about ruling out overlap between
14147 a predicate and some constant pattern.
14148 (pcase--q1): Use `null' instead of (eq foo nil).
14149
14150 * subr.el (setq-local, defvar-local): New macros.
14151 (kbd): Redefine as an alias.
14152 (with-selected-window): Leave unrelated frames alone.
14153 (set-temporary-overlay-map): New function.
14154
14155 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14156
14157 * subr.el (user-error): New function.
14158 * window.el (switch-to-buffer):
14159 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14160 (smerge-match-conflict):
14161 * simple.el (previous-matching-history-element)
14162 (next-matching-history-element, goto-history-element, undo-more)
14163 (undo-start):
14164 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14165 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14166 (next-file, tags-loop-scan, list-tags, complete-tag):
14167 * progmodes/compile.el (compilation-loop):
14168 * mouse.el (mouse-minibuffer-check):
14169 * man.el (Man-bgproc-sentinel, Man-goto-page):
14170 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14171 (Info-history-forward, Info-follow-reference, Info-menu)
14172 (Info-extract-menu-item, Info-extract-menu-counting)
14173 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14174 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14175 (Info-next-reference, Info-prev-reference, Info-index)
14176 (Info-index-next, Info-follow-nearest-node)
14177 (Info-copy-current-node-name):
14178 * imenu.el (imenu--make-index-alist)
14179 (imenu-default-create-index-function, imenu-add-to-menubar):
14180 * files.el (basic-save-buffer, recover-file):
14181 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14182 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14183 (checkdoc-message-text, checkdoc-defun):
14184 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14185 * cus-edit.el (customize-changed-options, customize-rogue)
14186 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14187 (custom-variable-mark-to-reset-standard)
14188 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14189 (custom-file):
14190 * completion.el (check-completion-length):
14191 * comint.el (comint-search-arg)
14192 (comint-previous-matching-input-string-position)
14193 (comint-previous-matching-input)
14194 (comint-replace-by-expanded-history-before-point, comint-send-input)
14195 (comint-copy-old-input, comint-backward-matching-input)
14196 (comint-goto-process-mark, comint-set-process-mark):
14197 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14198 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14199
14200 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14201
14202 * dabbrev.el (dabbrev--ignore-case-p): New function.
14203 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14204 Use it.
14205
14206 * files.el (automount-dir-prefix): Mark as obsolete.
14207
14208 2012-05-04 Glenn Morris <rgm@gnu.org>
14209
14210 * patcomp.el, play/bruce.el: Move to obsolete/.
14211
14212 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14213
14214 Fix minor Y10k bugs.
14215 * arc-mode.el (archive-unixdate):
14216 * autoinsert.el (auto-insert-alist):
14217 * calc/calc-forms.el (math-this-year):
14218 * emacs-lisp/copyright.el (copyright-current-year)
14219 (copyright-update-year, copyright):
14220 * tar-mode.el (tar-clip-time-string):
14221 * time.el (display-time-update):
14222 Don't assume years have 4 digits.
14223
14224 2012-05-04 Chong Yidong <cyd@gnu.org>
14225
14226 * dos-w32.el (file-name-buffer-file-type-alist)
14227 (direct-print-region-use-command-dot-com):
14228 * ffap.el (ffap-menu-regexp):
14229 * find-file.el (ff-special-constructs):
14230 * follow.el (follow-debug):
14231 * forms.el (forms--debug):
14232 * iswitchb.el (iswitchb-all-frames):
14233 * ido.el (ido-all-frames):
14234 * emacs-lisp/timer.el (timer-max-repeats):
14235 * mail/feedmail.el (feedmail-mail-send-hook)
14236 (feedmail-mail-send-hook-queued):
14237 * mail/footnote.el (footnote-signature-separator):
14238 * mail/mailabbrev.el (mail-alias-separator-string)
14239 (mail-abbrev-mode-regexp):
14240 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14241 * progmodes/idlwave.el (idlwave-libinfo-file)
14242 (idlwave-default-completion-case-is-down)
14243 (idlwave-library-routines): Convert defvars to defcustoms.
14244
14245 * mail/rmail.el (rmail-decode-mime-charset):
14246 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14247 (idlwave-shell-fix-inserted-breaks)
14248 (idlwave-shell-activate-alt-keybindings)
14249 (idlwave-shell-use-breakpoint-glyph):
14250 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14251
14252 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14253
14254 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14255
14256 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14257
14258 * progmodes/verilog-mode.el (font-lock-keywords):
14259 Fix mis-highligting auto. Reported by Craig Barner.
14260 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14261 defines from global name space. Reported by Dan Dever.
14262 (verilog-auto-reset, verilog-auto-reset-widths)
14263 (verilog-auto-tieoff): Support using unbased numbers for
14264 AUTORESET and AUTOTIEOFF.
14265 (verilog-submit-bug-report): Update variable list.
14266 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14267 parenthesis from not matching. Reported by Michael Rytting.
14268 (verilog-auto-template-lint): Fix hash error when linting modules
14269 with no used templates.
14270 (verilog-warn, verilog-warn-error)
14271 (verilog-warn-fatal): When non-interactive report multiple
14272 warnings before exiting. Suggested by Brad Dobbie.
14273 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14274 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14275 to report unused template errors. Reported by Brad Dobbie.
14276 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14277 nets, bug438. Reported by Vns Blore.
14278 (verilog-auto-inout-module, verilog-auto-reg)
14279 (verilog-read-decls, verilog-read-sub-decls-sig)
14280 (verilog-signals-edit-wire-reg, verilog-signals-with):
14281 Fix passing of Verilog data types in ANSI input/output ports
14282 such as "output logic" into the AUTOs. Special case "wire" and
14283 "reg" for backwards compatibility presuming Verilog 2001.
14284 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14285 (verilog-preprocess): Fix replication of preprocess output.
14286 Reported by Brad Dobbie.
14287 (verilog-auto-inst-interfaced-ports):
14288 Create verilog-auto-inst-interfaced-ports, bug429.
14289 Reported by Julian Gorfajn.
14290 (verilog-after-save-font-hook)
14291 (verilog-before-save-font-hook): New variable.
14292 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14293 (verilog-save-font-mods): Wrap disabling fontification, reported
14294 by David Rogoff.
14295 (verilog-do-indent, verilog-pretty-declarations-auto)
14296 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14297 Reported by Pierre-David Pfister.
14298 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14299 of class declarations, bug292. Reported by Kevin Heilman.
14300 (verilog-read-decls): Fix 'parameter type' not appearing in
14301 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14302 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14303 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14304 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14305 Reported by David Kravitz.
14306
14307 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14308
14309 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14310 assignment with tests in ifs and for loops.
14311 (verilog-extended-complete-re, verilog-complete-reg): Change so
14312 that DPI inport functions don't look like fuction declarations.
14313 (verilog-pretty-expr): Don't line up assignment
14314 operations to the test and increment in if and for loops
14315 (verilog-extended-complete-re, verilog-complete-reg): Change so
14316 that DPI inport functions don't look like fuction declarations.
14317
14318 2012-05-03 Kenichi Handa <handa@m17n.org>
14319
14320 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14321 decoding, and show a warning message without signaling an error
14322 (Bug#11282).
14323
14324 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14325
14326 * emacs-lisp/bytecomp.el
14327 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14328 since cconv.el might have introduced :fun-body, internal-make-closure,
14329 and friends for bytecomp to handle (bug#11391).
14330 * custom.el (defcustom): Avoid ((λ ..) ..).
14331
14332 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14335
14336 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14337
14338 * notifications.el (dbus-debug):
14339 * term/linux.el (gpm-mouse-enable):
14340 * term/screen.el (xterm-register-default-colors): Declare.
14341
14342 2012-05-02 Chong Yidong <cyd@gnu.org>
14343
14344 * cus-start.el (gc-cons-percentage, exec-suffixes)
14345 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14346 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14347 (make-cursor-line-fully-visible, void-text-area-pointer)
14348 (font-list-limit): Add customization data.
14349
14350 * allout.el (allout-exposure-change-functions)
14351 (allout-structure-added-functions)
14352 (allout-structure-deleted-functions)
14353 (allout-structure-shifted-functions): Rename abnormal hooks from
14354 *-hook, and convert to defcustoms.
14355 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14356 Convert to defcustoms.
14357 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14358
14359 * allout-widgets.el: Hook callers changed.
14360
14361 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14362
14363 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14364 the yanked message in preference to the default value of
14365 buffer-file-coding-system.
14366
14367 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14368
14369 * window.el (display-buffer--action-function-custom-type):
14370 Fix entry.
14371
14372 2012-05-02 Alan Mackenzie <acm@muc.de>
14373
14374 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14375
14376 2012-05-01 Glenn Morris <rgm@gnu.org>
14377
14378 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14379
14380 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14381
14382 * cus-edit.el (custom-variable-documentation): Simplify with format.
14383
14384 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14385 Stefan Monnier <monnier@iro.umontreal.ca>
14386
14387 * simple.el (suggest-key-bindings, execute-extended-command):
14388 Move from keyboard.c.
14389
14390 2012-05-01 Chong Yidong <cyd@gnu.org>
14391
14392 * follow.el: Eliminate advice.
14393 (set-process-filter, process-filter, sit-for): Advice deleted.
14394 (follow-mode-off-hook): Obsolete hook removed.
14395 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14396 Vars deleted.
14397 (follow-auto): Use a :set function.
14398 (follow-mode): Rewritten. Don't advise process filters.
14399 (follow-switch-to-current-buffer-all, follow-scroll-up)
14400 (follow-scroll-down): Assume follow-mode is bound.
14401 (follow-comint-scroll-to-bottom)
14402 (follow-align-compilation-windows): New functions.
14403 (follow--window-sorter): New function.
14404 (follow-all-followers): Use it to explicitly sort windows by their
14405 positions; don't make assumptions about next-window order.
14406 (follow-windows-start-end, follow-delete-other-windows-and-split)
14407 (follow-calc-win-start): Doc fix.
14408 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14409 vertical-motion unnecessarily.
14410 (follow-adjust-window): New function.
14411 (follow-post-command-hook): Use it.
14412 (follow-call-set-process-filter, follow-call-process-filter)
14413 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14414 (follow-stop-intercept-process-output, follow-generic-filter):
14415 Functions deleted.
14416 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14417 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14418 New functions, replacing advice on scroll-bar-* commands.
14419 (follow-mwheel-scroll): New function (Bug#4112).
14420
14421 * comint.el (comint-adjust-point): New function.
14422 (comint-postoutput-scroll-to-bottom): Use it.
14423 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14424
14425 2012-05-01 Glenn Morris <rgm@gnu.org>
14426
14427 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14428 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14429 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14430 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14431 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14432 Remove no-byte-compile setting.
14433
14434 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14435
14436 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14437 all-completions code to not return a number in the last cdr.
14438
14439 2012-04-30 Leo Liu <sdl.web@gmail.com>
14440
14441 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14442 read-only error.
14443
14444 2012-04-29 Chong Yidong <cyd@gnu.org>
14445
14446 * follow.el (follow-calc-win-end): Rewrite to handle partial
14447 screen lines correctly (Bug#8390).
14448 (follow-avoid-tail-recenter): Minor cleanup.
14449
14450 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14451
14452 Avoid the obsolete `assoc' package.
14453 * speedbar.el (speedbar-refresh): Avoid adelete.
14454 (speedbar-file-lists): Simplify and avoid aput.
14455 * man.el (Man--sections, Man--refpages): New vars, replacing
14456 Man-sections-alist and Man-refpages-alist.
14457 (Man-build-section-alist, Man-build-references-alist):
14458 Use them; avoid aput.
14459 (Man--last-section, Man--last-refpage): New vars.
14460 (Man-follow-manual-reference): Use them.
14461 Use the `default' arg of completing-read.
14462 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14463
14464 2012-04-27 Chong Yidong <cyd@gnu.org>
14465
14466 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14467
14468 * startup.el (x-apply-session-resources): New function.
14469
14470 * term/ns-win.el (ns-initialize-window-system):
14471 * term/w32-win.el (w32-initialize-window-system):
14472 * term/x-win.el (x-initialize-window-system): Use it to properly
14473 set menu-bar-mode and other vars from X resources, even if the
14474 initial frame is not a window-system frame (Bug#2299).
14475
14476 * subr.el (read-key): Avoid running filter function when setting
14477 up temporary tool bar entries (Bug#9922).
14478
14479 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14480
14481 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14482 (Bug#11344)
14483
14484 2012-04-27 Chong Yidong <cyd@gnu.org>
14485
14486 * select.el (xselect--encode-string): New function, split from
14487 xselect-convert-to-string.
14488 (xselect-convert-to-string): Use it.
14489 (xselect-convert-to-filename, xselect-convert-to-os)
14490 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14491 returned strings are properly encoded (Bug#11315).
14492
14493 2012-04-27 Chong Yidong <cyd@gnu.org>
14494
14495 * simple.el (delete-active-region): Move to killing custom group.
14496
14497 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14498
14499 * progmodes/which-func.el (which-func-current): Quote %
14500 characters for mode-line processing.
14501
14502 2012-04-27 Chong Yidong <cyd@gnu.org>
14503
14504 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14505 reaching eob (Bug#11286).
14506
14507 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14508
14509 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14510 (gdb): Make it buffer-local and init to zero.
14511 (gdb-control-commands-regexp): New variable.
14512 (gdb-send): Don't wrap in "-interpreter-exec console" if
14513 gdb-control-level is positive. Increment gdb-control-level
14514 whenever the command matches gdb-control-commands-regexp, and
14515 decrement it each time the command is "end". (Bug#11279)
14516
14517 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14518
14519 * window.el (adjust-window-trailing-edge, enlarge-window)
14520 (shrink-window, window-resize):
14521 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14522 windows (Bug#11276).
14523
14524 2012-04-27 Chong Yidong <cyd@gnu.org>
14525
14526 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14527 fix "missing prefix" warning. All callers changed.
14528
14529 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14530
14531 * emacs-lisp/assoc.el: Move to obsolete/.
14532
14533 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14536
14537 * term/ns-win.el (ns-define-service):
14538 * progmodes/pascal.el (pascal-goto-defun):
14539 * progmodes/js.el (js--read-tab):
14540 * progmodes/etags.el (tags-lazy-completion-table):
14541 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14542 * emacs-lisp/ewoc.el (ewoc--wrap):
14543 * emacs-lisp/assoc.el (aput, adelete, amake):
14544 * doc-view.el (doc-view-convert-current-doc):
14545 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14546
14547 2012-04-26 Chong Yidong <cyd@gnu.org>
14548
14549 * image.el (image-type-from-buffer): Only return supported image
14550 type (Bug#9045).
14551
14552 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14553 value, for symmetry with diff-end-of-hunk.
14554 (diff-split-hunk, diff-find-source-location)
14555 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14556 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14557 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14558 compute the relevant hunk or file properly (Bug#6005).
14559 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14560
14561 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14562
14563 * vc/vc-mtn.el:
14564 * vc/vc-hg.el:
14565 * vc/vc-git.el:
14566 * vc/vc-dir.el:
14567 * vc/vc-cvs.el:
14568 * vc/vc-bzr.el:
14569 * vc/vc-arch.el:
14570 * vc/vc.el: Replace lexical-let by lexical-binding.
14571 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14572 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14573 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14574
14575 2012-04-26 Chong Yidong <cyd@gnu.org>
14576
14577 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14578 (diff-mode-shared-map): Bind it to / and [remap undo].
14579
14580 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14581 (ediff-window-setup-function): Use it as the default, to set up
14582 windows based on whether the current frame is graphical (Bug#2138).
14583 (ediff-choose-window-setup-function-automatically): Make obsolete.
14584
14585 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14586
14587 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14588
14589 * ffap.el: Remove old code for obsolete package.
14590 (ffap-complete-as-file-p): Remove.
14591
14592 Use completion-table-with-quoting for comint and pcomplete.
14593 * comint.el (comint--unquote&requote-argument)
14594 (comint--unquote-argument, comint--requote-argument): New functions.
14595 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14596 (comint-quote-filename): Use regexp-opt-charset.
14597 (comint--common-suffix, comint--common-quoted-suffix)
14598 (comint--table-subvert): Remove.
14599 (comint-unquote-function, comint-requote-function): New vars.
14600 (comint--complete-file-name-data): Use them with
14601 completion-table-with-quoting.
14602 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14603 * pcomplete.el (pcomplete-arg-quote-list)
14604 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14605 (pcomplete-unquote-argument-function): Default to non-nil.
14606 (pcomplete-unquote-argument): Simplify.
14607 (pcomplete--common-quoted-suffix): Remove.
14608 (pcomplete-requote-argument-function): New var.
14609 (pcomplete--common-suffix): New function.
14610 (pcomplete-completions-at-point): Use completion-table-with-quoting
14611 and completion-table-subvert.
14612
14613 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14614 (minibuffer--double-dollars): Preserve properties.
14615 (completion--sifn-requote): New function.
14616 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14617
14618 * minibuffer.el: Add support for completion of quoted/escaped data.
14619 (completion-table-with-quoting, completion-table-subvert): New funs.
14620 (completion--twq-try, completion--twq-all): New functions.
14621 (completion--nth-completion): New function.
14622 (completion-try-completion, completion-all-completions): Use it.
14623
14624 2012-04-25 Leo Liu <sdl.web@gmail.com>
14625
14626 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14627 Use compilation-message if available to find real filename.
14628
14629 2012-04-25 Chong Yidong <cyd@gnu.org>
14630
14631 * vc/diff-mode.el (diff-setup-whitespace): New function.
14632 (diff-mode): Use it.
14633
14634 * vc/diff.el (diff-sentinel):
14635 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14636 Whitespace mode variables based on diff style (Bug#8612).
14637
14638 2012-04-25 Leo Liu <sdl.web@gmail.com>
14639
14640 * progmodes/python.el (python-send-region): Add suffix .py to the
14641 temp file.
14642
14643 * files.el (auto-mode-alist): Use javascript-mode instead.
14644
14645 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14646
14647 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14648
14649 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14650 (soap-resolve-references-for-array-type): Hack to prevent self
14651 references, see Bug#9.
14652 (soap-parse-envelope): Report the contents of the 'detail' node
14653 when receiving a fault reply.
14654 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14655
14656 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14657 (soap-inspect-simple-type): New function.
14658
14659 * net/soap-client.el (soap-simple-type): New struct.
14660 (soap-default-xsd-types, soap-default-soapenc-types)
14661 (soap-decode-basic-type, soap-encode-basic-type):
14662 support unsignedInt and double basic types.
14663 (soap-resolve-references-for-simple-type)
14664 (soap-parse-simple-type, soap-encode-simple-type): New function.
14665 (soap-parse-schema): Parse xsd:simpleType declarations.
14666
14667 * net/soap-client.el (soap-default-xsd-types)
14668 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14669 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14670 the local name of "soapenc:Array".
14671 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14672 decoding integer, byte and anyURI xsd types.
14673
14674 2012-04-25 Chong Yidong <cyd@gnu.org>
14675
14676 * cus-edit.el (custom-buffer-create-internal): Update header text.
14677
14678 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14679
14680 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14681 settings on 'system-type', not on 'window-system'. On MS-Windows,
14682 set interactive-mode on in GDB.
14683
14684 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14685
14686 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14687 (ruby-syntax-propertize-regexp): Remove.
14688 (ruby-syntax-propertize-function): Split regexp into chunks.
14689 Match following code directly.
14690
14691 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14692
14693 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14694 (ruby-syntax-propertize-regexp): New function.
14695 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14696 by a special keyword.
14697
14698 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14699 (ruby-syntax-general-delimiters-goto-beg)
14700 (ruby-syntax-propertize-general-delimiters): New functions.
14701 (ruby-syntax-propertize-function): Use them to handle GDL.
14702 (ruby-font-lock-keywords): Move old handling of GDL...
14703 (ruby-font-lock-syntactic-keywords): .. to here.
14704 (ruby-calculate-indent): Adjust indentation for GDL.
14705
14706 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14707
14708 * notifications.el (top): Remove unneeded declarations.
14709 (notifications-specification-version): Change to "1.2".
14710 (notifications-interface, notifications-notify-method)
14711 (notifications-close-notification-method): Fix docstring.
14712 (notifications-get-capabilities-method): New defconst.
14713 (notifications-notify): Add :action-items, :resident and
14714 :transient hints. Change "image_data" to "image-data" and
14715 "image_path" to "image-path".
14716 (notifications-get-capabilities): New defun.
14717
14718 2012-04-24 Leo Liu <sdl.web@gmail.com>
14719
14720 * progmodes/python.el: Move hideshow setup to the end.
14721
14722 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14723
14724 * window.el (handle-select-window): Clear echo area since this is
14725 no more done by read_char (Bug#11304).
14726
14727 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14728
14729 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14730 and `/ M' to filter-derived-mode.
14731 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14732 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14733 (ibuffer-mark-by-mode): Use default rather than initial-input.
14734 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14735
14736 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14737
14738 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14739 (ibuffer-filter-by-derived-mode): New filter.
14740 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14741
14742 2012-04-23 Andreas Politz <politza@fh-trier.de>
14743
14744 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14745
14746 2012-04-23 Chong Yidong <cyd@gnu.org>
14747
14748 * cus-edit.el (customize-apropos, customize-apropos-options):
14749 Disable matching of non-option variables (Bug#11176).
14750 (customize-option, customize-option-other-window)
14751 (customize-changed-options): Doc fix.
14752 (customize-apropos-options, customize-apropos-faces)
14753 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14754
14755 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14756 Fix word list splitting (Bug#11132).
14757 (apropos-symbol, apropos-keybinding, apropos-label)
14758 (apropos-property, apropos-function-button)
14759 (apropos-variable-button, apropos-misc-button): New faces.
14760 (apropos-symbol-face, apropos-keybinding-face)
14761 (apropos-label-face, apropos-property-face, apropos-match-face):
14762 Variables removed (Bug#8396).
14763 (apropos-library-button, apropos-format-plist, apropos-print)
14764 (apropos-print-doc, apropos-describe-plist): Callers changed.
14765
14766 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14767
14768 * net/xesam.el (xesam-mode-map): Use let-bound map in
14769 initialization. (Bug#11292)
14770
14771 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14772
14773 Preserve ispell session localwords when switching back to
14774 original buffer.
14775
14776 * textmodes/ispell.el (ispell-buffer-session-localwords):
14777 New buffer-local variable to hold buffer session localwords.
14778 (ispell-kill-ispell): Add option 'clear to delete session
14779 localwords.
14780 (ispell-command-loop, ispell-change-dictionary)
14781 (ispell-buffer-local-words): Preserve session localwords when
14782 needed.
14783
14784 * textmodes/flyspell.el (flyspell-process-localwords)
14785 (flyspell-do-correct): Preserve session localwords when needed.
14786
14787 2012-04-23 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
14788
14789 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14790 using obsolete `translation-table-for-input'.
14791 (ispell-word, ispell-process-line, ispell-complete-word):
14792 Use plain `insert' instead of removed `ispell-insert-word'.
14793
14794 2012-04-22 Chong Yidong <cyd@gnu.org>
14795
14796 * cus-edit.el (custom-variable-menu)
14797 (custom-variable-reset-saved, custom-face-menu)
14798 (custom-face-reset-saved): If there is no saved value, make the
14799 "reset-saved" operation bring back the default (Bug#9509).
14800 (custom-face-state): Properly detect themed faces.
14801
14802 * faces.el (face-spec-set): Stop supporting deprecated form of
14803 third arg.
14804
14805 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14806
14807 Move functions from C to Lisp. Make non-blocking method calls
14808 the default. Implement further D-Bus standard interfaces.
14809
14810 * net/dbus.el (dbus-message-internal): Declare function.
14811 Remove unneeded function declarations.
14812 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14813 (dbus-message-type-method-return, dbus-message-type-error)
14814 (dbus-message-type-signal): Declare variables. Remove local
14815 definitions.
14816 (dbus-interface-dbus, dbus-interface-peer)
14817 (dbus-interface-introspectable, dbus-interface-properties)
14818 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14819 Adapt docstring.
14820 (dbus-interface-objectmanager): New defconst.
14821 (dbus-call-method, dbus-call-method-asynchronously)
14822 (dbus-send-signal, dbus-method-return-internal)
14823 (dbus-method-error-internal, dbus-register-service)
14824 (dbus-register-signal, dbus-register-method): New defuns, moved
14825 from dbusbind.c
14826 (dbus-call-method-handler, dbus-setenv)
14827 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14828 New defuns.
14829 (dbus-call-method-non-blocking): Make it an obsolete function.
14830 (dbus-unregister-object, dbus-unregister-service)
14831 (dbus-handle-event, dbus-register-property)
14832 (dbus-property-handler): Obey the new structure of
14833 `bus-registered-objects'.
14834 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14835 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14836 Use `dbus-call-method'.
14837
14838 2012-04-22 Chong Yidong <cyd@gnu.org>
14839
14840 * cus-edit.el (custom-commands, custom-reset-menu)
14841 (Custom-reset-standard): Tweak labels.
14842 (custom-reset-button-menu): Change default to t.
14843 (custom-buffer-create-internal): For the custom-reset-button-menu
14844 case, put the revert button first.
14845 (custom-group-subtitle): New face.
14846 (custom-group-value-create): Align docstring to a specific column.
14847
14848 * wid-edit.el (widget-documentation-link-add): Don't handle
14849 indentation in this function.
14850 (widget-documentation-string-indent-to): New function.
14851 (widget-documentation-string-value-create): Use it.
14852
14853 * autorevert.el (auto-revert):
14854 * epg-config.el (epg):
14855 * ibuffer.el (ibuffer):
14856 * mpc.el (mpc):
14857 * ses.el (ses):
14858 * eshell/eshell.el (eshell):
14859 * net/ange-ftp.el (ange-ftp):
14860 * progmodes/ebnf2ps.el (postscript):
14861 * progmodes/flymake.el (flymake):
14862 * progmodes/prolog.el (prolog):
14863 * progmodes/verilog-mode.el (verilog-mode):
14864 * progmodes/which-func.el (which-func):
14865 * term/xterm.el (xterm):
14866 * textmodes/picture.el (picture):
14867 * textmodes/tildify.el (tildify):
14868 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14869 customization buffers.
14870
14871 2012-04-22 Alan Mackenzie <acm@muc.de>
14872
14873 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14874 Adding a ) can hide the resulting (..) from searches. Fix it.
14875 Bound the backward search to the position of the existing (.
14876
14877 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14878
14879 * progmodes/verilog-mode.el (verilog-mode): Check whether
14880 which-func-modes is t before adding verilog-mode.
14881 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14882
14883 2012-04-21 Leo Liu <sdl.web@gmail.com>
14884
14885 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14886
14887 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14888
14889 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14890 filling of the last column of a table (Bug#5635).
14891 (woman-find-next-control-line): New arg, specifying an additional
14892 regexp component for the control line.
14893 (woman2-roff-buffer): Use it.
14894 (woman-break-table): New function.
14895 (woman2-TS): Use it.
14896
14897 2012-04-21 Chong Yidong <cyd@gnu.org>
14898
14899 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14900 (woman-horizontal-escapes, woman-negative-vertical-space)
14901 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14902 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14903
14904 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14905
14906 * minibuffer.el (completion-file-name-table): Complete user names.
14907
14908 2012-04-20 Leo Liu <sdl.web@gmail.com>
14909
14910 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14911 and pcase-let*.
14912
14913 2012-04-20 Chong Yidong <cyd@gnu.org>
14914
14915 * server.el (server-execute): Respect initial-buffer-choice if it
14916 is a string and there are no files to open (Bug#2825).
14917 (server-create-window-system-frame, server-create-tty-frame):
14918 Don't switch buffers here.
14919 (server-process-filter): Only try to open a window system frame if
14920 compiled with graphical support (Bug#8314).
14921
14922 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14923
14924 * battery.el (battery-echo-area-format): Display remaining time
14925 for sysfs backend too (Bug#11269).
14926 (battery-linux-sysfs): Fix conditional for the charge.
14927
14928 2012-04-20 Chong Yidong <cyd@gnu.org>
14929
14930 * progmodes/gdb-mi.el (gdb): Revert previous change.
14931 (gdb-inferior-io--init-proc): New function.
14932 (gdb-init-1): Use it.
14933 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14934 responsible for allocating a new pty and hooking it to gdb when
14935 the old pty gets an EIO due to process exit.
14936 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14937 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14938 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14939
14940 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14941
14942 * window.el (window-min-size, window-sizable, window-min-delta)
14943 (window-max-delta, window--resizable, window-resizable)
14944 (window-total-size, window-full-height-p, window-full-width-p)
14945 (window-in-direction, window--resize-mini-window, window-resize)
14946 (window--resize-child-windows-normal)
14947 (window--resize-child-windows, window--resize-siblings)
14948 (window--resize-this-window, adjust-window-trailing-edge)
14949 (enlarge-window, shrink-window): Doc fixes.
14950
14951 2012-04-20 Chong Yidong <cyd@gnu.org>
14952
14953 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14954 New function to call delete-process on the gdb-inferior buffer's pty.
14955 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14956 pty process (Bug#11273).
14957 (gdb-update): New arg to suppress talking to the gdb process.
14958 (gdb-done-or-error): Use it.
14959 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14960 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14961 sentinel not being called.
14962
14963 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14964
14965 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14966
14967 2012-04-20 Glenn Morris <rgm@gnu.org>
14968
14969 * net/network-stream.el (open-network-stream): Doc fix.
14970
14971 2012-04-20 Chong Yidong <cyd@gnu.org>
14972
14973 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14974
14975 2012-04-20 Alan Mackenzie <acm@muc.de>
14976
14977 Ensure searching for keywords is case sensitive.
14978
14979 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14980 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14981 (c-defun-name, c-mark-function, c-cpp-define-name)
14982 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14983 (c-context-line-break): Bind case-fold-search to nil.
14984
14985 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14986 Bind case-fold-search to nil.
14987
14988 2012-04-20 Chong Yidong <cyd@gnu.org>
14989
14990 * mail/sendmail.el (mail-bury): Call return action with the right
14991 Rmail buffer (Bug#11242).
14992
14993 * server.el (server-process-filter): Handle corner case where both
14994 tty and nowait options are present (Bug#11102).
14995
14996 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14997
14998 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14999 (top level): Put into the executable the ident-style '$Id:' tag on
15000 windows-nt as well.
15001
15002 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * electric.el (electric-indent-post-self-insert-function): Check that
15005 electric-indent-mode is enabled in current buffer.
15006
15007 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15008
15009 * imenu.el (imenu-progress-message): Restore; it is "used" in
15010 erc/erc-imenu.el and net/snmp-mode.el.
15011
15012 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
15013
15014 * avoid.el (mouse-avoidance-mode): Mark unused arg.
15015 (mouse-avoidance-nudge-mouse): Remove unused binding.
15016
15017 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
15018
15019 * descr-text.el (describe-char):
15020 * progmodes/python.el (python-describe-symbol):
15021 Don't call `toggle-read-only', set `buffer-read-only'.
15022
15023 * imenu.el (imenu-default-goto-function): Mark unused args.
15024 (imenu-progress-message): Remove obsolete macro; all callers changed.
15025
15026 * subr.el (keymap-canonicalize): Remove unused binding.
15027 (read-passwd): Mark unused arg.
15028
15029 * tutorial.el (tutorial--display-changes): Remove unused binding.
15030 (tutorial--save-tutorial-to): Remove unused variable.
15031
15032 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
15033 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
15034 (package-generate-autoloads, package-menu--generate)
15035 (package-menu--find-upgrades): Remove unused bindings.
15036
15037 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
15038 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
15039 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
15040 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
15041 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
15042 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
15043 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
15044 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
15045 (cua-delete-char-rectangle): Mark unused args.
15046 (cua-align-rectangle): Remove unused binding.
15047
15048 * mail/rmail.el (compilation--message->loc)
15049 (epa--find-coding-system-for-mime-charset): Declare.
15050
15051 * net/dbus.el (dbus-register-service): Declare.
15052 (dbus-name-owner-changed-handler): Remove unused binding.
15053
15054 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
15055 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
15056 (nxml-scan-backward-within): Mark unused arg.
15057 (nxml-dynamic-markup-word): Remove unused binding.
15058
15059 * mouse.el (mouse-menu-major-mode-map):
15060 * emacs-lisp/authors.el (authors-scan-change-log)
15061 (authors-add-to-author-list):
15062 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
15063 * emacs-lisp/smie.el (smie-auto-fill):
15064 * mail/sendmail.el (mail-bury):
15065 * mail/unrmail.el (unrmail):
15066 * net/tls.el (open-tls-stream):
15067 * textmodes/picture.el (picture-mouse-set-point):
15068 Remove unused bindings.
15069
15070 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15071
15072 * net/tramp.el (tramp-action-password): Let-bind
15073 `enable-recursive-minibuffers' to t.
15074
15075 2012-04-18 Sam Steingold <sds@gnu.org>
15076
15077 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15078 instead of 'string to accommodate values like [f11].
15079 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15080 * progmodes/gdb-mi.el: Likewise.
15081
15082 2012-04-18 Leo Liu <sdl.web@gmail.com>
15083
15084 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15085 current buffer.
15086 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15087 LOCAL is nil.
15088
15089 2012-04-18 Chong Yidong <cyd@gnu.org>
15090
15091 * simple.el (line-move): Use forward-line if in batch mode
15092 (Bug#11053).
15093
15094 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15095
15096 * files.el (after-find-file): Do not try to add a final newline if
15097 the buffer is read-only (Bug#11156).
15098
15099 2012-04-17 Richard Stallman <rms@gnu.org>
15100
15101 * mail/rmail.el (rmail-start-mail):
15102 Pass (rmail-mail-return...) for the return-action.
15103 Pass (rmail-yank-current-message...) for the yank-action.
15104 (rmail-yank-current-message): New function.
15105 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15106 (rmail-reply): Likewise.
15107 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15108
15109 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15110 buffer, not the last. Reject temp buffers. Use the rmail-mode
15111 buffer, not newbuf.
15112
15113 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15114
15115 * server.el (server-ensure-safe-dir): Simplify.
15116
15117 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15118
15119 * emacs-lisp/smie.el: Provide smarter auto-filling.
15120 (smie-auto-fill): New function.
15121 (smie-setup): Use it.
15122
15123 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15124
15125 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15126
15127 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15128 (comment-indent): Use it.
15129
15130 2012-04-17 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
15131
15132 * ses.el: The overall change is to add cell renaming, that is
15133 setting fancy names for cell symbols other than name matching
15134 "\\`[A-Z]+[0-9]+\\'" regexp .
15135 (ses-localvars): Add ses--renamed-cell-symb-list.
15136 (ses-create-cell-variable): New defun.
15137 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15138 (ses-relocate-formula): Relocate formulas only for cells the
15139 symbols of which are not renamed, i.e. symbols whose names do not
15140 match regexp "\\`[A-Z]+[0-9]+\\'".
15141 (ses-relocate-all): Relocate values only for cells the symbols of
15142 which are not renamed.
15143 (ses-load): Create cells variables as the (ses-cell ...) are read,
15144 in order to check row col consistency with cell symbol name only
15145 for cells that are not renamed.
15146 (ses-replace-name-in-formula): New defun.
15147 (ses-rename-cell): New defun.
15148
15149 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15150
15151 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15152 New option (bug#11118).
15153 (perl-calculate-indent): Respect it.
15154
15155 2012-04-17 Glenn Morris <rgm@gnu.org>
15156
15157 * dired-aux.el (dired-mark-read-string): Doc fix.
15158
15159 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15160
15161 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15162 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15163
15164 2012-04-17 Glenn Morris <rgm@gnu.org>
15165
15166 * mouse.el (mouse-drag-track):
15167 * speedbar.el (speedbar-frame-mode):
15168 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15169
15170 2012-04-16 Leo Liu <sdl.web@gmail.com>
15171
15172 * progmodes/python.el: Trivial cleanup.
15173
15174 2012-04-16 Glenn Morris <rgm@gnu.org>
15175
15176 * vc/vc.el (vc-string-prefix-p):
15177 * vc/pcvs-util.el (cvs-string-prefix-p):
15178 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15179 * mpc.el (mpc-string-prefix-p):
15180 Make all of these into obsolete aliases for string-prefix-p.
15181 Update callers.
15182 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15183
15184 * textmodes/two-column.el: Move custom options to the start.
15185 (frame-width): Remove compat definition.
15186 (2C-associate-buffer, 2C-dissociate):
15187 Use with-current-buffer rather than save-excursion.
15188 (2C-dissociate): Force a mode-line update.
15189 (2C-autoscroll): Use ignore-errors.
15190
15191 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15192 Autoload trivia.
15193
15194 * emacs-lisp/cl-extra.el (*random-state*):
15195 Remove unnecessary declaration.
15196
15197 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15198
15199 * play/cookie1.el (cookie-snarf):
15200 Give an explicit error if input file cannot be read.
15201
15202 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15203
15204 * progmodes/perl-mode.el (c-macro-expand):
15205 Remove unnecessary autoload (it is in loaddefs.el).
15206
15207 * textmodes/picture.el (picture-desired-column)
15208 (picture-update-desired-column): Convert comments to doc-strings.
15209 (picture-substitute): Remove function.
15210 (picture-mode-map): Initialize in the defvar.
15211
15212 * woman.el: Remove eval-after-load for tar-mode.
15213 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15214 (woman-tar-extract-file): Autoload it.
15215
15216 * frame.el (automatic-hscrolling): Make this alias obsolete.
15217
15218 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15219
15220 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15221 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15222 (ispell-dictionary-base-alist): Revert to original XEmacs
15223 friendly version for default. [:alpha:] will be added in
15224 `ispell-set-spellchecker-params' if needed.
15225
15226 2012-04-16 Chong Yidong <cyd@gnu.org>
15227
15228 * image.el (imagemagick--file-regexp): New variable.
15229 (imagemagick-register-types): Use it.
15230 (imagemagick-types-inhibit): Add :set function. Allow new value
15231 of t to inhibit all types.
15232
15233 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15234 so we can preload it.
15235
15236 * loadup.el (fboundp): Preload regexp-opt, needed by
15237 imagemagick-register-types.
15238
15239 2012-04-15 Chong Yidong <cyd@gnu.org>
15240
15241 * frame.el (scrolling): Remove nearly unused customization group.
15242
15243 * scroll-all.el (scroll-all-mode): Move to windows group.
15244
15245 2012-04-15 Chong Yidong <cyd@gnu.org>
15246
15247 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15248
15249 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15250
15251 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15252 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15253
15254 2012-04-15 Glenn Morris <rgm@gnu.org>
15255
15256 * simple.el (process-file-side-effects): Doc fix.
15257
15258 2012-04-15 Glenn Morris <rgm@gnu.org>
15259
15260 * international/mule-cmds.el (set-language-environment): Doc fix.
15261
15262 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15263
15264 * server.el (server-auth-key, server-generate-key): Doc fixes.
15265 (server-get-auth-key): Doc fix. Use `string-match-p'.
15266 (server-start): Reflow docstring.
15267
15268 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15269
15270 * server.el (server-generate-key): `called-interactively-p'
15271 requires a parameter.
15272
15273 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15274
15275 * server.el (server-auth-key): New variable.
15276 (server-generate-key, server-get-auth-key): New function.
15277 (server-start): Use the new variable and functions to allow
15278 setting a permanent server key (bug#9423).
15279
15280 2012-04-14 Leo Liu <sdl.web@gmail.com>
15281
15282 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15283
15284 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15285
15286 Spelling fixes.
15287 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15288 Emacs uses American spelling.
15289
15290 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15291
15292 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15293 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15294 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15295 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15296
15297 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15298
15299 * progmodes/which-func.el (which-func-modes): Change default.
15300
15301 2012-04-14 Kim F. Storm <storm@cua.dk>
15302
15303 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15304 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15305
15306 2012-04-14 Chong Yidong <cyd@gnu.org>
15307
15308 * custom.el (custom-theme-set-variables): Doc fix.
15309
15310 2012-04-14 Glenn Morris <rgm@gnu.org>
15311
15312 * international/mule.el (set-auto-coding-for-load): Doc fix.
15313
15314 2012-04-14 Alan Mackenzie <acm@muc.de>
15315
15316 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15317 imenu work again for Objective C Mode. Correct the *-index values,
15318 these having been disturbed by a previous change in 2011-08.
15319
15320 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15321 Correct two search limits.
15322
15323 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15324
15325 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15326
15327 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15328
15329 * international/characters.el: Fix sorting.
15330
15331 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15332
15333 * international/characters.el: Add more missing Latin case pairs.
15334
15335 2012-04-14 Glenn Morris <rgm@gnu.org>
15336
15337 * files.el (dir-locals-set-class-variables): Doc fix.
15338
15339 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15340
15341 * international/characters.el: Add set-case-syntax-pair call for
15342 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15343 counterpart. (Bug#11209)
15344
15345 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15346
15347 2012-04-14 Glenn Morris <rgm@gnu.org>
15348
15349 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15350
15351 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15352
15353 * textmodes/ispell.el (ispell-dictionary-base-alist):
15354 Add data for Hebrew.
15355
15356 2012-04-14 Chong Yidong <cyd@gnu.org>
15357
15358 * net/rcirc.el (rcirc-cmd-quit):
15359 Revert 2012-03-18 change (Bug#11192).
15360
15361 2012-04-14 Glenn Morris <rgm@gnu.org>
15362
15363 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15364
15365 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15366
15367 * minibuffer.el (completion-in-region-mode-map):
15368 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15369
15370 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15371
15372 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15373
15374 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15375
15376 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15377 to allow `C-M-f' and `C-M-b' to move to the nearest path
15378 separator (bug#9511).
15379
15380 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15381
15382 * avoid.el: Require cl when compiling. And also move the
15383 `provide' to the end.
15384
15385 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15386
15387 * avoid.el (mouse-avoidance-banish-position): New variable.
15388 (mouse-avoidance-banish-destination): Use it (bug#10165).
15389
15390 2012-04-13 Leo Liu <sdl.web@gmail.com>
15391
15392 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15393
15394 2012-04-13 Ken Brown <kbrown@cornell.edu>
15395
15396 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15397 this is no longer needed now that cygstart understands file:// URLs.
15398 (browse-url-filename-alist): For the same reason, don't modify
15399 file:// URLs on Cygwin.
15400
15401 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15402
15403 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15404 the region on shift if the binding is already shifted (bug#11221).
15405
15406 2012-04-12 Glenn Morris <rgm@gnu.org>
15407
15408 * mail/mailpost.el: Move to obsolete/.
15409
15410 2012-04-12 Drew Adams <drew.adams@oracle.com>
15411
15412 * imenu.el (imenu--generic-function): Ignore invisible definitions
15413 (bug#10123).
15414
15415 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15416
15417 * hexl.el (hexl-bits): New variable.
15418 (hexl-options): Mention the variable in the doc string.
15419 (hexl-rulerise, hexl-line-displen): New functions.
15420 (hexl-mode): Mention the new variable.
15421 (hexl-mode, hexl-current-address, hexl-current-address):
15422 Use the displen.
15423 (hexl-ascii-start-column): New function.
15424 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15425 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15426
15427 2012-04-12 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15428
15429 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15430 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15431 the encoding, as expected by hunspell.
15432
15433 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15434
15435 * battery.el (battery--linux-sysfs-regexp): New const.
15436 (battery-status-function): Use it. Remove yeeloong special case.
15437 (battery-yeeloong-sysfs): Remove.
15438 (battery-echo-area-format): Remove yeeloong special case.
15439
15440 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15441
15442 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15443 Reported by Noah Friedman.
15444
15445 * subr.el (read-passwd): Use read-string.
15446
15447 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15448
15449 * vcursor.el (vcursor-move): Increase the priority of the overlay
15450 (bug#9663).
15451
15452 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15453
15454 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15455 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15456
15457 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15458
15459 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15460 define-minor-mode (bug#10760).
15461
15462 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15463
15464 * progmodes/grep.el (rgrep): Tweak the find command line so
15465 that directories matching `grep-find-ignored-files' won't be
15466 pruned (bug#10351).
15467
15468 2012-04-11 Chong Yidong <cyd@gnu.org>
15469
15470 * startup.el (command-line): Remove support for long-obsolete
15471 variable font-lock-face-attributes.
15472
15473 2012-04-11 Glenn Morris <rgm@gnu.org>
15474
15475 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15476
15477 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 * window.el (window--state-get-1): Obey window-point-insertion-type.
15480
15481 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15482
15483 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15484 to previous function when point is on the first character of a
15485 function. Take care of that in `narrow-to-defun' (bug#6157).
15486
15487 2012-04-11 Glenn Morris <rgm@gnu.org>
15488
15489 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15490 not just file-errors.
15491
15492 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15493 (vc-bzr-sha1): Use internal sha1.
15494
15495 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15496
15497 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15498
15499 2012-04-10 SĂ©bastien Gross <seb@chezwam.org> (tiny change)
15500
15501 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15502 that start in the middle of the line (bug#10496).
15503
15504 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15505
15506 * battery.el (battery-linux-proc-acpi): Only one battery is
15507 discharged at a time, but that seems to confuse battery.el when
15508 computing `rate-type' for the battery not being discharged
15509 (bug#10332).
15510
15511 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15512
15513 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15514
15515 * international/quail.el: Use dolist and simplify.
15516 (quail-define-package, quail-update-keyboard-layout)
15517 (quail-define-rules): Use dolist.
15518 (quail-insert-kbd-layout, quail-get-translation): CSE.
15519
15520 * tmm.el: Use dolist, remove left over hook.
15521 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15522 Use dolist.
15523 (calendar-load-hook): Don't mess with it.
15524
15525 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15526 Use derived-mode-p. Run the diff asynchronously.
15527
15528 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15529
15530 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15531
15532 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15533
15534 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15535 (list-dynamic-libraries--loaded): New function.
15536 (list-dynamic-libraries--refresh): Use it.
15537
15538 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15539
15540 * progmodes/python.el (python-fill-paragraph):
15541 Make python-fill-region in a multiline string work when font-lock is
15542 disabled (bug#7018).
15543
15544 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15545
15546 * language/european.el (cp775): Add oem/legacy (en)coding on
15547 DOS/MS Windows for the Baltic languages. There are still plenty
15548 of texts written in this encoding/codepage (bug#6519).
15549
15550 2012-04-10 Glenn Morris <rgm@gnu.org>
15551
15552 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15553 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15554
15555 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15556
15557 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15558 next-line "n" and previous-line "p" in order to make recentf more
15559 consistent with ibuffer, dired or org-mode (bug#9387).
15560
15561 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15562
15563 * image.el (put-image): Return the overlay created instead of the
15564 optional input string (bug#7834). Note that this may break code
15565 that is (for some reason or other) depending on `put-image'
15566 returning the string.
15567
15568 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15569
15570 * simple.el (zap-to-char): Allow zapping using input methods
15571 (bug#1580).
15572
15573 * textmodes/fill.el (fill-region): Leave point and mark where they
15574 were before filling (bug#5399).
15575
15576 2012-04-09 Glenn Morris <rgm@gnu.org>
15577
15578 * version.el (emacs-bzr-get-version):
15579 Handle lightweight checkouts of local branches.
15580
15581 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15582
15583 * international/characters.el: Recover lost case pairs. (Bug#11209)
15584
15585 2012-04-09 Chong Yidong <cyd@gnu.org>
15586
15587 * custom.el (custom-variable-p): Return nil for non-symbol
15588 arguments instead of signaling an error.
15589 (user-variable-p): Obsolete alias for custom-variable-p.
15590
15591 * apropos.el (apropos-variable):
15592 * files-x.el (read-file-local-variable):
15593 * simple.el (set-variable):
15594 * woman.el (woman-mini-help):
15595 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15596
15597 2012-04-09 Glenn Morris <rgm@gnu.org>
15598
15599 * startup.el (normal-top-level): Don't look for leim-list.el
15600 in places where it will not be found. (Bug#910)
15601
15602 * international/mule-cmds.el (set-default-coding-systems):
15603 * files.el (normal-mode):
15604 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15605 This function was removed with ucs-tables.el in 2008.
15606
15607 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15608
15609 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15610 ispell-encoding8-command to "-i", without a trailing space.
15611 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15612 separate command-line arguments, to specify the encoding, since
15613 that's how hunspell expects it.
15614
15615 2012-04-08 Glenn Morris <rgm@gnu.org>
15616
15617 * loadup.el: Load bindings before cus-start.
15618 This reduces somewhat the number of "rogue" settings in emacs -Q.
15619
15620 2012-04-07 Glenn Morris <rgm@gnu.org>
15621
15622 * version.el (emacs-bzr-get-version): New function.
15623 (emacs-bzr-version): New variable.
15624 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15625 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15626
15627 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15628
15629 * international/uni-bidi.el, international/uni-category.el:
15630 * international/uni-combining.el, international/uni-decimal.el:
15631 * international/uni-decomposition.el, international/uni-digit.el:
15632 * international/uni-lowercase.el, international/uni-mirrored.el:
15633 * international/uni-name.el, international/uni-numeric.el:
15634 * international/uni-titlecase.el, international/uni-uppercase.el:
15635 Update for Unicode 6.1.
15636
15637 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15638
15639 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15640
15641 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15642
15643 * window.el (shrink-window): Mention the `window-min-height'
15644 variable in the doc string.
15645
15646 2012-04-05 Bastien Guerry <bzg@altern.org>
15647
15648 * color.el (color-lighten-name): Fix typo.
15649
15650 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15651
15652 * server.el (server--on-display-p): New function.
15653 (server--on-display-p): Use it.
15654
15655 2012-04-04 GĂ¡bor Vida <vidagabor@gmail.com> (tiny change)
15656
15657 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15658 (bug#11145).
15659
15660 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15661
15662 * comint.el (comint--common-quoted-suffix): Check string boundary
15663 before comparing (bug#11158).
15664 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15665
15666 2012-04-04 Chong Yidong <cyd@gnu.org>
15667
15668 * minibuffer.el (completion-extra-properties): Doc fix.
15669
15670 * subr.el (delayed-warnings-hook): Doc fix.
15671
15672 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15673
15674 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15675 selection (Bug#11159).
15676 (epa-insert-keys): Inform that the default public key will be
15677 exported if no key is selected.
15678
15679 2012-04-04 Richard Stallman <rms@gnu.org>
15680
15681 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15682
15683 2012-04-03 Chong Yidong <cyd@gnu.org>
15684
15685 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15686 mail-insert-file, not its obsolete alias mail-attach-file.
15687
15688 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15689
15690 * notifications.el (notifications-notify): Fix docstring.
15691
15692 2012-04-02 Glenn Morris <rgm@gnu.org>
15693
15694 * emacs-lisp/authors.el (authors-aliases): Another addition.
15695
15696 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15697
15698 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15699 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15700 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15701
15702 2012-04-01 Chong Yidong <cyd@gnu.org>
15703
15704 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15705 Handle root directory properly.
15706 (copy-directory): Caller changed.
15707
15708 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15709 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15710
15711 2012-03-31 Glenn Morris <rgm@gnu.org>
15712
15713 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15714
15715 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15716
15717 * calendar/calendar.el (calendar-window-list)
15718 (calendar-hide-window): Restore. (Bug#11140)
15719 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15720
15721 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15722
15723 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15724
15725 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15726 Check if file is a symlink (Bug#10489).
15727
15728 * files.el (copy-directory): Likewise.
15729
15730 2012-03-30 Chong Yidong <cyd@gnu.org>
15731
15732 * image.el (imagemagick-types-inhibit)
15733 (imagemagick-register-types): Doc fix.
15734
15735 2012-03-30 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
15736
15737 * textmodes/ispell.el (ispell-get-extended-character-mode):
15738 Disable extended-char-mode for hunspell. hunspell does not support it
15739 and treats ~word as ordinary words in pipe mode.
15740
15741 2012-03-30 Glenn Morris <rgm@gnu.org>
15742
15743 * tutorial.el (help-with-tutorial): Ensure local variables don't
15744 happen to make the buffer read-only. (Bug#11127)
15745
15746 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15747
15748 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15749 (perl-calculate-indent): Return `noindent' in strings.
15750
15751 2012-03-28 Sam Steingold <sds@gnu.org>
15752
15753 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15754 instead of the broken adhockery which does not prevent calendar
15755 buffers from being displayed at random after exit.
15756 (calendar-window-list, calendar-hide-window): Remove the broken
15757 adhockery.
15758
15759 2012-03-28 Glenn Morris <rgm@gnu.org>
15760
15761 * replace.el (query-replace-map): Doc fix.
15762
15763 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15764
15765 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15766 contents. (Bug#11109)
15767
15768 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15769
15770 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15771 (bug#11077).
15772 (avl-tree--check, avl-tree--check-node): New funs.
15773
15774 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15775
15776 * window.el (switch-to-visible-buffer): New option.
15777 (switch-to-prev-buffer, switch-to-next-buffer):
15778 Observe switch-to-visible-buffer. Make sure that checking for a window
15779 showing a buffer already is done on the same frame.
15780
15781 2012-03-27 Glenn Morris <rgm@gnu.org>
15782
15783 * startup.el (mail-host-address): Doc fix.
15784
15785 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15786
15787 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15788 than 197 variables.
15789
15790 2012-03-26 Ami Fischman <ami@fischman.org>
15791
15792 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15793
15794 2012-03-26 Glenn Morris <rgm@gnu.org>
15795
15796 * files.el (save-buffers-kill-emacs): Doc fix.
15797
15798 * startup.el (normal-top-level, command-line, command-line-1):
15799 Give them doc strings.
15800
15801 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15802
15803 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15804 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15805
15806 2012-03-25 Chong Yidong <cyd@gnu.org>
15807
15808 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15809 theme if it was previously enabled before (Bug#11031).
15810
15811 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15812 spec with custom-face-get-current-spec if its :shown-value is not
15813 determined yet (Bug#9337).
15814 (customize-create-theme, custom-theme-revert): Doc fixes.
15815
15816 * button.el (button-at): Minor addition to docstring.
15817
15818 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15819
15820 * vc/vc.el (vc-merge): Fix a prompt.
15821
15822 2012-03-24 Chong Yidong <cyd@gnu.org>
15823
15824 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15825 point (Bug#9623).
15826
15827 * button.el (button-at): Minor addition to docstring.
15828
15829 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15830
15831 * newcomment.el (comment-choose-indent): No space after BOL.
15832
15833 2012-03-22 Sam Steingold <sds@gnu.org>
15834
15835 * window.el (switch-to-prev-buffer): Revert last patch because the
15836 bug turned out to be an advertised feature (Elisp manual 28.14).
15837
15838 2012-03-22 Glenn Morris <rgm@gnu.org>
15839
15840 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15841 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15842
15843 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15844
15845 * net/network-stream.el (network-stream-open-starttls): Make error
15846 message under Windows be less misleading.
15847
15848 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15849
15850 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15851 understands (bug#9942).
15852
15853 2012-03-22 Chong Yidong <cyd@gnu.org>
15854
15855 * simple.el (end-of-visible-line): Handle return value of
15856 next-single-property-change properly (Bug#9371).
15857
15858 2012-03-22 Kenichi Handa <handa@m17n.org>
15859
15860 * international/quail.el (quail-insert-kbd-layout): Fix previous
15861 change. To avoid unwanted bidi reordering, use
15862 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15863
15864 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15865
15866 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15867 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15868 (ruby-beginning-of-indent): Be more careful with the difference
15869 between word-boundary and symbol boundary.
15870 (ruby-mode-syntax-table): Make : a symbol constituent.
15871
15872 2012-03-21 Andreas Politz <politza@fh-trier.de>
15873
15874 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15875
15876 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15877
15878 * progmodes/etags.el (tags-completion-at-point-function):
15879 Improve last fix.
15880
15881 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15882
15883 2012-03-21 Sam Steingold <sds@gnu.org>
15884
15885 * progmodes/etags.el (tags-completion-at-point-function):
15886 Avoid the error when point is inside the pattern.
15887
15888 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15889
15890 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15891 line (Bug#10855).
15892
15893 2012-03-21 Drew Adams <drew.adams@oracle.com>
15894
15895 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15896
15897 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15898
15899 * ido.el (ido-set-current-directory, ido-read-internal)
15900 (ido-choose-completion-string, ido-completion-help): Handle nil
15901 value of ido-completion-buffer (Bug#11008).
15902
15903 2012-03-21 Sam Steingold <sds@gnu.org>
15904
15905 * window.el (switch-to-prev-buffer): Do not switch to a visible
15906 window previous buffer, just like with the frame previous buffers.
15907
15908 2012-03-21 Chong Yidong <cyd@gnu.org>
15909
15910 * faces.el (make-face, make-empty-face, copy-face):
15911 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15912 Doc fixes.
15913
15914 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15915
15916 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15917 (widget-complete): Remove broken use of it.
15918
15919 2012-03-20 Chong Yidong <cyd@gnu.org>
15920
15921 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15922 Use string-width and truncate-string-width to handle arbitrary
15923 characters.
15924
15925 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15926
15927 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15928 to draw rectangles, not squares. (Regression introduced by revno
15929 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15930
15931 2012-03-18 Chong Yidong <cyd@gnu.org>
15932
15933 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15934 it is not yet defined (for temacs).
15935
15936 2012-03-18 Leo Liu <sdl.web@gmail.com>
15937
15938 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15939 prefix.
15940
15941 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15942
15943 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15944 (ispell-choices-win-default-height, ispell-silently-savep)
15945 (ispell-dictionary-alist, ispell-encoding8-command)
15946 (ispell-check-version, ispell-aspell-find-dictionary)
15947 (ispell-valid-dictionary-list, ispell-words-keyword)
15948 (ispell-get-word, ispell-internal-change-dictionary)
15949 (ispell-region, ispell-skip-region-list)
15950 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15951 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15952 (ispell-message-text-end, ispell-message)
15953 (ispell-buffer-local-parsing): Doc fix.
15954
15955 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15956
15957 * htmlfontify.el: Add support for code block fontification for ODT
15958 export (Bug #9914).
15959 (hfy-optimisations): Define new option
15960 `body-text-only'
15961 (hfy-fontify-buffer): Honor above setting.
15962 (hfy-begin-span, hfy-end-span): New routines factored out form
15963 `hfy-fontify-buffer'.
15964 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15965 that permit insertion of custom tags.
15966 (hfy-fontify-buffer): Use above handlers.
15967 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15968 (hfy-face-to-css): Re-defined to be a variable.
15969 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15970 over multiple runs. This is made possible by having the caller let
15971 bind a special variable `hfy-user-sheet-assoc'.
15972 (htmlfontify-string): New defun.
15973 (hfy-compile-face-map): Make sure that the last char in the
15974 buffer is correctly fontified.
15975 (hfy-face-resolve-face): Whitespace only change.
15976
15977 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15978
15979 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15980 message more clear.
15981
15982 2012-03-16 Leo Liu <sdl.web@gmail.com>
15983
15984 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15985
15986 2012-03-16 Alan Mackenzie <acm@muc.de>
15987
15988 Further optimize the handling of large macros.
15989
15990 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15991 limit to a call of `c-literal-limits'.
15992 (c-determine-+ve-limit): New function.
15993 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15994 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15995 In CASE 5B, restrict a search limit to 500.
15996 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15997
15998 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15999 Restrict macro bounds to +-500 from after-change's BEG END.
16000
16001 2012-03-16 Leo Liu <sdl.web@gmail.com>
16002
16003 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
16004
16005 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
16006
16007 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
16008 `special-mode' setting of `buffer-read-only'. (Bug#11010)
16009
16010 2012-03-16 Glenn Morris <rgm@gnu.org>
16011
16012 * view.el (view-buffer, view-buffer-other-window)
16013 (view-buffer-other-frame): Doc fixes re special mode-class.
16014
16015 * subr.el (eval-after-load): If named feature is provided not from
16016 a file, run after-load forms. (Bug#10946)
16017
16018 * calendar/calendar.el (calendar-insert-at-column):
16019 Handle non-unit-width characters a bit better. (Bug#10978)
16020
16021 2012-03-15 Chong Yidong <cyd@gnu.org>
16022
16023 * emacs-lisp/ring.el (ring-extend): New function.
16024 (ring-insert+extend): Extend the ring correctly (Bug#11019).
16025
16026 * comint.el (comint-read-input-ring)
16027 (comint-add-to-input-history): Grow comint-input-ring lazily.
16028
16029 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
16030
16031 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
16032 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
16033
16034 * imenu.el: Fix multiple inheritance breakage (bug#9199).
16035 (imenu-add-to-menubar): Don't add a redundant index.
16036 (imenu-update-menubar): Handle a dynamically composed keymap.
16037
16038 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
16039
16040 * mail/sendmail.el (mail-encode-header):
16041 Bind rfc2047-encode-encoded-words to nil.
16042
16043 2012-03-13 Glenn Morris <rgm@gnu.org>
16044
16045 * calendar/calendar.el (calendar-string-spread):
16046 Handle non-unit-width characters a bit better. (Bug#10978)
16047
16048 2012-03-13 Leo Liu <sdl.web@gmail.com>
16049
16050 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
16051 directory and file as argument (Bug#10822).
16052
16053 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16054
16055 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
16056 For dynamically generated code, follow $PC.
16057 (gdb-disassembly-handler-custom): Handle no function name case.
16058
16059 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
16060
16061 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
16062 * emulation/ws-mode.el (ws-query-replace):
16063 * sort.el (sort-regexp-fields):
16064 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
16065
16066 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16067
16068 * dabbrev.el: Fix cycle completion order (bug#10963).
16069 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16070 (dabbrev-completion): Don't use an obarray; provide
16071 a cycle-sort-function.
16072
16073 2012-03-12 Leo Liu <sdl.web@gmail.com>
16074
16075 * simple.el (kill-new): Use equal-including-properties for comparison.
16076 (kill-do-not-save-duplicates): Doc fix.
16077
16078 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16079
16080 * dabbrev.el: Fix cycle completion (bug#10963).
16081 Use lexical binding and wrap to 80 columns.
16082 (dabbrev-completion): Delay computing the list of completions.
16083
16084 2012-03-12 Kenichi Handa <handa@m17n.org>
16085
16086 * international/quail.el (quail-insert-kbd-layout): Surround each
16087 row by LRO and PDF instead of inserting many LRMs. Pad the left
16088 and right of each non-spacing marks. Insert invisible space
16089 between lower and upper characters to prevent composition.
16090
16091 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * minibuffer.el (minibuffer-complete): Don't get confused when the
16094 function is run twice via different commands (bug#10958).
16095 (complete-with-action): Fix docstring.
16096
16097 2012-03-12 Chong Yidong <cyd@gnu.org>
16098
16099 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16100 (nxml-completion-at-point-function): New function.
16101 (nxml-mode): Use it.
16102 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16103
16104 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16105 Load generated autoloads file before byte compiling (Bug#10970).
16106 (package--make-autoloads-and-compile): New helper fun.
16107
16108 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16109
16110 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16111
16112 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16113
16114 * autorevert.el (auto-revert-handler): Ensure, that
16115 file-readable-p is applied only for local files or in
16116 auto-revert-tail-mode.
16117
16118 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16119
16120 * server.el (server-eval-at): Handle non-tcp connections.
16121 Decode result string.
16122
16123 * server.el (server-msg-size): New constant.
16124 (server-reply-print): New function.
16125 (server-eval-and-print): Use it.
16126 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16127 Handle -print-nonl.
16128
16129 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16130
16131 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16132 (Bug#10987).
16133
16134 2012-03-11 Chong Yidong <cyd@gnu.org>
16135
16136 * simple.el (goto-line): Doc fix (Bug#9938).
16137
16138 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16139
16140 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16141 when finished (Bug#10963).
16142
16143 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16144
16145 * window.el (split-window-below): Fix bug in case where
16146 split-window-keep-point is nil (Bug#10971).
16147
16148 2012-03-11 Juri Linkov <juri@jurta.org>
16149
16150 * replace.el (replace-highlight): Set isearch-word to nil
16151 unconditionally. (Bug#10887)
16152
16153 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16154
16155 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16156 mairix-replace-illegal-chars; all callers changed. Don't remove
16157 ^, ~, and = characters: they are meaningful in mairix search specs.
16158 (mairix-widget-create-query): Add usage information about mairix
16159 search forms: negating words, searching for substrings, etc.
16160
16161 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16162
16163 * international/fontset.el (font-encoding-alist): Add an entry for
16164 ksx1001 (Bug#5667).
16165
16166 2012-03-10 Richard Stallman <rms@gnu.org>
16167
16168 * mail/sendmail.el (mail-encode-header):
16169 Set rfc2047-encode-encoded-words.
16170
16171 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16172
16173 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16174 view buffer means not swapped.
16175 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16176 (rmail-write-region-annotate): Error if real text has disappeared.
16177
16178 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16179
16180 2012-03-10 Chong Yidong <cyd@gnu.org>
16181
16182 * emulation/cua-rect.el (cua--init-rectangles):
16183 * emulation/cua-base.el (cua--init-keymaps):
16184 Add delete-forward-char to remappings (Bug#9666).
16185
16186 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16187
16188 * speedbar.el (speedbar-unhighlight-one-tag-line):
16189 Avoid unhighlighting due to frame switching (Bug#10275).
16190
16191 2012-03-10 Chong Yidong <cyd@gnu.org>
16192
16193 * minibuffer.el (completion-in-region, completion-help-at-point):
16194 Give the completion field overlay a high priority (Bug#6830).
16195
16196 * dired.el (dired-goto-file): Recognize absolute file name
16197 listings (Bug#7126).
16198 (dired-goto-file-1): New helper function.
16199 (dired-toggle-read-only): Inhibit warnings.
16200
16201 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16202
16203 * net/dbus.el (dbus-property-handler): Return empty array if
16204 there are no properties.
16205
16206 2012-03-09 Leo Liu <sdl.web@gmail.com>
16207
16208 * savehist.el (savehist-printable): Stricter check for string
16209 value (Bug#10937).
16210
16211 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16212
16213 * mail/smtpmail.el (smtpmail-send-it):
16214 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16215 valid mbox format.
16216
16217 2012-03-09 Glenn Morris <rgm@gnu.org>
16218
16219 * files.el (dir-locals-find-file):
16220 Don't check result is regular, readable.
16221 (dir-locals-read-from-file): Demote errors.
16222
16223 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16224
16225 * international/quail.el (quail-insert-kbd-layout):
16226 Insert invisible LRM characters before each character in a keyboard
16227 layout cell, to prevent their reordering by bidi display engine.
16228 For details, see the discussion in
16229 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16230
16231 2012-03-08 Alan Mackenzie <acm@muc.de>
16232
16233 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16234 the starting position; make it extend the marked region when
16235 invoked repeatedly - all under appropriate circumstances.
16236 Fixes bugs #5525, #10906.
16237
16238 2012-03-08 Glenn Morris <rgm@gnu.org>
16239
16240 * files.el (locate-dominating-file, dir-locals-find-file):
16241 Undo 2012-03-06 change.
16242
16243 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16244
16245 * international/quail.el (quail-help):
16246 Force bidi-paragraph-direction be left-to-right. See discussion in
16247 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16248 for the reason.
16249
16250 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16251
16252 Avoid superfluous registering of signals. (Bug#10807)
16253
16254 * notifications.el (notifications-on-action-object)
16255 (notifications-on-close-object): New defvars.
16256 (notifications-on-action-signal, notifications-on-closed-signal):
16257 Unregister the signal if not needed any longer.
16258 (notifications-notify): Register `notifications-action-signal' or
16259 `notifications-closed-signal', if :on-action or :on-close has been
16260 passed as argument.
16261
16262 2012-03-07 Chong Yidong <cyd@gnu.org>
16263
16264 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16265 non-X platforms.
16266
16267 2012-03-06 Glenn Morris <rgm@gnu.org>
16268
16269 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16270 (x-disown-selection-internal, x-get-selection-internal):
16271 Doc fix (add arglist signatures). (Bug#10783)
16272
16273 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16274
16275 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16276 Handle breakpoints with no "type".
16277
16278 2012-03-06 Glenn Morris <rgm@gnu.org>
16279
16280 * files.el (locate-dominating-file): Add optional predicate argument.
16281 (dir-locals-find-file): Make use of above change.
16282
16283 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16284
16285 * info.el (Info-insert-dir): Also try "dir.gz".
16286
16287 2012-03-06 Glenn Morris <rgm@gnu.org>
16288
16289 * files.el (dir-locals-find-file):
16290 Ignore non-readable or non-regular files. (Bug#10928)
16291
16292 * files.el (locate-dominating-file): Doc fix.
16293
16294 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16295
16296 * calendar/calendar.el (calendar-set-mode-line):
16297 `getenv' returns a string. (Bug#10951)
16298
16299 2012-03-05 Leo Liu <sdl.web@gmail.com>
16300
16301 * simple.el (backward-delete-char-untabify): Constrain point to
16302 field (Bug#10939).
16303
16304 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16305
16306 2012-03-05 Chong Yidong <cyd@gnu.org>
16307
16308 * simple.el (count-words): If called from Lisp, return the word
16309 count, for symmetry with `count-lines'. Arglist changed.
16310 (count-words--message): Args changed. Consolidate counting code
16311 from count-words and count-words-region.
16312 (count-words-region): Caller changed.
16313 (count-lines-region): Make it an obsolete alias.
16314
16315 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16316
16317 * saveplace.el (save-place-to-alist)
16318 (save-place-ignore-files-regexp): Allow value nil to disable this
16319 feature.
16320
16321 2012-03-04 Chong Yidong <cyd@gnu.org>
16322
16323 * faces.el (face-spec-reset-face): For the default face, reset the
16324 attributes to default values (Bug#10748).
16325
16326 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16327
16328 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16329 previous patch: Check `message-send-mail-function', and not the
16330 default function (bug#10897).
16331
16332 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16333
16334 * notifications.el (notifications-on-action-signal)
16335 (notifications-on-closed-signal): Check for unique service name of
16336 incoming event. Fix error in removing entry.
16337 (top): Register for signals with wildcard service name.
16338 (notifications-notify): Use daemon unique service name for map entries.
16339
16340 2012-03-04 Chong Yidong <cyd@gnu.org>
16341
16342 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16343
16344 2012-03-04 Glenn Morris <rgm@gnu.org>
16345
16346 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16347 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16348 (expand-abbrev, define-abbrev-table): Doc fixes.
16349
16350 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16351
16352 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16353 `message-default-send-mail-function' and not `send-mail-function'
16354 when doing the prompting for `sendmail-query-once' before sending
16355 in Message buffers (bug#10897).
16356
16357 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16358 This is inconsistent with all the other stream functions, which leave
16359 the setting up to the higher levels (if so wanted) (bug#10931).
16360
16361 2012-03-02 Alan Mackenzie <acm@muc.de>
16362
16363 Depessimize the handling of very large macros.
16364
16365 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16366 (c-macro-cache-syntactic): New variables to implement a one
16367 element macro cache.
16368 (c-invalidate-macro-cache): New function.
16369 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16370 Adapt to use the new cache.
16371 (c-state-safe-place): Use better the cache of safe positions.
16372 (c-state-semi-nonlit-pos-cache)
16373 (c-state-semi-nonlit-pos-cache-limit):
16374 New variables for...
16375 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16376 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16377 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16378 Use c-state-semi-safe-place.
16379
16380 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16381 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16382
16383 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16384
16385 * jka-compr.el (jka-compr-call-process):
16386 Apply `file-accessible-directory-p' only when the default directory is
16387 not remote.
16388
16389 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16390
16391 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16392 access of FILE2, if FILE1 does not exist.
16393
16394 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16395 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16396
16397 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16398 Add "PAGER=" to `process-environment'.
16399
16400 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16401
16402 * progmodes/sql.el: Bug fix
16403 (sql-get-login-ext): Save login values in globals.
16404 (sql-get-login): Use new version of `sql-get-login-ext'.
16405 (sql-interactive-mode): Set global `sql-connection' to nil.
16406 (sql-connect): Set global values for connection.
16407 (sql-product-interactive): Save global values as buffer local.
16408
16409 2012-02-29 Leo Liu <sdl.web@gmail.com>
16410
16411 * abbrev.el (define-abbrevs): Reset sys to nil.
16412
16413 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16414
16415 * files.el (file-equal-p): Rename from `files-equal-p'.
16416 Return nil when one or both files don't exist.
16417 (file-subdir-of-p): Now only top directory must exists,
16418 return nil if it doesn't.
16419 (copy-directory): No need to test with `file-subdir-of-p' after
16420 creating dir.
16421 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16422 to `file-equal-p'.
16423
16424 2012-02-28 Glenn Morris <rgm@gnu.org>
16425
16426 * shell.el (shell-mode):
16427 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16428 * play/landmark.el (landmark-font-lock-face-O):
16429 * play/handwrite.el (handwrite):
16430 * play/gomoku.el (gomoku-O):
16431 * net/browse-url.el (browse-url-browser-display):
16432 * international/mule.el (define-charset):
16433 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16434 * filesets.el (filesets-find-file-delay):
16435 * eshell/em-xtra.el (eshell-xtra):
16436 * eshell/em-unix.el (eshell-grep):
16437 * emulation/viper.el (viper-mode):
16438 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16439 * emacs-lisp/easymenu.el (easy-menu-define):
16440 * calendar/timeclock.el (timeclock-use-display-time):
16441 * bs.el (bs-mode):
16442 * bookmark.el (bookmark-save-flag):
16443 Doc fix (standardize possessive apostrophe usage).
16444
16445 2012-02-27 Chong Yidong <cyd@gnu.org>
16446
16447 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16448 Fix key-binding lookup for ESC key (Bug#9146).
16449
16450 * font-lock.el (font-lock-specified-p): Rename from
16451 font-lock-spec-present. Callers changed.
16452
16453 2012-02-27 Daniel Hackney <dan@haxney.org>
16454
16455 * emacs-lisp/package.el (package-compute-transaction):
16456 Handle holding a package version to t in package-load-list.
16457
16458 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16459
16460 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16461 (tramp-get-inode, tramp-get-device): Use cached values.
16462
16463 2012-02-26 Alan Mackenzie <acm@muc.de>
16464
16465 Check there is a font-lock specification before doing initial
16466 fontification.
16467
16468 * font-core.el (font-lock-mode): Move the conditional from
16469 :after-hook to font-lock-initial-fontify.
16470 (font-lock-default-function): Move the check for a specification
16471 to font-lock-spec-present.
16472
16473 * font-lock.el (font-lock-initial-fontify): Call ...
16474 (font-lock-spec-present): New function.
16475
16476 2012-02-26 Jim Blandy <jimb@red-bean.com>
16477
16478 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16479 (gdb-send): Apply it to the operand of the '-interpreter-exec
16480 console' command, so that we can pass arguments with (say) quotes
16481 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16482
16483 2012-02-26 Chong Yidong <cyd@gnu.org>
16484
16485 * help-fns.el (describe-function-1): Clarify description of
16486 remapping (Bug#10844).
16487
16488 * files.el (files-equal-p): Doc fix.
16489 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16490 and quit the loop once a mismatch is found.
16491
16492 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16493
16494 * bs.el (bs--show-with-configuration): Don't throw an error
16495 if the window cannot be split; otherwise, subsequent calls to
16496 bs-show fail, restoring a stale window config. (Bug#10882)
16497
16498 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16499
16500 * term/ns-win.el (global-map): Bind ns-drag-file to
16501 ns-find-file (Bug#5855, Bug#10050).
16502
16503 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16504
16505 * calendar/parse-time.el (parse-time-string): Allow extractor to
16506 return nil.
16507
16508 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16509
16510 * net/tramp.el (tramp-file-name-for-operation):
16511 Add `files-equal-p' and `file-subdir-of-p'.
16512
16513 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16514 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16515 Add COPY-CONTENTS argument.
16516
16517 2012-02-25 Chong Yidong <cyd@gnu.org>
16518
16519 Add custom groups for VC backends, for consistency with vc-bzr.
16520
16521 * vc/vc-arch.el (vc-arch):
16522 * vc/vc-cvs.el (vc-cvs):
16523 * vc/vc-git.el (vc-git):
16524 * vc/vc-hg.el (vc-hg):
16525 * vc/vc-mtn.el (vc-mtn):
16526 * vc/vc-rcs.el (vc-rcs):
16527 * vc/vc-sccs.el (vc-sccs):
16528 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16529 All relevant defcustoms reassigned.
16530
16531 2012-02-25 Chong Yidong <cyd@gnu.org>
16532
16533 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16534
16535 * term/x-win.el (x-initialize-window-system): Reduce default for
16536 x-selection-timeout to 5 seconds (Bug#8869).
16537
16538 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16539
16540 * files.el (files-equal-p, file-subdir-of-p): New functions.
16541 (copy-directory): Error when trying to copy a directory on itself.
16542 Add missing copy-contents arg to tramp handler.
16543 * dired-aux.el (dired-copy-file-recursive): Same.
16544 (dired-create-files): Modify destination when source is equal to
16545 dest when copying files.
16546 Return also when dest is a subdir of source. (Bug#10489)
16547
16548 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16549
16550 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16551 (Bug#10874)
16552
16553 2012-02-23 Alan Mackenzie <acm@muc.de>
16554
16555 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16556 parameter "after-hook:" to allow the expansion to run code after
16557 the execution of the mode hooks.
16558
16559 * font-lock.el (font-lock-initial-fontify): New function extracted
16560 from font-lock-mode-internal.
16561
16562 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16563 :after-hook.
16564
16565 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16566
16567 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16568 (completion--cache-all-sorted-completions): New function.
16569 (completion-all-sorted-completions): Use it.
16570 (completion--do-completion, minibuffer-force-complete):
16571 Use it to re-instate the flush hook.
16572
16573 * icomplete.el (icomplete-completions): Replace last fix with a better
16574 one (bug#10850).
16575
16576 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16577
16578 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16579 when it might call us back infinitely (bug#10797).
16580
16581 2012-02-23 Glenn Morris <rgm@gnu.org>
16582
16583 * minibuffer.el (completion-category-overrides): Doc fix.
16584
16585 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16586
16587 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16588 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16589
16590 2012-02-23 Glenn Morris <rgm@gnu.org>
16591
16592 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16593 (authors-obsolete-files-regexps, authors-ignored-files)
16594 (authors-ambiguous-files, authors-renamed-files-alist):
16595 Add more entries.
16596
16597 2012-02-23 Juri Linkov <juri@jurta.org>
16598
16599 * isearch.el (isearch-occur): Sync interactive spec with occur's
16600 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16601
16602 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16603
16604 2012-02-22 Juri Linkov <juri@jurta.org>
16605
16606 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16607 (ucs-insert): Doc fix. Check for hex digits in the string.
16608 Don't display `nil' in the error message. (Bug#10857)
16609
16610 2012-02-22 Alan Mackenzie <acm@muc.de>
16611
16612 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16613
16614 2012-02-22 Glenn Morris <rgm@gnu.org>
16615
16616 * ffap.el (ffap-c-path):
16617 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16618
16619 2012-02-22 Chong Yidong <cyd@gnu.org>
16620
16621 * custom.el (load-theme): Doc fix.
16622
16623 2012-02-22 Glenn Morris <rgm@gnu.org>
16624
16625 * dired-x.el (dired-guess-shell-alist-default):
16626 Remove escape sequences from nroff output. (Bug#172)
16627
16628 2012-02-21 Glenn Morris <rgm@gnu.org>
16629
16630 * vc/emerge.el (emerge-defvar-local):
16631 Set `permanent-local' property rather than unused `preserved'.
16632
16633 * textmodes/picture.el (picture-delete-char): New alias.
16634 (picture-mode-map): Use it. (Bug#10860)
16635 (picture-mode): Doc fix.
16636
16637 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16638
16639 * newcomment.el (uncomment-region-default): Remove unused binding.
16640
16641 2012-02-21 Glenn Morris <rgm@gnu.org>
16642
16643 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16644 (picture-self-insert, picture-tab-chars): Doc fix.
16645 (picture-mode-map): Fix C-a, C-e.
16646
16647 2012-02-20 Glenn Morris <rgm@gnu.org>
16648
16649 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16650
16651 2012-02-20 Leo Liu <sdl.web@gmail.com>
16652
16653 * icomplete.el (icomplete-completions): Check FROM arg before
16654 passing to substring (Bug#10850).
16655
16656 2012-02-19 Chong Yidong <cyd@gnu.org>
16657
16658 * comint.el: Require ansi-color.
16659 (comint-output-filter-functions): Add ansi-color-process-output.
16660
16661 * ansi-color.el: Don't set comint-output-filter-functions; it is
16662 now in the initial value defined in comint.el.
16663 (ansi-color-apply-face-function): New variable.
16664 (ansi-color-apply-on-region): Use it.
16665 (ansi-color-apply-overlay-face): New function.
16666
16667 * shell.el (shell): No need to require ansi-color.
16668 (shell-mode): Use ansi-color-apply-face-function to highlight
16669 color escapes using font-lock-face property (Bug#10835).
16670
16671 2012-02-19 Chong Yidong <cyd@gnu.org>
16672
16673 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16674 mode-line formats (Bug#10839).
16675
16676 2012-02-18 Glenn Morris <rgm@gnu.org>
16677
16678 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16679
16680 * mail/undigest.el (unforward-rmail-message): Doc fix.
16681
16682 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16683
16684 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16685
16686 * international/characters.el (script-list): Sync with the latest
16687 Unicode Character Database.
16688
16689 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16690
16691 * international/titdic-cnv.el: Remove duplicate coding tag.
16692 * language/cham.el: Likewise.
16693 * language/tai-viet.el: Likewise.
16694
16695 2012-02-18 Glenn Morris <rgm@gnu.org>
16696
16697 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16698 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16699 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16700 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16701 * calendar/holidays.el (holiday-bahai-holidays)
16702 (calendar-holidays, list-holidays):
16703 Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
16704
16705 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16706
16707 * saveplace.el (save-place-ignore-files-regexp): New variable
16708 allowing for excluding files from saving their location of point.
16709 The default value matches the temporary commit message editing
16710 files from Git, SVN, Bazaar, and Mercurial.
16711 (save-place-to-alist): Use it.
16712
16713 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16714 Stefan Monnier <monnier@iro.umontreal.ca>
16715
16716 * newcomment.el (uncomment-region-default): Don't leave extra space
16717 when an arg is provided (bug#8150).
16718
16719 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16720
16721 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16722
16723 2012-02-17 Glenn Morris <rgm@gnu.org>
16724
16725 * net/socks.el: Require network-stream. (Bug#10599)
16726
16727 2012-02-17 Kenichi Handa <handa@m17n.org>
16728
16729 * international/charprop.el:
16730 * international/uni-name.el:
16731 * international/uni-old-name.el:
16732 * international/uni-comment.el: Regenerate.
16733
16734 2012-02-16 Glenn Morris <rgm@gnu.org>
16735
16736 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16737 Interactively in calendar buffer, give an error if not on a date.
16738
16739 2012-02-15 Glenn Morris <rgm@gnu.org>
16740
16741 * shell.el (shell-delimiter-argument-list):
16742 Revert 2011-02-17 change. (Bug#8027)
16743
16744 2012-02-15 Chong Yidong <cyd@gnu.org>
16745
16746 * minibuffer.el (completion-at-point-functions): Doc fix.
16747
16748 * custom.el (defcustom): Doc fix; note use of defvar.
16749
16750 2012-02-15 Glenn Morris <rgm@gnu.org>
16751
16752 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16753 Doc fixes.
16754
16755 2012-02-14 Glenn Morris <rgm@gnu.org>
16756
16757 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16758
16759 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16760
16761 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16762 way the ports list is computed.
16763 (smtpmail-query-smtp-server): Prompt the user for a port number if
16764 we can't connect to any of the standard ports (bug#10810).
16765
16766 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16767
16768 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16769
16770 2012-02-13 Glenn Morris <rgm@gnu.org>
16771
16772 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16773
16774 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16775
16776 * net/gnutls.el (gnutls-trustfiles): New variable.
16777 (gnutls-negotiate): Use it.
16778
16779 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16780
16781 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16782 does its stuff if Gnus is running.
16783
16784 2012-02-13 Alan Mackenzie <acm@muc.de>
16785
16786 Fix a loop in c-set-fl-decl-start.
16787
16788 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16789 c-backward-syntactic-ws actually moves backwards.
16790
16791 2012-02-13 Leo Liu <sdl.web@gmail.com>
16792
16793 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16794 beginning so that all \C-o chars are removed.
16795
16796 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16797
16798 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16799
16800 2012-02-12 Alan Mackenzie <acm@muc.de>
16801
16802 Fix infinite loop with long macros.
16803 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16804
16805 2012-02-12 Chong Yidong <cyd@gnu.org>
16806
16807 * window.el (display-buffer): Doc fix (Bug#10785).
16808
16809 2012-02-12 Glenn Morris <rgm@gnu.org>
16810
16811 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16812 (x-disown-selection-internal, x-get-selection-internal):
16813 Sync docs with the xselect.c versions.
16814
16815 * allout-widgets.el: Add missing license notice.
16816
16817 2012-02-11 Glenn Morris <rgm@gnu.org>
16818
16819 * select.el (x-get-selection-internal, x-own-selection-internal)
16820 (x-disown-selection-internal):
16821 * x-dnd.el (x-get-selection-internal): Update declarations.
16822
16823 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16824
16825 * window.el (window-sides-slots):
16826 * tool-bar.el (tool-bar-position):
16827 * term/xterm.el (xterm-extra-capabilities):
16828 * ses.el (ses-self-reference-early-detection):
16829 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16830 (verilog-auto-wire-type)
16831 (verilog-auto-delete-trailing-whitespace)
16832 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16833 (verilog-auto-tieoff-declaration):
16834 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16835 (sql-oracle-statement-starters, sql-oracle-scan-on):
16836 * progmodes/prolog.el (prolog-align-comments-flag)
16837 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16838 (prolog-left-indent-regexp, prolog-paren-indent-p)
16839 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16840 (prolog-types, prolog-mode-specificators)
16841 (prolog-determinism-specificators, prolog-directives)
16842 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16843 (prolog-electric-dot-flag)
16844 (prolog-electric-dot-full-predicate-template)
16845 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16846 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16847 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16848 (prolog-program-switches, prolog-prompt-regexp)
16849 (prolog-debug-on-string, prolog-debug-off-string)
16850 (prolog-trace-on-string, prolog-trace-off-string)
16851 (prolog-zip-on-string, prolog-zip-off-string)
16852 (prolog-use-standard-consult-compile-method-flag)
16853 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16854 (prolog-imenu-max-lines, prolog-info-predicate-index)
16855 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16856 (prolog-char-quote-workaround):
16857 * progmodes/cc-vars.el (c-defun-tactic):
16858 * net/tramp.el (tramp-encoding-command-interactive)
16859 (tramp-local-end-of-line):
16860 * net/soap-client.el (soap-client):
16861 * net/netrc.el (netrc-file):
16862 * net/gnutls.el (gnutls):
16863 * minibuffer.el (completion-category-overrides)
16864 (completion-cycle-threshold)
16865 (completion-pcm-complete-word-inserts-delimiters):
16866 * man.el (Man-name-local-regexp):
16867 * mail/feedmail.el (feedmail-display-full-frame):
16868 * international/characters.el (glyphless-char-display-control):
16869 * eshell/em-ls.el (eshell-ls-date-format):
16870 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16871 (lisp-lambda-list-keyword-parameter-indentation)
16872 (lisp-lambda-list-keyword-parameter-alignment):
16873 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16874 * dired-x.el (dired-omit-verbose):
16875 * cus-theme.el (custom-theme-allow-multiple-selections):
16876 * calc/calc.el (calc-highlight-selections-with-faces)
16877 (calc-lu-field-reference, calc-lu-power-reference)
16878 (calc-note-threshold):
16879 * battery.el (battery-mode-line-limit):
16880 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16881 (archive-7z-update):
16882 * allout.el (allout-prefixed-keybindings)
16883 (allout-unprefixed-keybindings)
16884 (allout-inhibit-auto-fill-on-headline)
16885 (allout-flattened-numbering-abbreviation):
16886 * allout-widgets.el (allout-widgets-auto-activation)
16887 (allout-widgets-icons-dark-subdir)
16888 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16889 (allout-widgets-theme-dark-background)
16890 (allout-widgets-theme-light-background)
16891 (allout-widgets-item-image-properties-emacs)
16892 (allout-widgets-item-image-properties-xemacs)
16893 (allout-widgets-run-unit-tests-on-load)
16894 (allout-widgets-time-decoration-activity)
16895 (allout-widgets-hook-error-post-time)
16896 (allout-widgets-track-decoration):
16897 Add missing :version tags to new defcustoms and defgroups.
16898
16899 * progmodes/sql.el (sql-ansi-statement-starters)
16900 (sql-oracle-statement-starters): Add custom type.
16901
16902 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16903 (prolog-system-version): Give it a type.
16904
16905 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16906
16907 * term/pc-win.el (x-select-text, x-selection-owner-p)
16908 (x-own-selection-internal, x-disown-selection-internal)
16909 (x-get-selection-internal): Sync doc strings and argument lists
16910 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16911
16912 2012-02-11 Leo Liu <sdl.web@gmail.com>
16913
16914 * progmodes/python.el (python-end-of-statement): Fix infinite
16915 loop. (Bug#10788)
16916
16917 2012-02-10 Glenn Morris <rgm@gnu.org>
16918
16919 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16920 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16921
16922 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16923
16924 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16925 about SMTP before checking the From header.
16926
16927 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16928 into own function for reuse by emacsbug.el.
16929
16930 2012-02-10 Leo Liu <sdl.web@gmail.com>
16931
16932 * subr.el (condition-case-unless-debug): Rename from
16933 condition-case-no-debug. All callers changed.
16934 (with-demoted-errors): Fix caller.
16935
16936 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16937 * nxml/rng-valid.el (rng-do-some-validation):
16938 * emacs-lisp/package.el (package-refresh-contents)
16939 (package-menu-execute):
16940 * desktop.el (desktop-create-buffer):
16941 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16942
16943 2012-02-10 Glenn Morris <rgm@gnu.org>
16944
16945 * textmodes/bibtex.el:
16946 Add missing :version tags for new/changed defcustoms.
16947
16948 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16949
16950 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16951
16952 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16953 (smtpmail-via-smtp): Use it, or fall back on the From address.
16954 (smtpmail-send-it): Ditto.
16955
16956 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16957
16958 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16959 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16960 (byte-compile-tmp-var): New const.
16961 (byte-compile-defvar): Use it to minimize .elc size.
16962 Just use `defvar' rather than simulate it (bug#10761).
16963
16964 2012-02-09 Glenn Morris <rgm@gnu.org>
16965
16966 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16967
16968 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16969 Add :version tags.
16970
16971 * progmodes/compile.el (compilation-error-screen-columns)
16972 (compilation-first-column, compilation-filter-start): Doc fixes.
16973
16974 * vc/log-view.el (log-view-toggle-entry-display):
16975 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16976
16977 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16978 (report-emacs-bug-can-use-xdg-email):
16979 (report-emacs-bug-insert-to-mailer): Doc fixes.
16980 (report-emacs-bug): Message fix.
16981
16982 * net/browse-url.el (browse-url-can-use-xdg-open)
16983 (browse-url-xdg-open): Doc fixes.
16984
16985 * electric.el (electric-indent-mode, electric-pair-mode)
16986 (electric-layout-rules, electric-layout-mode): Doc fixes.
16987 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16988
16989 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16990
16991 * server.el (server-unselect-display): Don't inadvertently kill
16992 the current buffer. (Bug#10729)
16993
16994 2012-02-08 Glenn Morris <rgm@gnu.org>
16995
16996 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16997 (sql-list-table): Doc fixes.
16998
16999 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
17000 Comment out (does nothing).
17001
17002 * completion.el (dynamic-completion-mode):
17003 * dirtrack.el (dirtrack-debug-mode):
17004 * electric.el (electric-layout-mode):
17005 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
17006 * face-remap.el (text-scale-mode, buffer-face-mode):
17007 * iimage.el (iimage-mode):
17008 * image-mode.el (image-transform-mode):
17009 * minibuffer.el (completion-in-region-mode):
17010 * scroll-lock.el (scroll-lock-mode):
17011 * simple.el (next-error-follow-minor-mode):
17012 * tar-mode.el (tar-subfile-mode):
17013 * tooltip.el (tooltip-mode):
17014 * vcursor.el (vcursor-use-vcursor-map):
17015 * wid-browse.el (widget-minor-mode):
17016 * emulation/tpu-edt.el (tpu-edt-mode):
17017 * emulation/tpu-extras.el (tpu-cursor-free-mode):
17018 * international/iso-ascii.el (iso-ascii-mode):
17019 * language/thai-util.el (thai-word-mode):
17020 * mail/supercite.el (sc-minor-mode):
17021 * net/goto-addr.el (goto-address-mode):
17022 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
17023 * progmodes/cwarn.el (cwarn-mode):
17024 * progmodes/flymake.el (flymake-mode):
17025 * progmodes/glasses.el (glasses-mode):
17026 * progmodes/hideshow.el (hs-minor-mode):
17027 * progmodes/pascal.el (pascal-outline-mode):
17028 * textmodes/enriched.el (enriched-mode):
17029 * vc/smerge-mode.el (smerge-mode):
17030 Doc fixes (minor mode argument).
17031
17032 2012-02-07 Eli Zaretskii <eliz@gnu.org>
17033
17034 * ls-lisp.el (ls-lisp-sanitize): New function.
17035 (ls-lisp-insert-directory): Use it to fix or remove any elements
17036 in file-alist with missing attributes. (Bug#4673)
17037
17038 2012-02-07 Alan Mackenzie <acm@muc.de>
17039
17040 Fix spurious recognition of c-in-knr-argdecl.
17041
17042 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
17043 putative K&R region.
17044
17045 2012-02-07 Alan Mackenzie <acm@muc.de>
17046
17047 * progmodes/cc-engine.el (c-forward-objc-directive):
17048 Prevent looping in "#pragma mark @implementation".
17049
17050 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
17051
17052 * notifications.el (notifications-on-closed-signal): Make `reason'
17053 optional. (Bug#10744)
17054
17055 2012-02-07 Glenn Morris <rgm@gnu.org>
17056
17057 * emacs-lisp/easy-mmode.el (define-minor-mode):
17058 Doc fixes for the macro and the mode it defines.
17059
17060 * image.el (imagemagick-types-inhibit): Doc fix.
17061
17062 * cus-start.el (imagemagick-render-type): Add it.
17063
17064 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
17065
17066 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
17067 Set the default at load time, too, so that `font-lock-fontify-buffer'
17068 can be called without setting up the entire mode first. This fixes
17069 a bug in `mm-inline-text' with C MIME parts.
17070
17071 2012-02-06 Chong Yidong <cyd@gnu.org>
17072
17073 * simple.el (list-processes--refresh): Delete exited processes
17074 (Bug#8094).
17075
17076 * comint.el (comint-next-prompt): next-single-char-property-change
17077 and prev-single-char-property-change never return nil (Bug#8657).
17078
17079 * custom.el (defcustom): Doc fix (Bug#9711).
17080
17081 2012-02-05 Chong Yidong <cyd@gnu.org>
17082
17083 * cus-edit.el (custom-variable-reset-backup): Quote the value
17084 before storing it in the customized-value property (Bug#6712).
17085 (custom-display): Add a customization type tag.
17086 (custom-buffer-create-internal): Improve tooltip message.
17087
17088 * wid-edit.el (widget-field-value-get): New optional arg to
17089 suppress trailing whitespace truncation.
17090 (character): Use it (Bug#2689).
17091
17092 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17093
17094 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17095 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17096
17097 2012-02-05 Chong Yidong <cyd@gnu.org>
17098
17099 * cus-edit.el (custom-variable-value-create): For mismatched
17100 types, show the current value (Bug#7600).
17101
17102 * custom.el (defcustom): Doc fix.
17103
17104 2012-02-05 Glenn Morris <rgm@gnu.org>
17105
17106 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17107
17108 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17109
17110 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17111 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17112 (pp-last-sexp): Use `looking-at-p'.
17113
17114 2012-02-04 Glenn Morris <rgm@gnu.org>
17115
17116 * files.el (revert-buffer):
17117 Doc fix (mention revert-buffer-in-progress-p).
17118
17119 * emacs-lisp/ert-x.el (ert-simulate-command):
17120 Check deferred-action-list (which is obsolete) is bound.
17121
17122 * subr.el (with-wrapper-hook): Doc fixes.
17123
17124 * simple.el (filter-buffer-substring-functions)
17125 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17126
17127 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17128
17129 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17130 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17131
17132 2012-02-04 Leo Liu <sdl.web@gmail.com>
17133
17134 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17135
17136 2012-02-04 Glenn Morris <rgm@gnu.org>
17137
17138 * image.el (image-extension-data): Add obsolete alias.
17139
17140 * isearch.el (isearch-update): Doc fix.
17141
17142 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17143
17144 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17145
17146 2012-02-03 Glenn Morris <rgm@gnu.org>
17147
17148 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17149 (image-animate-timeout): Doc fix.
17150
17151 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17152
17153 2012-02-02 Glenn Morris <rgm@gnu.org>
17154
17155 * server.el (server-auth-dir): Doc fix.
17156 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17157
17158 * subr.el (run-mode-hooks): Doc fix.
17159
17160 2012-02-02 Juri Linkov <juri@jurta.org>
17161
17162 * image-mode.el (image-toggle-display-image): Remove tautological
17163 `major-mode' from the `derived-mode-p' test.
17164
17165 2012-02-02 Kenichi Handa <handa@m17n.org>
17166
17167 * composite.el (compose-region): Cancel previous change.
17168
17169 2012-02-02 Kenichi Handa <handa@m17n.org>
17170
17171 * composite.el (compose-region, compose-string): Signal error for
17172 a null string component (Bug#6988).
17173
17174 2012-02-01 Chong Yidong <cyd@gnu.org>
17175
17176 * view.el (view-buffer-other-window, view-buffer-other-frame):
17177 Handle special modes like view-buffer (Bug#10650).
17178 (view-buffer): Simplify.
17179
17180 * frame.el (set-frame-font): Tweak meaning of third argument.
17181
17182 * dynamic-setting.el (font-setting-change-default-font):
17183 Use set-frame-font (Bug#9982).
17184
17185 2012-02-01 Glenn Morris <rgm@gnu.org>
17186
17187 * progmodes/compile.el (compilation-internal-error-properties):
17188 Respect compilation-first-column in the "*compilation*" buffer.
17189
17190 * emacs-lisp/easy-mmode.el (define-minor-mode):
17191 Relax :variable's test for a named function.
17192
17193 2012-01-31 Alan Mackenzie <acm@muc.de>
17194
17195 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17196 off by one error.
17197
17198 2012-01-31 Chong Yidong <cyd@gnu.org>
17199
17200 * frame.el (set-frame-font): New arg ALL-FRAMES.
17201
17202 * menu-bar.el (menu-set-font): Use set-frame-font.
17203
17204 * faces.el (face-spec-reset-face): Don't apply unspecified
17205 attribute values to the default face.
17206
17207 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17208
17209 * progmodes/cwarn.el (cwarn): Remove dead link.
17210 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17211 Remove * from defcustom docstrings.
17212 (turn-on-cwarn-mode): Make obsolete.
17213 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17214 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17215
17216 2012-01-31 Glenn Morris <rgm@gnu.org>
17217
17218 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17219 Fix :variable handling of mode a symbol not equal to modefun.
17220 Allow named functions to be used as the cdr of :variable.
17221
17222 2012-01-30 Glenn Morris <rgm@gnu.org>
17223
17224 * emacs-lisp/authors.el (authors-fixed-entries):
17225 Remove reference to deleted file rnewspost.el.
17226
17227 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17228
17229 * window.el (window-with-parameter): Remove unused variable `windows'.
17230 (window--side-check): Remove unused variable `code'.
17231 (window--resize-siblings): Remove unused variable `first'.
17232 (adjust-window-trailing-edge): Remove unused variable `failed'.
17233 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17234 Use `let', not `let*'.
17235 (balance-windows-2): Remove unused variable `found'.
17236 (window--state-put-2): Remove unused variable `splits'.
17237 (window-state-put): Remove unused variable `selected'.
17238 (same-window-p): Use `string-match-p'.
17239 (display-buffer-assq-regexp): Remove unused variable `value'.
17240 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17241 Mark argument ALIST as ignored.
17242 (pop-to-buffer): Remove unused variable `old-window'.
17243
17244 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17245
17246 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17247 and .lzma compressed files.
17248
17249 2012-01-29 Chong Yidong <cyd@gnu.org>
17250
17251 * frame.el (window-system-default-frame-alist): Doc fix.
17252
17253 * dynamic-setting.el (font-setting-change-default-font): Don't
17254 change the default face if SET-FONT argument is non-nil (Bug#9982).
17255
17256 2012-01-29 Samuel Bronson <naesten@gmail.com>
17257
17258 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17259
17260 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17261
17262 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17263 breakpoints in files outside current directory (Bug#6098).
17264
17265 2012-01-29 Chong Yidong <cyd@gnu.org>
17266
17267 * progmodes/python.el: Require ansi-color at top-level.
17268
17269 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17270 Define and use in Emacs Lisp mode (Bug#9360).
17271 (lisp-mode-abbrev-table): Add doc.
17272 (lisp-mode-variables): Don't set local-abbrev-table.
17273 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17274
17275 2012-01-28 Roland Winkler <winkler@gnu.org>
17276
17277 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17278
17279 2012-01-28 Roland Winkler <winkler@gnu.org>
17280
17281 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17282 (bibtex-set-dialect): Use it. Either set global values of
17283 dialect-dependent variables or bind these variables buffer-locally
17284 (Bug#10254).
17285 (bibtex-mode): Call bibtex-set-dialect via
17286 hack-local-variables-hook.
17287 (bibtex-dialect): Update docstring.
17288 Add safe-local-variable predicate.
17289 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17290 bibtex-set-dialect.
17291 (bibtex-mode-map): Define menu for each dialect.
17292 (bibtex-entry): Fix docstring.
17293
17294 2012-01-28 Chong Yidong <cyd@gnu.org>
17295
17296 * eshell/esh-arg.el (eshell-quote-argument): New function.
17297
17298 * eshell/esh-ext.el (eshell-invoke-batch-file):
17299 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17300 first arg to eshell-parse-command (Bug#10523).
17301
17302 2012-01-28 Drew Adams <drew.adams@oracle.com>
17303
17304 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17305 `default-directory' is non-nil.
17306
17307 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17308
17309 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17310 line that displays system-configuration-options. (Bug#9924)
17311
17312 2012-01-28 Drew Adams <drew.adams@oracle.com>
17313
17314 * descr-text.el (describe-char): Show information about POS, in
17315 addition to information about the character at POS. Improve and
17316 update the doc string. Change "code point" to "code point in
17317 charset", to avoid confusion with the character's Unicode code
17318 point shown above that. (Bug#10129)
17319
17320 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17321
17322 * descr-text.el (describe-char): Show the raw character, not only
17323 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17324 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17325 for the reasons.
17326
17327 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17328
17329 * emacs-lisp/package.el (package-install):
17330 Run package-refresh-contents if there is no archive yet (Bug#9798).
17331
17332 2012-01-28 Chong Yidong <cyd@gnu.org>
17333
17334 * emacs-lisp/package.el (package-maybe-load-descriptor):
17335 New function, split from package-maybe-load-descriptor.
17336 (package-maybe-load-descriptor): Use it.
17337 (package-download-transaction): Fully load required packages
17338 inside the loop, so that `require' calls work (Bug#10593).
17339 (package-install): No need to call package-initialize now.
17340
17341 2012-01-28 Chong Yidong <cyd@gnu.org>
17342
17343 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17344
17345 * tooltip.el (tooltip-mode): Doc fix.
17346 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17347
17348 * frame.el (set-cursor-color): Doc fix (Bug#352).
17349
17350 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17351 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17352
17353 * cus-edit.el (custom-buffer-create-internal): Fix search button
17354 action (Bug#10542).
17355 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17356
17357 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17358
17359 * dired.el (dired-mark-files-regexp):
17360 Include any subdirectory components. (Bug#10445)
17361
17362 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17363
17364 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17365 Handle [host]:port syntax. (Bug#10533)
17366
17367 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17368
17369 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17370
17371 2012-01-26 Glenn Morris <rgm@gnu.org>
17372
17373 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17374 * term.el (term-raw-escape-map): Use Control-X-prefix.
17375 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17376
17377 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17378
17379 * window.el (window-state-get, window--state-get-1): Don't deal
17380 with fixed-sizeness of windows. Simplify code.
17381
17382 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17383
17384 * window.el (window--state-get-1, window--state-put-2):
17385 Don't save and restore the mark.
17386
17387 2012-01-25 Chong Yidong <cyd@gnu.org>
17388
17389 * custom.el (custom-variable-p): Doc fix.
17390
17391 2012-01-25 Glenn Morris <rgm@gnu.org>
17392
17393 * dired.el (dired-goto-file): Handle some of the more common
17394 characters that `ls -b' escapes. (Bug#10596)
17395
17396 * progmodes/compile.el (compilation-next-error-function):
17397 Respect compilation-first-column in the "*compilation*" buffer.
17398 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17399
17400 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17401
17402 2012-01-24 Glenn Morris <rgm@gnu.org>
17403
17404 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17405
17406 2012-01-24 Julien Danjou <julien@danjou.info>
17407
17408 * color.el (color-rgb-to-hsl): Fix value computing.
17409 (color-hue-to-rgb): New function.
17410 (color-hsl-to-rgb): New function.
17411 (color-clamp, color-saturate-hsl, color-saturate-name)
17412 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17413 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17414
17415 2012-01-24 Glenn Morris <rgm@gnu.org>
17416
17417 * vc/vc-rcs.el (vc-rcs-create-tag):
17418 * vc/vc-sccs.el (vc-sccs-create-tag):
17419 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17420
17421 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17422
17423 * eshell/esh-util.el (eshell-read-hosts-file):
17424 Skip comment lines. (Bug#10549)
17425
17426 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17427
17428 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17429
17430 * subr.el (display-delayed-warnings): Doc fix.
17431 (collapse-delayed-warnings): New function to collapse identical
17432 adjacent warnings.
17433 (delayed-warnings-hook): Add it.
17434
17435 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17436
17437 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17438
17439 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17440 (tramp-default-user-alist): Don't add "pscp".
17441 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17442 property "login-as", if set. (Bug#10530)
17443
17444 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17445
17446 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17447 "plink1" and "psftp". (Bug#10530)
17448
17449 2012-01-21 Kenichi Handa <handa@m17n.org>
17450
17451 * international/mule-cmds.el (prefer-coding-system): Show a
17452 warning message if the default value of file-name-coding-system
17453 was not changed.
17454
17455 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17456
17457 * windmove.el (windmove-reference-loc):
17458 Fix windmove-reference-loc miscalculation.
17459
17460 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17461
17462 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17463 default unit.
17464
17465 2012-01-21 Glenn Morris <rgm@gnu.org>
17466
17467 * international/mule.el (auto-coding-alist): Add .tbz.
17468
17469 * files.el (local-enable-local-variables): Doc fix.
17470 (inhibit-local-variables-regexps): Rename from
17471 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17472 Doc fix. Add some extensions from auto-coding-alist.
17473 (inhibit-local-variables-suffixes):
17474 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17475 (inhibit-local-variables-p):
17476 New function, extracted from set-auto-mode-1.
17477 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17478 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17479 (hack-local-variables): Doc fix. Make the mode-only case
17480 respect enable-local-variables and friends.
17481 Respect inhibit-local-variables-regexps for file-locals, but
17482 not for directory-locals.
17483 (set-visited-file-name):
17484 Take account of inhibit-local-variables-regexps.
17485 Whether it applies may change as the file name is changed.
17486 * jka-cmpr-hook.el (jka-compr-install):
17487 * jka-compr.el (jka-compr-uninstall):
17488 Update for inhibit-first-line-modes-suffixes name change.
17489
17490 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17491
17492 * help-macro.el (make-help-screen): Temporarily restore original
17493 binding for minor-mode-map-alist (Bug#10454).
17494
17495 2012-01-19 Julien Danjou <julien@danjou.info>
17496
17497 * color.el (color-name-to-rgb): Use the white color to find the max
17498 color component value and return correctly computed values.
17499 (color-name-to-rgb): Add missing float conversion for max value.
17500
17501 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17502
17503 * window.el (window--state-get-1, window-state-get): Do not use
17504 special state value for window-persistent-parameters.
17505 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17506 (window--state-put-2): Reset all window parameters to nil before
17507 assigning values of persistent parameters.
17508
17509 2012-01-18 Alan Mackenzie <acm@muc.de>
17510
17511 Eliminate sluggishness and hangs in fontification of "semicolon
17512 deserts".
17513
17514 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17515 Change value 10000 -> 3000.
17516 (c-state-safe-place): Reformulate so it doesn't stack up an
17517 infinite number of wrong entries in c-state-nonlit-pos-cache.
17518 (c-determine-limit-get-base, c-determine-limit): New functions to
17519 determine backward search limits disregarding literals.
17520 (c-find-decl-spots): Amend commenting.
17521 (c-cheap-inside-bracelist-p): New function which detects "={".
17522
17523 * progmodes/cc-fonts.el
17524 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17525 backward search.
17526 (c-font-lock-declarations): Fix an occurrence of point being
17527 undefined. Check additionally for point being in a bracelist or
17528 near a macro invocation without a semicolon so as to avoid a
17529 fruitless time consuming search for a declarator. Give a more
17530 precise search limit for declarators using the new
17531 c-determine-limit.
17532
17533 2012-01-18 Glenn Morris <rgm@gnu.org>
17534
17535 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17536 (set-auto-mode): Doc fixes.
17537
17538 2012-01-17 Glenn Morris <rgm@gnu.org>
17539
17540 * isearch.el (search-nonincremental-instead): Fix doc typo.
17541
17542 * dired.el (dired-insert-directory): Handle newlines in directory name.
17543 (dired-build-subdir-alist): Unescape newlines in directory name.
17544
17545 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17546
17547 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17548 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17549 (tramp-action-terminal): Use it. (Bug#10530)
17550
17551 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17552
17553 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17554
17555 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17556
17557 * window.el (window-state-ignored-parameters): Remove variable.
17558 (window--state-get-1): Rename argument MARKERS to IGNORE.
17559 Handle persistent window parameters. Make copy of clone-of
17560 parameter only if requested. (Bug#10348)
17561 (window--state-put-2): Install a window parameter only if it has
17562 a non-nil value or an existing parameter shall be overwritten.
17563
17564 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17565
17566 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17567
17568 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17569
17570 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17571 don't pass the (nil) value of `upnode' to string-match.
17572
17573 2012-01-14 Chong Yidong <cyd@gnu.org>
17574
17575 * startup.el (command-line): Fix X resource class for cursorColor.
17576 Fix values recognized by the cursorBlink resource.
17577
17578 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17579
17580 * epg.el (epg--make-temp-file): Avoid permission race condition
17581 when running on old Emacs versions (bug#10403).
17582
17583 2012-01-14 Glenn Morris <rgm@gnu.org>
17584
17585 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17586
17587 2012-01-13 Alan Mackenzie <acm@muc.de>
17588
17589 Fix filling for when filladapt mode is enabled.
17590
17591 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17592 c-mask-paragraph, pass in `fill-paragraph' rather than
17593 `fill-region-as-paragraph'. (This is a reversion of a previous
17594 change.)
17595 * progmodes/cc-mode.el (c-basic-common-init):
17596 Make fill-paragraph-handle-comment buffer local and set it to nil.
17597
17598 2012-01-13 Glenn Morris <rgm@gnu.org>
17599
17600 * dired.el (dired-switches-escape-p): New function.
17601 (dired-insert-directory): Use dired-switches-escape-p.
17602 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17603
17604 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17605
17606 2012-01-12 Glenn Morris <rgm@gnu.org>
17607
17608 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17609 changes in adaptive-fill-regexp. (Bug#10276)
17610
17611 2012-01-11 Alan Mackenzie <acm@muc.de>
17612
17613 Fix Emacs bug #10463 - put `widen's around the critical spots.
17614
17615 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17616 widen around each invocation of c-state-pp-to-literal. Remove an
17617 unused let variable.
17618
17619 2012-01-11 Glenn Morris <rgm@gnu.org>
17620
17621 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17622 Doc fix.
17623
17624 2012-01-10 Chong Yidong <cyd@gnu.org>
17625
17626 * net/network-stream.el (network-stream-open-starttls):
17627 Avoid emitting a confusing error message when the server gives a bad
17628 response to the capability command.
17629
17630 2012-01-10 Glenn Morris <rgm@gnu.org>
17631
17632 * mail/unrmail.el (unrmail): Tweak previous change.
17633
17634 2012-01-09 Chong Yidong <cyd@gnu.org>
17635
17636 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17637
17638 2012-01-08 Alan Mackenzie <acm@muc.de>
17639
17640 Optimize font locking in long enum definitions.
17641
17642 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17643 arm to a cond form to handle enums.
17644 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17645 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17646
17647 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17648
17649 * files.el (move-file-to-trash): Preserve default file modes on error.
17650 (Bug#10401)
17651
17652 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17653
17654 * faces.el (set-face-attribute): Clarify the meaning of the nil
17655 frame (bug#10294).
17656
17657 * subr.el (with-selected-frame): Mention that the selected frame
17658 is restored (bug#9980).
17659
17660 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17661 (bug#9759).
17662
17663 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17664 (password-read): Don't autoload unused function.
17665
17666 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17667
17668 * progmodes/which-func.el (which-func-mode): Turn into a
17669 non-interactive function and mark as obsolete (bug#10428).
17670
17671 2012-01-06 Chong Yidong <cyd@gnu.org>
17672
17673 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17674 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17675 functions, along with 1 and -1.
17676
17677 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17678
17679 * time.el (display-time-load-average)
17680 (display-time-default-load-average): Doc fixes. See the thread
17681 starting at
17682 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17683 for the details.
17684
17685 2012-01-06 Glenn Morris <rgm@gnu.org>
17686
17687 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17688 has no messages. (Bug#10377)
17689
17690 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17691 than Info-edit. (Bug#10385)
17692
17693 * time.el (display-time-load-average, display-time-next-load-average):
17694 Doc fixes.
17695
17696 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17697 local setting of buffer-read-only to the input buffer. (Bug#10419)
17698
17699 * calendar/calendar.el (calendar-mode):
17700 Locally set scroll-margin to 0. (Bug#10379)
17701
17702 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17703
17704 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17705
17706 2012-01-05 Glenn Morris <rgm@gnu.org>
17707
17708 * eshell/em-unix.el (diff-no-select): Autoload it.
17709 (eshell/diff): Use diff-no-select. (Bug#10420)
17710
17711 2012-01-05 Chong Yidong <cyd@gnu.org>
17712
17713 * shell.el (shell-dynamic-complete-functions): Revert last change.
17714 (shell-command-completion-function): New function.
17715 (shell-completion-vars): Use it to implement
17716 shell-completion-execonly (Bug#10417).
17717
17718 * custom.el (enable-theme): Don't set custom-safe-themes.
17719
17720 * cus-theme.el (custom-theme-merge-theme):
17721 Ignore custom-enabled-themes and custom-safe-themes.
17722
17723 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17724
17725 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17726 first prompt in `sql-interacive-mode'.
17727 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17728 keywords.
17729 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17730 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17731 context of original buffer. Invoke `sql-login-hook'.
17732
17733 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17734
17735 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17736 letters in cite-prefix.
17737
17738 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17739
17740 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17741
17742 2012-01-03 Chong Yidong <cyd@gnu.org>
17743
17744 * shell.el (shell-dynamic-complete-functions):
17745 Put pcomplete-completions-at-point, so as to try
17746 comint-filename-completion first (Bug#10417).
17747
17748 2012-01-02 Richard Stallman <rms@gnu.org>
17749
17750 * battery.el (battery-status-function):
17751 Detect when to use battery-yeeloong-sysfs.
17752 (battery-echo-area-format): Add string for Yeeloong.
17753 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17754 (battery-yeeloong-sysfs): New function.
17755
17756 2012-01-02 Chong Yidong <cyd@gnu.org>
17757
17758 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17759 (dirtrack): Merge code for handling relative filenames in prompt
17760 from shell-dir-cookie-watcher.
17761 (dirtrack-debug-message): New arg to avoid excess format calls.
17762
17763 * shell.el (shell-dir-cookie-re): Variable deleted.
17764 (shell-dir-cookie-watcher): Function deleted.
17765 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17766 with dirtrack-mode.
17767
17768 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17769
17770 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17771 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17772 libgnutls-26.dll.
17773
17774 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17775
17776 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17777
17778 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17779
17780 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17781 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17782
17783 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17784
17785 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17786 also for alternative shells.
17787 (tramp-open-connection-setup-interactive-shell): Check, whether
17788 the shell is a busybox.
17789 (tramp-send-command): Don't suppress multiple prompts for
17790 busyboxes, it hurts.
17791
17792 2011-12-28 Chong Yidong <cyd@gnu.org>
17793
17794 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17795 (gdb-get-source-file): Move mode line update to
17796 gdb-get-source-file (Bug#10087).
17797
17798 2011-12-25 Chong Yidong <cyd@gnu.org>
17799
17800 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17801 gud-gdb-marker-filter without taking it as an argument.
17802 (gud-gdb-run-command-fetch-lines): Caller changed.
17803 (gud-gdb-completion-function): New variable.
17804 (gud-gdb-completion-at-point): Use it.
17805 (gud-gdb-completions-1): Split from gud-gdb-completions.
17806
17807 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17808 function as separate arguments.
17809 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17810 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17811 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17812 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17813 (gdb-stopped, def-gdb-auto-update-trigger)
17814 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17815 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17816 Callers changed.
17817 (gud-gdbmi-completions): New function.
17818 (gdb): Use it for generating the completion table.
17819
17820 2011-12-24 Alan Mackenzie <acm@muc.de>
17821
17822 Introduce a mechanism to widen the region used in context font
17823 locking. Use this to protect declarations from losing their contexts.
17824
17825 * progmodes/cc-langs.el (c-before-font-lock-functions):
17826 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17827 (c-before-context-fontification-functions): New defvar, a list of
17828 functions to be run just before context (etc.) font locking.
17829
17830 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17831 New, functionality extracted from
17832 c-neutralize-syntax-in-and-mark-CPP.
17833 (c-in-after-change-fontification): New variable.
17834 (c-after-change): Set c-in-after-change-fontification.
17835 (c-set-fl-decl-start): Rejig its interface, so it can be called
17836 from both after-change and context fontifying.
17837 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17838 New functions.
17839 (c-standard-font-lock-fontify-region-function): New variable.
17840 (c-font-lock-fontify-region): New function.
17841
17842 2011-12-24 Juri Linkov <juri@jurta.org>
17843
17844 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17845 (Bug#10348)
17846
17847 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17848
17849 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17850 existence of source file. (Bug#10325)
17851
17852 2011-12-23 Alan Mackenzie <acm@muc.de>
17853
17854 Fix unstable fontification inside templates.
17855
17856 * progmodes/cc-langs.el (c-before-font-lock-functions):
17857 Newly created from the singular version. The (c c++ objc) entry now
17858 additionally has c-set-fl-decl-start. The other languages (apart
17859 from AWK) have that as a single entry.
17860
17861 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17862 The functionality for "local" declarations has been extracted to
17863 c-set-fl-decl-start.
17864
17865 * progmodes/cc-mode.el (c-common-init, c-after-change):
17866 Changes due to pluralisation of c-before-font-lock-functions.
17867 (c-set-fl-decl-start): New function, extracted from
17868 c-font-lock-enclosing-decls and enhanced.
17869
17870 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17871
17872 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17873
17874 2011-12-22 Juri Linkov <juri@jurta.org>
17875
17876 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17877
17878 2011-12-22 Chong Yidong <cyd@gnu.org>
17879
17880 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17881
17882 2011-12-21 Drew Adams <drew.adams@oracle.com>
17883
17884 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17885
17886 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17887
17888 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17889
17890 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17891
17892 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17893 highlighting and support. Fix up comments for capitalization.
17894 (cfengine-mode-debug): New var.
17895 (cfengine3-mode): Change the modeline indicator to "CFE3".
17896 (cfengine3-font-lock-keywords): Improve defun highlighting.
17897 (cfengine2-actions): Rename from `cfengine-actions'.
17898 (cfengine2-font-lock-keywords): Rename from
17899 `cfengine-font-lock-keywords'.
17900 (cfengine2-imenu-expression): Rename from
17901 `cfengine-imenu-expression'.
17902 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17903 (cfengine2-beginning-of-defun): Rename from
17904 `cfengine-beginning-of-defun'.
17905 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17906 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17907 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17908 modeline indicator to "CFE2".
17909 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17910 (cfengine-mode-abbrevs): Mark obsolete.
17911
17912 2011-12-21 Chong Yidong <cyd@gnu.org>
17913
17914 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17915 filename argument.
17916
17917 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17918
17919 * window.el (window-normalize-buffer-to-display): Remove.
17920 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17921
17922 2011-12-19 Chong Yidong <cyd@gnu.org>
17923
17924 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17925 Don't signal an error in a predicate function; return non-nil.
17926 (vc-dir-mark-file): Move the error here.
17927 (vc-dir-mark-unmark): If acting on the region, keep going if one
17928 of the entries cannot be marked/unmarked.
17929 (vc-dir-mark-all-files): If current entry is a directory, mark
17930 only child files, as documented.
17931
17932 2011-12-19 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
17933
17934 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17935 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17936 addition.
17937
17938 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17939
17940 * term/ns-win.el (ns-get-selection-internal)
17941 (ns-store-selection-internal): Declare.
17942 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17943 Declare as obsolete.
17944 (ns-get-pasteboard, ns-paste-secondary):
17945 Use ns-get-selection-internal.
17946 (ns-set-pasteboard, ns-copy-including-secondary):
17947 Use ns-store-selection-internal.
17948
17949 2011-12-17 Chong Yidong <cyd@gnu.org>
17950
17951 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17952 (vc-deduce-fileset): Doc fix.
17953
17954 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17955
17956 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17957
17958 2011-12-13 Sam Steingold <sds@gnu.org>
17959
17960 * man.el (Man-getpage-in-background): When running under a
17961 window-system, ignore $MANWIDTH and $COLUMNS.
17962
17963 2011-12-15 Kenichi Handa <handa@m17n.org>
17964
17965 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17966 (setup-ethiopic-environment-internal): Comment out key-binding for
17967 ethio-toggle-punctuation.
17968
17969 2011-12-13 Alan Mackenzie <acm@muc.de>
17970
17971 Add the switch statement to AWK Mode.
17972
17973 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17974 "default" to the keywords regexp.
17975
17976 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17977 expression as the rest.
17978 (c-nonlabel-token-key): Allow string literals for AWK.
17979 Refactor for the other modes.
17980
17981 Large brace-block initialisation makes CC Mode slow: Fix.
17982 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17983 routines. Limit backward searching in c-font-lock-enclosing.decl.
17984
17985 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17986 pp-state and literal type in addition to the limits.
17987 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17988 (c-state-literal-at): Use the above new defun.
17989 (c-slow-in-literal, c-fast-in-literal): Remove.
17990 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17991
17992 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17993 being in a literal. Add a limit for backward searching.
17994
17995 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17996 c-slow-in-literal.
17997
17998 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17999
18000 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
18001
18002 2011-12-13 Martin Rudalics <rudalics@gmx.at>
18003
18004 * window.el (delete-other-windows): Use correct frame in call to
18005 window-with-parameter.
18006
18007 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
18008
18009 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
18010 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
18011 (makefile-gmake-statements, makefile-makepp-statements):
18012 Use it and add new makepp keywords.
18013 (makefile-makepp-font-lock-keywords): Add new patterns.
18014 (makefile-match-function-end): Match new [...] and [[...]].
18015
18016 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
18017
18018 * ses.el (ses-call-printer-return, ses-cell-property-get)
18019 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
18020 (ses-create-cell-variable, ses-reset-header-string)
18021 (ses-cell-set-formula, ses-repair-cell-reference-all)
18022 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
18023 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
18024 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
18025 (ses-aset-with-undo, ses-load, ses-truncate-cell)
18026 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
18027 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
18028 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
18029 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
18030 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
18031 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
18032 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
18033 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
18034
18035 2011-12-11 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
18036
18037 * ses.el: The overall change is to add cell renaming, that is
18038 setting fancy names for cell symbols other than name matching
18039 "\\`[A-Z]+[0-9]+\\'" regexp .
18040 (ses-create-cell-variable): New defun.
18041 (ses-relocate-formula): Relocate formulas only for cells the
18042 symbols of which are not renamed, i.e. symbols whose names do not
18043 match regexp "\\`[A-Z]+[0-9]+\\'".
18044 (ses-relocate-all): Relocate values only for cells the symbols of
18045 which are not renamed.
18046 (ses-load): Create cells variables as the (ses-cell ...) are read,
18047 in order to check row col consistency with cell symbol name only
18048 for cells that are not renamed.
18049 (ses-replace-name-in-formula): New defun.
18050 (ses-rename-cell): New defun.
18051
18052 2011-12-11 Chong Yidong <cyd@gnu.org>
18053
18054 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
18055 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
18056
18057 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
18058
18059 * window.el (other-window): Fix docstring.
18060
18061 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18062
18063 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
18064 `from' or `to' address before taking its substring.
18065 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
18066 encoded name is chopped in the middle of the encoded string, and
18067 thus displayed encoded.
18068
18069 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18070
18071 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18072
18073 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18074
18075 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18076 to use texinfo-update-node and commands that call it if the
18077 Texinfo file uses @node lines without next/prev/up pointers.
18078 Correct outdated description about texinfo-master-menu.
18079 (texinfo-all-menus-update, texinfo-master-menu)
18080 (texinfo-update-node, texinfo-every-node-update)
18081 (texinfo-multiple-files-update): Doc fix. Warn against updating
18082 all the @node lines.
18083 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18084 argument is numeric. Explain better in the doc string what the
18085 function really does.
18086 (texinfo-insert-master-menu-list): Improve the error message
18087 displayed if there's no menu in the Top node.
18088 (Bug#2975) See also this thread:
18089 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18090
18091 2011-12-09 Manuel GĂ³mez <mgrojo@gmail.com> (tiny change)
18092
18093 * speedbar.el (speedbar-supported-extension-expressions):
18094 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18095
18096 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18097
18098 * printing.el (pr-mode-alist):
18099 * simple.el (filter-buffer-substring-functions)
18100 (completion-list-insert-choice-function):
18101 * window.el (window-with-parameter, window-atom-root)
18102 (window-sides-slots, window-size-fixed, window-min-delta)
18103 (window-max-delta, window--resize-mini-window)
18104 (window--resize-child-windows-normal, window-tree)
18105 (delete-other-windows, quit-window, split-window)
18106 (display-buffer-record-window, special-display-buffer-names)
18107 (special-display-regexps, special-display-popup-frame)
18108 (same-window-p, split-window-sensibly)
18109 (display-buffer-overriding-action, display-buffer-alist)
18110 (display-buffer-base-action, display-buffer, switch-to-buffer)
18111 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18112 (fit-window-to-buffer, recenter-positions)
18113 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18114 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18115 and remove unneeded backslashes in docstrings.
18116
18117 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18118
18119 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18120
18121 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18122 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18123 end in ".mk".
18124 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18125 when reading the makefile (bug#10116).
18126
18127 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18128
18129 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18130 (bug#10116).
18131
18132 2011-12-06 Glenn Morris <rgm@gnu.org>
18133
18134 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18135
18136 2011-12-06 Chong Yidong <cyd@gnu.org>
18137
18138 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18139
18140 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18141
18142 * textmodes/table.el (table-shorten-cell): Fix typo.
18143
18144 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18145
18146 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18147
18148 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18149
18150 * descr-text.el (describe-char): Fix display of strong
18151 right-to-left characters and directional embeddings and overrides.
18152
18153 * simple.el (what-cursor-position): Fix display of codepoints of
18154 strong right-to-left characters.
18155
18156 2011-12-05 Chong Yidong <cyd@gnu.org>
18157
18158 * faces.el (read-color): Doc fix.
18159
18160 2011-12-05 Glenn Morris <rgm@gnu.org>
18161
18162 * align.el (align--set-marker): Add doc-string.
18163 Don't try to move something that is not a marker. (Bug#10216)
18164
18165 2011-12-04 Glenn Morris <rgm@gnu.org>
18166
18167 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18168 overly zealous deletion of trailing whitespace.
18169
18170 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18171
18172 * server.el (server-delete-client): On Windows, do not try to delete
18173 the only terminal.
18174 (server-process-filter): On Windows, treat requests for a tty frame as
18175 if they were for a GUI frame if the running server is in GUI mode.
18176
18177 2011-12-03 Glenn Morris <rgm@gnu.org>
18178
18179 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18180
18181 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18182
18183 * electric.el: Streamline electric-indent's hook.
18184 (electric-indent-chars): Revert to simple list.
18185 (electric-indent-functions): New var.
18186 (electric-indent-post-self-insert-function): Use it.
18187
18188 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18189 there's no inferior buffer (bug#10196).
18190 (prolog-consult-compile): Don't use toggle-read-only.
18191
18192 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18193
18194 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18195 interrupt. (Bug#10187)
18196
18197 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18198
18199 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18200 (bug#9160).
18201
18202 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18203 (bug#10191).
18204
18205 2011-12-02 Juri Linkov <juri@jurta.org>
18206
18207 * info.el (Info-search): Display "end of manual" when Isearch
18208 reaches the end of single-file Info manual. (Bug#9918)
18209
18210 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18211
18212 * isearch.el (isearch-message-prefix): Run the input method part
18213 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18214
18215 2011-12-02 Juri Linkov <juri@jurta.org>
18216
18217 * isearch.el (isearch-occur): Use `word-search-regexp' for
18218 `isearch-word'.
18219 (isearch-search-and-update): Add condition for `isearch-word' and
18220 call `word-search-regexp'. (Bug#10145)
18221
18222 2011-12-01 Glenn Morris <rgm@gnu.org>
18223
18224 * eshell/em-hist.el (eshell-hist-initialize):
18225 Handle eshell-history-size nil and HISTSIZE set or unset.
18226 (eshell-history-file-name, eshell-history-size): Fix custom type.
18227
18228 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18229
18230 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18231
18232 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18233
18234 * progmodes/verilog-mode.el (verilog-pretty-expr):
18235 Rework verilog-pretty-expr to handle new assignment operators in system
18236 verilog, such as += *= and the like.
18237 (verilog-assignment-operator-re): Regular expression to find the
18238 assigment operator in a verilog assignment.
18239 (verilog-assignment-operation-re): Regular expression to find an
18240 assignment statement for pretty-expr.
18241 (verilog-in-attribute-p): Query returns true if point is in an
18242 attribute context; used to skip these for expression line up from
18243 pretty-expr.
18244 (verilog-in-parameter-p): Query returns true if point is in an
18245 parameter definition context; used to skip these for expression
18246 line up from pretty-expr.
18247 (verilog-in-parenthesis-p): Query returns true if point is in a
18248 parenthetical expression, specifically ( ) but not [ ] or { };
18249 used by pretty-expr.
18250 (verilog-just-one-space): If there is no space, don't add one.
18251 (verilog-get-lineup-indent-2): Specifically skip just attribute
18252 contexts for expression lineup, rather than skipping all
18253 parenthetical expressions.
18254 (verilog-calculate-indent): Fix comment, and fix indent.
18255 (verilog-do-indent): Indent declarations in lists (suggested by
18256 Joachim Lechner).
18257 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18258 skeleton items.
18259 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18260 by Alain Mellan).
18261
18262 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18263
18264 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18265 parameters with embedded comments. Reported by Ray Stevens.
18266 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18267 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18268 Reported by Tim Holt.
18269 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18270 instantiated by upper module causing wrong expansion until AUTOed a
18271 second time. Reported by K C Buckenmaier.
18272 (verilog-diff-auto): Fix showing .* as a difference when
18273 `verilog-auto-star-save' off. Reported by Dan Dever.
18274 (verilog-auto-reset, verilog-read-always-signals)
18275 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18276 temporary signals in reset list if
18277 verilog-auto-reset-blocking-in-non is nil, and match assignment
18278 style to each signal's assignment type, bug381.
18279 Reported by Thomas Esposito.
18280 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18281 (verilog-uvm-statement-re): Support UVM indentation and
18282 highlighting, with old OVM keywords only.
18283 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18284 Support AUTOTIEOFF creating non-wire data types.
18285 Suggested by Jonathan Greenlaw.
18286 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18287 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18288 (verilog-inject-sense, verilog-read-inst-pins)
18289 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18290 Fix mismatching parenthesis inside commented out code when deleting
18291 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18292 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18293 non-numeric vector width. Reported by Alex Reed.
18294 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18295 detecting signals with parameter widths. Reported by Alex Reed.
18296 (verilog-auto-delete-trailing-whitespace):
18297 With `verilog-auto-delete-trailing-whitespace' remove trailing
18298 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18299 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18300 Fix verilog-scan-cache corruption when running user AUTO expansion
18301 hooks that call indentation routines.
18302 (verilog-simplify-range-expression): Fix typo ignoring lower case
18303 identifiers.
18304 (verilog-delete-auto): Fix delete-autos to also remove user created
18305 automatics, as long as they start with AUTO.
18306 (verilog-batch-diff-auto, verilog-diff-auto)
18307 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18308 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18309 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18310 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18311 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18312 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18313 is disabled and its cache will get corrupt, causing AUTOS not to
18314 expand. Instead use only -quick functions.
18315 (verilog-scan-region): Fix scanning over escaped quotes.
18316 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18317 (verilog-re-search-backward-quick)
18318 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18319 related functions now ignore strings, to fix misparsing of strings
18320 with magic comments embedded in them.
18321 (verilog-read-auto-template):
18322 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18323 Reported by Brad Dobbie.
18324 (verilog-read-auto-template):
18325 Fix 'verilog-auto-inst-template-numbers' with comments.
18326 Reported by Brad Dobbie.
18327 (verilog-auto-inst, verilog-auto-inst-param)
18328 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18329 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18330 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18331 debugging templates without merge conflicts, bug357.
18332 Reported by Brad Dobbie.
18333 (verilog-read-auto-template):
18334 Fix verilog-auto-inst-template-numbers with multiple templates.
18335 Reported by Brad Dobbie.
18336 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18337 abbrevs so user won't be asked to save.
18338 (verilog-read-auto-lisp-present): Fix to start at beginning of
18339 buffer in case called outside of verilog-auto.
18340 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18341 to "X-2". Reported by Matthew Myers.
18342 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18343 all inputs from module templates. Reported by Leith Johnson.
18344 (verilog-module-inside-filename-p): Fix locating programs as with
18345 modules.
18346 (verilog-auto-inst-port): Fix vl-width expressions when using
18347 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18348 (verilog-decls-get-regs, verilog-decls-get-signals,
18349 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18350 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18351 verilog-read-decls): Combine reg and wire structures into one var
18352 structure to represent SystemVerilog concepts.
18353 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18354 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18355 (verilog-auto-wire-type, verilog-insert-definition):
18356 Add verilog-auto-wire-type and AUTOLOGIC to support using
18357 SystemVerilog "logic" keyword instead of "wire"/"reg".
18358 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18359 to declares outputs that also have assignments (presumably in an
18360 ifdef or generate if so there's not a driver conflict).
18361 Reported by Matthew Myers.
18362 (verilog-auto-declare-nettype, verilog-insert-definition):
18363 Add verilog-auto-declare-nettype to fix declarations using
18364 `default_nettype none. Reported by Julian Gorfajn.
18365 (verilog-read-always-signals-recurse, verilog-read-decls)
18366 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18367 malformed end statement, bug325. Reported by Joshua Wise and
18368 Andrew Drake.
18369 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18370 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18371 when expanding .* in interfaces, bug320.
18372 Reported by Pierre-David Pfister.
18373 (verilog-read-module-name): Fix import statements between module
18374 name and open parenthesis, bug317.
18375 Reported by Pierre-David Pfister.
18376 (verilog-simplify-range-expression): Fix simplification of
18377 multiplications inside AUTOWIRE connections, bug303.
18378 (verilog-auto-inst-port): Support parameter expansion in
18379 multidimensional arrays.
18380 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18381 after "assert property". Reported by Julian Gorfajn.
18382 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18383 with multiplication, bug303.
18384 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18385 Reported by Jan Frode Lonnum.
18386
18387 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18388
18389 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18390 (hfy-shell-file-name, hfy-shell):
18391 * international/fontset.el (x-decompose-font-name): Fix typos.
18392
18393 2011-11-29 Ken Brown <kbrown@cornell.edu>
18394
18395 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18396 (gdb-version): Remove defvar.
18397 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18398 (gdb-gud-context-command, gdb-non-stop-handler)
18399 (gdb-current-context-command, gdb-stopped): Use it.
18400 (gdb-init-1): Enable pretty printing here.
18401 (gdb-non-stop-handler): Don't enable pretty-printing here.
18402 Check to see if the target supports non-stop mode; if not, turn off
18403 non-stop mode. Use the following.
18404 (gdb-check-target-async): New defun.
18405 (gud-watch, gdb-stopped): Fix whitespace.
18406 (gdb-get-source-file): Don't try to display the source file if
18407 `gdb-main-file' is nil.
18408
18409 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18410
18411 * align.el: Try to generate fewer markers (bug#10047).
18412 (align--set-marker): New macro.
18413 (align-region): Use it.
18414
18415 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18416
18417 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18418
18419 2011-11-29 Chong Yidong <cyd@gnu.org>
18420
18421 * indent.el (indent-for-tab-command, indent-according-to-mode):
18422 Doc fix.
18423 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18424
18425 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18426
18427 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18428 aware of remote file names. (Bug#10124)
18429
18430 2011-11-29 Chong Yidong <cyd@gnu.org>
18431
18432 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18433
18434 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18435
18436 * files.el (find-file): Don't use force-same-window (bug#10144).
18437 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18438 use pop-to-buffer if the selected window can't be used.
18439 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18440
18441 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18442
18443 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18444 special-mode-map.
18445
18446 2011-11-28 Chong Yidong <cyd@gnu.org>
18447
18448 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18449
18450 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18451
18452 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18453 gdb-get-source-file-list on gdb-create-source-file-list.
18454
18455 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18456
18457 * whitespace.el (whitespace-newline): Use a different foreground
18458 color for 16-color light-background displays.
18459
18460 2011-11-24 Chong Yidong <cyd@gnu.org>
18461
18462 * window.el (display-buffer--special-action): Doc fix.
18463
18464 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18465
18466 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18467 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18468 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18469 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18470 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18471 (avl-tree-stack-first):
18472 * emacs-lisp/cconv.el (cconv--analyse-use):
18473 * net/gnutls.el (gnutls-negotiate): Fix typos.
18474
18475 2011-11-24 Glenn Morris <rgm@gnu.org>
18476
18477 * lpr.el (lpr-windows-system, lpr-lp-system):
18478 * mail/binhex.el (binhex-begin-line):
18479 * progmodes/grep.el (grep-history, grep-find-history):
18480 * textmodes/flyspell.el:
18481 * vc/pcvs-defs.el (cvs-global-menu):
18482 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18483 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18484 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18485
18486 * net/tls.el: Fix case of "GnuTLS".
18487
18488 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18489
18490 * version.el (emacs-build-system): Give it a doc-string.
18491
18492 2011-11-24 Juri Linkov <juri@jurta.org>
18493
18494 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18495
18496 2011-11-24 Glenn Morris <rgm@gnu.org>
18497
18498 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18499 if called on a non-mime message just toggle the headers. (Bug#8006)
18500
18501 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18502
18503 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18504 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18505 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18506 (allout-rebullet-heading, allout-open-sibtopic)
18507 (allout-toggle-current-subtree-encryption)
18508 (allout-toggle-subtree-encryption, allout-encrypt-string)
18509 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18510 (allout-distinctive-bullets-string, allout-auto-activation):
18511 * window.el (window-normalize-buffer-to-display):
18512 * progmodes/verilog-mode.el (verilog-batch-indent):
18513 * textmodes/bibtex.el (bibtex-field-braces-opt)
18514 (bibtex-field-strings-opt):
18515 * vc/cvs-status.el (cvs-tree-merge):
18516 Fix typos.
18517
18518 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18519
18520 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18521 `non-essential' to t, in order to avoid remote connections.
18522
18523 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18524
18525 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18526 On MS-DOS and MS-Windows, compare with loaddefs.el
18527 case-insensitively.
18528
18529 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18530
18531 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18532
18533 2011-11-23 Glenn Morris <rgm@gnu.org>
18534
18535 * paths.el (rmail-file-name): Reformat the doc-string so that it
18536 is picked up.
18537
18538 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18539 (rmail-auto-file): Ignore case in the "special" field names,
18540 as mail-fetch-field does for all others.
18541
18542 * mail/rmail.el (rmail-forward):
18543 * mail/rmailkwd.el (rmail-set-label):
18544 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18545 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18546
18547 * mail/rmail.el (rmail-current-message): Doc fix.
18548
18549 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18550
18551 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18552
18553 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18554
18555 2011-11-22 Glenn Morris <rgm@gnu.org>
18556
18557 * mail/rmailmm.el (test-rmail-mime-handler)
18558 (test-rmail-mime-bulk-handler)
18559 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18560
18561 2011-11-21 Juri Linkov <juri@jurta.org>
18562
18563 * calc/calc.el (calc-read-key-sequence):
18564 Let-bind `input-method-function' to nil. (Bug#10018)
18565
18566 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18567
18568 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18569 Tell the caller that the next line needs recomputation, even
18570 though it doesn't start a sexp (bug#10094).
18571
18572 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18573
18574 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18575
18576 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18577
18578 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18579 Use force-same-window.
18580
18581 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18582
18583 * descr-text.el (describe-char-unicode-data):
18584 * json.el (json-string-escape):
18585 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18586 (Footnote-unicode, Footnote-style-p):
18587 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18588
18589 2011-11-20 Chong Yidong <cyd@gnu.org>
18590
18591 * window.el (replace-buffer-in-windows): Restore interactive spec.
18592
18593 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18594
18595 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18596
18597 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18598 (byte-compile-global-not-obsolete-vars): New var.
18599 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18600 Use it.
18601 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18602
18603 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18604
18605 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18606 * progmodes/pascal.el (electric-pascal-equal):
18607 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18608 * xml.el (xml-substitute-special): Fix typos.
18609
18610 2011-11-20 Glenn Morris <rgm@gnu.org>
18611
18612 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18613 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18614 Doc fixes.
18615 (rmail-decode-mime-charset): Mark as obsolete.
18616
18617 * mail/rmailsum.el (rmail-message-regexp-p-1):
18618 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18619 Before using mime functions, check they are set. (Bug#10077)
18620
18621 2011-11-19 Juri Linkov <juri@jurta.org>
18622
18623 * info.el (Info-finder-find-node): Use `package--builtins' instead
18624 of `package-alist'. Use node names formed by the pattern "Keyword "
18625 and the keyword name.
18626
18627 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18628
18629 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18630
18631 2011-11-19 Juri Linkov <juri@jurta.org>
18632
18633 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18634 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18635 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18636 `old-history', `old-history-forward'. Add let-binding
18637 `window-selected'. Remove calls to `kill-buffer',
18638 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18639 before calling `Info-find-node', so `Info-find-node-2' will reread
18640 the Info file. Restore window positions only when `window-selected'
18641 is non-nil.
18642
18643 2011-11-19 Juri Linkov <juri@jurta.org>
18644
18645 * isearch.el (isearch-lazy-highlight-new-loop):
18646 Remove condition `(not isearch-error)'. (Bug#9918)
18647
18648 * misearch.el (multi-isearch-search-fun): Add condition
18649 `(not bound)' to ignore lazy-highlighting search.
18650 Add the search-failed message "end of multi" when the end of
18651 multi-sequence is reached. Uncapitalize the search-failed
18652 message "Repeat for next buffer".
18653
18654 * info.el (Info-search): Add the search-failed message
18655 "end of the manual" when the end of the manual is reached
18656 in Isearch mode.
18657
18658 2011-11-19 Juri Linkov <juri@jurta.org>
18659
18660 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18661 Use non-destructive `remove' instead of `delete' because
18662 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18663 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18664
18665 2011-11-19 Juri Linkov <juri@jurta.org>
18666
18667 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18668 to nil instead of binding `search-ring' and `regexp-search-ring'.
18669 (Bug#9185)
18670
18671 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18672
18673 * simple.el (line-move): Force movement by logical lines for any
18674 hscrolled window, not only when auto-hscroll-mode is on.
18675 (line-move-visual): Update doc string to that effect. (Bug#10076)
18676
18677 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18678
18679 * language/european.el (macintosh): Define as alias for mac-roman.
18680
18681 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18682
18683 * mail/rmailmm.el (rmail-mime-display-header)
18684 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18685 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18686 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18687 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18688 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18689 of a raw aref.
18690 (rmail-mime-entity-segment): To get past the tagline, move forward
18691 2 more lines, to account for the 2 empty lines that precede and
18692 follow the line with the buttons.
18693 (rmail-mime-update-tagline): Move one more line, to get past the
18694 empty line that follows the buttons in the tagline. (Bug#9520)
18695
18696 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18697
18698 * window.el (window-max-delta-1, window-min-delta-1)
18699 (window-min-size-1, window-state-get-1, window-state-put-1)
18700 (window-state-put-2): Use "window--" prefix.
18701
18702 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18703
18704 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18705 (smie-warning-count): New var.
18706 (smie-set-prec2tab): Use it.
18707 (smie-bnf->prec2): Improve warnings. Add docstring.
18708 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18709 (smie-bnf--set-class): New function.
18710 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18711 corner case.
18712
18713 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18714 (compilation-error-properties, compilation-move-to-column):
18715 Handle compilation-first-column while in the target buffer.
18716
18717 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18718 Don't hardcode point-min==1.
18719
18720 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18721 (eshell-rewrite-for-command): Remove workaround.
18722 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18723 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18724 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18725
18726 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18727
18728 2011-11-17 Glenn Morris <rgm@gnu.org>
18729
18730 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18731 Ignore buffer-local generated-autoload-file if it is the same
18732 as the global value. (Bug#10049)
18733
18734 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18735
18736 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18737 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18738 (reftex-toc-previous-heading, reftex-toc-max-level)
18739 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18740 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18741 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18742 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18743 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18744 (reftex-toc-rename-label, reftex-toc-visit-location)
18745 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18746 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18747 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18748 leaving "*toc*" only for references to the buffer.
18749
18750 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18751
18752 * window.el (window-resize, delete-window, split-window):
18753 Replace window-splits by window-combination-resize.
18754 * cus-start.el (window-splits): Replace by window-combination-resize.
18755
18756 2011-11-17 Glenn Morris <rgm@gnu.org>
18757
18758 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18759 Make bash entry derive from sh entry, not shell entry.
18760
18761 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18762
18763 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18764 local file name.
18765
18766 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18767
18768 * menu-bar.el (menu-bar-file-menu):
18769 * printing.el (pr-ps-utility):
18770 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18771 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18772 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18773 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18774 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18775 (icalendar--convert-cyclic-to-ical)
18776 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18777 (icalendar--convert-ical-to-diary)
18778 (icalendar--convert-recurring-to-diary)
18779 (icalendar--convert-non-recurring-all-day-to-diary)
18780 (icalendar-import-format-sample):
18781 * progmodes/idlw-shell.el (idlwave-shell-mode):
18782 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18783 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18784 (vhdl-ps-print-init): Fix typos.
18785
18786 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18787
18788 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18789 FSF and collapse date sequence, obscure author/maintainer email address
18790 better, remove extra version line, track relocation of author's webpage.
18791
18792 * progmodes/python.el (python-pdbtrack-input-prompt)
18793 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18794 regular python pdb prompts. Adjustments shamelessly taken exactly as
18795 suggested in EmacsWiki page (tiny change):
18796 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18797
18798 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18799
18800 * expand.el (expand-pos, expand-index, expand-point):
18801 Remove redundant info from docstring.
18802 (expand-add-abbrevs): Doc fix.
18803 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18804 (expand-sample-perl-mode-expand-list): Fix typos.
18805
18806 * net/dbus.el (dbus-event-member-name):
18807 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18808 * term/pc-win.el (msdos-create-frame-with-faces):
18809 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18810
18811 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18812
18813 * window.el (split-window, window-state-get-1)
18814 (window-state-put-1, window-state-put-2): Rename occurrences of
18815 window-nest to window-combination-limit.
18816 * cus-start.el (window-nest): Rename to window-combination-limit.
18817
18818 2011-11-16 Chong Yidong <cyd@gnu.org>
18819
18820 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18821 regexp (Bug#10033).
18822
18823 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18824
18825 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18826 `completing-read' will remove *Completions* and will preserve
18827 current-buffer for us.
18828 (tmm-add-prompt): Users of *Completions* will always (re)set its
18829 major mode.
18830 (tmm-old-comp-map): Remove.
18831
18832 2011-11-16 Glenn Morris <rgm@gnu.org>
18833
18834 * mail/rmailedit.el: Require rmailmm when compiling.
18835 (rmail-old-mime-state): New declaration.
18836 (rmail-edit-current-message): If editing a mime message,
18837 edit the "raw" message from the mbox buffer.
18838 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18839
18840 2011-11-15 Glenn Morris <rgm@gnu.org>
18841
18842 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18843 which wasn't being used. Add optional arg to force given state.
18844 (rmail-mime): Add optional arg to force given state.
18845
18846 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18847
18848 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18849 * frame.el (display-mm-dimensions-alist):
18850 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18851 (outline-move-subtree-down):
18852 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18853 (newsticker--treeview-do-get-node):
18854 * net/quickurl.el (quickurl-list-buffer-name):
18855 * progmodes/dcl-mode.el (dcl-mode):
18856 * progmodes/gdb-mi.el (gdb-mapcar*):
18857 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18858
18859 2011-11-15 Glenn Morris <rgm@gnu.org>
18860
18861 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18862 in a boolean sense, so just make it a boolean, and fix the doc.
18863 (rmail-show-mime-function, rmail-mime-feature)
18864 (rmail-require-mime-maybe): Doc fixes.
18865 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18866
18867 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18868
18869 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18870
18871 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18872 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18873 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18874 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18875
18876 2011-11-15 Glenn Morris <rgm@gnu.org>
18877
18878 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18879 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18880 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18881 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18882 (rmail-mime, rmail-show-mime): Doc fixes.
18883
18884 * term/ns-win.el (mode-line-frame-identification):
18885 Leave it alone. (Bug#10051)
18886
18887 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18888
18889 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18890 Handle empty buffers. (Bug#9978)
18891
18892 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18893
18894 * international/mule.el (define-charset):
18895 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18896 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18897 * progmodes/verilog-mode.el (verilog-backward-token):
18898 * textmodes/ispell.el (lookup-words):
18899 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18900
18901 2011-11-14 Glenn Morris <rgm@gnu.org>
18902
18903 * progmodes/executable.el
18904 (executable-make-buffer-file-executable-if-script-p):
18905 Handle file-modes returning nil.
18906
18907 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18908 message - not necessary, and causes problems. (Bug#9831)
18909
18910 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18911
18912 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18913
18914 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18915 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18916 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18917
18918 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18919
18920 * window.el (window-resize, delete-window): Use window-splits
18921 variable instead of function.
18922 (window-state-get-1, window-state-put-2, window-state-put):
18923 Don't deal with windows' splits status.
18924
18925 2011-11-12 Glenn Morris <rgm@gnu.org>
18926
18927 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18928 (apropos-documentation): Doc fixes.
18929
18930 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18931
18932 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18933 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18934
18935 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18936
18937 * electric.el (electric-indent-post-self-insert-function): Make it
18938 possible for a char to only indent in some circumstances.
18939 (electric-indent-mode): Simplify.
18940
18941 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18942
18943 * window.el (windows-with-parameter): Remove unused function.
18944 (windows-at-side): Rename to window-at-side-list.
18945 (window-check, window-atom-check, window-atom-check-1)
18946 (window-side-check, window-size-ignore, window-size-fixed-1)
18947 (window-in-direction-2): Prefix with "window--".
18948 (window-tree-1): Rename to window--subtree, fix doc-string.
18949
18950 2011-11-11 Glenn Morris <rgm@gnu.org>
18951
18952 * subr.el (eval-after-load): If FILE is already loaded,
18953 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18954
18955 2011-11-10 Glenn Morris <rgm@gnu.org>
18956
18957 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18958 Call svn via vc-svn-command rather than vc-do-command.
18959 (vc-svn-command): Add --non-interactive. (Bug#9993)
18960 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18961
18962 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18963 Add toggle-read-only. (Bug#7292)
18964 * files.el (toggle-read-only): Mention that it should only
18965 be used interactively. (Bug#10006)
18966
18967 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18968
18969 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18970 Adjust regexp for OCaml warnings.
18971
18972 * electric.el (electric-pair-post-self-insert-function): Let user
18973 turn it off buffer-locally (bug#9932).
18974
18975 * progmodes/python.el (python-beginning-of-statement):
18976 Rewrite (bug#2703).
18977
18978 * progmodes/compile.el: Better handle TABs (bug#9749).
18979 (compilation-internal-error-properties)
18980 (compilation-next-error-function): Obey the target buffer's
18981 compilation-error-screen-columns.
18982
18983 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18984
18985 * progmodes/meta-mode.el: Remove obsolete comments.
18986 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18987 Fix typos in docstrings.
18988
18989 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18990
18991 * window.el (window-size-fixed-p): Rewrite doc-string.
18992 (window-resizable-p): Rename to window--resizable-p. Update callers.
18993 (window--resizable): New function. Make all callers of
18994 window-resizable call window--resizable instead.
18995 (window-resizable): Rewrite in terms of window--resizable.
18996
18997 2011-11-08 Glenn Morris <rgm@gnu.org>
18998
18999 * progmodes/delphi.el (delphi-mode-syntax-table):
19000 Let define-derived-mode define a proper syntax table. (Bug#9994)
19001
19002 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19003
19004 * window.el: Stay away from defsubst.
19005 (window-list-no-nils): Remove.
19006 (window-state-get-1, window-state-get): Use backquote instead.
19007
19008 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19009
19010 * emacs-lisp/find-func.el (find-function-read):
19011 Fix incorrect use of default argument in `completing-read'.
19012
19013 2011-11-08 Martin Rudalics <rudalics@gmx.at>
19014
19015 * window.el (display-buffer-function, special-display-function):
19016 Mention display-buffer-record-window but do not mention
19017 help-setup parameter in doc-strings.
19018 (window-min-delta): Fix doc-string typo.
19019
19020 2011-11-08 Chong Yidong <cyd@gnu.org>
19021
19022 * window.el (window-total-height, window-total-width): Doc fix.
19023 (window-body-size): Move from C.
19024 (window-body-height, window-body-width): Move to C.
19025
19026 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
19027
19028 * window.el: Make special-display like display-buffer-alist (bug#9532).
19029 (display-buffer--special-action): New function, morphed
19030 from display-buffer--special.
19031 (display-buffer): Use it to handle special-display-buffers at higher
19032 priority (just after display-buffer-alist).
19033 (display-buffer-fallback-action, display-buffer--other-frame-action)
19034 (pop-to-buffer-same-window): Remove display-buffer--special.
19035
19036 2011-11-07 Glenn Morris <rgm@gnu.org>
19037
19038 * calendar/cal-menu.el (cal-menu-set-date-title):
19039 Do nothing if not in a calendar. (Bug#9976)
19040
19041 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
19042
19043 * files.el (find-file): Always use selected-window.
19044
19045 2011-11-07 Martin Rudalics <rudalics@gmx.at>
19046
19047 * window.el (window-combinations): Make WINDOW argument
19048 mandatory. Rewrite doc-string.
19049 (walk-window-subtree, window-atom-check, window-min-delta)
19050 (window-max-delta, window--resize-this-window)
19051 (window--resize-root-window-vertically, window-tree)
19052 (balance-windows, window-state-put): Rewrite doc-strings as to
19053 not mention the term "subwindow".
19054 (window--resize-subwindows-skip-p): Rename to
19055 window--resize-child-windows-skip-p.
19056 (window--resize-subwindows-normal): Rename to
19057 window--resize-child-windows-normal.
19058 (window--resize-subwindows): Rename to
19059 window--resize-child-windows.
19060 (window-or-subwindow-p): Rename to window--in-subtree-p.
19061
19062 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19063
19064 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
19065 Ensure that mbox format messages end in two newlines (Bug#9974).
19066
19067 2011-11-06 Chong Yidong <cyd@gnu.org>
19068
19069 * window.el (window-combination-p): Function deleted; its
19070 side-effect is not used in any existing code.
19071 (window-combinations, window-combined-p): Call window-*-child
19072 directly.
19073
19074 2011-11-05 Chong Yidong <cyd@gnu.org>
19075
19076 * window.el (window-valid-p): Rename from window-any-p.
19077 (window-size-ignore, window-state-get): Callers changed.
19078 (window-normalize-window): Rename from window-normalize-any-window.
19079 New arg LIVE-ONLY, replacing window-normalize-live-window.
19080 (window-normalize-live-window): Delete.
19081 (window-combination-p, window-combined-p, window-combinations)
19082 (walk-window-subtree, window-atom-root, window-min-size)
19083 (window-sizable, window-sizable-p, window-size-fixed-p)
19084 (window-min-delta, window-max-delta, window-resizable)
19085 (window-resizable-p, window-full-height-p, window-full-width-p)
19086 (window-current-scroll-bars, window-point-1, set-window-point-1)
19087 (window-at-side-p, window-in-direction, window-resize)
19088 (adjust-window-trailing-edge, maximize-window, minimize-window)
19089 (window-deletable-p, delete-window, delete-other-windows)
19090 (record-window-buffer, unrecord-window-buffer)
19091 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19092 (quit-window, split-window, window-state-put)
19093 (set-window-text-height, fit-window-to-buffer)
19094 (shrink-window-if-larger-than-buffer): Callers changed.
19095
19096 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19097
19098 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19099 rfc2047-decode-string.
19100 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19101 warnings.
19102
19103 * window.el (window-body-height, window-body-width): Mention in
19104 the doc string that the return values are in frame's canonical
19105 units. (Bug#9949)
19106
19107 2011-11-03 Alan Mackenzie <acm@muc.de>
19108
19109 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19110 change in cc-engine.el.
19111
19112 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19113
19114 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19115
19116 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19117
19118 * window.el (quit-window): Call unrecord-window-buffer after
19119 showing another buffer in the window. (Bug#9937)
19120 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19121
19122 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19123
19124 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19125 Accept status with more than 9 shelves. (Bug#9935)
19126 Reported by Colin D Bennett <colin@gibibit.com>.
19127
19128 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19129
19130 * help.el (with-help-window): Don't reference
19131 temp-buffer-show-specifiers in doc-string.
19132
19133 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19134
19135 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19136 menu-item.
19137
19138 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19139
19140 * whitespace.el: New version 13.2.2.
19141 (whitespace-newline-mode): Disable properly. Reported by Sarah
19142 <EmacsWiki>.
19143
19144 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19145
19146 * net/newst-treeview.el: Remove "Time-stamp".
19147 (newsticker--group-manage-orphan-feeds): Do not call
19148 newsticker--treeview-tree-update.
19149 (newsticker-treeview-update, newsticker-treeview):
19150 Call newsticker--treeview-tree-update if necessary.
19151
19152 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19153
19154 * window.el (window-iso-combination-p, window-iso-combined-p)
19155 (window-iso-combinations): Remove "iso-" infix.
19156 Suggested by Chong Yidong.
19157 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19158 (window-max-delta-1, window-resize, window--resize-siblings)
19159 (window--resize-this-window, adjust-window-trailing-edge)
19160 (split-window, balance-windows-1)
19161 (shrink-window-if-larger-than-buffer):
19162 * calendar/calendar.el (calendar-generate-window):
19163 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19164
19165 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19166
19167 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19168 in place (bug#9907).
19169 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19170 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19171 (eshell-structure-basic-command, eshell-rewrite-while-command)
19172 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19173 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19174 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19175 (eshell-do-pipelines-synchronously, eshell-eval-command):
19176 Use backquotes and prefer setq to set.
19177 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19178 (eshell-macrop): Use functionp.
19179 (eshell-do-eval): Handle multiple expressions in `while' body.
19180
19181 2011-10-30 Chong Yidong <cyd@gnu.org>
19182
19183 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19184 instead of set-mark (Bug#9810).
19185
19186 2011-10-30 Chong Yidong <cyd@gnu.org>
19187
19188 * window.el (split-window-below, split-window-right): Rename from
19189 split-window-above-each-other and split-window-side-by-side
19190 respectively. All callers changed.
19191 (split-window-sensibly, split-window-sensibly): Use them.
19192 (split-window-keep-point): Doc fix.
19193
19194 * isearch.el: Add isearch-scroll property to split-window-below
19195 and split-window-right.
19196
19197 * follow.el (follow-mode):
19198 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19199 * progmodes/ada-xref.el (ada-gdb-application):
19200 * emulation/vip.el (vip-buffer-in-two-windows):
19201 * image-dired.el (image-dired-dired-with-window-configuration):
19202 * dired-x.el (dired-do-find-marked-files):
19203 * dired.el (dired-pop-to-buffer):
19204 * bs.el (bs--show-with-configuration):
19205 * vc/emerge.el (emerge-setup-windows):
19206 * textmodes/two-column.el (2C-two-columns):
19207 * textmodes/reftex-toc.el (reftex-toc):
19208 * progmodes/gdb-mi.el (gdb-setup-windows):
19209 * progmodes/fortran.el (fortran-window-create):
19210 * net/newst-treeview.el (newsticker--treeview-window-init):
19211 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19212 * emulation/tpu-edt.el (tpu-gold-map):
19213 * emulation/crisp.el (crisp-mode-map):
19214 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19215
19216 2011-10-29 Chong Yidong <cyd@gnu.org>
19217
19218 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19219
19220 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19221
19222 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19223 forged Ispell output (Bug#7904).
19224
19225 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19226
19227 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19228
19229 * doc-view.el: Avoid ugly errors about not finding nil.
19230 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19231 (doc-view-dvipdf-program, doc-view-unoconv-program)
19232 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19233 Avoid nil or absolute file name as default value.
19234 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19235
19236 2011-10-28 Alan Mackenzie <acm@muc.de>
19237
19238 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19239
19240 2011-10-28 Alan Mackenzie <acm@muc.de>
19241
19242 Amend the handling of c-beginning/end-of-defun in nested declaration
19243 scopes.
19244
19245 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19246 cc-langs.el. Change it to a defcustom.
19247
19248 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19249 cc-vars.el.
19250
19251 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19252 Prevent "class foo : bar" being spuriously recognized as a label.
19253
19254 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19255 Add parameter `inclusive' (to include enclosing braces in the region).
19256 (c-widen-to-enclosing-decl-scope): New function.
19257 (c-while-widening-to-decl-block): New macro.
19258 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19259 outward for defun boundaries, and correspondingly change symbol
19260 `respect-enclosure' to `go-outward'.
19261 (c-declaration-limits): Change algorithm to report only the "innermost"
19262 defun's boundaries.
19263
19264 2011-10-28 Deniz Dogan <deniz@dogan.se>
19265
19266 * net/rcirc.el (rcirc-mode): Use hard newlines.
19267
19268 2011-10-28 Alan Mackenzie <acm@muc.de>
19269
19270 Amend to indent and fontify macros "which include their own semicolon"
19271 correctly, using the "virtual semicolon" mechanism.
19272
19273 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19274
19275 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19276 Recode to scan one line at a time rather than having \n and \r
19277 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19278 (c-forward-label): Amend for virtual semicolons.
19279 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19280
19281 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19282 of the new C macros.
19283
19284 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19285 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19286 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19287 (c-opt-cpp-macro-define): Make into a full language variable.
19288 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19289 AWK Mode (including \n, \r) removed, no longer needed.
19290
19291 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19292 Invoke c-make-macro-with-semi-re.
19293
19294 * progmodes/cc-vars.el (c-macro-with-semi-re):
19295 (c-macro-names-with-semicolon): New variables.
19296 (c-make-macro-with-semi-re): New function.
19297
19298 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19299
19300 * vc/log-edit.el: Fill empty field rather than adding new one.
19301 (log-edit-add-field): New function.
19302 (log-edit-insert-changelog): Use it.
19303
19304 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19305
19306 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19307
19308 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19309
19310 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19311 (gdb--check-interpreter): New function.
19312 (gdb): Use it.
19313
19314 2011-10-27 Glenn Morris <rgm@gnu.org>
19315
19316 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19317 (least-positive-float, least-negative-float)
19318 (least-positive-normalized-float, least-negative-normalized-float)
19319 (float-epsilon, float-negative-epsilon):
19320 Remove unnecessary declarations.
19321
19322 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19323 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19324 (least-positive-float, least-negative-float)
19325 (least-positive-normalized-float, least-negative-normalized-float)
19326 (float-epsilon, float-negative-epsilon): Add doc-strings,
19327 based on those in cl.texi.
19328
19329 * files.el (set-visited-file-name): If the major-mode changed,
19330 reload the local variables. (Bug#9796)
19331
19332 2011-10-27 Chong Yidong <cyd@gnu.org>
19333
19334 * subr.el (change-major-mode-after-body-hook): New hook.
19335 (run-mode-hooks): Run it.
19336
19337 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19338 Use change-major-mode-before-body-hook.
19339
19340 * simple.el (fundamental-mode):
19341 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19342 change introducing fundamental-mode-hook.
19343
19344 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19345
19346 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19347
19348 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19349
19350 * ido.el (ido-file-name-all-completions-1): Do not require
19351 tramp.el explicitly. (Bug#7583)
19352
19353 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19354
19355 * progmodes/octave-mod.el:
19356 * progmodes/octave-inf.el: Update maintainer.
19357
19358 2011-10-26 Chong Yidong <cyd@gnu.org>
19359
19360 * subr.el (with-wrapper-hook): Rewrite doc.
19361
19362 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19363
19364 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19365 filenames "/method:foo:". (Bug#9793)
19366
19367 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19368
19369 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19370 (bug#9865).
19371
19372 2011-10-24 Glenn Morris <rgm@gnu.org>
19373
19374 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19375
19376 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19377
19378 * notifications.el: Add the requirement of a running D-Bus session
19379 bus to the Commentary.
19380
19381 2011-10-24 Juri Linkov <juri@jurta.org>
19382
19383 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19384 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19385 (Bug#9364)
19386
19387 2011-10-24 Juri Linkov <juri@jurta.org>
19388
19389 * info.el (Info-following-node-name-re): Add newline to the list
19390 of allowed characters for leading space. (Bug#9824)
19391
19392 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19393
19394 * progmodes/octave-inf.el (inferior-octave-mode-map):
19395 Fix C-c C-h binding.
19396 * progmodes/octave-mod.el (octave-help): Remove.
19397
19398 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19399
19400 Sync with Tramp 2.2.3.
19401
19402 * net/tramp-cache.el (top): Pacify byte-compiler using
19403 `init-file-user' and `site-run-file'.
19404
19405 * net/trampver.el: Update release number.
19406
19407 2011-10-23 Chong Yidong <cyd@gnu.org>
19408
19409 * files.el (toggle-read-only): Remove obsolete comment about
19410 version control.
19411
19412 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19413 for toggle-read-only. Note that this hasn't called vc-next-action
19414 since 2008-05-02, though it wasn't documented at the time.
19415
19416 * vc/ediff-init.el (ediff-toggle-read-only-function):
19417 Use toggle-read-only.
19418
19419 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19420
19421 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19422 of c-parse-state.
19423
19424 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19425 correct faulty logical expression.
19426 (c-parse-state-state, c-record-parse-state-state):
19427 (c-replay-parse-state-state): New defvar/defuns.
19428 (c-debug-parse-state): Use new functions.
19429
19430 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19431
19432 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19433 last fix. Use window-in-direction correctly.
19434
19435 2011-10-21 Chong Yidong <cyd@gnu.org>
19436
19437 * progmodes/idlwave.el (idlwave-mode):
19438 * progmodes/vera-mode.el (vera-mode): No need to set
19439 require-final-newline; that's done in prog-mode.
19440 Suggested by Stefan Monnier.
19441
19442 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19443
19444 * mouse.el (mouse-drag-window-above)
19445 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19446 (mouse-drag-mode-line-1, mouse-drag-header-line)
19447 (mouse-drag-vertical-line-rightward-window): Remove.
19448 (mouse-drag-line): New function.
19449 (mouse-drag-mode-line, mouse-drag-header-line)
19450 (mouse-drag-vertical-line): Call mouse-drag-line.
19451 * window.el (window-at-side-p, windows-at-side): New functions.
19452
19453 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19454
19455 * tar-mode.el (tar-grind-file-mode):
19456 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19457
19458 2011-10-21 Chong Yidong <cyd@gnu.org>
19459
19460 * progmodes/idlwave.el (idlwave-mode):
19461 * progmodes/vera-mode.el (vera-mode):
19462 Use mode-require-final-newline.
19463
19464 2011-10-20 Glenn Morris <rgm@gnu.org>
19465
19466 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19467
19468 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19469
19470 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19471
19472 2011-10-20 Chong Yidong <cyd@gnu.org>
19473
19474 * emulation/cua-base.el (cua-mode):
19475 * mail/footnote.el (footnote-mode):
19476 * mail/mailabbrev.el (mail-abbrevs-mode):
19477 * net/xesam.el (xesam-minor-mode):
19478 * progmodes/bug-reference.el (bug-reference-mode):
19479 * progmodes/cap-words.el (capitalized-words-mode):
19480 * progmodes/compile.el (compilation-minor-mode)
19481 (compilation-shell-minor-mode):
19482 * progmodes/gud.el (gud-tooltip-mode):
19483 * progmodes/hideif.el (hide-ifdef-mode):
19484 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19485 * progmodes/subword.el (subword-mode):
19486 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19487 * progmodes/which-func.el (which-function-mode):
19488 * term/tvi970.el (tvi970-set-keypad-mode):
19489 * term/vt100.el (vt100-wide-mode):
19490 * textmodes/flyspell.el (flyspell-mode):
19491 * textmodes/ispell.el (ispell-minor-mode):
19492 * textmodes/nroff-mode.el (nroff-electric-mode):
19493 * textmodes/paragraphs.el (use-hard-newlines):
19494 * textmodes/refill.el (refill-mode):
19495 * textmodes/reftex.el (reftex-mode):
19496 * textmodes/rst.el (rst-minor-mode):
19497 * textmodes/sgml-mode.el (html-autoview-mode)
19498 (sgml-electric-tag-pair-mode):
19499 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19500 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19501 * emulation/crisp.el (crisp-mode):
19502 * emacs-lisp/eldoc.el (eldoc-mode):
19503 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19504 minor mode behavior.
19505
19506 2011-10-19 Juri Linkov <juri@jurta.org>
19507
19508 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19509 the list of hard-coded chars with escape-glyph face.
19510
19511 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19512
19513 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19514
19515 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19516
19517 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19518 running process.
19519
19520 2011-10-19 Glenn Morris <rgm@gnu.org>
19521
19522 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19523 Ignore ignored files. (Bug#9726)
19524
19525 2011-10-19 Chong Yidong <cyd@gnu.org>
19526
19527 Doc fix for minor modes, stating that an omitted argument enables
19528 the mode unconditionally when called from Lisp.
19529
19530 * abbrev.el (abbrev-mode):
19531 * allout.el (allout-mode):
19532 * autoinsert.el (auto-insert-mode):
19533 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19534 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19535 (global-auto-revert-mode):
19536 * battery.el (display-battery-mode):
19537 * composite.el (global-auto-composition-mode)
19538 (auto-composition-mode):
19539 * delsel.el (delete-selection-mode):
19540 * desktop.el (desktop-save-mode):
19541 * dired-x.el (dired-omit-mode):
19542 * dirtrack.el (dirtrack-mode):
19543 * doc-view.el (doc-view-minor-mode):
19544 * double.el (double-mode):
19545 * electric.el (electric-indent-mode, electric-pair-mode):
19546 * emacs-lock.el (emacs-lock-mode):
19547 * epa-hook.el (auto-encryption-mode):
19548 * follow.el (follow-mode):
19549 * font-core.el (font-lock-mode):
19550 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19551 * help.el (temp-buffer-resize-mode):
19552 * hilit-chg.el (highlight-changes-mode)
19553 (highlight-changes-visible-mode):
19554 * hi-lock.el (hi-lock-mode):
19555 * hl-line.el (hl-line-mode, global-hl-line-mode):
19556 * icomplete.el (icomplete-mode):
19557 * ido.el (ido-everywhere):
19558 * image-file.el (auto-image-file-mode):
19559 * image-mode.el (image-minor-mode):
19560 * iswitchb.el (iswitchb-mode):
19561 * jka-cmpr-hook.el (auto-compression-mode):
19562 * linum.el (linum-mode):
19563 * longlines.el (longlines-mode):
19564 * master.el (master-mode):
19565 * mb-depth.el (minibuffer-depth-indicate-mode):
19566 * menu-bar.el (menu-bar-mode):
19567 * minibuf-eldef.el (minibuffer-electric-default-mode):
19568 * mouse-sel.el (mouse-sel-mode):
19569 * msb.el (msb-mode):
19570 * mwheel.el (mouse-wheel-mode):
19571 * outline.el (outline-minor-mode):
19572 * paren.el (show-paren-mode):
19573 * recentf.el (recentf-mode):
19574 * reveal.el (reveal-mode, global-reveal-mode):
19575 * rfn-eshadow.el (file-name-shadow-mode):
19576 * ruler-mode.el (ruler-mode):
19577 * savehist.el (savehist-mode):
19578 * scroll-all.el (scroll-all-mode):
19579 * scroll-bar.el (scroll-bar-mode):
19580 * server.el (server-mode):
19581 * shell.el (shell-dirtrack-mode):
19582 * simple.el (auto-fill-mode, transient-mark-mode)
19583 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19584 (line-number-mode, column-number-mode, size-indication-mode)
19585 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19586 * strokes.el (strokes-mode):
19587 * time.el (display-time-mode):
19588 * t-mouse.el (gpm-mouse-mode):
19589 * tool-bar.el (tool-bar-mode):
19590 * tooltip.el (tooltip-mode):
19591 * type-break.el (type-break-mode-line-message-mode)
19592 (type-break-query-mode):
19593 * view.el (view-mode):
19594 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19595 (global-whitespace-mode, global-whitespace-newline-mode):
19596 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19597
19598 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19599 Fix autogenerated docstring.
19600
19601 2011-10-19 Juri Linkov <juri@jurta.org>
19602
19603 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19604 by checking environment variables "DESKTOP_SESSION" and
19605 "XDG_CURRENT_DESKTOP". (Bug#9779)
19606
19607 2011-10-19 Juri Linkov <juri@jurta.org>
19608
19609 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19610 (browse-url-chromium-program, browse-url-chromium-arguments):
19611 New defcustoms.
19612 (browse-url-default-browser): Check for `browse-url-chromium' and
19613 call `browse-url-chromium-program'.
19614 (browse-url-chromium): New command. (Bug#9779)
19615
19616 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19617
19618 * facemenu.el (list-colors-duplicates): On Windows, detect more
19619 duplicates by assuming that only colors matching "^System" are
19620 special "system colors". (Bug#9722)
19621
19622 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19625 to distinguish the author from the committer.
19626
19627 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19628
19629 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19630
19631 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19632
19633 * international/mule.el (sgml-html-meta-auto-coding-function):
19634 Add support for detecting encoding in HTML5 specified only as
19635 <meta charset="UTF-8">. Implementation just makes http-equiv and
19636 content-type parts from HTML4 encoding string optional. (Bug#9716)
19637
19638 2011-10-18 Glenn Morris <rgm@gnu.org>
19639
19640 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19641
19642 2011-10-18 Chong Yidong <cyd@gnu.org>
19643
19644 * faces.el (cursor): Doc fix.
19645
19646 2011-10-17 Chong Yidong <cyd@gnu.org>
19647
19648 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19649
19650 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19651
19652 * dirtrack.el (dirtrack): Support shell buffers with path
19653 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19654
19655 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19656
19657 * json.el: Bump version to 1.3 and note change in History.
19658 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19659
19660 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19661
19662 * comint.el (comint-insert-input, comint-send-input)
19663 (comint-get-old-input-default, comint-backward-matching-input)
19664 (comint-next-prompt): Use nil instead of `input' for field property of
19665 past user input (bug#114).
19666
19667 * minibuffer.el (completion--replace): Inherit surrounding properties
19668 (bug#114).
19669 (minibuffer-complete-and-exit): Use it.
19670
19671 * comint.el (comint--table-subvert): Quote the all-completions output
19672 (bug#9160).
19673
19674 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19675
19676 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19677
19678 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19679 window on right of selected. (Bug#9350) Reword other window
19680 entries and separate them from frame entries.
19681
19682 2011-10-15 Glenn Morris <rgm@gnu.org>
19683
19684 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19685 Doc fixes.
19686
19687 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19688
19689 * net/network-stream.el (network-stream-open-starttls):
19690 Improve detection of failure due to lack of TLS support.
19691
19692 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19693 putting the input text in front and in bold.
19694
19695 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19696
19697 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19698
19699 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19700 empty buffer.
19701
19702 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19703 unread-command-events rather than pushing yet-another event.
19704
19705 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19706
19707 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19708 the explanation of the possible choices. Make the options passed
19709 to completing-read shorter.
19710
19711 2011-10-13 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
19712
19713 * textmodes/flyspell.el (flyspell-large-region): Make sure
19714 extended character mode is used if defined (Bug#1339).
19715
19716 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19717
19718 * simple.el (what-cursor-position): Fix the display of the
19719 character info for LRE, LRO, RLE, and RLO characters by appending
19720 an invisible PDF.
19721
19722 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19723
19724 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19725 even in case of error; add debug spec; simplify data flow.
19726 (with-timeout-handler): Remove.
19727
19728 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19729
19730 Fix Bug#6019, Bug#9315.
19731
19732 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19733 complete `buffer-file-name', the local file name part could look
19734 remotely (for example on VMS).
19735
19736 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19737 `tramp-run-real-handler'.
19738 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19739 already quoted by '"'.
19740
19741 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19742 Let `file-name-handler-alist' be nil, the local file name part
19743 could look remotely (for example on VMS).
19744
19745 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19746
19747 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19748 from here...
19749 (flyspell-post-command-hook): ...to here.
19750
19751 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19752
19753 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19754 if not needed.
19755 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19756 using completion. Protect against "slow" callers.
19757 Remove the "message hack".
19758
19759 2011-10-11 Juri Linkov <juri@jurta.org>
19760
19761 * isearch.el (isearch-lazy-highlight-word): New variable.
19762 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19763 Use it. (Bug#9727)
19764
19765 2011-10-11 Glenn Morris <rgm@gnu.org>
19766
19767 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19768 like f90-previous-statement does.
19769
19770 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19771
19772 * eshell/eshell.el (eshell-command): History should be saved
19773 only in interactive use, to avoid error.
19774
19775 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19776
19777 * minibuffer.el (completion-file-name-table): Fix last change,
19778 i.e. ignore normal errors but not the other ones.
19779
19780 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19781
19782 * window.el (special-display-buffer-names)
19783 (special-display-regexps): Remove some remnants of earlier
19784 changes from doc-strings.
19785 (quit-windows-on): New function.
19786
19787 * vc/vc.el (vc-revert, vc-rollback):
19788 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19789 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19790 (Bug#6183) (Bug#7074) (Bug#7447)
19791
19792 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19793
19794 * window.el (frame-auto-hide-function): Add version tag.
19795 (Bug#9699)
19796
19797 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19798
19799 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19800 condition.
19801
19802 2011-10-09 Leo Liu <sdl.web@gmail.com>
19803
19804 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19805 (Bug#9701)
19806
19807 2011-10-08 Glenn Morris <rgm@gnu.org>
19808
19809 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19810 before the first code statement zero indent. (Bug#9690)
19811
19812 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19813
19814 * simple.el (count-words-region): Always count in the region.
19815 Report the number of lines and characters too.
19816 (count-words): New command, which counts in the buffer if the
19817 region is inactive, as count-words-region used to.
19818 (count-words--message): New function. Handle plurals.
19819 (count-lines-region): Make it an alias for count-words-region.
19820
19821 * bindings.el (esc-map): Replace count-lines-region with
19822 count-words-region.
19823
19824 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19825
19826 * window.el (window--delete): Delete dedicated frame
19827 unconditionally when argument KILL is non-nil. (Bug#9699)
19828 (switch-to-buffer): Fix doc-string typo.
19829
19830 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19831
19832 * eshell/eshell.el (eshell-command): Avoid using hooks.
19833
19834 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19835
19836 * bindings.el ([M-left],[M-right]): Bind to left-word and
19837 right-word respectively.
19838
19839 2011-10-07 Glenn Morris <rgm@gnu.org>
19840
19841 * cus-start.el (debug-on-quit): Fix custom type.
19842
19843 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19844
19845 * subr.el (define-key-after): Clarify that the function is not
19846 useful for non-menu keymaps.
19847
19848 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19849
19850 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19851
19852 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19853 in current minibuffer (Fix bug with recursive minibuffers).
19854
19855 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19856
19857 * progmodes/gdb-mi.el (gdb): Doc fix.
19858
19859 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19860
19861 * window.el (frame-auto-hide-function): New option replacing
19862 frame-auto-delete. Suggested by Stefan Monnier.
19863 (window--delete): Call frame-auto-hide-function instead of
19864 investigating frame-auto-delete.
19865 (window-point-1, set-window-point-1): New functions.
19866 (window-in-direction, record-window-buffer, window-state-get-1)
19867 (display-buffer-record-window): Use window-point-1 instead of
19868 window-point.
19869 (set-window-buffer-start-and-point): Use set-window-point-1.
19870
19871 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19872
19873 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19874
19875 2011-10-05 Glenn Morris <rgm@gnu.org>
19876
19877 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19878 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19879
19880 2011-10-05 Leo Liu <sdl.web@gmail.com>
19881
19882 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19883 works with buffer object.
19884
19885 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19886
19887 * mpc.el (mpc-tool-bar-map): Add labels.
19888
19889 2011-10-04 Glenn Morris <rgm@gnu.org>
19890
19891 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19892
19893 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19894
19895 * window.el (window--delete): New function.
19896 (frame-auto-delete): Resuscitate option.
19897 (bury-buffer, replace-buffer-in-windows)
19898 (quit-window): Rewrite using window--delete.
19899 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19900 Pass display-buffer-mark-dedicated to window--display-buffer-2
19901 (Bug#9639).
19902
19903 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19904
19905 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19906 returns a list (bug#9554). Add remote file name completion.
19907 * comint.el (comint--table-subvert): Curry and get quote&unquote
19908 functions as arguments.
19909 (comint--complete-file-name-data): Adjust call accordingly.
19910 * pcomplete.el (pcomplete--table-subvert): Remove.
19911 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19912
19913 * minibuffer.el (completion-table-case-fold): Use currying.
19914 (completion--styles-type, completion--cycling-threshold-type):
19915 New constants.
19916 (completion-styles, completion-category-overrides)
19917 (completion-cycle-threshold): Use them.
19918 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19919 completion-table-case-fold.
19920
19921 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19922
19923 * minibuffer.el (completion-category-overrides): Fix type of styles
19924 and add more user friendly tags (bug#9660).
19925
19926 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19927
19928 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19929 (mule-input-method-string): New widget.
19930 (default-input-method, language-info-custom-alist): Use it.
19931
19932 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19933
19934 * pcomplete.el: Require comint.
19935 (pcomplete--common-suffix): Remove.
19936 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19937 (pcomplete--table-subvert): Sync with comint--table-subvert.
19938 (pcomplete--entries): Use comint-completion-file-name-table.
19939 * comint.el (comint-unquote-filename): Simplify.
19940 (comint-completion-file-name-table): New function (bug#9616).
19941 (comint--complete-file-name-data): Use it.
19942
19943 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19944 (pcmpl-gnu-tar-buffer): Remove.
19945 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19946 around. Make sure pcomplete-suffix-list is only changed temporarily.
19947 Don't look inside the tar's file if it's too large.
19948
19949 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19950
19951 * cus-edit.el (custom-mode-map):
19952 * epa.el (epa-key-list-mode-map):
19953 * man.el (Man-mode-map):
19954 * startup.el (splash-screen-keymap):
19955 * simple.el (special-mode-map): Use scroll-up-command and
19956 scroll-down-command.
19957
19958 * progmodes/idlw-help.el (idlwave-help-mode-map):
19959 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19960 * net/newst-plainview.el (newsticker-mode-map):
19961 * emulation/ws-mode.el (wordstar-mode-map):
19962 * emulation/vi.el (vi-com-map):
19963 * calc/calc-graph.el (calc-graph-show-dumb):
19964 * term/sun.el (terminal-init-sun):
19965 * term/ns-win.el (global-map):
19966 * progmodes/grep.el (grep-mode-map):
19967 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19968 * mail/rmail.el (rmail-mode-map):
19969 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19970
19971 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19972 custom-safe-themes as special.
19973
19974 2011-10-01 Julien Danjou <julien@danjou.info>
19975
19976 * notifications.el (notifications-notify): Fix docstring.
19977
19978 2011-10-01 Per Starbäck <per@starback.se>
19979
19980 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19981
19982 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19983
19984 * startup.el (command-line-1): Fix last fix by inserting
19985 initial-scratch-message into *scratch* before displaying it.
19986 (Bug#9605) and (Bug#9636)
19987
19988 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19989
19990 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19991 window is hscrolled, move by logical lines. (Bug#9607)
19992 (line-move-visual): Update the doc string to the above effect.
19993
19994 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19995
19996 * window.el (display-buffer-record-window): When WINDOW is the
19997 selected window use `point' instead of `window-point'. (Bug#9626)
19998
19999 * startup.el (command-line-1): Use insert-before-markers when
20000 inserting initial-scratch-message. (Bug#9605)
20001
20002 * help.el (help-window): Remove variable.
20003
20004 2011-09-29 Glenn Morris <rgm@gnu.org>
20005
20006 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
20007
20008 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
20009
20010 * descr-text.el (describe-char-categories): Accept category
20011 descriptions more than one line long.
20012
20013 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
20014
20015 * simple.el (delete-trailing-whitespace): Fix last change.
20016
20017 * progmodes/perl-mode.el (perl-syntax-propertize-function):
20018 Don't confuse "y => 3" as the beginning of a `y' operation.
20019
20020 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
20021 object has more than 4 slots (bug#9613).
20022
20023 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
20024
20025 * subr.el (with-output-to-temp-buffer):
20026 * net/quickurl.el (quickurl, quickurl-browse-url):
20027 Fix typos in docstrings.
20028
20029 2011-09-27 Eli Zaretskii <eliz@gnu.org>
20030
20031 * minibuffer.el (completion-styles)
20032 (completion-category-overrides): Cross reference each other in doc
20033 strings.
20034
20035 2011-09-27 Glenn Morris <rgm@gnu.org>
20036
20037 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
20038 to split-string. (Bug#9606)
20039
20040 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20041
20042 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
20043 (bug#9615).
20044
20045 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
20046
20047 * emacs-lisp/package.el (list-packages): Fix echo area message.
20048
20049 2011-09-27 Leo Liu <sdl.web@gmail.com>
20050
20051 * ido.el (ido-read-internal): Accept cons cell HIST arg.
20052
20053 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
20054
20055 * net/dbus.el (dbus-unregister-object): Don't release services for
20056 registered signals. (Bug#9581)
20057
20058 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
20059
20060 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
20061 function that picks between cfengine 2 and 3 support
20062 automatically. Update docs accordingly.
20063
20064 2011-09-22 Kenichi Handa <handa@m17n.org>
20065
20066 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
20067 ZERO.
20068 (indian-itrans-v5-table-for-tamil): New variable.
20069 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20070
20071 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20072
20073 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20074 that's true if the current command involved collapsing of text.
20075 It's reset to false at the beginning of the next command.
20076 (allout-post-command-business): Move the cursor to the beginning
20077 of entry if the cursor is hidden and collapsing activity just
20078 happened.
20079
20080 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20081
20082 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20083 tracking (Bug#9541).
20084
20085 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20086
20087 * net/newst-reader.el (newsticker-html-renderer)
20088 (newsticker-show-news): Automatically load html rendering package
20089 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20090 because w3m-fill-column is let-bound" and the error "Symbol's value
20091 as variable is void: w3m-fill-column".
20092
20093 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20094
20095 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20096 Release services only if they are defined. (Bug#9581)
20097
20098 2011-09-23 Richard Stallman <rms@gnu.org>
20099
20100 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20101 distinguish start of paragraph from start of its text.
20102
20103 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20104
20105 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20106 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20107 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20108
20109 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20110
20111 * international/mule-diag.el (mule-diag): Insert a newline after
20112 each fontset description.
20113
20114 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20115
20116 * simple.el (delete-trailing-whitespace):
20117 Document last change; simplify.
20118
20119 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20120
20121 * simple.el (delete-trailing-whitespace): Also delete
20122 extra newlines at the end of the buffer.
20123
20124 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20125 (picture-newline): Use forward-line so as to ignore fields.
20126
20127 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20128
20129 * subr.el (with-wrapper-hook): Fix edebug spec.
20130
20131 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20132
20133 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20134 (bug#4538).
20135
20136 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20137
20138 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20139 Fix nasty bug using wrong cached values.
20140
20141 2011-09-23 Alan Mackenzie <acm@muc.de>
20142
20143 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20144
20145 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20146
20147 * window.el (pop-to-buffer): Ensure right window is selected if we
20148 chose another frame.
20149
20150 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20151
20152 * simple.el (what-cursor-position): Use get-char-property-change
20153 and next-single-char-property-change, to be able to show display
20154 properties that come from overlays as well as text properties.
20155
20156 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20157
20158 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20159
20160 * cmuscheme.el (run-scheme, switch-to-scheme):
20161 * cus-edit.el (customize-group, custom-buffer-create)
20162 (customize-browse):
20163 * info.el (info):
20164 * shell.el (shell):
20165 * mail/sendmail.el (mail):
20166 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20167
20168 2011-09-22 Richard Stallman <rms@gnu.org>
20169
20170 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20171 move back only to line beg, don't move back over blank lines.
20172
20173 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20174
20175 * files.el (copy-directory): Set directory attributes only in case
20176 they could be retrieved from the source directory. (Bug#9565)
20177
20178 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20179
20180 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20181 (hs-find-block-beginning, hs-hide-level-recursive):
20182 Ignore strings as well as comments. (Bug#9502)
20183
20184 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20185
20186 * progmodes/sql.el (sql-comint-postgres):
20187 Convert port number to a string. (Bug#9566)
20188
20189 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20190
20191 * window.el (quit-window): Undedicate window when switching to
20192 previous buffer. Reported by Thierry Volpiatto
20193 <thierry.volpiatto@gmail.com>.
20194 (special-display-popup-frame): When popping up a new frame reset
20195 its previous buffers to nil. Simplify code.
20196
20197 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20198
20199 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20200 and process filter, as done also in `shell-command'.
20201
20202 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20203
20204 * window.el (set-window-buffer-start-and-point):
20205 Call set-window-start with NOFORCE argument t.
20206 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20207 (quit-window): Reword doc-string. Handle new format of
20208 quit-restore parameter. Don't delete window if it has a
20209 previous buffer we can show instead of the present one.
20210 (display-buffer-record-window): Rewrite using a new format for
20211 the quit-restore window parameter
20212 (special-display-popup-frame, display-buffer-same-window)
20213 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20214 (display-buffer-pop-up-window, display-buffer-use-some-window):
20215 Adapt symbol passed to display-buffer-record-window.
20216 * help.el (help-window-setup): Handle new format of quit-restore
20217 parameter.
20218
20219 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20220
20221 * faces.el (face-list): Fix docstring (bug#9564).
20222
20223 * window.el (display-buffer--action-function-custom-type):
20224 Don't include internal functions in the Custom interface.
20225
20226 2011-09-20 Juri Linkov <juri@jurta.org>
20227
20228 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20229 (Info-forward-node, Info-backward-node, Info-next-preorder)
20230 (Info-last-preorder): Use it. (Bug#9528)
20231
20232 2011-09-20 Juri Linkov <juri@jurta.org>
20233
20234 * info.el (Info-last-preorder): Visit last menu item only when
20235 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20236
20237 2011-09-20 Julien Danjou <julien@danjou.info>
20238
20239 * password-cache.el (password-cache-remove): Remove entries even if the
20240 value is nil, so that password with a nil value (negative caching) is
20241 possible to invalidate.
20242
20243 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20244
20245 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20246 all whitespace around breakpoint. (Bug#9553)
20247 (f90-find-breakpoint): Only break at whitespace inside a comment.
20248
20249 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20250
20251 * minibuffer.el (completion-file-name-table): Keep track of errors.
20252 (completion-table-with-predicate): Handle the case where pred1 is nil.
20253 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20254
20255 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20256
20257 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20258 (debugger-return-value): Signal an error if the debugging context does
20259 not await any return value.
20260
20261 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20262 * image-mode.el (image-toggle-display-text)
20263 (image-toggle-display-image): Stay away from evil `intangible'.
20264
20265 2011-09-19 Leo Liu <sdl.web@gmail.com>
20266
20267 * replace.el (occur-revert-arguments): Make it permanent-local.
20268 (occur-mode): Don't call font-lock-defontify.
20269
20270 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20271
20272 * net/ldap.el (ldap-search-internal): Don't push empty search
20273 result (Bug#9508).
20274
20275 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20276
20277 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20278
20279 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20280
20281 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20282 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20283
20284 2011-09-18 Juri Linkov <juri@jurta.org>
20285
20286 * buff-menu.el (Buffer-menu-mode-map):
20287 * dired.el (dired-mode-map):
20288 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20289 (lisp-interaction-mode-map):
20290 * emacs-lisp/package.el (package-menu-mode-map):
20291 * epa.el (epa-key-list-mode-map):
20292 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20293 (menu-bar-options-menu):
20294 * outline.el (outline-mode-menu-bar-map):
20295 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20296 * vc/vc-dir.el (vc-dir-menu-map):
20297 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20298 Capitalize non-function content words in menu item strings.
20299
20300 * dired.el (dired-mode-map): Add menu item for
20301 `image-dired-dired-toggle-marked-thumbs'.
20302
20303 2011-09-18 Juri Linkov <juri@jurta.org>
20304
20305 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20306 to `isearch-case-fold-search' and restore its original value
20307 after the `isearch-mode' call.
20308
20309 2011-09-18 Juri Linkov <juri@jurta.org>
20310
20311 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20312 because `zgrep' returns 1 for successful matches (bug#9226).
20313
20314 2011-09-18 Juri Linkov <juri@jurta.org>
20315
20316 * info.el (Info-extract-menu-node-name): Check the second match
20317 for empty string (second test-case of bug#9528).
20318 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20319 intermediate nodes to the history (first test-case of bug#9528).
20320
20321 2011-09-18 Juri Linkov <juri@jurta.org>
20322
20323 * info.el (Info-mode-syntax-table): New variable.
20324 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20325
20326 2011-09-18 Juri Linkov <juri@jurta.org>
20327
20328 * info.el (Info-file-supports-index-cookies):
20329 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20330 outputs one more line for long file names (bug#4142).
20331
20332 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20333
20334 * newcomment.el (comment-normalize-vars): If prompting for
20335 comment-start, set comment-start-skip too (Bug#8424).
20336
20337 2011-09-18 Johan BockgĂ¥rd <bojohan@gnu.org>
20338
20339 * icomplete.el: Fix previous fix of Bug#5849.
20340 (icomplete-mode): Don't set completion-show-inline-help.
20341 (icomplete-minibuffer-setup): Set completion-show-inline-help
20342 locally during icompletion.
20343
20344 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20345
20346 * woman.el (woman2-process-escapes): Don't delete unrecognized
20347 escapes (Bug#7843).
20348
20349 * files.el (inhibit-first-line-modes-regexps): Add image files.
20350 (hack-local-variables-prop-line): Return nil for malformed
20351 prop-lines (Bug#9044).
20352
20353 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20354
20355 * net/tramp.el (top): Don't require 'shell.
20356 (tramp-methods): Fix docstring.
20357 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20358 Return complete remote file name. Handle "smb" case.
20359 Use `tramp-tmpdir', if defined for the respective method.
20360 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20361
20362 * net/tramp-compat.el (top): Require 'shell.
20363
20364 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20365 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20366 `tramp-current-host'.
20367 (tramp-get-remote-tmpdir): Remove.
20368
20369 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20370 `tramp-tmpdir' entries.
20371 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20372 (tramp-smb-handle-file-attributes): Ignore errors.
20373 (tramp-smb-wait-for-output): Check also for process end.
20374
20375 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20376
20377 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20378 when sending QUIT (bug#9312).
20379
20380 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20381
20382 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20383 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20384 occur-mode-display-occurrence.
20385 (occur-edit-mode): Add usage message.
20386 (occur-cease-edit): New command.
20387 (occur-after-change-function): Use text properties to find the
20388 position of the prefix text.
20389 (occur-engine): Set stickiness of prefix text properties.
20390
20391 2011-09-17 Glenn Morris <rgm@gnu.org>
20392
20393 * progmodes/etags.el (complete-tag):
20394 Fix call to completion-in-region. (Bug#9526)
20395
20396 2011-09-17 Juri Linkov <juri@jurta.org>
20397
20398 * textmodes/ispell.el (ispell-word): Add to the error message
20399 the word, ispell program name and current dictionary (bug#9121).
20400 (ispell-tex-arg-end): Capitalize "error" in the error message.
20401
20402 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20403
20404 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20405 check. (Bug#4251)
20406
20407 2011-09-17 Juri Linkov <juri@jurta.org>
20408
20409 * window.el (window-safe-min-height, window-safe-min-width):
20410 Fix typos (followup to bug#9522).
20411
20412 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20413
20414 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20415
20416 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20417
20418 * simple.el (line-move): If goal-column is set, move by logical
20419 lines, not by display lines. (Bug#971)
20420 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20421 to reflect the above change.
20422
20423 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20424
20425 * image.el (imagemagick-register-types): Use regexp-opt.
20426
20427 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20428
20429 * window.el (display-buffer-base-action): Rename from
20430 display-buffer-default-action. Make default value empty.
20431 (display-buffer-overriding-action): Convert to defvar.
20432 (display-buffer-fallback-action): New var.
20433
20434 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20435
20436 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20437 declaration.
20438 (package--add-to-archive-contents): If there is a duplicate entry
20439 with an older version, remove it.
20440 (package-menu-mark-delete, package-menu-mark-install)
20441 (package-menu-mark-unmark): Make unused args optional.
20442 (package-menu-mark-obsolete-for-deletion):
20443 Use package-menu-get-status instead of a regexp search.
20444 (package-menu-get-status): Use tabulated-list-entry.
20445 (package-menu-mark-upgrades): New command.
20446 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20447 (package-menu-execute): Do installation before deletion.
20448 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20449 instead of checking major-mode.
20450 (package-menu--find-upgrades): New function.
20451
20452 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20453
20454 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20455 passwords in the log buffer.
20456 (smtpmail-process-filter): Update the process marker so that the
20457 "broken by peer" status message is inserted in the right place.
20458
20459 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20460
20461 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20462 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20463 bibtex-completion-at-point-function.
20464 (bibtex-completion-at-point-function): Use them.
20465
20466 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20467
20468 * mpc.el (mpc-constraints-tag-lookup): New function.
20469 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20470 also to browser "album|playlist".
20471
20472 2011-09-14 Juri Linkov <juri@jurta.org>
20473
20474 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20475 (isearch-edit-string): Use length of `isearch-string' when
20476 `isearch-fail-pos' returns nil.
20477 (isearch-message): Remove duplicate code and call
20478 `isearch-fail-pos' with arg `t'.
20479
20480 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20481
20482 * replace.el (occur-mode-goto-occurrence): Don't force using other
20483 window (Bug#9499).
20484
20485 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20486
20487 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20488
20489 * window.el (display-buffer-window): Remove.
20490 (display-buffer-record-window): Use help-setup window parameter
20491 instead of variable display-buffer-window.
20492 (display-buffer-function, special-display-buffer-names)
20493 (special-display-function): Mention help-setup parameter instead
20494 of display-buffer-window in doc-string.
20495 * help.el (help-window-setup): New argument help-window.
20496 Use help-window-setup parameter instead of display-buffer-window.
20497 Reword some messages.
20498 (with-help-window): Pass window used for displaying the buffer
20499 to help-window-setup. Don't set display-buffer-window.
20500
20501 2011-09-13 Glenn Morris <rgm@gnu.org>
20502
20503 * emacs-lisp/debug.el (debugger-make-xrefs):
20504 Preserve point. (Bug#9462)
20505
20506 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20507
20508 * window.el (window-deletable-p): Use next-frame.
20509
20510 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20511
20512 * window.el (window-auto-delete): Remove.
20513 (window-deletable-p): Remove argument FORCE. Don't deal with
20514 dedication and previous buffers.
20515 (switch-to-prev-buffer): Don't delete window.
20516 (delete-windows-on): Delete a window's frame if and only if the
20517 window is dedicated.
20518 (replace-buffer-in-windows): Delete buffer's window or frame if
20519 and only if window is dedicated.
20520 (quit-window): Handle quit-restore as before last change.
20521 (bury-buffer): Delete window only if window-deletable-p returns t.
20522
20523 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20524
20525 * window.el (window-deletable-p): Never delete the last frame on a
20526 given terminal.
20527
20528 2011-09-13 Glenn Morris <rgm@gnu.org>
20529
20530 * help.el (describe-key-briefly): Copy previous standard-output change.
20531
20532 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20533
20534 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20535
20536 2011-09-13 Glenn Morris <rgm@gnu.org>
20537
20538 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20539 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20540
20541 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20542
20543 * dired-aux.el (dired-mark-read-string): Don't return default
20544 value on empty input (Bug#9361).
20545 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20546 Omit initial minibuffer contents.
20547 (dired-do-chmod): Signal an error on empty input.
20548 (dired-mark-read-string): Don't return default on empty input.
20549
20550 * files.el (file-modes-symbolic-to-number): Doc fix.
20551
20552 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20553
20554 * international/mule-cmds.el (ucs-completions): Remove.
20555 (read-char-by-name): Use complete-with-action instead; add metadata.
20556
20557 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20558
20559 * window.el (display-buffer--action-function-custom-type)
20560 (display-buffer--action-custom-type): New vars.
20561 (display-buffer-alist, display-buffer-default-action)
20562 (display-buffer-overriding-action): Add defcustom types.
20563
20564 * frame.el (delete-other-frames): Doc fix (Bug#276).
20565
20566 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20567
20568 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20569
20570 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20571
20572 Change modes that used same-window-* vars to use switch-to-buffer.
20573
20574 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20575 Use switch-to-buffer.
20576
20577 * cus-edit.el (customize-group, custom-buffer-create)
20578 (customize-browse, custom-buffer-create-other-window):
20579 Use switch-to-buffer or switch-to-buffer-other-window.
20580
20581 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20582 (Info-prev, Info-up, Info-speedbar-goto-node)
20583 (info-display-manual): Use switch-to-buffer.
20584 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20585
20586 * mail/sendmail.el (mail): Use switch-to-buffer.
20587 (mail-recover): Use switch-to-buffer-other-window.
20588
20589 * cmuscheme.el (run-scheme, switch-to-scheme):
20590 * ielm.el (ielm):
20591 * shell.el (shell):
20592 * net/rlogin.el (rlogin):
20593 * net/telnet.el (telnet, rsh):
20594 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20595
20596 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20597
20598 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20599
20600 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20601
20602 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20603 so don't mention it (bug#9301).
20604 (dired-sort-toggle-or-edit): Clarify string further.
20605
20606 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20607 match `x', `w32' and `ns', like the manual says (bug#9029).
20608
20609 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20610 (process-kill-buffer-query-function): Mention the buffer name in
20611 the query.
20612
20613 * image-mode.el (image-next-line): The line parameter is mandatory
20614 (bug#9258).
20615
20616 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20617 which can be useful (bug#9301).
20618
20619 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20620
20621 * subr.el (match-string): Mention that the current buffer should
20622 be the same as the search was done in (bug#9282).
20623
20624 * facemenu.el: Disable the remove-* commands if the mark isn't
20625 active (bug#9162).
20626
20627 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20628
20629 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20630 of display-buffer.
20631 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20632
20633 * replace.el (occur-mode-goto-occurrence)
20634 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20635 and display-buffer.
20636
20637 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20638 display-buffer.
20639
20640 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20641 special-display and same-window variables.
20642 (mail-other-window): Use switch-to-buffer-other-window.
20643 (mail-other-frame): USe switch-to-buffer-other-frame.
20644
20645 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20646 Use display-buffer-other-frame.
20647 (gdb-display-gdb-buffer): Use pop-to-buffer.
20648
20649 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20650
20651 * progmodes/python.el: Don't set same-window-buffer-names.
20652
20653 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20654
20655 * window.el (display-buffer-alist): Add *Python*.
20656
20657 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20658
20659 * window.el (display-buffer-alist): Add entry for buffers
20660 previously handled same-window-*.
20661 (display-buffer-alist, display-buffer-default-action)
20662 (display-buffer-overriding-action): Mark as risky.
20663 (display-buffer-alist): Document action function changes.
20664 (display-buffer--same-window-action)
20665 (display-buffer--other-frame-action): New variables.
20666 (switch-to-buffer, display-buffer-other-frame): Use them.
20667 (display-buffer): Rename reuse-frame entry to reusable-frames.
20668 (display-buffer-reuse-selected-window): Function deleted.
20669 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20670 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20671 (display-buffer-special): New function.
20672 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20673 display-buffer-reuse-or-pop-window. Split off special-display
20674 part into display-buffer-special.
20675 (display-buffer-use-some-window): Don't perform any special
20676 pop-up-frames handling.
20677 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20678 (display-buffer--maybe-same-window): Rename from
20679 display-buffer-maybe-same-window.
20680
20681 * info.el: Don't set same-window-regexps.
20682 (info-setup): New function.
20683 (info-other-window, info): Call it.
20684
20685 * cus-edit.el: Don't set same-window-regexps.
20686 (customize-group): New argument.
20687 (customize-group-other-window): Use it.
20688 (customize-face, customize-face-other-window): Likewise.
20689 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20690
20691 * net/rlogin.el:
20692 * net/telnet.el:
20693 * progmodes/gud.el: Don't set same-window-regexps.
20694
20695 * cmuscheme.el:
20696 * ielm.el:
20697 * shell.el:
20698 * mail/sendmail.el:
20699 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20700
20701 2011-09-10 Juri Linkov <juri@jurta.org>
20702
20703 * isearch.el (isearch-edit-string): Remove obsolete mention of
20704 `C-w' (`isearch-yank-word-or-char') from docstring.
20705 (isearch-query-replace): Fix typo in docstring (bug#9466).
20706
20707 2011-09-10 Juri Linkov <juri@jurta.org>
20708
20709 * paren.el (show-paren-function): Don't show escaped parens.
20710 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20711
20712 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20713
20714 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20715 (mm-default-file-encoding): Remove autoload forms, they are
20716 replaced with autoload cookies in mml.el and mm-encode.el.
20717 (mail-add-attachment): New command.
20718 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20719 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20720 the doc string.
20721 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20722
20723 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20724
20725 * simple.el (count-words-region): Use buffer if there's no region
20726 (bug#9429).
20727
20728 2011-09-09 Juri Linkov <juri@jurta.org>
20729
20730 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20731 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20732 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20733
20734 2011-09-09 Alan Mackenzie <acm@muc.de>
20735
20736 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20737 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20738
20739 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20740
20741 Fix for Savannah bug#9392.
20742 * simple.el (mail-encode-mml): New defvar.
20743
20744 * mail/rmail.el (mail-encode-mml): Add a defvar.
20745 (rmail-enable-mime-composing): Default to t.
20746 (rmail-forward): Use MIME method of forwarding only if both
20747 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20748 Set mail-encode-mml non-nil if the MIME method was used.
20749
20750 * mail/sendmail.el (mml-to-mime): Add autoload form.
20751 (mail-encode-mml): Add a defvar.
20752 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20753 to nil.
20754 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20755 message through mml-to-mime, and reset mail-encode-mml to nil.
20756
20757 2011-09-09 Glenn Morris <rgm@gnu.org>
20758
20759 * woman.el (woman-if-body): When processing an .el block,
20760 do not delete the next .el block as well. (Bug#9447)
20761 (woman-special-characters): Add oq, cq, and hy characters.
20762
20763 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20764
20765 * window.el (window-deletable-p): Make sure window is live before
20766 invoking window-prev-buffers.
20767
20768 2011-09-08 Leo Liu <sdl.web@gmail.com>
20769
20770 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20771
20772 2011-09-08 Juri Linkov <juri@jurta.org>
20773
20774 * progmodes/compile.el (compilation-environment): Make it
20775 a defcustom (bug#8340).
20776
20777 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20778
20779 * window.el (frame-auto-delete): Rename to window-auto-delete.
20780 Make it control auto-deletion of windows and/or frames.
20781 (window-deletable-p): New argument FORCE. Rewrite conditions
20782 for deleting window/frame. (Bug#9419)
20783 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20784 Rewrite handling of case when window/frame can be deleted.
20785 (delete-windows-on): Call window-deletable-p with new FORCE
20786 argument t. (Bug#9456)
20787
20788 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20789
20790 * help-mode.el (help-mode): Restore autoload.
20791
20792 2011-09-07 Juri Linkov <juri@jurta.org>
20793
20794 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20795 `compilation-environment'. Set buffer-local
20796 `compilation-environment' to `thisenv' later after (funcall mode).
20797 (Bug#8340)
20798
20799 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20800 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20801 instead of replacing its value. (Bug#8340)
20802
20803 2011-09-07 Juri Linkov <juri@jurta.org>
20804
20805 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20806 based on text properties put by `grep-filter' instead of matching
20807 escape sequences.
20808 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20809 to the value of `grep-error-screen-columns' (bug#9438).
20810
20811 2011-09-07 Juri Linkov <juri@jurta.org>
20812
20813 * simple.el (next-error-highlight, next-error-highlight-no-select):
20814 Doc fix (bug#9432).
20815
20816 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20817
20818 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20819 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20820
20821 2011-09-07 Leo Liu <sdl.web@gmail.com>
20822
20823 * net/rcirc.el (rcirc-mode): Conditionally initialize
20824 rcirc-input-ring.
20825
20826 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20827
20828 * emacs-lisp/find-func.el (find-function-C-source): Only set
20829 find-function-C-source-directory after checking that we found a source
20830 file there (bug#9440).
20831
20832 2011-09-06 Alan Mackenzie <acm@muc.de>
20833
20834 * isearch.el (isearch-other-meta-char): Wherever a key list is
20835 unread, "unread" the prefix arg, too. This fixes bug #8901.
20836
20837 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20838
20839 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20840
20841 2011-09-05 Juri Linkov <juri@jurta.org>
20842
20843 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20844
20845 2011-09-05 Juri Linkov <juri@jurta.org>
20846
20847 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20848 keeping point where processing of grep matches begins, and
20849 continue to delete remaining escape sequences from the same point.
20850 (grep-filter): Make leading zero optional in "0?1;31m" because
20851 git-grep emits "\033[1;31m" escape sequences unlike expected
20852 "\033[01;31m" as GNU Grep does (bug#9408).
20853 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20854
20855 2011-09-05 Juri Linkov <juri@jurta.org>
20856
20857 * subr.el (y-or-n-p): Capitalize "yes".
20858
20859 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20860
20861 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20862 `tramp-cache-unload-hook' where appropriate.
20863 (tramp-methods): Rename `tramp-remote-sh' to
20864 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20865 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20866
20867 * net/tramp-sh.el (top): Don't require 'shell.
20868 (tramp-methods): Add `tramp-remote-shell' and
20869 `tramp-remote-shell-args' entries.
20870 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20871 (tramp-sh-handle-shell-command): Remove.
20872 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20873 Use `tramp-remote-shell'.
20874
20875 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20876
20877 * mail/sendmail.el (sendmail-query-once-function): Delete.
20878 (sendmail-query-once): Save directly to send-mail-function.
20879 Update message-send-mail-function too.
20880
20881 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20882
20883 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20884
20885 * progmodes/python.el (python-mode-map): Use correct function to
20886 start python interpreter from menu-bar (as reported by Geert
20887 Kloosterman).
20888 (inferior-python-mode-map): Fix typo.
20889 (python-shell-map): Remove.
20890
20891 2011-09-03 Deniz Dogan <deniz@dogan.se>
20892
20893 * net/rcirc.el (rcirc-print): Simplify code for
20894 rcirc-scroll-show-maximum-output. There is no need to walk
20895 through all windows to find the right one.
20896
20897 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20898
20899 * help.el (help-return-method): Doc fix.
20900
20901 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20902
20903 * window.el (window-deletable-p): Don't return a non-nil value
20904 when there's a buffer that was shown in the window before.
20905 (Bug#9419)
20906 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20907 Set window's previous buffers to nil.
20908
20909 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20910
20911 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20912 newline before and after the tag line, so it doesn't interfere
20913 with determining the paragraph direction of bidirectional text.
20914
20915 2011-09-03 Leo Liu <sdl.web@gmail.com>
20916
20917 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20918
20919 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20920
20921 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20922 (pop-to-buffer): Change interactive spec. Pass second argument
20923 directly to display-buffer.
20924 (display-buffer): Fix interactive spec. Use functionp to
20925 distinguish between a function and a list of functions.
20926
20927 * abbrev.el (edit-abbrevs):
20928 * arc-mode.el (archive-extract):
20929 * autoinsert.el (auto-insert):
20930 * bookmark.el (bookmark-bmenu-list):
20931 * files.el (find-file):
20932 * view.el (view-buffer):
20933 * progmodes/compile.el (compilation-goto-locus):
20934 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20935
20936 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20937
20938 * window.el (display-buffer-alist): Doc fix.
20939 (display-buffer): Add docstring. Don't treat
20940 display-buffer-default specially.
20941 (display-buffer-reuse-selected-window)
20942 (display-buffer-same-window, display-buffer-maybe-same-window)
20943 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20944 (display-buffer-pop-up-window)
20945 (display-buffer-reuse-or-pop-window)
20946 (display-buffer-use-some-window): New functions.
20947 (display-buffer-default-action): Use them.
20948 (display-buffer-default): Delete.
20949 (pop-to-buffer-1): Fix choice of actions.
20950
20951 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20952
20953 * minibuffer.el (completion--insert-strings): Don't get confused by
20954 completion entries that end with an LF char.
20955
20956 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20957
20958 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20959
20960 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20961
20962 * window.el (display-buffer): Restore interactive spec.
20963 (display-buffer-same-window, display-buffer-other-window):
20964 New functions.
20965 (pop-to-buffer-1): New function. Use the above.
20966 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20967 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20968
20969 * view.el (view-buffer-other-window, view-buffer-other-frame):
20970 Just use pop-to-buffer.
20971
20972 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20973
20974 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20975
20976 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20977
20978 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20979
20980 2011-08-31 Richard Stallman <rms@gnu.org>
20981
20982 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20983 of the separation of rmail-view-buffer from rmail-buffer.
20984 If you say no to "replace original", the decrypt is in the
20985 view buffer. If you say yes, the decrypt goes into the
20986 rmail buffer also.
20987
20988 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20989
20990 * window.el (display-buffer-window): Rewrite doc-string.
20991 (display-buffer-record-window): New function.
20992 (display-buffer-macro-specifiers)
20993 (display-buffer-even-window-sizes, display-buffer-set-height)
20994 (display-buffer-set-width, display-buffer-in-window)
20995 (display-buffer-reuse-window, display-buffer-split-specifiers)
20996 (display-buffer-side-specifiers, display-buffer-split-window-1)
20997 (display-buffer-split-window, display-buffer-split-atom-window)
20998 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20999 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
21000 (display-buffer-other-window-means-other-frame)
21001 (display-buffer-normalize-special)
21002 (display-buffer-normalize-default)
21003 (display-buffer-normalize-argument)
21004 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
21005 (display-buffer-normalize-specifiers, display-buffer-frame)
21006 (display-buffer-same-window, display-buffer-same-frame)
21007 (display-buffer-other-window)
21008 (display-buffer-same-frame-other-window)
21009 (display-buffer-other-frame, pop-to-buffer-same-window)
21010 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
21011 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
21012 (switch-to-buffer-same-frame)
21013 (switch-to-buffer-other-window-same-frame)
21014 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
21015 (display-buffer-alist-set-1, display-buffer-alist-set-2)
21016 (display-buffer-alist-set): Remove.
21017 (display-buffer-function, special-display-buffer-names)
21018 (special-display-regexps, special-display-function):
21019 In doc-string refer to display-buffer-window and quit-restore
21020 parameter.
21021 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
21022 (special-display-frame-alist, special-display-popup-frame)
21023 (same-window-buffer-names, same-window-regexps, same-window-p)
21024 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21025 (split-window-preferred-function, split-height-threshold)
21026 (split-width-threshold, window-splittable-p)
21027 (split-window-sensibly, window--try-to-split-window)
21028 (window--frame-usable-p, even-window-heights)
21029 (window--even-window-heights, window--display-buffer-1)
21030 (window--display-buffer-2, display-buffer-other-frame):
21031 Restore old Emacs 23 code, order and doc-strings where applicable.
21032 (display-buffer-default, display-buffer-assq-regexp): New functions.
21033 (display-buffer-alist): Rewrite doc-string.
21034 (display-buffer-default-action)
21035 (display-buffer-overriding-action): New variables.
21036 (display-buffer, switch-to-buffer): Rewrite.
21037 (pop-to-buffer): Restore Emacs 23 behavior but use
21038 window-normalize-buffer-to-display.
21039 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
21040 Restore Emacs 23 behavior but use
21041 window-normalize-buffer-to-switch-to.
21042 (pop-to-buffer-same-window): Rewrite.
21043 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
21044 Rewrite using Emacs 23 options.
21045
21046 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
21047
21048 * net/tramp.el (tramp-root-regexp): Remove.
21049 (tramp-completion-file-name-regexp-unified)
21050 (tramp-completion-file-name-regexp-separate)
21051 (tramp-completion-file-name-regexp-url): Don't use leading volume
21052 letter on w32 systems. (Bug#5303, Bug#9311)
21053 (tramp-drop-volume-letter): Simplify definition.
21054 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
21055
21056 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
21057
21058 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
21059 (bug#9356).
21060
21061 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
21062
21063 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
21064
21065 2011-08-29 Juri Linkov <juri@jurta.org>
21066
21067 * isearch.el (isearch-done): Don't display message "Mark saved"
21068 when arg `edit' is non-nil to prevent its flicker in the echo area.
21069
21070 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21071
21072 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21073 obsolete packages for deletion.
21074
21075 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21076
21077 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21078 (help-mode): Derive help-mode from special-mode. Don't invoke
21079 view-mode from help-mode.
21080 (help-xref-override-view-map): Remove.
21081 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21082 view-mode is not used anymore.
21083
21084 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21085
21086 * server.el (server-port): Doc fix.
21087
21088 * cus-theme.el (custom-theme-choose-mode): Inherit from
21089 special-mode (Bug#9124).
21090 (custom-theme-choose-mode-map): Add special-mode to parent.
21091
21092 2011-08-28 Alan Mackenzie <acm@muc.de>
21093
21094 * progmodes/cc-fonts.el
21095 (c-make-font-lock-BO-decl-search-function): New function.
21096 (c-basic-matchers-after - "Fontify the clauses after various
21097 keywords"): Extract the three keyword lists for the 3 erroneous
21098 constructs from the list of four, and use the new function above
21099 in place of an old one.
21100
21101 2011-08-28 Deniz Dogan <deniz@dogan.se>
21102
21103 * net/rcirc.el (rcirc-insert-prev-input)
21104 (rcirc-insert-next-input): Remove unused argument.
21105
21106 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21107
21108 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21109
21110 2011-08-27 Alan Mackenzie <acm@muc.de>
21111
21112 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21113 handle function pointer parameters properly.
21114
21115 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21116
21117 * window.el (display-buffer-reuse-window): Fix case where
21118 selected window was reused with non-nil OTHER-WINDOW argument.
21119 (Bug#9381)
21120
21121 2011-08-27 Deniz Dogan <deniz@dogan.se>
21122
21123 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21124 oftc's NickServ messages.
21125
21126 2011-08-27 Glenn Morris <rgm@gnu.org>
21127
21128 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21129
21130 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21131
21132 * emacs-lisp/package.el (package-install): Call package-initialize
21133 if called interactively.
21134
21135 2011-08-26 Leo Liu <sdl.web@gmail.com>
21136
21137 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21138
21139 2011-08-25 Juri Linkov <juri@jurta.org>
21140
21141 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21142 `search-whitespace-regexp' (bug#9364).
21143
21144 2011-08-25 Juri Linkov <juri@jurta.org>
21145
21146 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21147 `regexp-search-ring' to their global values to protect from
21148 updating by `read-from-minibuffer' (bug#9185).
21149
21150 2011-08-25 Juri Linkov <juri@jurta.org>
21151
21152 * textmodes/ispell.el (ispell-command-loop): Add newline
21153 at the end of the "Use option `i'..." line.
21154
21155 2011-08-25 Juri Linkov <juri@jurta.org>
21156
21157 * battery.el (display-battery-mode): If `battery-status-function'
21158 or `battery-mode-line-format' is nil, display the message and set
21159 `display-battery-mode' to nil (bug#9363).
21160
21161 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21162
21163 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21164 bidi-string-mark-left-to-right; they are unnecessary now.
21165
21166 2011-08-25 Deniz Dogan <deniz@dogan.se>
21167
21168 * net/quickurl.el: Documentation typo fixes.
21169
21170 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21171
21172 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21173
21174 2011-08-25 Glenn Morris <rgm@gnu.org>
21175
21176 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21177
21178 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21179 (smtpmail-via-smtp): Handle nil response from smtp.
21180
21181 2011-08-24 Juri Linkov <juri@jurta.org>
21182
21183 * proced.el (proced-marked): Inherit from `error' instead of
21184 `font-lock-warning-face'.
21185
21186 * ibuffer.el (ibuffer-marked-face): Change default face from
21187 `font-lock-warning-face' to `warning'.
21188 (ibuffer-deletion-face): Change default face from
21189 `font-lock-type-face' to `error'.
21190
21191 * battery.el (battery-update): Use the face `error' instead of
21192 `font-lock-warning-face' (bug#6117).
21193
21194 2011-08-24 Juri Linkov <juri@jurta.org>
21195
21196 * faces.el (success): Change face color from "Green3" to
21197 "ForestGreen" on light background (bug#9353).
21198
21199 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21200
21201 * window.el (quit-window): Rename from quit-restore-window.
21202 Use same arglist as old quit-window.
21203 (frame-auto-delete): Doc fix.
21204
21205 * view.el (view-mode-exit): Use quit-window.
21206
21207 2011-08-24 Juri Linkov <juri@jurta.org>
21208
21209 * isearch.el (isearch-ring-adjust1): Start visiting previous
21210 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21211 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21212 for empty search string (when the last search string is reused
21213 automatically) to adjust the isearch ring to the last element and
21214 prepare the correct index for further M-p commands (bug#9185).
21215
21216 2011-08-24 Kenichi Handa <handa@m17n.org>
21217
21218 * international/ucs-normalize.el: If decomposition property of
21219 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21220 nil.
21221 (nfd, nfkd): Likewise.
21222
21223 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21224
21225 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21226 from process filters aren't reliably transmitted to the surrounding
21227 accept-process-output.
21228 (mpc-proc-check): New function.
21229 (mpc-proc-sync): Use it (bug#8293)
21230
21231 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21232
21233 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21234 Add compatibility functions (bug#9313).
21235
21236 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21237
21238 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21239
21240 * international/uni-bidi.el: Regenerate.
21241
21242 2011-08-23 Kenichi Handa <handa@m17n.org>
21243
21244 * international/charprop.el:
21245 * international/uni-bidi.el:
21246 * international/uni-category.el:
21247 * international/uni-combining.el:
21248 * international/uni-comment.el:
21249 * international/uni-decimal.el:
21250 * international/uni-decomposition.el:
21251 * international/uni-digit.el:
21252 * international/uni-lowercase.el:
21253 * international/uni-mirrored.el:
21254 * international/uni-name.el:
21255 * international/uni-numeric.el:
21256 * international/uni-old-name.el:
21257 * international/uni-titlecase.el:
21258 * international/uni-uppercase.el: Regenerate.
21259
21260 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21261
21262 * help.el (help-window-setup): Fix message displayed when other
21263 window is reused. (Bug#9341)
21264
21265 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21266
21267 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21268 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21269
21270 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21271 Mark obsolete.
21272 * shell.el (shell-parse-pcomplete-arguments): New function.
21273 (shell-completion-vars): Use it instead (bug#9160).
21274
21275 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21276
21277 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21278 strings and comments (bug#9333).
21279
21280 * emacs-lisp/debug.el (debug-arglist): New function.
21281 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21282 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21283
21284 2011-08-22 Juri Linkov <juri@jurta.org>
21285
21286 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21287 Revert regexp that highlights output switches to its old
21288 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21289
21290 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21291 to check for empty output (bug#9226).
21292
21293 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21294
21295 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21296 symbol-constituent as the default, as that stops font-lock from
21297 working properly (Bug#8843).
21298
21299 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21300
21301 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21302 `coding-system-for-*' around the process open call to avoid
21303 auth-source side effects.
21304 (smtpmail-try-auth-methods): Expand the secret password.
21305 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21306 probe hangs.
21307
21308 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21309
21310 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21311
21312 * emacs-lisp/find-func.el (find-function-noselect): New arg
21313 lisp-only.
21314
21315 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21316 signal an error for built-in functions (Bug#6664).
21317
21318 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21319
21320 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21321 (smtpmail-try-auth-methods): Use it.
21322
21323 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21324
21325 * font-lock.el (font-lock-fontify-region)
21326 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21327 (font-lock-default-unfontify-buffer)
21328 (font-lock-default-fontify-region)
21329 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21330
21331 * progmodes/compile.el (compilation-error-properties):
21332 Fix confusion between file struct and message struct (Bug#9319).
21333 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21334 `ant' regexp.
21335
21336 * net/browse-url.el (browse-url-firefox): Don't call
21337 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21338
21339 2011-08-20 Glenn Morris <rgm@gnu.org>
21340
21341 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21342
21343 * tutorial.el (tutorial--default-keys): Update some default bindings.
21344
21345 * files.el (hack-local-variables): Fully ignore case for "mode:".
21346
21347 2011-08-20 Alan Mackenzie <acm@muc.de>
21348
21349 Resolve invalid use of a regexp in regexp-opt.
21350
21351 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21352 detection for a java annotation.
21353
21354 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21355 detection for a java annotation.
21356
21357 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21358 handling for java.
21359 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21360
21361 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21362
21363 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21364 (Bug#9274).
21365
21366 2011-08-20 Alan Mackenzie <acm@muc.de>
21367
21368 Fontify CPP expressions correctly when starting in the middle of
21369 such a construct. Mainly for when jit-lock etc. starts a chunk
21370 here.
21371
21372 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21373 variable.
21374 (c-make-font-lock-search-form): New function, extracted from
21375 c-make-font-lock-search-function.
21376 (c-make-font-lock-search-function): Use the above function.
21377 (c-make-font-lock-context-search-function): New function.
21378 (c-cpp-matchers): Enhance the preprocessor expression case with
21379 the above function
21380 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21381 which takes an expression.
21382
21383 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21384
21385 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21386
21387 * window.el (display-buffer-reuse-window)
21388 (display-buffer-pop-up-window): Don't reuse or split a side
21389 window.
21390
21391 2011-08-19 Glenn Morris <rgm@gnu.org>
21392
21393 * files.el (hack-local-variables-prop-line, hack-local-variables):
21394 Downcase "Mode:". (Bug#9331)
21395
21396 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21397
21398 * international/characters.el: Add L and R categories.
21399
21400 * subr.el (bidi-string-mark-left-to-right): Rename from
21401 string-mark-left-to-right. Use category search.
21402
21403 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21404
21405 2011-08-18 Juri Linkov <juri@jurta.org>
21406
21407 * faces.el (error, warning, success): New faces with definitions
21408 copied from old default values of `font-lock-warning-face',
21409 `compilation-warning', `compilation-info' (bug#6117).
21410
21411 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21412
21413 * progmodes/compile.el (compilation-error): Inherit from `error'.
21414 (compilation-warning): Inherit from `warning'.
21415 (compilation-info): Inherit from `success'.
21416
21417 * dired.el (dired-marked): Inherit from `warning'.
21418 (dired-flagged): Inherit from `error'.
21419
21420 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21421
21422 * mail/smtpmail.el (auth-source): Require to avoid problems with
21423 binding variables (bug#9298). Also clean up some unused
21424 autoloads.
21425
21426 * net/network-stream.el (network-stream-open-starttls):
21427 Support using starttls.el without using gnutls-cli.
21428
21429 2011-08-17 Juri Linkov <juri@jurta.org>
21430
21431 * progmodes/grep.el (rgrep): Handle the case when
21432 `grep-find-command' is a cons cell (bug#9278).
21433
21434 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21435
21436 * window.el (display-buffer-pop-up-frame): Run frame creation
21437 function with BUFFER current (as special-display-popup-frame
21438 does). Reported by Drew Adams.
21439
21440 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21441
21442 * epa-mail.el: Simplify GnuPG group expansion using
21443 epg-expand-group.
21444 (epa-mail-group-alist, epa-mail-group-modtime)
21445 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21446 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21447 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21448 Remove.
21449
21450 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21451
21452 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21453
21454 2011-08-16 Alan Mackenzie <acm@muc.de>
21455
21456 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21457 Correct, to avoid the inside of macros.
21458
21459 2011-08-16 Richard Stallman <rms@gnu.org>
21460
21461 * epa-mail.el: Handle GnuPG group definitions.
21462 (epa-mail-group-alist, epa-mail-group-modtime)
21463 (epa-mail-gnupg-conf-file): New variables.
21464 (epa-mail-parse-groups, epa-mail-sync-groups)
21465 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21466 (epa-mail-expand-recipients): New functions.
21467 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21468
21469 * mail/rmail.el (rmail-epa-decrypt): New command.
21470
21471 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21472 Don't bind buffer-read-only, just inhibit-read-only.
21473 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21474 (epa-decrypt-armor-in-region): Make error message clearer.
21475
21476 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21477
21478 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21479 and "a2b" to "ab" for `prefix'.
21480
21481 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21482
21483 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21484 filter groups.
21485 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21486 Fourquet (Bug#8804).
21487
21488 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21489
21490 * startup.el (argi): Declare as global variable (bug#9275).
21491
21492 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21493
21494 * subr.el (string-mark-left-to-right): Search the entire string
21495 for RTL script, not just the terminating character. Doc fix.
21496
21497 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21498
21499 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21500 New function.
21501 (js--regexp-literal, js-syntax-propertize-function): Remove.
21502 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21503 (js-mode-map): Don't rebind electric keys.
21504 (js-insert-and-indent): Remove.
21505 (js-mode): Setup electric-layout and electric-indent instead.
21506
21507 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21508
21509 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21510
21511 * epa.el (epa-progress-callback-function): Fix the logic of
21512 displaying progress.
21513 * epa-file.el (epa-file-insert-file-contents): Make progress
21514 display more user-friendly.
21515 (epa-file-write-region): Ditto.
21516
21517 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21518
21519 * subr.el (string-mark-left-to-right): New function.
21520
21521 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21522 Use string-mark-left-to-right.
21523 (list-buffers-noselect): Caller changed.
21524
21525 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21526 Use string-mark-left-to-right.
21527 (tabulated-list-print): Recenter after moving point.
21528
21529 2011-08-10 Juri Linkov <juri@jurta.org>
21530
21531 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21532 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21533 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21534
21535 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21536
21537 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21538 (Bug#7554).
21539
21540 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21541
21542 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21543 character. (Bug#6594)
21544
21545 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21546
21547 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21548 (image-dired--with-db-file): New macro.
21549 (image-dired-write-tags, image-dired-remove-tag)
21550 (image-dired-create-gallery-lists, image-dired-write-comments)
21551 (image-dired-get-comment, image-dired-mark-tagged-files)
21552 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21553 (image-dired-gallery-generate): Use insert-file-contents.
21554
21555 * time.el (display-time-world-list, display-time-world-display):
21556 * time-stamp.el (time-stamp-string):
21557 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21558 set-time-zone-rule (Bug#7337).
21559
21560 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21561
21562 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21563 (epg-error-to-string, epg-errors-to-string): New function.
21564 (epg-wait-for-completion): Reverse errors list.
21565 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21566 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21567 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21568 (epg-sign-keys, epg-generate-key-from-file)
21569 (epg-generate-key-from-string): Format errors by using
21570 epg-errors-to-string (bug#9255).
21571 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21572
21573 2011-08-07 Juri Linkov <juri@jurta.org>
21574
21575 * faces.el (list-faces-display): Remove extra angle bracket
21576 from `help-mode-map'.
21577
21578 * info.el (Info-history-toc-nodes): Doc fix.
21579
21580 * longlines.el (longlines-mode): Doc fix.
21581
21582 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21583
21584 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21585 of statements and in a few more cases (bug#9183).
21586
21587 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21588 New functions.
21589 (cl-transform-lambda): Use them (bug#9239).
21590
21591 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21592
21593 * window.el (display-buffer-same-window)
21594 (display-buffer-same-frame, display-buffer-other-window)
21595 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21596 (pop-to-buffer-other-window)
21597 (pop-to-buffer-same-frame-other-window)
21598 (pop-to-buffer-other-frame): Make them defuns.
21599 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21600
21601 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21602
21603 * subr.el (make-composed-keymap): Move from C. Change calling
21604 convention, and improve docstring to bring attention to a subtle point.
21605 * minibuffer.el (completing-read-default): Adjust accordingly.
21606
21607 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21608
21609 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21610 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21611
21612 * net/trampver.el: Update release number.
21613
21614 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21615
21616 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21617 "in" (bug#9190).
21618
21619 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21620
21621 * mail/sendmail.el (sendmail-query-once): Restore the current
21622 buffer after querying (bug#9074).
21623
21624 * dired.el (dired-flagged): Use different faces for marked and
21625 flagged files (bug#6117).
21626
21627 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21628 (bug#4433).
21629
21630 * ido.el (ido-mode): Switch off the message if called
21631 non-interactively.
21632
21633 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21634 before 587, since it appears that that's more likely to work for
21635 more people.
21636
21637 * cus-edit.el (custom-file): When running under emacs -q, always
21638 refuse to save the customizations, even if the .emacs file doesn't
21639 exist.
21640
21641 * info.el: Remove the `Info-beginning-of-buffer' function
21642 (bug#8325).
21643
21644 * net/network-stream.el (network-stream-open-starttls):
21645 Use `starttls-available-p' to see whether starttls.el can be used.
21646
21647 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21648
21649 * window.el (display-buffer-in-window): Don't set dedicated status
21650 of window here (Bug#9215).
21651 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21652 (display-buffer-pop-up-side-window)
21653 (display-buffer-in-side-window): Set dedicated status of window here.
21654
21655 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21656
21657 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21658 before binding generated-autoload-file.
21659
21660 2011-08-01 Deniz Dogan <deniz@dogan.se>
21661
21662 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21663
21664 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21665
21666 Sync with Tramp 2.2.2.
21667
21668 * net/trampver.el: Update release number.
21669
21670 2011-07-30 Juri Linkov <juri@jurta.org>
21671
21672 * dired-aux.el (dired-touch-initial): Remove function.
21673 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21674 current time, and `default' to the last modification time of the
21675 current marked file (bug#6887).
21676
21677 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21678
21679 * simple.el (goto-line): Use string-to-number to provide a
21680 numeric argument to read-number (bug#9163).
21681
21682 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21683
21684 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21685 connection process, it could be nil.
21686
21687 2011-07-27 Leo Liu <sdl.web@gmail.com>
21688
21689 Simplify url handling in rcirc-mode.
21690
21691 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21692 (rcirc-browse-url-at-mouse): Remove.
21693 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21694
21695 2011-07-26 Alan Mackenzie <acm@muc.de>
21696
21697 Fontify bitfield declarations properly.
21698
21699 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21700 (c-symbol-chars): Now exported as a lang variable.
21701 (c-not-primitive-type-keywords): New lang variable.
21702
21703 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21704 QT keyword "more" to prevent "more slots: ...." being spuriously
21705 parsed as a bitfield declaration.
21706
21707 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21708 Refactor and enhance to handle bitfield declarations.
21709 (c-punctuation-in): New function.
21710 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21711 declarations properly.
21712
21713 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21714
21715 * calendar/icalendar.el (icalendar--all-events): Take care of
21716 multiple vcalendars in a single file.
21717 (icalendar--convert-float-to-ical): Checkdoc fixes.
21718
21719 2011-07-25 Deniz Dogan <deniz@dogan.se>
21720
21721 * image.el (insert-image): Clarifying docstring.
21722
21723 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21724
21725 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21726 `tramp-send-command-and-check' if there is no error.
21727 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21728
21729 2011-07-22 Alan Mackenzie <acm@muc.de>
21730
21731 Prevent cc-langs.elc being loaded at run time.
21732
21733 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21734 cc-langs.
21735
21736 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21737 "(require 'cc-langs)". Quote a form so it will evaluate at
21738 (cc-mode's) compilation time.
21739
21740 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21741
21742 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21743 loading. (Bug#9114)
21744
21745 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21746
21747 * window.el (display-buffer-pop-up-window)
21748 (display-buffer-pop-up-side-window)
21749 (display-buffer-in-side-window): Call display-buffer-set-height
21750 and display-buffer-set-width after setting the new window's
21751 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21752
21753 2011-07-20 Sam Steingold <sds@gnu.org>
21754
21755 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21756 (etags-tags-included-tables): Call `convert-standard-filename' on
21757 the file names contained in TAGS so that windows Emacs can handle
21758 TAGS files created by cygwin ctags.
21759
21760 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21761
21762 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21763 which apparently didn't work.
21764
21765 2011-07-19 Roland Winkler <winkler@gnu.org>
21766
21767 * proced.el (proced-send-signal): For *Marked Processes* buffer
21768 put point at beginning of buffer.
21769
21770 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21771
21772 * proced.el (proced-format): Make header lines align with the text
21773 (bug#1779).
21774
21775 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21776
21777 * view.el (view-buffer): Allow running in `special' modes if we're
21778 visiting a file (bug#8615).
21779
21780 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21781
21782 * window.el (display-buffer-alist-of-strings-p)
21783 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21784 New functions.
21785 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21786 more accurately.
21787
21788 2011-07-18 Alan Mackenzie <acm@muc.de>
21789
21790 Fontify declarators properly when, e.g., a jit-lock chunk begins
21791 inside a declaration.
21792
21793 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21794
21795 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21796 New function.
21797 (c-complex-decl-matchers): Insert reference to
21798 c-font-lock-enclosing-decls.
21799
21800 * progmodes/cc-engine.el (c-backward-single-comment):
21801 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21802 to nil around calls to (forward-comment -1).
21803
21804 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21805
21806 * image.el (put-image): Doc typo fix.
21807
21808 * progmodes/etags.el (tags-search): Doc typo fix.
21809
21810 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21811 password if we get errors 550 to 554.
21812
21813 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21814
21815 * net/gnutls.el (gnutls-log-level): Remove.
21816
21817 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21818 indentation character (bug#6380).
21819
21820 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21821
21822 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21823 to clarify what the problem is (bug#4291).
21824
21825 * simple.el (current-kill): Clarify what
21826 `interprogram-paste-function' does (bug#7500).
21827 (auto-fill-mode): Document `auto-fill-function' in relation to
21828 `auto-fill-mode' (bug#2470).
21829
21830 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21831
21832 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21833 method if slot is read-only (bug#9035).
21834
21835 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21836
21837 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21838 * window.el (pop-to-buffer): Select window used even if it was
21839 selected before, see discussion of (Bug#8615), (Bug#6954).
21840 Pass argument NORECORD on to select-frame-set-input-focus.
21841
21842 2011-07-15 Glenn Morris <rgm@gnu.org>
21843
21844 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21845 Respect help-form.
21846
21847 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21848
21849 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21850 (gnutls-negotiate): Use it.
21851
21852 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21853
21854 * net/gnutls.el (gnutls-negotiate):
21855 Upcase `gnutls-algorithm-priority'.
21856
21857 2011-07-15 Glenn Morris <rgm@gnu.org>
21858
21859 * jka-compr.el (jka-compr-verbose): Move from here...
21860 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21861 Add missing :version tag.
21862 * info.el: No need to require jka-compr when compiling.
21863
21864 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21865
21866 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21867 (gnutls-negotiate): Use it.
21868
21869 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21870
21871 * info.el (Info-beginning-of-buffer): New command.
21872 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21873 announcing `b' as the key (bug#8325).
21874 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21875
21876 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21877
21878 * international/mule-cmds.el
21879 (describe-specified-language-support): Make the error message
21880 clearer (bug#8905).
21881
21882 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21883
21884 * isearch.el (isearch-barrier): Add a doc string, since it's
21885 mentioned in a function doc string (bug#8678).
21886
21887 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21888
21889 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21890 buffer argument (Bug#9083) and self-identifying label argument.
21891
21892 2011-07-15 Glenn Morris <rgm@gnu.org>
21893
21894 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21895
21896 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21897
21898 * man.el (Man-fontify-manpage): Fix message when formatting the
21899 man page (bug#7929).
21900
21901 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21902
21903 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21904 argument LRM; if non-nil, append an invisible LRM character to the
21905 buffer name.
21906 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21907 last argument non-nil, when formatting buffer names.
21908 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21909 paragraph direction.
21910
21911 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21912
21913 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21914 the man page name (bug#7929).
21915
21916 * image.el (put-image): Mention the `put-image' overlay property
21917 (bug#7834).
21918
21919 * scroll-bar.el (set-scroll-bar-mode): Mention that
21920 `scroll-bar-mode' lists the values (bug#7772).
21921
21922 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21923 command (bug#7729).
21924
21925 * rect.el (apply-on-rectangle): Return the point after the last
21926 operation.
21927 (string-rectangle): Go to the point after the last operation
21928 (bug#7522).
21929
21930 * printing.el (pr-toggle-region): Clarify the documentation
21931 slightly (bug#7493).
21932
21933 * time.el (display-time-update):
21934 Allow `display-time-mail-function' to return nil (bug#7158).
21935 Fix suggested by Detlev Zundel.
21936
21937 * vc/diff.el (diff): Clarify the order the file names are read
21938 (bug#7111).
21939
21940 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21941 the doc string (bug#7015).
21942
21943 * font-lock.el (font-lock-maximum-decoration): Mention what
21944 numeric levels mean (bug#6935).
21945
21946 * startup.el (initial-buffer-choice): Don't mention the `none'
21947 selection, which is against policy.
21948
21949 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21950
21951 * window.el (display-buffer-normalize-special):
21952 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21953
21954 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21955
21956 * subr.el (version<, version<=, version=): Mention "-CVS" and
21957 "-12345" alpha version numbers.
21958
21959 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21960
21961 * bindings.el: Add advertised binding for set-mark-command
21962 (Bug#5772).
21963
21964 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21965
21966 * bindings.el (mode-line-other-buffer):
21967 * bookmark.el (bookmark-bmenu-2-window):
21968 * bs.el (bs-cycle-next, bs-cycle-previous):
21969 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21970 switch-to-buffer.
21971
21972 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21973 Delete.
21974
21975 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21976
21977 * follow.el (follow-debug-message, follow-redisplay):
21978 * jka-cmpr-hook.el (with-auto-compression-mode):
21979 Fix typos in docstrings.
21980
21981 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21982
21983 * subr.el (with-silent-modifications): Clarify somewhat what the
21984 macro inhibits (bug#6525).
21985
21986 * simple.el (eval-expression): Note what it does if called
21987 interactively (bug#6495).
21988
21989 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21990
21991 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21992 Use pop-to-buffer buffer-or-name if it is nil.
21993
21994 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21995 Remove switch-to-buffer.
21996
21997 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21998
21999 * files.el (make-directory): Clarify that an error will be raised
22000 if there's an error (bug#6397).
22001
22002 * startup.el (initial-buffer-choice): Add `none' as a choice
22003 (bug#6234).
22004
22005 * subr.el (add-hook): Clarify section about buffer-local hooks
22006 (bug#6218).
22007
22008 * dired.el (dired-flagged): Clarify doc string (bug#6117).
22009
22010 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22011
22012 * tabify.el (untabify): Preserve the current column so that point
22013 doesn't move (bug#6032).
22014
22015 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22016
22017 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
22018 Rewrite to avoid awkward possessive "s" (bug#5986).
22019
22020 2011-07-13 Glenn Morris <rgm@gnu.org>
22021
22022 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
22023 (dired-insert-directory): Give a message the first time
22024 if ls is found not to support --dired.
22025
22026 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22027
22028 * simple.el (toggle-truncate-lines): Clarify what is toggled
22029 (bug#5580). Text by Drew Adams.
22030
22031 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
22032
22033 * simple.el (blink-matching-open): Make the error message from the
22034 last change less verbose.
22035
22036 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
22037
22038 * font-lock.el (font-lock-comment-face): Use the high contrast
22039 "yellow" color for font-lock-comment-face on low color terminals
22040 using a dark background color (bug#4221).
22041
22042 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22043
22044 * dired.el (dired-insert-set-properties): Make the doc string
22045 reflect what it does now (bug#5325).
22046
22047 * simple.el (blink-matching-open): Say that we were unable to find
22048 the match within the limit, if we're limited (bug#5122).
22049
22050 * international/mule-cmds.el (prefer-coding-system): Add an
22051 example (bug#4869).
22052
22053 * progmodes/etags.el (tags-search): Document `file-list-form'
22054 (bug#4731).
22055
22056 2011-07-13 Lawrence Mitchell <wence@gmx.li>
22057
22058 * net/browse-url.el (browse-url-default-browser)
22059 (browse-url-browser-function): Make the default browser choice a
22060 bit more logical (bug#4300). Also clean up the doc string.
22061
22062 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
22063
22064 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
22065 binary endings (bug#4440).
22066
22067 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22068
22069 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22070 which can be pretty annoying (bug#8971).
22071
22072 * jka-compr.el (jka-compr-verbose): New variable, and use
22073 throughout (bug#8971).
22074
22075 * info.el (Info-find-file): Fall back on the installation
22076 directory if we can't find the info node anywhere else.
22077
22078 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22079
22080 * vc/vc.el (vc-revert-file):
22081 Don't set file time-stamp in the past. (Bug#5181)
22082
22083 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22084
22085 * files.el (after-find-file): Give a better error message when
22086 trying to find a symlink that points to a file that doesn't exist
22087 (bug#4398).
22088
22089 * progmodes/cc-vars.el: Remove (probably) misleading comment
22090 (bug#4396).
22091
22092 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22093
22094 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22095
22096 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22097
22098 * mouse-sel.el: Hack restoring functionality, while keeping
22099 compatibility with 2010-07-03 changes to mouse selection.
22100 (mouse-sel-primary-overlay): New var.
22101 (mouse-sel-selection-alist): Use it.
22102 (mouse-sel-mode): Doc fix; remove points that are default features
22103 of mouse.el.
22104
22105 2011-07-12 Johan BockgĂ¥rd <bojohan@gnu.org>
22106
22107 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22108 Fix previous fix (bug#2490).
22109
22110 2011-07-12 Roland Winkler <winkler@gnu.org>
22111
22112 * textmodes/bibtex.el (bibtex-initialize):
22113 Use pop-to-buffer-same-window.
22114 (bibtex-search-entries): Fix interactive call.
22115
22116 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22117
22118 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22119 Fontise bytecomp Error lines more correctly (bug#2490).
22120 Fix suggested by Johan BockgĂ¥rd.
22121
22122 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22123
22124 * dired-x.el (dired-guess-default): Use `delete-dups'.
22125
22126 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22127
22128 * dired.el (dired-mark-prompt):
22129 * dired-aux.el (dired-read-shell-command): Doc fix.
22130
22131 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22132
22133 * mail/sendmail.el (sendmail-query-once):
22134 Use `customize-save-variable' unconditionally, now that it works under
22135 emacs -Q.
22136
22137 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22138
22139 * cus-edit.el (custom-file): Take an optional no-error variable.
22140 (customize-save-variable): Set the variable, and give a warning if
22141 running under "emacs -q".
22142
22143 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22144
22145 * loadhist.el (unload-feature-special-hooks):
22146 Add `auto-coding-functions', `fill-nobreak-predicate' and
22147 `find-directory-functions' (bug#5327).
22148
22149 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22150
22151 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22152
22153 * cus-edit.el (custom-guess-name-alist): -alist variables should
22154 use the `alist' type (bug#3120). Suggested by Drew Adams.
22155
22156 * printing.el: Add documentation to all the `pr-toggle-' commands.
22157
22158 2011-07-11 Leo Liu <sdl.web@gmail.com>
22159
22160 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22161 backends where it makes sense (bug#2623).
22162
22163 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22164
22165 * dired-x.el (dired-guess-default): Remove duplicate shell command
22166 entries (bug#2028).
22167 (dired-guess-default): Fix grammar in doc string (bug#2028).
22168 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22169
22170 * subr.el (remove-duplicates): New conveniency function.
22171
22172 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22173
22174 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22175 (bug#1526).
22176
22177 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22178
22179 * window.el (display-buffer-normalize-default): Don't invert
22180 meaning of even-window-heights. Reported by Eli Zaretskii
22181 <eliz@gnu.org>.
22182
22183 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22184
22185 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22186
22187 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22188
22189 * window.el (display-buffer): Fix arguments to
22190 display-buffer-reuse-window in last change.
22191
22192 * faces.el (link): Use a less saturated blue on light backgrounds.
22193
22194 * startup.el (fancy-startup-text, fancy-about-text)
22195 (fancy-startup-tail): Use font-lock faces, for background safety.
22196
22197 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22198
22199 * emulation/viper-cmd.el (viper-change-state-to-vi):
22200 Limit triggering of abbrev expansion (Bug#9038).
22201
22202 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22203
22204 * window.el (display-buffer-default-specifiers): Remove.
22205 (display-buffer-macro-specifiers): Remove default specifiers.
22206 (display-buffer-alist): Default to nil.
22207 (display-buffer-reuse-window): New optional argument other-window.
22208 (display-buffer-pop-up-window): Allow splitting internal
22209 windows. Check whether a live window was created.
22210 (display-buffer-other-window-means-other-frame)
22211 (display-buffer-normalize-arguments): Rename to
22212 display-buffer-normalize-argument and rewrite. Set the
22213 other-window specifier.
22214 (display-buffer-normalize-special): New function.
22215 (display-buffer-normalize-options): Rename to
22216 display-buffer-normalize-default and rewrite.
22217 (display-buffer-normalize-options-inhibit): Remove.
22218 (display-buffer-normalize-specifiers): Rewrite.
22219 (display-buffer): Process other-window specifier and call
22220 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22221 more faithfully.
22222 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22223 (display-buffer-alist-set): Don't handle 'unset default values.
22224 (display-buffer-in-window, display-buffer-alist-set):
22225 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22226 <tassilo@member.fsf.org>.
22227
22228 2011-07-09 Leo Liu <sdl.web@gmail.com>
22229
22230 * register.el (insert-register): Restore accidental change on
22231 2011-06-26. (Bug#9028)
22232
22233 2011-07-09 Glenn Morris <rgm@gnu.org>
22234
22235 * subr.el (remq): Handle the empty list. (Bug#9024)
22236
22237 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22238
22239 * mail/sendmail.el (send-mail-function): No longer delay custom
22240 initialization.
22241 * custom.el (custom-initialize-delay): Doc fix.
22242
22243 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22244
22245 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22246
22247 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22248
22249 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22250 human-friendly prompt.
22251
22252 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22253
22254 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22255 provided by a particular plugin.
22256
22257 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22258
22259 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22260 save customizations (with "emacs -Q"), just set the variable
22261 instead of erroring out.
22262
22263 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22264
22265 2011-07-08 Juri Linkov <juri@jurta.org>
22266
22267 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22268 (archive-zip-update-case): Use 7z if found by `executable-find'.
22269 The order of searching the available programs is the same as in
22270 `archive-zip-extract' (bug#8968).
22271
22272 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22273
22274 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22275 (menu-bar-options-menu): Tweak descriptions.
22276
22277 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22278
22279 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22280 menu items into verb phrases (bug#1421). Also refill to fit under
22281 80 columns.
22282
22283 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22284
22285 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22286 (Info-read-node-name): Doc fix (Bug#1084).
22287
22288 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22289 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22290 (end-of-sexp, beginning-of-sexp)
22291 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22292 (forward-symbol, forward-same-syntax, word-at-point)
22293 (sentence-at-point): Doc fix (Bug#1144).
22294
22295 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22296
22297 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22298 should cover it (bug#1281).
22299
22300 * cus-edit.el (custom-show): Mark as obsolete.
22301
22302 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22303 negotiation fails, then possibly try again with a non-encrypted
22304 connection (bug#9017).
22305
22306 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22307 be used.
22308
22309 2011-07-07 Richard Stallman <rms@gnu.org>
22310
22311 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22312 property, and handle its changed format.
22313 Look for the correct line number.
22314 Use file's line contents (but not past first =) to find
22315 correct line in message.
22316
22317 2011-07-07 Kenichi Handa <handa@m17n.org>
22318
22319 * international/characters.el (build-unicode-category-table):
22320 Delete it.
22321 (unicode-category-table): Set it by unicode-property-table-internal.
22322
22323 * international/mule-cmds.el (char-code-property-alist): Move to
22324 to src/chartab.c.
22325 (get-char-code-property): Call unicode-property-table-internal to
22326 load a file. Call get-unicode-property-internal where necessary.
22327 (put-char-code-property): Call unicode-property-table-internal to
22328 load a file. Call put-unicode-property-internal where necessary.
22329 put-unicode-property-internal where necessary.
22330 (char-code-property-description):
22331 Call unicode-property-table-internal to load a file.
22332
22333 * international/charprop.el:
22334 * international/uni-bidi.el:
22335 * international/uni-category.el:
22336 * international/uni-combining.el:
22337 * international/uni-comment.el:
22338 * international/uni-decimal.el:
22339 * international/uni-decomposition.el:
22340 * international/uni-digit.el:
22341 * international/uni-lowercase.el:
22342 * international/uni-mirrored.el:
22343 * international/uni-name.el:
22344 * international/uni-numeric.el:
22345 * international/uni-old-name.el:
22346 * international/uni-titlecase.el:
22347 * international/uni-uppercase.el: Regenerate.
22348
22349 * loadup.el: Load international/charprop.el before
22350 international/characters.
22351
22352 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22353
22354 * window.el (next-buffer, previous-buffer): Signal an error if
22355 called from a minibuffer window.
22356
22357 * bindings.el: Revert 2011-07-04 change.
22358
22359 2011-07-06 Richard Stallman <rms@gnu.org>
22360
22361 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22362 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22363 Treat markers like ints.
22364 (rmail-mime-entity): Doc fix.
22365
22366 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22367
22368 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22369 defcustom again for backwards compatibility.
22370
22371 * simple.el (shell-command-on-region): Fill.
22372
22373 * dired-aux.el (dired-kill-line): Add a doc string.
22374
22375 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22376 to "\\sw\\|\\s_" (bug#358).
22377
22378 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22379 (dired-unmark-backward): Ditto.
22380 (dired-flag-backup-files): Ditto.
22381
22382 * dired-x.el (dired-mark-sexp): Ditto.
22383
22384 2011-07-06 Richard Stallman <rms@gnu.org>
22385
22386 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22387 (rmail-mime-entity): New arg TRUNCATED.
22388 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22389 New functions.
22390 (rmail-mime-save): Warn if entity is truncated.
22391 (rmail-mime-toggle-hidden): Likewise, for showing.
22392 (rmail-mime-process-multipart): Record when an entity is truncated.
22393
22394 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22395 if ENTITY is a string.
22396
22397 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22398
22399 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22400 of faces when `M-C-x'-ing their definitions (bug#8378).
22401 Also clean up the code slightly.
22402
22403 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22404 because that makes the colors go away.
22405
22406 * mail/sendmail.el (send-mail-function): Change the default to
22407 `sendmail-query-once'.
22408 (sendmail-query-once): Add an autoload cookie.
22409
22410 * net/network-stream.el (network-stream-open-starttls): Try using
22411 a plain connection even if the server offered STARTTLS, and we
22412 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22413 capability. This should make smtpmail.el work in slightly more
22414 configurations.
22415
22416 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22417
22418 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22419 New defun.
22420 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22421
22422 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22423
22424 * progmodes/sql.el: Version 3.0
22425 (sql-product-alist): Add product :completion-object,
22426 :completion-column, and :statement attributes.
22427 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22428 (sql-mode-syntax-table): Mark all punctuation.
22429 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22430 ansi keywords.
22431 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22432 (sql-mode-oracle-font-lock-keywords): Improve.
22433 (sql-oracle-show-reserved-words): New function for development.
22434 (sql-product-font-lock): Simplify for source code buffers.
22435 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22436 New functions.
22437 (sql-highlight-product): Set product specific syntax table.
22438 (sql-mode-map): Add statement movement functions.
22439 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22440 New variable.
22441 (sql-statement-regexp, sql-beginning-of-statement)
22442 (sql-end-of-statement, sql-signum): New functions.
22443 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22444 (sql-show-sqli-buffer): Bug fix.
22445 (sql-interactive-mode): Store connection data as buffer local.
22446 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22447 with sql-interactive-mode.
22448 (sql-save-connection): Save buffer local settings.
22449 (sql-connection-menu-filter): Change menu entry name.
22450 (sql-product-interactive): Bug fix.
22451 (sql-preoutput-hold): New variable.
22452 (sql-interactive-remove-continuation-prompt): Bug fixes.
22453 (sql-debug-redirect): New variable.
22454 (sql-str-literal): New function.
22455 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22456 Redesign.
22457 (sql-oracle-save-settings, sql-oracle-restore-settings)
22458 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22459 (sql-completion-object, sql-completion-column)
22460 (sql-completion-sqlbuf): New variables.
22461 (sql-build-completions-1, sql-build-completions)
22462 (sql-try-completion): New functions.
22463 (sql-read-table-name): Use them.
22464 (sql-contains-names): New buffer local variable.
22465 (sql-list-all, sql-list-table): Use it.
22466 (sql-oracle-completion-types): New variable.
22467 (sql-oracle-completion-object, sql-sqlite-completion-object)
22468 (sql-postgres-completion-object): New functions.
22469
22470 2011-07-06 Glenn Morris <rgm@gnu.org>
22471
22472 * window.el (pop-to-buffer): Doc fix.
22473
22474 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22475
22476 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22477
22478 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22479
22480 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22481
22482 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22483
22484 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22485
22486 * button.el (button): Inherit from link face. Suggested by Dan
22487 Nicolaescu.
22488
22489 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22490
22491 * progmodes/gdb-mi.el: Fit in 80 columns.
22492 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22493 switch-to-buffer.
22494
22495 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22496 if imenu is simply not configured (bug#8941).
22497
22498 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22499
22500 * allout.el (allout-post-undo-hook): New allout outline-change
22501 event hook to signal undo activity.
22502 (allout-post-command-business): Run allout-post-undo-hook if an
22503 undo just occurred.
22504 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22505 * allout-widgets.el (allout-widgets-after-undo-function):
22506 Ensure the integrity of the current item's decoration after it has been
22507 in the vicinity of an undo.
22508 (allout-widgets-mode): Include allout-widgets-after-undo-function
22509 on the new allout-post-undo-hook.
22510
22511 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22512
22513 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22514 Let define-derived-mode define it.
22515 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22516 cycles of abbrev-table inheritance (bug#8998).
22517
22518 2011-07-05 Roland Winkler <winkler@gnu.org>
22519
22520 * textmodes/bibtex.el: Add support for biblatex.
22521 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22522 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22523 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22524 (bibtex-entry-alist, bibtex-field-alist): New variables.
22525 (bibtex-entry-field-alist): Obsolete alias for
22526 bibtex-BibTeX-entry-alist.
22527 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22528 (bibtex-set-dialect): New command.
22529 (bibtex-entry-type, bibtex-entry-head)
22530 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22531 Bind via bibtex-set-dialect.
22532 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22533 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22534 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22535 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22536 Define via bibtex-set-dialect.
22537 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22538 Obey bibtex-no-opt-remove-re.
22539 (bibtex-vec-push, bibtex-vec-incr): New functions.
22540 (bibtex-format-entry, bibtex-field-list)
22541 (bibtex-print-help-message, bibtex-validate)
22542 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22543
22544 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22545
22546 * progmodes/compile.el (compilation-goto-locus):
22547 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22548 * bs.el (bs-cycle-next, bs-cycle-previous):
22549 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22550 * bindings.el (mode-line-other-buffer):
22551 * autoinsert.el (auto-insert):
22552 * arc-mode.el (archive-extract):
22553 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22554
22555 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22556
22557 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22558 Fix check of `emacs-lock-unlockable-modes'.
22559 Coerce true values of `emacs-lock--try-unlocking' to t.
22560
22561 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22562
22563 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22564 * emacs-lock.el: New file.
22565
22566 2011-07-05 Julien Danjou <julien@danjou.info>
22567
22568 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22569 than `boundp' to check if face is set.
22570
22571 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22572
22573 * register.el (registerv-make):
22574 * window.el (window-min-height): Fix typos in docstrings.
22575
22576 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22577
22578 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22579 Update doc string.
22580
22581 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22582
22583 * server.el (server-execute): Catch quit and call
22584 `server-return-error' to pass the error back to emacsclient and
22585 close the connection (bug#8942).
22586
22587 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22588
22589 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22590 insecure exception for current topic. Also note that auto-saves
22591 are handled differently.
22592
22593 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22594 State variables for tracking auto-save inhibition situation.
22595
22596 (allout-write-contents-hook-handler): Rename from
22597 'allout-write-file-hook-handler', and describe how it depends on
22598 write-contents-functions sensitivity to non-nil value to prevent
22599 file write.
22600
22601 (allout-auto-save-hook-handler): Remove. auto-save does not check
22602 this in individual buffers, only in the starting buffer, so this
22603 is not the right way for us to inhibit auto-save in a buffer
22604 according to its condition.
22605
22606 (allout-mode): Use new allout-write-contents-hook-handler, and
22607 only with write-contents-functions. Remove auto-save provisions -
22608 they're implemented elsewhere.
22609
22610 (allout-before-change-handler): If undo is in progress, note that
22611 for attention of allout-post-command-business.
22612
22613 (allout-post-command-business): If the command we're following was
22614 an undo, check for change in the status of encrypted items and
22615 adjust auto-save inhibitions accordingly.
22616
22617 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22618 according to whether there are or aren't any plain-text topics
22619 pending encryption.
22620
22621 (allout-inhibit-auto-save-info-for-decryption):
22622 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22623 if there are plain-text topics pending encryption.
22624
22625 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22626 buffer-saved-size and some allout state to not inhibit auto-saves
22627 if there are no longer any plain-text topics pending encryption.
22628
22629 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22630 No longer provide for exemption of the current topic.
22631
22632 2011-07-04 Juri Linkov <juri@jurta.org>
22633
22634 Add 7z operations to delete and save changed members (bug#8968).
22635 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22636 New defcustoms.
22637 (archive-7z-write-file-member): New function.
22638 (archive-7z-summarize): Fix the number of dashes in the
22639 listing output.
22640
22641 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22642
22643 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22644 (bug#8958).
22645
22646 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22647
22648 * bindings.el: Ignore next-buffer and previous-buffer in
22649 minibuffer-local-map.
22650
22651 * font-lock.el (font-lock-builtin-face): Change light background
22652 color to dark slate blue (Bug#6693).
22653
22654 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22655
22656 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22657
22658 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22659
22660 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22661 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22662 Add switch-to-buffer.
22663
22664 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22665
22666 * isearch.el (isearch-search-fun-function): Clarify further the
22667 meaning of the function returned.
22668
22669 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22670
22671 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22672
22673 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22674 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22675 Use it.
22676 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22677 `tramp-default-remote-path' does not exist.
22678 (tramp-send-command-and-read): New optional argument NOERROR.
22679 (tramp-open-connection-setup-interactive-shell)
22680 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22681 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22682 (tramp-process-sentinel): Flush also process' connection property.
22683 (tramp-sh-handle-start-file-process): Do not set process
22684 sentinel. It is done now ...
22685 (tramp-maybe-open-connection): ... here. (Bug#8929)
22686
22687 2011-07-04 MON KEY <monkey@sandpframing.com>
22688
22689 * play/animate.el (animate-string): Doc fixes and allow changing
22690 the buffer name (bug#5417).
22691
22692 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22693
22694 * play/animate.el (animation-buffer-name): Rename from *animate*.
22695
22696 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22697
22698 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22699 This is simpler and helps future-proof the code.
22700 (timer-until): Use time-subtract and float-time.
22701 (timer--time-less-p): Use time-less-p.
22702
22703 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22704
22705 * type-break.el (timep): Use the value of `float-time' to avoid a
22706 byte-compiler warning.
22707
22708 * server.el (server-eval-and-print): Return any result, even nil.
22709
22710 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22711
22712 * type-break.el: Accept time formats that the builtins accept.
22713 (timep, type-break-time-difference): Accept any format that
22714 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22715 This is simpler and helps future-proof the code.
22716 (type-break-time-difference): Round rather than ignoring
22717 subseconds components.
22718
22719 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22720
22721 * info.el (Info-apropos-matches): Make non-interactive, since it
22722 doesn't seem to do anything useful as a command (bug#8829).
22723
22724 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22725
22726 * frame.el (frame-background-mode, frame-set-background-mode):
22727 Move from faces.el.
22728 (frame-default-terminal-background): New function.
22729
22730 * custom.el (custom-push-theme): Don't record faces in `changed'
22731 theme; this doesn't work correctly for per-frame face settings.
22732 (disable-theme): Use face-set-after-frame-default to reset faces.
22733 (custom--frame-color-default): New function.
22734
22735 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22736
22737 * dired.el (dired-flagging-regexp): Remove unused variable
22738 (bug#8769).
22739
22740 2011-03-29 Kevin Ryde <user42@zip.com.au>
22741
22742 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22743 `perl-Test2' extend to match possible "fail #N" rep count
22744 (bug#8377).
22745
22746 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22747
22748 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22749 `smtpmail-via-smtp' now returns the error instead of nil.
22750
22751 * isearch.el (isearch-search-fun-function): Clarify the doc string
22752 (bug#8101).
22753
22754 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22755
22756 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22757 unnecessary spaces (bug#8987).
22758
22759 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22760
22761 * net/network-stream.el (open-network-stream): Use the
22762 :end-of-capability command thoughout.
22763
22764 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22765
22766 * net/network-stream.el (open-network-stream): Add the
22767 :end-of-capability command parameter, used by pop3.el.
22768
22769 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22770
22771 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22772
22773 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22774 for list)" (bug#6475).
22775
22776 * files.el (file-expand-wildcards): Ignore non-readable
22777 sub-directories while trying to find matches instead of signaling
22778 an error (bug#6297).
22779
22780 * man.el (Man-reference-regexp): Allow matching possible
22781 word-wrapped references (bug#6289).
22782
22783 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22784 for consistency with the other vc buffers (bug#6197).
22785 (vc-checkin): Ditto.
22786
22787 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22788
22789 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22790
22791 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22792
22793 * custom.el (defcustom): Clarify that :set is only used in the
22794 Customize user interface (bug#6089).
22795
22796 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22797 associated with a file, refuse to run instead of erroring out
22798 (bug#6084).
22799
22800 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22801 the doc string, since it appears that using `fill-column' always
22802 controls the width (bug#7845).
22803
22804 * simple.el (shell-command-on-region): Say where the error output
22805 went if `shell-command-default-error-buffer' is set (bug#6857).
22806
22807 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22808
22809 * allout.el (allout-yank-processing): Adjust cursor position for
22810 backwards-deleted space.
22811
22812 (allout-rebullet-heading): Register changes with
22813 allout-exposure-changed-hook, so the modified topic is properly
22814 decorated.
22815
22816 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22817
22818 * minibuffer.el (completion-in-region): Document PREDICATE
22819 (bug#7136).
22820
22821 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22822 of keyword/argument pairs (bug#6904).
22823
22824 * replace.el (multi-occur):
22825 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22826
22827 2011-07-02 Drew Adams <drew.adams@oracle.com>
22828
22829 * dired.el (dired-mark-if): Make the message about whether it's
22830 marking or unmarking clearer (bug#8523).
22831
22832 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22833
22834 * disp-table.el (display-table-print-array): New function.
22835 (describe-display-table): Use it to print the vectors more pretty
22836 (Bug#8859).
22837
22838 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22839
22840 * window.el (window-state-get-1): Don't assign clone numbers.
22841 Add clone-of item to list of window parameters.
22842 (window-state-put-2): Don't process clone numbers.
22843 (display-buffer-alist): Fix doc-string.
22844
22845 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22846
22847 * subr.el (remq): Don't allocate if it's not needed.
22848 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22849 (keymap--merge-bindings): New functions.
22850 (keymap-canonicalize): Use them to refine the canonicalization.
22851 * minibuffer.el (minibuffer-local-completion-map)
22852 (minibuffer-local-must-match-map): Move initialization from C.
22853 (minibuffer-local-filename-completion-map): Move initialization from C;
22854 don't inherit from anything here.
22855 (minibuffer-local-filename-must-match-map): Make obsolete.
22856 (completing-read-default): Use make-composed-keymap to combine
22857 minibuffer-local-filename-completion-map with either
22858 minibuffer-local-must-match-map or
22859 minibuffer-local-filename-completion-map.
22860
22861 2011-07-01 Glenn Morris <rgm@gnu.org>
22862
22863 * type-break.el (type-break-time-sum): Use dolist.
22864
22865 * textmodes/flyspell.el (flyspell-word-search-backward):
22866 Replace CL function.
22867
22868 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22869
22870 * mouse.el (mouse--strip-first-event): New function.
22871 (function-key-map): Use it to map fringe clicks to normal clicks
22872 by default.
22873
22874 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22875 (vc-bzr-revision-completion-table): Add support for annotate and date.
22876
22877 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22878 inherit from parent.
22879
22880 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22881
22882 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22883 (dired-show-file-type): Doc fixup (bug#8818).
22884
22885 * dired.el (dired-mode): Fix up the doc string as suggested by
22886 Drew Adams (bug#8817).
22887
22888 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22889 cookie, since the manual says that it should be possible to add
22890 this function to `find-file-hook' (bug#8709).
22891
22892 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22893
22894 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22895 here. Noted Ted Zlatanov as the maintainer.
22896 (cfengine-common-settings, cfengine-common-syntax): New functions
22897 to set up common things between `cfengine-mode' and
22898 `cfengine3-mode'.
22899 (cfengine3-mode): New mode.
22900 (cfengine3-defuns cfengine3-defuns-regex
22901 (cfengine3-class-selector-regex cfengine3-category-regex)
22902 (cfengine3-vartypes cfengine3-font-lock-keywords)
22903 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22904 (cfengine3-indent-line): Add from cfengine3.el.
22905
22906 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22907
22908 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22909
22910 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22911
22912 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22913
22914 * window.el (same-window-buffer-names, same-window-regexps)
22915 (same-window-p, special-display-frame-alist)
22916 (special-display-popup-frame, special-display-function)
22917 (special-display-buffer-names, special-display-regexps)
22918 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22919 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22920 (split-window-preferred-function, split-height-threshold)
22921 (split-width-threshold, even-window-heights)
22922 (display-buffer-mark-dedicated, window-splittable-p)
22923 (split-window-sensibly, window-safely-shrinkable-p):
22924 Un-obsolete.
22925 (display-buffer): Don't spread args with function specifier
22926 because special-display-popup-frame won't like it.
22927
22928 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22929
22930 Time-stamp simplifications and fixes.
22931 These improve accuracy slightly, and future-proof the code
22932 against some potential changes to current-time format.
22933
22934 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22935 by using time-since and float-time.
22936
22937 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22938 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22939 + NNN microseconds".
22940
22941 * type-break.el (type-break-time-sum): Rewrite using time-add.
22942
22943 * play/hanoi.el (hanoi-current-time-float): Remove.
22944 All uses replaced by float-time.
22945
22946 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22947 This yields a more-accurate answer.
22948 (rng-time-to-float): Remove; no longer needed.
22949
22950 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22951
22952 * calendar/timeclock.el (timeclock-seconds-to-time):
22953 Defalias to seconds-to-time, since they're the same thing.
22954
22955 * emacs-lisp/elp.el (elp-elapsed-time):
22956 * emacs-lisp/benchmark.el (benchmark-elapse):
22957 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22958
22959 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22960
22961 * window.el (bury-buffer): Don't iconify the only frame.
22962 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22963 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22964
22965 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22966
22967 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22968 Add mouse-yank-primary.
22969
22970 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22971
22972 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22973
22974 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22975
22976 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22977 (find-library-name): Use it to find relative load names when provided
22978 absolute file name (bug#8803).
22979
22980 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22981
22982 * textmodes/flyspell.el (flyspell-word): Consider words that
22983 differ only in case as potential doublons (bug#5687).
22984
22985 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22986 Remove two rather uninteresting debugging-like messages to make
22987 debbugs.el more silent.
22988
22989 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22990 a password-like phrase.
22991
22992 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22993
22994 * progmodes/cc-guess.el: New file.
22995
22996 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22997
22998 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22999 derived from `c-basic-common-init'.
23000
23001 * progmodes/cc-mode.el (top-level): Require cc-guess.
23002 (c-basic-common-init): Use `cc-choose-style-for-mode'.
23003
23004 2011-06-30 Lawrence Mitchell <wence@gmx.li>
23005
23006 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
23007
23008 2011-06-30 Alan Mackenzie <acm@muc.de>
23009
23010 * progmodes/cc-engine.el (c-guess-continued-construct):
23011 Correct the handling of template-args-cont, particularly for when font
23012 lock is disabled. Name this case as "CASE G".
23013
23014 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
23015
23016 * allout.el (allout-yank-processing): Fix injection of extra space
23017 between bullet and non-whitespace character in first topic when
23018 pasting, ensuring that the actual spacing in the pasted topic
23019 following the bullet char is preserved. This extra space was
23020 causing pasted encrypted topics to get a decrypted status even
23021 when the content was actually still encrypted. Now the decryption
23022 status from before the paste is preserved.
23023
23024 (allout-flag-region): Set all allout overlays so they evaporate
23025 when reduced to zero length (evanescent), to prevent overlay
23026 leakage.
23027
23028 2011-06-30 Glenn Morris <rgm@gnu.org>
23029
23030 * w32-fns.el (w32-charset-info-alist): Declare.
23031
23032 * find-dired.el (find-grep-options): Simplify.
23033
23034 * term/ns-win.el (ns-set-resource): Declare.
23035
23036 * ses.el (row, col): Declare dynamic variables honestly.
23037
23038 * textmodes/reftex-parse.el (index-tags): Declare.
23039
23040 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
23041
23042 * cus-edit.el (customize-push-and-save): New function.
23043
23044 * files.el (hack-local-variables-confirm): Use it.
23045
23046 * custom.el (load-theme): New arg NO-CONFIRM.
23047 Use customize-push-and-save (Bug#8720).
23048 (custom-enabled-themes): Doc fix.
23049
23050 * cus-theme.el (customize-create-theme)
23051 (custom-theme-merge-theme): Callers to load-theme changed.
23052
23053 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
23054
23055 * thingatpt.el (thing-at-point-short-url-regexp): Require that
23056 short URLs have at least one dot in them (bug #7614).
23057
23058 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
23059 nil, because using a pty is apparently too slow (bug #895).
23060
23061 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
23062
23063 * mail/sendmail.el (sendmail-query-once): New function.
23064 (sendmail-query-once-function): New variable.
23065
23066 2011-06-29 Glenn Morris <rgm@gnu.org>
23067
23068 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23069
23070 * ses.el (top-level): Require cl when compiling.
23071 (ses-set-localvars): Fix error statement.
23072 Call it at compile time to silence a storm of warnings.
23073
23074 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23075
23076 * window.el (normalize-live-buffer): Rename to
23077 window-normalize-buffer.
23078 (normalize-live-frame): Rename to window-normalize-frame.
23079 (normalize-any-window): Rename to window-normalize-any-window.
23080 (normalize-live-window): Rename to window-normalize-live-window.
23081 (make-window-atom): Rename to window-make-atom.
23082 (window-resize-reset): Rename to window--resize-reset.
23083 (window-resize-reset-1): Rename to window--resize-reset-1.
23084 (resize-mini-window): Rename to window--resize-mini-window.
23085 (resize-subwindows-skip-p): Rename to
23086 window--resize-subwindows-skip-p.
23087 (resize-subwindows-normal): Rename to
23088 window--resize-subwindows-normal.
23089 (resize-subwindows): Rename to window--resize-subwindows.
23090 (resize-other-windows): Rename to window--resize-siblings.
23091 (resize-this-window): Rename to window--resize-this-window.
23092 (resize-root-window): Rename to window--resize-root-window.
23093 (resize-root-window-vertically): Rename to
23094 window--resize-root-window-vertically.
23095 (normalize-buffer-to-display): Rename to
23096 window-normalize-buffer-to-display.
23097 (normalize-buffer-to-switch-to): Rename to
23098 window-normalize-buffer-to-switch-to.
23099 Correspondingly update all callers of the functions listed
23100 above.
23101 (display-buffer-alist, display-buffer-normalize-arguments)
23102 (display-buffer-normalize-options, display-buffer)
23103 (display-buffer-alist-set): Use "function" instead of
23104 "fun-with-args".
23105
23106 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23107
23108 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23109 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23110 debbugs.gnu.org. Mention acknowledgment email.
23111
23112 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23113
23114 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23115 buffer multibyteness, since it shouldn't matter.
23116
23117 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23118
23119 * window.el (display-buffer-in-side-window): Handle dedicated
23120 windows as in display-buffer-reuse-window.
23121 (display-buffer-normalize-alist): Use value of override
23122 specifier.
23123 (display-buffer-normalize-specifiers): Use value of
23124 other-window-means-other-frame specifier.
23125 (display-buffer-alist): Rewrite some texts in widgets.
23126 (display-buffer): Spread arguments when calling function
23127 specified by fun-with-args.
23128
23129 2011-06-28 Deniz Dogan <deniz@dogan.se>
23130
23131 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23132 Unnest `let'.
23133
23134 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23135 selectors (Bug#5732).
23136 (css-proprietary-nmstart-re): Use `regexp-opt'.
23137
23138 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23139
23140 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23141 (eshell-ls-date-format): New defcustom.
23142 (eshell-ls-file): Use it.
23143
23144 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23145
23146 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23147
23148 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23149
23150 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23151 (ange-ftp-make-tmp-name): New arg.
23152 (ange-ftp-file-local-copy): Use it.
23153
23154 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23155
23156 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23157 no-conversion (Bug#8870).
23158
23159 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23160
23161 * window.el (window-right, window-left, window-child)
23162 (window-child-count, window-last-child)
23163 (window-iso-combination-p, walk-window-tree-1)
23164 (window-atom-check-1, window-tree-1, delete-window)
23165 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23166 new naming conventions - window-vchild, window-hchild,
23167 window-next and window-prev are now called window-top-child,
23168 window-left-child, window-next-sibling and window-prev-sibling
23169 respectively.
23170 (resize-window-reset): Rename to window-resize-reset.
23171 (resize-window-reset-1): Rename to window-resize-reset-1.
23172 (resize-window): Rename to window-resize.
23173 (window-min-height, window-min-width)
23174 (resize-mini-window, resize-this-window, resize-root-window)
23175 (resize-root-window-vertically, adjust-window-trailing-edge)
23176 (enlarge-window, shrink-window, maximize-window)
23177 (minimize-window, delete-window, quit-restore-window)
23178 (split-window, balance-windows, balance-windows-area-adjust)
23179 (balance-windows-area, window-state-put-2)
23180 (display-buffer-even-window-sizes, display-buffer-set-height)
23181 (display-buffer-set-width, set-window-text-height)
23182 (fit-window-to-buffer): Rename all "resize-window" prefixed
23183 calls to use the "window-resize" prefix convention.
23184 (display-buffer-alist): Fix symbol for label specifier.
23185 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23186 corresponding specifier.
23187 Reported by Juanma Barranquero <lekktu@gmail.com>.
23188
23189 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23190
23191 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23192 convention.
23193 (ses-call-printer): Does not pass an empty string to formatter when the
23194 cell is empty to keep from barking printer Calc math-format-value.
23195
23196 2011-06-27 Richard Stallman <rms@gnu.org>
23197
23198 * battery.el (battery-mode-line-limit): New variable.
23199 (battery-update): Handle it.
23200
23201 * mail/rmailmm.el (rmail-mime-process-multipart):
23202 Handle truncated messages.
23203
23204 2011-06-27 Glenn Morris <rgm@gnu.org>
23205
23206 * progmodes/flymake.el (flymake-err-line-patterns):
23207 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23208
23209 2011-06-27 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
23210
23211 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23212 (ses--clean-!, ses--clean-_): New functions.
23213 (ses-range): Add configurability of readout order, and conversion
23214 to Calc vector.
23215
23216 * ses.el (ses-repair-cell-reference-all): New function.
23217 (ses-cell-symbol): Set macro as safe, so that it can be used in
23218 formulas.
23219
23220 * ses.el: Update cycle detection algorithm.
23221 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23222 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23223 (ses-set-localvars): New function.
23224 (ses-make-cell): Add property-list as a cell element.
23225 (ses-cell-property-get-fun, ses-cell-property-get)
23226 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23227 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23228 New functions.
23229 (ses-cell-property-set, ses-cell-property-pop)
23230 (ses-cell-property-get-handle): New macro.
23231 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23232 New aliases, used for code readability.
23233 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23234 cycle detection.
23235 (ses-self-reference-early-detection): New defcustom.
23236 (ses-formula-references): Robustify against self-referring cells.
23237 (ses-mode): Use ses-set-localvars.
23238 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23239 before lauching the update processing.
23240 (ses-initialize-Dijkstra-attempt): New function.
23241 (ses-recalculate-cell): Update for cycle detection based on
23242 Dijkstra algorithm.
23243
23244 * ses.el: Fix commenting and indenting convention.
23245
23246 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23247
23248 * bs.el (bs-cycle-next): Complete last change.
23249
23250 2011-06-27 Drew Adams <drew.adams@oracle.com>
23251
23252 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23253
23254 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23255
23256 * net/network-stream.el (network-stream-open-starttls):
23257 Don't re-get capabilities unless we've reestablished connection.
23258 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23259
23260 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23261 to binary to possibly avoid line encoding issues on Windows (among
23262 other things).
23263
23264 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23265
23266 * net/network-stream.el (open-network-stream): Return an :error
23267 saying what the problem was, if possible.
23268
23269 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23270 server.
23271
23272 * net/network-stream.el (network-stream-open-starttls): If we
23273 wanted to use STARTTLS, and the server offered it, but we weren't
23274 able to because we had no STARTTLS support, then close the connection.
23275 (open-network-stream): Return an :error element, if present.
23276
23277 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23278
23279 * hl-line.el (hl-line-sticky-flag): Doc fix.
23280 (global-hl-line-sticky-flag): New option (Bug#8323).
23281 (global-hl-line-highlight): Obey it.
23282
23283 * vc/vc.el (vc-revert-show-diff): Default to t.
23284
23285 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23286
23287 * allout-widgets.el (allout-widgets-post-command-business):
23288 Stop decorating intermediate isearch matches. They're not being
23289 undecorated when an isearch is continued past, and isearch
23290 automatically collapses them. This leads to "widget leaks", where
23291 decorated items accumulate in collapsed areas. Lines with lots of
23292 hidden widgets can slow down cursor travel, substantially.
23293 Too much complicated machinery would be needed to ensure undecoration,
23294 so we're doing without this nicety.
23295
23296 (allout-widgets-tally-string): Don't try to do a hash-table-count
23297 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23298 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23299 *Messages* when allout-widgets-maintain-tally is t.
23300
23301 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23302
23303 * window.el (display-buffer-normalize-argument): Rename to
23304 display-buffer-normalize-arguments. Handle special meaning of
23305 LABEL argument. Respect special-display-function when popping up
23306 a new frame. Fix code searching for a window showing the buffer
23307 on another frame.
23308 (display-buffer-normalize-specifiers):
23309 Call display-buffer-normalize-arguments.
23310 (display-buffer-in-window): Don't undedicate the window if its
23311 buffer remains the same.
23312 Reported by Drew Adams <drew.adams@oracle.com>.
23313 (display-buffer-alist): Add choice for same-window macro
23314 specfier.
23315 (display-buffer): Mention special meaning of LABEL argument in
23316 doc-string. Fix quoting. Don't pop up a new frame even as
23317 fallback.
23318
23319 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23320
23321 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23322 avoid deleting the current window in some cases (bug#8911).
23323
23324 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23325
23326 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23327 (Bug#8934)
23328
23329 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23330
23331 * net/network-stream.el (network-stream-open-starttls):
23332 Use built-in TLS support if `gnutls-available-p' is true.
23333 (network-stream-open-tls): Ditto.
23334
23335 2011-06-26 Leo Liu <sdl.web@gmail.com>
23336
23337 * register.el (registerv): New struct.
23338 (registerv-make): New function.
23339 (jump-to-register, describe-register-1, insert-register):
23340 Support the jump-func, print-func and insert-func slot of a registerv
23341 struct. (Bug#8415)
23342
23343 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23344
23345 * vc/vc.el (vc-revert-show-diff): New defcustom.
23346 (vc-diff-internal): New arg specifying diff buffer.
23347 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23348 reuse an existing *vc-diff* buffer (Bug#8927).
23349
23350 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23351
23352 2011-06-26 Glenn Morris <rgm@gnu.org>
23353
23354 * progmodes/f90.el (f90-critical-indent): New option.
23355 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23356 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23357 (f90-mode): Doc fix.
23358 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23359 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23360 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23361 (f90-match-end): Handle block, critical.
23362
23363 2011-06-25 Glenn Morris <rgm@gnu.org>
23364
23365 * calendar/diary-lib.el (diary-included-files): Doc fix.
23366 (diary-include-files): New function, extracted from
23367 diary-include-other-diary-files and diary-mark-included-diary-files.
23368 (diary-include-other-diary-files, diary-mark-included-diary-files):
23369 Just call diary-include-files.
23370 (diary-mark-entries): Reset diary-included-files on first call.
23371
23372 * calendar/diary-lib.el (diary-mark-entries)
23373 (diary-mark-included-diary-files):
23374 Visit included diary-files in temp buffers.
23375
23376 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23377 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23378 (f90-start-block-re, f90-imenu-generic-expression)
23379 (f90-looking-at-program-block-start, f90-no-block-limit):
23380 Add support for submodules.
23381
23382 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23383 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23384
23385 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23386
23387 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23388 buffer-file-type before setting its value, to avoid disastrous
23389 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23390
23391 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23392
23393 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23394
23395 * ses.el (ses-unload-function):
23396 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23397
23398 * proced.el (proced-unload-function):
23399 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23400
23401 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23402
23403 * server.el (server-create-window-system-frame): Add parameters arg.
23404 (server-process-filter): Doc fix. Handle frame-parameters.
23405
23406 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23407
23408 Fix bug#8730, bug#8781.
23409
23410 * loadhist.el (unload--set-major-mode): New function.
23411 (unload-feature): Use it.
23412
23413 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23414 (python-unload-function): New function.
23415
23416 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23417
23418 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23419
23420 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23421
23422 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23423 the candidates list.
23424
23425 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23426
23427 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23428
23429 2011-06-23 Richard Stallman <rms@gnu.org>
23430
23431 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23432 (rmail-variables): Set next-error-move-function.
23433 (rmail-what-message): Take argument POS.
23434 (rmail-next-error-move): New function.
23435
23436 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23437
23438 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23439 messages for adjacent non-terminals.
23440
23441 2011-06-23 Richard Stallman <rms@gnu.org>
23442
23443 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23444 (rmail-show-message-1): Preserve buffer modified flag.
23445 (rmail-start-mail): Don't specify use of rmail-mail-return;
23446 that's done by mail-bury now.
23447 (rmail-mail-return): Handle arg NEWBUF.
23448
23449 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23450
23451 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23452 SIZE is a number.
23453
23454 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23455
23456 * window.el (get-lru-window, get-mru-window)
23457 (get-largest-window): Never return a minibuffer window.
23458 (display-buffer-pop-up-window): Fix a bug that could lead to
23459 reusing the minibuffer window.
23460 (display-buffer): Pass original specifier argument to
23461 display-buffer-function instead of the normalized one.
23462 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23463
23464 2011-06-22 Leo Liu <sdl.web@gmail.com>
23465
23466 * minibuffer.el (completing-read-function)
23467 (completing-read-default): Move from minibuf.c.
23468
23469 2011-06-22 Richard Stallman <rms@gnu.org>
23470
23471 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23472 to Rmail even if not started by a special Rmail command.
23473
23474 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23475 Copy the buffer currently showing just one message.
23476
23477 2011-06-22 Roland Winkler <winkler@gnu.org>
23478
23479 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23480 (bibtex-clean-entry): First delete the old key so that a
23481 customized algorithm for generating the new key does not get
23482 confused by the old key.
23483 (bibtex-url): Obey regexp of first step.
23484 (bibtex-search-entries): Do not use add-to-list with local
23485 list-var.
23486
23487 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23488
23489 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23490 stored a user name, then query for the password first, instead of
23491 waiting for SMTP to give an error message and the trying again.
23492
23493 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23494
23495 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23496 BUFFER in call-process.
23497
23498 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23499
23500 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23501 QUIT twice.
23502 (smtpmail-try-auth-methods): Require user name and password from
23503 auth-source.
23504
23505 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23506
23507 * window.el (display-buffer-default-specifiers)
23508 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23509 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23510 (split-window): Normalize SIDE argument (Bug#8916).
23511
23512 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23513 (special-display-frame-alist, special-display-popup-frame):
23514 Remove duplicate declarations. These are now in window.el.
23515
23516 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23517
23518 * mail/smtpmail.el (smtpmail-via-smtp):
23519 Set :use-starttls-if-possible so that we always use STARTTLS if the
23520 server supports it. SMTP servers that support STARTTLS commonly
23521 require it.
23522
23523 * net/network-stream.el (network-stream-open-starttls): Support
23524 upgrading to STARTTLS always, even if we don't have built-in support.
23525 (open-network-stream): Add the :always-query-capabilities keyword.
23526
23527 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23528 upgrades with `open-network-stream', and rely solely on
23529 auth-source for all credentials. Big changes throughout the file,
23530 but in particular:
23531 (smtpmail-auth-credentials): Remove.
23532 (smtpmail-starttls-credentials): Remove.
23533 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23534 MAIL FROM, too.
23535
23536 * net/network-stream.el (network-stream-open-starttls):
23537 Provide support for client certificates both for external and built-in
23538 STARTTLS.
23539 (auth-source): Require.
23540 (open-network-stream): Document the :client-certificate keyword.
23541 (network-stream-certificate): Change cert-cert to cert and
23542 cert-key to key.
23543
23544 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23545
23546 * net/tramp-cache.el (top): Don't load the persistency file when
23547 "emacs -Q" has been called.
23548
23549 2011-06-21 Tim Harper <timcharper@gmail.com>
23550
23551 * term/ns-win.el (ns-initialize-window-system):
23552 Set application-specific `ApplePressAndHoldEnabled' system
23553 resource to NO as it is not yet supported by the NS port.
23554
23555 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23556
23557 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23558 (list-dynamic-libraries): ...not here.
23559
23560 2011-06-21 Leo Liu <sdl.web@gmail.com>
23561
23562 * subr.el (sha1): Implement sha1 using secure-hash.
23563
23564 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23565
23566 * window.el (display-buffer-alist): In default value do not
23567 enforce searching a window on any but the selected frame.
23568 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23569 (display-buffer-select-window): Remove function.
23570 (display-buffer-in-window): When a window on another frame gets
23571 reused, do not select it any more but just raise its frame if
23572 necessary (Bug#8851) and (Bug#8856).
23573 (display-buffer-normalize-options): Handle pop-up-frames related
23574 options more faithfully.
23575 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23576 window if it is on another frame.
23577 (display-buffer-alist, display-buffer-default-specifiers):
23578 Don't make new frame unsplittable by default.
23579 (display-buffer-normalize-argument): Fix doc-string typo and use
23580 'same-frame-other-window instead of 'other-window when associating
23581 with display-buffer-macro-specifiers.
23582
23583 2011-06-21 Vincent BelaĂ¯che <vincent.b.1@hotmail.fr>
23584
23585 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23586 New functions.
23587 (5x5-mode-map, 5x5-mode-menu): Bind them.
23588 (5x5-draw-grid): Tweak the solver's rendering.
23589
23590 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23591
23592 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23593 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23594
23595 2011-06-21 Drew Adams <drew.adams@oracle.com>
23596
23597 * menu-bar.el: Use function variable instead of switch-to-buffer.
23598 (menu-bar-select-buffer-function): New variable.
23599 (menu-bar-update-buffers): Use it (bug#8876).
23600
23601 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23602
23603 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23604 variable's status.
23605
23606 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23607
23608 * x-dnd.el (x-dnd-version-from-flags)
23609 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23610 and long as number (Bug#8899).
23611 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23612
23613 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23614
23615 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23616 (completion-try-completion, completion-all-completions): Compute the
23617 metadata argument if it's missing; make it optional (bug#8795).
23618
23619 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23620 (widget-complete): Use new :completion-function property.
23621 (widget-completions-at-point): New function.
23622 (default): Use :completion-function instead of :complete.
23623 (widget-default-completions): Rename from widget-default-complete;
23624 Rewrite.
23625 (widget-string-complete, widget-file-complete, widget-color-complete):
23626 Remove functions.
23627 (file, symbol, function, variable, coding-system, color):
23628 * international/mule-cmds.el (default-input-method, charset)
23629 (language-info-custom-alist):
23630 * cus-edit.el (face): Use new property :completions.
23631
23632 * progmodes/pascal.el (pascal-completions-at-point): New function.
23633 (pascal-mode): Use it.
23634 (pascal-mode-map): Use completion-at-point.
23635 (pascal-toggle-completions): Make obsolete.
23636 (pascal-complete-word, pascal-show-completions):
23637 * progmodes/octave-mod.el (octave-complete-symbol):
23638 Redefine as obsolete alias.
23639 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23640 Signal absence of completion info for old Octave,
23641 (inferior-octave-complete): Redefine as obsolete alias.
23642 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23643 (meta-completions-at-point): Rename from meta-complete-symbol and
23644 adapt it for use on completion-at-point-functions.
23645 (meta-common-mode): Use it.
23646 (meta-looking-at-backward, meta-match-buffer): Remove.
23647 (meta-complete-symbol): Redefine as obsolete alias.
23648 (meta-common-mode-map): Use completion-at-point.
23649 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23650 (makefile-mode-map): Use completion-at-point.
23651 (makefile-completions-at-point): Rename from makefile-complete and
23652 adapt it for use on completion-at-point-functions.
23653 (makefile-mode): Use it.
23654 (makefile-complete): Redefine as obsolete alias.
23655
23656 2011-06-20 Deniz Dogan <deniz@dogan.se>
23657
23658 * net/rcirc.el: Delete trailing whitespaces once and for all.
23659
23660 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23661
23662 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23663
23664 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23665
23666 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23667
23668 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23669
23670 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23671
23672 * window.el (display-buffer-other-window-means-other-frame):
23673 Call display-buffer-normalize-alist.
23674 (display-buffer-normalize-specifiers-1): Rename to
23675 display-buffer-normalize-argument. New argument other-frame.
23676 Rewrite.
23677 (display-buffer-normalize-specifiers-2): Rename to
23678 display-buffer-normalize-options.
23679 (display-buffer-normalize-alist-1): New function.
23680 (display-buffer-normalize-specifiers-3): Rename to
23681 display-buffer-normalize-alist.
23682 Call display-buffer-normalize-alist-1.
23683 (display-buffer-normalize-options-inhibit): New variable.
23684 (display-buffer-normalize-specifiers): Rewrite calling
23685 display-buffer-normalize-alist,
23686 display-buffer-normalize-argument, and
23687 display-buffer-normalize-options. Don't call the latter if
23688 display-buffer-normalize-options-inhibit is non-nil.
23689 (frame-auto-delete): New option.
23690 (window-deletable-p): Use frame-auto-delete.
23691 (window-list-no-nils, window-state-ignored-parameters)
23692 (window-state-get-1, window-state-get, window-state-put-list)
23693 (window-state-put-1, window-state-put-2, window-state-put):
23694 New functions.
23695 (display-buffer-normalize-options): Move special-display-p group
23696 after pop-up-frame group (Bug#8851) and (Bug#8856).
23697
23698 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23699
23700 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23701 groups (Bug#8776).
23702 (rx-submatch-n): New function.
23703 (rx): Document it.
23704
23705 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23706 (Bug#8768).
23707
23708 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23709
23710 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23711
23712 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23713 anytime existing face settings are present (Bug#8889).
23714
23715 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23716 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23717 Remove unused argument.
23718
23719 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23720
23721 * window.el (display-buffer-default-specifiers):
23722 Remove pop-up-frame. Add pop-up-window-min-height,
23723 pop-up-window-min-width, and another reuse-window specifier
23724 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23725 (display-buffer-normalize-specifiers-2):
23726 Handle split-height-threshold and split-width-threshold also when
23727 pop-up-windows is unset. Add a reuse-window specifier for the
23728 case popping up a new window fails.
23729 (special-display-popup-frame): Remove double quoting.
23730 (display-buffer-normalize-specifiers-1): Fix thinko.
23731
23732 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23733
23734 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23735 according to comint-completion-addsuffix.
23736
23737 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23738 (pcomplete-suffix-list): Mark as obsolete.
23739 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23740 pcomplete-seen in the closure.
23741 (pcomplete-comint-setup): Setup completion-at-point as well.
23742 (pcomplete--entries): New function.
23743 (pcomplete--env-regexp): New var.
23744 (pcomplete-entries): Rewrite to work with partial-completion and
23745 without relying on pcomplete-suffix-list.
23746 (pcomplete-pare-list): Remove, unused.
23747
23748 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23749
23750 * window.el (display-buffer-alist): Set pop-up-window-min-height
23751 and pop-up-window-min-width in default value. Reported by
23752 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23753 other-window-means-other-frame.
23754 (display-buffer-macro-specifiers): Comment out entry for
23755 other-window specifier.
23756 (display-buffer-other-window-means-other-frame): New function.
23757 (display-buffer-normalize-specifiers-1): New arguments
23758 buffer-name and label. Treat other-window case specially.
23759 (display-buffer-normalize-specifiers-2): Treat other-window case
23760 specially.
23761 (display-buffer-normalize-specifiers-3): New function.
23762 (display-buffer-normalize-specifiers):
23763 Call display-buffer-normalize-specifiers-3.
23764
23765 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23766
23767 * window.el (same-window-p): Fix two typos introduced when
23768 adding with-no-warnings.
23769 (display-buffer-normalize-specifiers-1): Don't check
23770 pop-up-frames for 'unset initialization.
23771 (display-buffer-normalize-specifiers-2): Major rewrite using
23772 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23773 (pop-up-frames, display-buffer-reuse-frames)
23774 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23775 Suggested by David Engster <deng@randomsample.de>.
23776 (even-window-heights): Initialize to 'unset.
23777 (display-buffer-alist-set): Handle new 'unset initializations.
23778 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23779 other window case.
23780
23781 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23782
23783 * window.el (display-buffer-normalize-specifiers-1):
23784 Respect current value of pop-up-frames for most reasonable values of
23785 second argument of display-buffer (Bug#8865).
23786 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23787 (switch-to-buffer-other-window-same-frame)
23788 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23789 Adams (Bug#8875).
23790 (display-buffer): Don't check noninteractive when calling
23791 display-buffer-pop-up-frame.
23792 (display-buffer-pop-up-frame): Never pop up a frame in
23793 noninteractive mode (Bug#8857).
23794 (enlarge-window, shrink-window): Don't report an error when the
23795 window can't be resized as requested (Bug#8862).
23796
23797 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23798
23799 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23800
23801 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23802
23803 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23804
23805 2011-06-15 Alan Mackenzie <acm@muc.de>
23806
23807 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23808 for declarators, disable knr checking to speed up for normal files.
23809 2: Refactor, replacing a sequence of nested if forms by a cond form.
23810
23811 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23812
23813 * net/network-stream.el (open-network-stream): Add the keyword
23814 :always-query-capabilities for the case where you want to force a
23815 `plain' network connection, but the protocol still requires the
23816 capabilitiy command (i.e., SMTP and EHLO).
23817
23818 * subr.el (process-live-p): Rename from `process-alive-p' for
23819 consistency with other `-live-p' functions.
23820
23821 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23822
23823 * window.el (same-window-buffer-names, same-window-regexps)
23824 (special-display-frame-alist, special-display-popup-frame)
23825 (special-display-function, special-display-buffer-names)
23826 (special-display-regexps, pop-up-frame-alist)
23827 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23828 (pop-up-windows, split-window-preferred-function)
23829 (split-height-threshold, split-width-threshold, even-window-heights)
23830 (display-buffer-mark-dedicated): Don't encourage the use of
23831 display-buffer-alist from Elisp code.
23832
23833 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23834
23835 * progmodes/python.el (python-mode): Derive from prog-mode.
23836 * progmodes/ps-mode.el (ps-mode):
23837 * progmodes/mixal-mode.el (mixal-mode):
23838 * progmodes/cfengine.el (cfengine-mode):
23839 * progmodes/ld-script.el (ld-script-mode): Likewise.
23840
23841 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23842
23843 * window.el (display-buffer-alist): Trim default value to avoid
23844 popping up a new frame (Bug#8857) or reusing an arbitrary window
23845 on another frame.
23846 (display-buffer): Do not fall back on popping up a new frame in
23847 batch mode (Bug#8857).
23848
23849 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23850
23851 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23852 (custom-theme-summary): New function.
23853 (customize-themes): Use it.
23854
23855 2011-06-13 Glenn Morris <rgm@gnu.org>
23856
23857 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23858
23859 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23860
23861 * help.el (help-window): Remove variable.
23862 (help-window-point-marker, temp-buffer-max-height)
23863 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23864 (help-print-return-message): Don't set help-window.
23865 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23866 (help-window-setup-finish): Remove.
23867 (help-window-display-message, help-window-setup)
23868 (with-help-window): Major rewrite based on new
23869 display-buffer-window variable.
23870
23871 * help-mode.el (help-mode-finish): Remove help-window related
23872 code.
23873
23874 * view.el (view-exits-all-viewing-windows): Remove reference to
23875 view-return-to-alist in doc-string.
23876 (view-return-to-alist): Make obsolete.
23877 (view-buffer): Call pop-to-buffer-same-window and remove
23878 undo-window code.
23879 (view-buffer-other-window): Call pop-to-buffer-other-window and
23880 simplify code. Ignore second argument.
23881 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23882 simplify code. Ignore second argument.
23883 (view-return-to-alist-update): Make obsolete.
23884 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23885 Rewrite using quit-restore window parameters.
23886 (view-mode-exit): Rename second argument to EXIT-ONLY.
23887 Rewrite using quit-restore-window.
23888 (View-exit, View-exit-and-edit, View-leave, View-quit)
23889 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23890 appropriate arguments.
23891 (view-end-message): Use quit-restore window parameter.
23892
23893 * window.el (display-buffer-function): Rewrite doc-string.
23894 (display-buffer-window, display-buffer-alist): New variables.
23895 (display-buffer-split-specifiers)
23896 (display-buffer-side-specifiers)
23897 (display-buffer-macro-specifiers): New constants.
23898 (display-buffer-even-window-sizes, display-buffer-set-height)
23899 (display-buffer-set-width, display-buffer-select-window)
23900 (display-buffer-in-window, display-buffer-reuse-window)
23901 (display-buffer-split-window-1, display-buffer-split-window)
23902 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23903 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23904 (display-buffer-in-side-window, normalize-buffer-to-display)
23905 (display-buffer-normalize-specifiers-1)
23906 (display-buffer-normalize-specifiers-2)
23907 (display-buffer-normalize-specifiers, display-buffer-frame):
23908 New functions.
23909 (display-buffer): Major rewrite.
23910 (display-buffer-other-window, display-buffer-other-frame)
23911 (pop-to-buffer, switch-to-buffer-other-window)
23912 (switch-to-buffer-other-frame): Rewrite.
23913 (display-buffer-same-window, display-buffer-same-frame)
23914 (display-buffer-same-frame-other-window)
23915 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23916 (pop-to-buffer-other-window)
23917 (pop-to-buffer-same-frame-other-window)
23918 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23919 (switch-to-buffer-other-window-same-frame): New functions.
23920 (same-window-p, special-display-p): Rewrite disabling warnings.
23921 Make obsolete.
23922 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23923 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23924 Make obsolete
23925 (same-window-buffer-names, same-window-regexps)
23926 (special-display-frame-alist, special-display-popup-frame)
23927 (special-display-function, special-display-buffer-names)
23928 (special-display-regexps, pop-up-frame-alist)
23929 (pop-up-frame-function, split-window-preferred-function)
23930 (split-height-threshold, split-width-threshold)
23931 (even-window-heights): Make obsolete.
23932
23933 2011-06-12 Glenn Morris <rgm@gnu.org>
23934
23935 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23936 Misc simplifications.
23937
23938 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23939
23940 * window.el (window-safely-shrinkable-p): Restore function which
23941 was inadvertently removed in change from 2011-06-11. Declare as
23942 obsolete.
23943
23944 * calendar/calendar.el (calendar-generate-window):
23945 Use window-iso-combined-p instead of combination of one-window-p and
23946 window-safely-shrinkable-p.
23947
23948 2011-06-12 Glenn Morris <rgm@gnu.org>
23949
23950 * progmodes/fortran.el (fortran-mode-syntax-table):
23951 * progmodes/f90.el (f90-mode-syntax-table):
23952 Set % to punctuation. (Bug#8820)
23953 (f90-find-tag-default): Remove, no longer needed.
23954
23955 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23956
23957 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23958
23959 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23960
23961 * image.el (image-animated-p): Return animation delay in seconds.
23962 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23963 (image-animate-timeout): Remove DELAY argument. Don't assume
23964 every subimage has the same delay; get it from image-animated-p.
23965 (image-animate): Caller changed.
23966
23967 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23968
23969 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23970 to ignored backtrace functions.
23971
23972 2011-06-11 Glenn Morris <rgm@gnu.org>
23973
23974 * calendar/appt.el (appt-disp-window-function): Doc fix.
23975 (appt-check): Handle overlapping appointments. (Bug#8337)
23976
23977 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23978
23979 * window.el (window-tree-1, window-tree): New functions, moving
23980 the latter to window.el.
23981 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23982 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23983 (bw-refresh-edges): Remove.
23984 (balance-windows-1, balance-windows-2): New functions.
23985 (balance-windows): Rewrite in terms of window tree functions,
23986 balance-windows-1 and balance-windows-2.
23987 (bw-adjust-window): Remove.
23988 (balance-windows-area-adjust): New function with functionality of
23989 bw-adjust-window but using resize-window.
23990 (set-window-text-height): Rewrite doc-string.
23991 Use normalize-live-window and resize-window.
23992 (enlarge-window-horizontally, shrink-window-horizontally):
23993 Rename argument to DELTA.
23994 (window-buffer-height): New function.
23995 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23996 Rewrite using new window resize routines.
23997 (kill-buffer-and-window, mouse-autoselect-window-select):
23998 Use ignore-errors instead of condition-case.
23999 (quit-window): Call delete-frame instead of delete-windows-on
24000 for the only buffer on frame.
24001
24002 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24003
24004 * loadup.el (top-level): Load window before files for the sake
24005 of replace-buffer-in-windows.
24006
24007 * files.el (read-buffer-to-switch)
24008 (switch-to-buffer-other-window)
24009 (switch-to-buffer-other-frame, display-buffer-other-frame):
24010 Move to window.el.
24011
24012 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
24013 (previous-buffer): Move to window.el.
24014
24015 * bindings.el (unbury-buffer): Move to window.el.
24016
24017 * window.el (delete-other-windows-vertically): Move after
24018 definition of delete-other-windows.
24019 (other-window, delete-windows-on, replace-buffer-in-windows):
24020 Move here from window.c.
24021 (record-window-buffer, unrecord-window-buffer)
24022 (set-window-buffer-start-and-point, switch-to-prev-buffer)
24023 (switch-to-next-buffer): New functions.
24024 (get-next-valid-buffer, last-buffer, next-buffer): Move here
24025 from simple.el. Call switch-to-next-buffer.
24026 (previous-buffer): Move here from simple.el.
24027 Call switch-to-prev-buffer.
24028 (bury-buffer): Move here from buffer.c. Switch to previous
24029 buffer when window cannot be deleted.
24030 (unbury-buffer): Move here from bindings.el.
24031 (ctl-x-map): Move binding for other-window from window.c to
24032 here.
24033 (read-buffer-to-switch, switch-to-buffer-other-window)
24034 (switch-to-buffer-other-frame): Move here from files.el.
24035 (normalize-buffer-to-switch-to): New functions.
24036 (switch-to-buffer): Move here from buffer.c.
24037 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
24038
24039 2011-06-10 Martin Rudalics <rudalics@gmx.at>
24040
24041 * window.el (window-min-height, window-min-width): Move here
24042 from window.c. Add defcustoms and rewrite doc-strings.
24043 (resize-mini-window, resize-window): New functions.
24044 (adjust-window-trailing-edge, enlarge-window, shrink-window):
24045 Move here from window.c.
24046 (maximize-window, minimize-window): New functions.
24047 (delete-window, delete-other-windows, split-window): Move here
24048 from window.c.
24049 (window-split-min-size): New function.
24050 (split-window-keep-point): Mention split-window-above-each-other
24051 instead of split-window-vertically.
24052 (split-window-above-each-other, split-window-vertically):
24053 Rename split-window-vertically to split-window-above-each-other
24054 and provide defalias for old definition.
24055 (split-window-side-by-side, split-window-horizontally):
24056 Rename split-window-horizontally to split-window-side-by-side
24057 and provide defalias for the old definition.
24058 (ctl-x-map): Move bindings for delete-window,
24059 delete-other-windows and enlarge-window here from window.c.
24060 Replace bindings for split-window-vertically and
24061 split-window-horizontally by bindings for
24062 split-window-above-each-other and split-window-side-by-side.
24063
24064 * cus-start.el (all): Remove entries for window-min-height and
24065 window-min-width. Add entries for window-splits and
24066 window-nest.
24067
24068 2011-06-09 Glenn Morris <rgm@gnu.org>
24069
24070 * calendar/appt.el (appt-mode-line): New function.
24071 (appt-check, appt-disp-window): Use it.
24072
24073 * files.el (hack-one-local-variable-eval-safep):
24074 Allow minor-modes with explicit +/-1 arguments.
24075
24076 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24077
24078 * term/xterm.el (xterm): Add defgroup.
24079 (xterm-extra-capabilities): Add defcustom to supply known xterm
24080 capabilities, skip querying them, or query them (default).
24081 (terminal-init-xterm): Use it.
24082 (terminal-init-xterm-modify-other-keys): New function to set up
24083 modifyOtherKeys support to simplify `terminal-init-xterm'.
24084
24085 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24086
24087 * window.el (resize-window-reset, resize-window-reset-1)
24088 (resize-subwindows-skip-p, resize-subwindows-normal)
24089 (resize-subwindows, resize-other-windows, resize-this-window)
24090 (resize-root-window, resize-root-window-vertically)
24091 (window-deletable-p, window-or-subwindow-p)
24092 (frame-root-window-p): New functions.
24093
24094 2011-06-09 Glenn Morris <rgm@gnu.org>
24095
24096 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24097 (ange-ftp-get-files): Use it.
24098
24099 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24100
24101 * mail/sendmail.el (mail-recover-1, mail-recover):
24102 * files.el (recover-file, recover-session):
24103 Handle dired-listing-switches not being just a single short option.
24104
24105 2011-06-09 Glenn Morris <rgm@gnu.org>
24106
24107 * calendar/appt.el (appt-display-message, appt-disp-window):
24108 Handle lists of appointments.
24109
24110 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24111
24112 * window.el (one-window-p): Move down in code.
24113 Rewrite doc-string.
24114 (window-current-scroll-bars): Rewrite doc-string.
24115 Normalize live window argument.
24116 (walk-windows, get-window-with-predicate, count-windows):
24117 Rewrite doc-string. Use window-list-1.
24118 (window-in-direction-2, window-in-direction, get-mru-window):
24119 New functions.
24120
24121 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24122
24123 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24124 Doc fix (Bug#8713).
24125
24126 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24127
24128 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24129
24130 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24131
24132 * loadhist.el (unload-feature-special-hooks):
24133 Add `comint-output-filter-functions'.
24134
24135 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24136
24137 * calendar/appt.el (appt-check): Move some initializations into the let.
24138
24139 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24140
24141 * window.el (window-height): Defalias to window-total-height.
24142 (window-width): Defalias to window-body-width.
24143
24144 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24145
24146 * image-mode.el (image-toggle-animation): New command.
24147 (image-mode-map): Bind it to RET.
24148 (image-mode): Update message.
24149 (image-toggle-display-image): Avoid a spurious cache flush.
24150 (image-transform-rotation): Doc fix.
24151 (image-transform-properties): Return quickly in the normal case.
24152 (image-animate-loop): Rename from image-animate-max-time.
24153
24154 * image.el (image-animate-max-time): Move to image-mode.el.
24155 (create-animated-image): Remove unnecessary function.
24156 (image-animate): Rename from image-animate-start. New arg.
24157 (image-animate-stop): Remove; just use image-animate-timer.
24158 (image-animate-timer): Use car-safe.
24159 (image-animate-timeout): Rename argument.
24160
24161 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24162
24163 * window.el (get-lru-window, get-largest-window): Move here from
24164 window.c. Rename first argument to ALL-FRAMES.
24165 Rephrase doc-strings.
24166 (get-buffer-window-list): Rewrite using window-list-1.
24167 Rephrase doc-string.
24168 (window-safe-min-height, window-safe-min-width): New constants.
24169 (window-size-ignore, window-min-size, window-min-size-1)
24170 (window-sizable, window-sizable-p, window-size-fixed-1)
24171 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24172 (window-max-delta-1, window-max-delta, window-resizable)
24173 (window-resizable-p, window-total-height, window-total-width)
24174 (window-body-width): New functions.
24175 (window-full-height-p, window-full-width-p): Rewrite using
24176 window-total-size.
24177 (window-body-height): Rewrite using window-body-size.
24178
24179 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24180
24181 * window.el (window-right, window-left, window-child)
24182 (window-child-count, window-last-child, window-any-p)
24183 (normalize-live-buffer, normalize-live-frame)
24184 (normalize-any-window, normalize-live-window)
24185 (window-iso-combination-p, window-iso-combined-p)
24186 (window-iso-combinations)
24187 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24188 (windows-with-parameter, window-with-parameter)
24189 (window-atom-root, make-window-atom, window-atom-check-1)
24190 (window-atom-check, window-side-check, window-check):
24191 New functions.
24192 (ignore-window-parameters, window-sides, window-sides-vertical)
24193 (window-sides-slots): New variables.
24194 (window-size-fixed): Move down in code. Minor doc-string fix.
24195
24196 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24197
24198 * comint.el (comint-dynamic-complete-as-filename)
24199 (comint-dynamic-complete-filename): Correctly call
24200 completion-in-region.
24201
24202 2011-06-05 Deniz Dogan <deniz@dogan.se>
24203
24204 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24205 in last change.
24206
24207 2011-06-05 Deniz Dogan <deniz@dogan.se>
24208
24209 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24210 (rcirc): Use it to prompt for encryption.
24211
24212 2011-06-05 Roland Winkler <winkler@gnu.org>
24213
24214 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24215 (bibtex-search-entries): New command bound to C-c C-a.
24216 (bibtex-display-entries): New function.
24217
24218 2011-06-05 Roland Winkler <winkler@gnu.org>
24219
24220 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24221 (bibtex-insert-kill): After yanking insert newline if necessary.
24222 (bibtex-initialize): Call bibtex-string-files-init only once.
24223 (bibtex-mode): Do not call easy-menu-add.
24224 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24225 (bibtex-yank): Set arg properly if nil.
24226
24227 2011-06-05 Roland Winkler <winkler@gnu.org>
24228
24229 * textmodes/bibtex.el (bibtex-search-entry-globally):
24230 New variable.
24231 (bibtex-search-entry): Use it.
24232
24233 2011-06-05 Roland Winkler <winkler@gnu.org>
24234
24235 * textmodes/bibtex.el (bibtex-entry-format): New option
24236 sort-fields.
24237 (bibtex-format-entry, bibtex-reformat): Honor this option.
24238 (bibtex-parse-entry): Return fields in proper order.
24239
24240 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24241
24242 * doc-view.el (doc-view-remove-if): Move computation of result out
24243 of `dolist' to silence misleading lexical-binding warning.
24244
24245 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24246
24247 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24248 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24249
24250 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24251
24252 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24253 "SunOS 5.10".
24254
24255 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24256
24257 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24258 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24259 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24260 (tramp-parse-putty):
24261 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24262 (tramp-completion-function-alist-ssh)
24263 (tramp-completion-function-alist-telnet)
24264 (tramp-completion-function-alist-su)
24265 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24266 cookie.
24267
24268 * net/tramp-ftp.el:
24269 * net/tramp-sh.el:
24270 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24271 load "tramp.el" `tramp-set-completion-function'.
24272
24273 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24274
24275 * shell.el: Require and use pcomplete.
24276 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24277 (shell-completion-vars): Set pcomplete-default-completion-function.
24278
24279 2011-06-04 Deniz Dogan <deniz@dogan.se>
24280
24281 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24282 `memq' (Bug#8799).
24283
24284 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24285
24286 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24287
24288 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24289
24290 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24291 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24292 * vc/log-view.el (log-view-beginning-of-defun):
24293 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24294 (smerge-refine-forward, smerge-refine-chopup-region):
24295 Silence warning for unused `dotimes' counter variables.
24296
24297 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24298
24299 * net/tramp.el (tramp-with-progress-reporter): Rename from
24300 with-progress-reporter. Use `declare'.
24301 * net/tramp-smb.el:
24302 * net/tramp-sh.el:
24303 * net/tramp-gvfs.el: Update all uses.
24304
24305 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24306
24307 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24308 buffer isn't killed before making it current.
24309
24310 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24311
24312 Silence various byte-compiler warnings.
24313 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24314 `access-type' and new obsolescence format.
24315 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24316 new format.
24317 (byte-compile-check-variable): New `access-type' argument.
24318 Only warn if the access-type is obsolete.
24319 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24320 (byte-compile-variable-set): Adjust callers.
24321 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24322 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24323 setting it as obsolete.
24324 * simple.el (minibuffer-completing-symbol):
24325 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24326 access as obsolete.
24327 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24328 obsolete yet.
24329 * international/quail.el (quail-mouse-choose-completion): Remove unused
24330 code referring to obsolete var.
24331 (quail-choose-completion-string): Remove.
24332 * server.el (server-clients-with, server-kill-buffer-query-function)
24333 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24334 * proced.el (proced-send-signal):
24335 * emacs-lisp/lisp.el (lisp-complete-symbol):
24336 Replace completion-annotate-function with completion-extra-properties.
24337
24338 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24339
24340 * simple.el (goto-line): Use read-number.
24341 (overriding-map-is-bound): Remove.
24342 (saved-overriding-map): Change default.
24343 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24344 Take the map as argument.
24345 (universal-argument, negative-argument, digit-argument): Use it.
24346 (restore-overriding-map): Adjust.
24347 (do-auto-fill): Use fill-forward-paragraph.
24348 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24349
24350 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24351 (minibuffer-inactive-mode): New major mode.
24352 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24353 the *Messages* buffer" hack.
24354 (mouse-popup-menubar): Don't burp if the event is a normal key.
24355
24356 Miscellaneous tweaks.
24357 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24358 lexical scoping as in subr.el's dolist and dotimes.
24359 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24360 Silence compiler warning.
24361 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24362 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24363 * international/ccl.el (ccl-compile): Trivial simplification.
24364 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24365 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24366 `printflag' argument.
24367 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24368 Purecopy the whole obsolescence data.
24369
24370 2011-06-01 Leo Liu <sdl.web@gmail.com>
24371
24372 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24373 improve doc-string as suggested by Marco Pessotto
24374 <melmothx@gmail.com>.
24375 (rcirc-print): Fix last change.
24376
24377 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24378
24379 * minibuffer.el (complete-with-action): Return nil for the metadata and
24380 boundaries of non-functional tables.
24381 (completion-table-dynamic): Return nil for the metadata.
24382 (completion-table-with-terminator): Add default case, using
24383 complete-with-action.
24384 (completion--metadata): New function.
24385 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24386 to try and avoid pathological performance problems.
24387 (completion--embedded-envvar-table): Return `category' metadata.
24388
24389 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24390
24391 * subr.el (process-alive-p): New tiny convenience function.
24392
24393 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24394
24395 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24396 content but also its previous major mode.
24397
24398 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24399
24400 * emacs-lisp/debug.el (debug): Restore the previous content of the
24401 *Backtrace* buffer when we exit with C-M-c.
24402
24403 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24404
24405 * minibuffer.el: Add metadata method to completion tables.
24406 (completion-category-overrides): New defcustom.
24407 (completion-metadata, completion--field-metadata)
24408 (completion-metadata-get, completion--styles)
24409 (completion--cycle-threshold): New functions.
24410 (completion-try-completion, completion-all-completions):
24411 Add `metadata' argument to choose completion-styles.
24412 (completion--do-completion): Use metadata to choose cycling.
24413 (completion-all-sorted-completions): Use metadata for sorting.
24414 Remove :completion-cycle-penalty which is not needed any more.
24415 (completion--try-word-completion): Add `metadata' argument.
24416 (minibuffer-completion-help): Check metadata for annotation function
24417 and sorting.
24418 (completion-file-name-table): Return `category' metadata.
24419 (minibuffer-completing-file-name): Make obsolete.
24420 * simple.el (minibuffer-completing-symbol): Make obsolete.
24421 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24422 completion-try-completion.
24423
24424 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24425
24426 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24427
24428 2011-05-30 Leo Liu <sdl.web@gmail.com>
24429
24430 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24431 (rcirc-print): Decode all incoming messages (bug#8744).
24432 (rcirc-decode-coding-system): Allow value nil for automatic coding
24433 system detection.
24434
24435 2011-06-01 Glenn Morris <rgm@gnu.org>
24436
24437 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24438
24439 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24440
24441 * image.el (image-animate-max-time): Allow nil and t values.
24442 Default to nil.
24443 (create-animated-image): Doc fix.
24444 (image-animate-start): Remove second arg; just use
24445 image-animate-max-time.
24446 (image-animate-timeout): Doc fix. Args changed.
24447
24448 * image-mode.el (image-toggle-display-image): Ensure that the
24449 image spec passed to the animate timer is the same object as in
24450 the buffer's display property (Bug#6981).
24451 (image-transform-properties): Doc fix.
24452
24453 * image.el (image-animate-max-time): Default to nil.
24454
24455 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24456
24457 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24458 entire buffer list (Bug#8184).
24459
24460 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24461
24462 * image.el (imagemagick-types-inhibit)
24463 (imagemagick-register-types): Doc fix.
24464
24465 2011-05-29 Deniz Dogan <deniz@dogan.se>
24466
24467 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24468 default.
24469
24470 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24471
24472 * select.el: Don't perform clipboard-manager saving in hooks;
24473 leave the hooks empty.
24474
24475 2011-05-28 Leo Liu <sdl.web@gmail.com>
24476
24477 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24478 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24479 (occur-edit-mode): New major mode (Bug#8463).
24480 (occur-after-change-function): New function.
24481 (occur-engine): Give Occur tags a read-only property.
24482
24483 2011-05-28 Kevin Ryde <user42@zip.com.au>
24484
24485 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24486
24487 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24488
24489 * bindings.el (help-echo): Make the initial non-indicator dash
24490 empty on graphical terminals (Bug#7295).
24491
24492 * files.el (auto-mode-alist): Move config rule after the
24493 in-stripping one (Bug#8547).
24494
24495 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24496
24497 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24498 setting (Bug#8740).
24499
24500 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24501
24502 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24503 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24504 (Bug#8539).
24505
24506 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24507
24508 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24509
24510 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24511
24512 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24513 (hs-hide-block-at-point, hs-find-block-beginning)
24514 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24515 (Bug#8279).
24516
24517 2011-05-28 Glenn Morris <rgm@gnu.org>
24518
24519 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24520
24521 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24522
24523 * help-fns.el (describe-function-1): If the function is a derived
24524 major mode, print the parent mode.
24525
24526 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24527 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24528
24529 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24530
24531 * minibuffer.el (completion--capf-wrapper): Check applicability before
24532 returning non-nil for non-exclusive completion data.
24533 * progmodes/etags.el (tags-completion-at-point-function):
24534 * info-look.el (info-lookup-completions-at-point): Mark as
24535 non-exclusive.
24536 (info-complete): Adjust accordingly.
24537
24538 * info-look.el: Convert to lexical-binding and completion-at-point.
24539 (info-lookup-completions-at-point): New function.
24540 (info-complete): Use it and completion-in-region.
24541
24542 2011-05-28 Drew Adams <drew.adams@oracle.com>
24543
24544 * isearch.el: Let M-e start with point at the first mismatched char.
24545 (isearch-fail-pos): New function.
24546 (isearch-edit-string): Use it.
24547
24548 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24549
24550 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24551
24552 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24553
24554 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24555 traversal functions for avl-trees.
24556 (avl-tree--stack): New struct.
24557 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24558 (avl-tree-enter): Add optional `updatefun' arg.
24559 (avl-tree--do-enter): Add optional `updatefun' arg.
24560 Change return value.
24561 (avl-tree-delete): Add optional `test' and `nilflag' args.
24562 (avl-tree--do-delete): Add `test' and `nilflag' args.
24563 Change return value.
24564 (avl-tree-member): Add optional `nilflag'
24565 (avl-tree-member-p): New function.
24566 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24567 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24568 (avl-tree-stack-empty-p): New functions.
24569
24570 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24571 avl-tree--del-balance1 and make it work both ways.
24572 (avl-tree--del-balance2): Remove.
24573 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24574 make it work both ways.
24575 (avl-tree--enter-balance2): Remove.
24576 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24577 New macros.
24578 (avl-tree--mapc, avl-tree-map): Add direction argument.
24579
24580 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24581
24582 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24583
24584 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24585
24586 * select.el: Support clipboard managers with built-in function
24587 x-clipboard-manager-save, via delete-frame-functions and
24588 kill-emacs-hook.
24589 (xselect-convert-to-targets): Add MULTIPLE target to list.
24590 (xselect-convert-to-save-targets): New function.
24591
24592 2011-05-27 Kenichi Handa <handa@m17n.org>
24593
24594 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24595 let-binding rfc2047-encode-encoded-words to nil.
24596
24597 2011-05-27 Glenn Morris <rgm@gnu.org>
24598
24599 * mail/emacsbug.el: Don't require url-util.
24600
24601 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24602
24603 * files.el (set-auto-mode):
24604 Also respect mode: entries at the end of the file. (Bug#8586)
24605
24606 2011-05-26 Glenn Morris <rgm@gnu.org>
24607
24608 * files.el (hack-local-variables-prop-line, hack-local-variables):
24609 Downcase mode names, as seems to be traditional.
24610 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24611
24612 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24613 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24614
24615 2011-05-25 Julien Danjou <julien@danjou.info>
24616
24617 * textmodes/rst.el (rst-define-level-faces): Do not define face
24618 symbol if it is already defined.
24619
24620 2011-05-24 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24621
24622 * play/5x5.el (5x5-new-game, 5x5-randomize):
24623 Reset 5x5-solver-output to nil when a new grid is cast.
24624 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24625 these debugging traces, as defmacro breaks the compiled code.
24626
24627 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24628
24629 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24630
24631 2011-05-24 Leo Liu <sdl.web@gmail.com>
24632
24633 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24634 (vc-bzr-sha1): Adapt.
24635
24636 * sha1.el: Remove. Function `sha1' is now builtin.
24637
24638 * bindings.el: Provide sha1 feature.
24639
24640 2011-05-24 Kenichi Handa <handa@m17n.org>
24641
24642 * mail/sendmail.el: Require `rfc2047'.
24643 (mail-insert-from-field): Do not perform RFC2047 encoding.
24644 (mail-encode-header): New function.
24645 (sendmail-send-it): Set buffer-file-coding-system of the work
24646 buffer to the return value of select-message-coding-system.
24647 Call mail-encode-header.
24648
24649 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24650
24651 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24652
24653 * mail/supercite.el (sc-default-cite-frame):
24654 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24655
24656 2011-05-24 Glenn Morris <rgm@gnu.org>
24657
24658 * progmodes/python.el (brm-menu): Declare.
24659
24660 * emulation/viper.el (viper-set-hooks): Declare.
24661
24662 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24663 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24664 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24665 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24666 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24667 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24668
24669 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24670
24671 Add an :exit-function for completion-at-point.
24672
24673 * minibuffer.el (completion--done): New fun.
24674 (completion--do-completion): Use it. New arg `expect-exact'.
24675 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24676 since completion--do-completion does it for us now.
24677 (minibuffer-force-complete): Use completion--done and
24678 completion--replace. Handle sole-completion case with more care.
24679 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24680 (completion-extra-properties): New var.
24681 (completion-annotate-function): Make obsolete.
24682 (minibuffer-completion-help): Adjust accordingly.
24683 Use completion-list-insert-choice-function.
24684 (completion-at-point, completion-help-at-point):
24685 Bind completion-extra-properties.
24686 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24687 * simple.el (completion-list-insert-choice-function): New var.
24688 (completion-setup-function): Preserve it.
24689 (choose-completion): Pay attention to it, shuffle the code a bit.
24690 (choose-completion-string): New arg `insert-function'.
24691
24692 * textmodes/bibtex.el: Convert to lexical binding.
24693 (bibtex-mode-map): Use completion-at-point.
24694 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24695 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24696 (bibtex-complete): Define as obsolete alias.
24697 (bibtex-complete-internal): Remove.
24698 (bibtex-format-entry): Remove unused sub-group in regexp.
24699 * shell.el (shell--command-completion-data)
24700 (shell-environment-variable-completion):
24701 * pcomplete.el (pcomplete-completions-at-point):
24702 * comint.el (comint--complete-file-name-data): Use :exit-function
24703 instead of completion-table-with-terminator so it also works for
24704 choose-completion.
24705
24706 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24707
24708 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24709
24710 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24711 (bug#8710).
24712
24713 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24714
24715 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24716
24717 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24718 customization variable and implement: If non-nil, auto-fill will
24719 be inhibited while on topic's header line.
24720
24721 2011-05-23 Vincent BelaĂ¯che <vincentb1@users.sourceforge.net>
24722
24723 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24724 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24725 always have a solution in grid size = 5 cases.
24726 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24727 (5x5-solver-output, 5x5-log-buffer): New vars.
24728 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24729 Make these variables buffer local to achieve 5x5 multi-session-ness.
24730 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24731 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24732 (5x5-solve-suggest): New funs.
24733 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24734 randomize a grid so that we ensure that there is always a solution.
24735 (5x5-make-random-grid): Allow other movement than flipping.
24736
24737 2011-05-23 Kevin Ryde <user42@zip.com.au>
24738
24739 * emacs-lisp/advice.el (ad-read-advised-function):
24740 Use `function-called-at-point' as the default, if it has
24741 advice and passes PREDICATE.
24742
24743 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24744
24745 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24746 byte-compile-lambda if it's actually a lambda.
24747
24748 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24749 Fix function quoting. Use backquote better.
24750
24751 2011-05-22 Yuanle Song <sylecn@gmail.com>
24752
24753 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24754 matching (Bug#8516).
24755
24756 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24757
24758 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24759 different face (Bug#8178).
24760
24761 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24762
24763 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24764 defface (Bug#8144).
24765
24766 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24767
24768 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24769 funcall as well (bug#8712). Warn when performing those conversions.
24770 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24771
24772 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24773
24774 2011-05-22 Glenn Morris <rgm@gnu.org>
24775
24776 * files.el (hack-local-variables-prop-line): Small simplifications.
24777 (hack-local-variables, hack-local-variables-prop-line):
24778 If MODE-ONLY, return the mode, rather than just `t'.
24779
24780 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24781
24782 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24783
24784 2011-05-21 Glenn Morris <rgm@gnu.org>
24785
24786 * files.el (hack-local-variables-prop-line, hack-local-variables):
24787 If only interested in the mode, don't bother doing the other stuff.
24788
24789 * image-mode.el (image-after-revert-hook):
24790 Redraw all frames on which the image is visible. (Bug#8567)
24791
24792 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24793
24794 * wid-edit.el (widget-checklist-match-inline):
24795 Fix 2011-04-19 change. (Bug#8649)
24796
24797 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24798
24799 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24800 Also allow singlespace after single-letter capitals followed by a dot.
24801
24802 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24803 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24804
24805 2011-05-20 Nix <nix@esperi.org.uk>
24806
24807 * files.el (basic-save-buffer-2):
24808 Fix handling of break-hardlink-on-save with non-existent files.
24809
24810 2011-05-19 Deniz Dogan <deniz@dogan.se>
24811
24812 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24813 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24814
24815 2011-05-19 Glenn Morris <rgm@gnu.org>
24816
24817 * progmodes/f90.el (f90-type-def-re):
24818 Handle "type, bind(c)". (Bug#8691)
24819
24820 * emacs-lisp/autoload.el (batch-update-autoloads):
24821 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24822
24823 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24824
24825 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24826 property for the correct connection in case of multihops.
24827
24828 2011-05-18 Glenn Morris <rgm@gnu.org>
24829
24830 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24831 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24832
24833 Rationalize calendar handling of day and month abbrev-arrays.
24834 * calendar/calendar.el (calendar-customized-p): New function.
24835 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24836 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24837 Add :set function.
24838 (calendar-abbrev-length, calendar-day-abbrev-array)
24839 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24840 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24841 Elements may no longer be nil.
24842 (calendar-day-name, calendar-month-name):
24843 Update for changed nature of abbrev arrays.
24844 * calendar/diary-lib.el (diary-name-pattern):
24845 Update for changed nature of abbrev arrays.
24846 (diary-mark-entries-1): Update calendar-make-alist calls.
24847 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24848 * calendar/cal-html.el (cal-html-day-abbrev-array):
24849 Simply inherit from calendar-day-abbrev-array.
24850
24851 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24852
24853 * progmodes/grep.el (grep-mode): Disable default
24854 compilation-directory-matcher setting (bug#8684).
24855
24856 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24857
24858 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24859 instead of "head" and "tail". There were problems with SunOS 5.9,
24860 and it performs better.
24861
24862 2011-05-17 Glenn Morris <rgm@gnu.org>
24863
24864 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24865
24866 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24867 Replace obsolete function.
24868
24869 * shell.el (pcomplete-parse-arguments-function): Declare.
24870
24871 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24872 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24873 (appt-check): Doc fixes.
24874 (appt-disp-window-function, appt-delete-window-function):
24875 Remove needless special case in custom :type.
24876 (appt-display-count): Default to 0, not nil.
24877 (appt-check): Reset appt-display-count to 0, not nil.
24878
24879 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24880
24881 * progmodes/python.el (python-font-lock-keywords):
24882 Add the Python 3.X keyword "nonlocal" (bug#8639).
24883
24884 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24885
24886 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24887
24888 2011-05-16 Kevin Ryde <user42@zip.com.au>
24889
24890 * info-look.el (makefile-automake-mode): New setups, looking in
24891 automake manual, then makefile-mode.
24892 (makefile-mode): Remove automake manual, have it just in
24893 makefile-automake-mode since there's various things different or
24894 not relevant to plain make.
24895 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24896 believe a hypothetical automake-mode would go to makefile-mode,
24897 not the other way around.
24898
24899 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24900
24901 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24902 hunk-end tags (Bug#8672).
24903
24904 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24905 vc-annotate-show-diff-revision-at-line (Bug#8671).
24906
24907 2011-05-14 Glenn Morris <rgm@gnu.org>
24908
24909 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24910 in the middle of an existing one with multiple authors. (Bug#8645)
24911 (change-log-font-lock-keywords): Also handle multiple author lines
24912 with leading tabs. (Bug#8644)
24913
24914 * calendar/appt.el (appt-check): Rename some local variables.
24915 Some simplification/reordering.
24916
24917 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24918 (feedmail-sendmail-f-doesnt-sell-me-out)
24919 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24920 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24921 (feedmail-queue-runner-message-sender): Set :version.
24922 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24923 (bbdb-dwim-net-address, vm-mail): Declare.
24924 (feedmail-binmail-gnulinuxish-template):
24925 Rename from feedmail-binmail-linuxish-template.
24926 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24927 Use insert-buffer-substring.
24928
24929 2011-05-14 Bill Carpenter <bill@carpenter.org>
24930
24931 * mail/feedmail.el (feedmail-patch-level): Increase.
24932 (feedmail-debug): New custom group.
24933 (feedmail-confirm-outgoing-timeout)
24934 (feedmail-sendmail-f-doesnt-sell-me-out)
24935 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24936 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24937 (feedmail-sender-line, feedmail-from-line)
24938 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24939 (feedmail-spray-this-address)
24940 (feedmail-spray-address-fiddle-plex-list)
24941 (feedmail-queue-use-send-time-for-date)
24942 (feedmail-queue-use-send-time-for-message-id)
24943 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24944 (feedmail-buffer-eating-function):
24945 Doc fixes.
24946 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24947 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24948 (feedmail-message-action-scroll-down): New functions.
24949 (feedmail-queue-directory, feedmail-queue-draft-directory):
24950 Use expand-file-name.
24951 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24952 Remove C-v help entry.
24953 (feedmail-queue-buffer-file-name): New variable.
24954 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24955 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24956 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24957 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24958 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24959 (feedmail-message-action-toggle-spray)
24960 (feedmail-run-the-queue-no-prompts)
24961 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24962 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24963 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24964 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24965 (feedmail-envelope-deducer, feedmail-fiddle-from)
24966 (feedmail-fiddle-sender, feedmail-default-date-generator)
24967 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24968 (feedmail-fiddle-spray-address)
24969 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24970 (feedmail-fiddle-list-of-fiddle-plexes)
24971 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24972 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24973 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24974 Change default. Doc fix.
24975 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24976 (feedmail-binmail-linuxish-template): New constant.
24977 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24978 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24979 (feedmail-send-it): Add debug call.
24980 Use feedmail-queue-buffer-file-name, and
24981 feedmail-send-it-immediately-wrapper.
24982 (feedmail-message-action-send): Add debug call.
24983 Use feedmail-send-it-immediately-wrapper.
24984 (feedmail-queue-express-to-queue): Add debug call.
24985 Run feedmail-queue-express-hook.
24986 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24987 (feedmail-message-action-help-blat):
24988 Rename from feedmail-queue-send-edit-prompt-help-first.
24989 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24990 Check line-endings. Handle errors better.
24991 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24992 Doc fix. Add debug call.
24993 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24994 Use feedmail-queue-send-edit-prompt-inner.
24995 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24996 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24997 from feedmail-queue-send-edit-prompt.
24998 (feedmail-queue-send-edit-prompt-help)
24999 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
25000 (feedmail-tidy-up-slug): Add debug call.
25001 Respect feedmail-queue-slug-suspect-regexp.
25002 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
25003 (feedmail-dump-message-to-queue): Add debug call.
25004 Expand queue-directory.
25005 (feedmail-dump-message-to-queue): Change message slightly.
25006 Use feedmail-say-chatter.
25007 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
25008 (feedmail-send-it-immediately-wrapper): New function.
25009 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
25010 Insert empty string rather than newline. Handle full-frame case.
25011 Use catch/throw. Use feedmail-say-chatter.
25012 (feedmail-fiddle-from): Try mail-host-address.
25013 (feedmail-default-message-id-generator): Doc fix.
25014 Bind system-time-locale. Handle missing end.
25015 (feedmail-fiddle-x-mailer): Add debug call.
25016 Handle feedmail-x-mailer-line being nil.
25017 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
25018 Add debug call. Use buffer-substring-no-properties.
25019 (feedmail-say-debug, feedmail-say-chatter): New functions.
25020 (feedmail-find-eoh): Give an explicit error.
25021
25022 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
25023
25024 * net/newst-treeview.el (newsticker-treeview-face): Change default
25025 family from helvetica to sans.
25026 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
25027 etc/images/newsticker.
25028
25029 * net/newst-reader.el (newsticker-feed-face): Change default
25030 family from helvetica to sans.
25031
25032 * net/newst-plainview.el (newsticker-new-item-face)
25033 (newsticker-old-item-face, newsticker-immortal-item-face)
25034 (newsticker-obsolete-item-face, newsticker-date-face)
25035 (newsticker-statistics-face): Change default family from
25036 helvetica to sans.
25037 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
25038 etc/images/newsticker.
25039
25040 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
25041 (newsticker--process-auto-mark-filter-match): Tell user about
25042 auto-marking.
25043
25044 2011-05-13 Didier Verna <didier@xemacs.org>
25045
25046 Common Lisp indentation improvements on defmethod and lambda-lists.
25047 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
25048 TODO entries.
25049 (lisp-lambda-list-keyword-parameter-indentation)
25050 (lisp-lambda-list-keyword-parameter-alignment)
25051 (lisp-lambda-list-keyword-alignment): New customizable user options.
25052 (lisp-indent-defun-method): Improve docstring.
25053 (extended-loop-p): Fix comment.
25054 (lisp-indent-lambda-list-keywords-regexp): New variable.
25055 (lisp-indent-lambda-list): New function.
25056 (lisp-indent-259): Use it.
25057 (lisp-indent-defmethod): Support for more than one
25058 method qualifier and properly indent methods lambda-lists.
25059 (defgeneric): Provide a missing common-lisp-indent-function property.
25060
25061 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
25062
25063 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
25064 bounds for the empty string (bug#8667).
25065
25066 2011-05-13 Glenn Morris <rgm@gnu.org>
25067
25068 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25069
25070 * mail/sendmail.el (sendmail-program): Try executable-find first.
25071 (sendmail-send-it): `sendmail-program' cannot be unbound.
25072
25073 * calendar/appt.el (appt-make-list): Simplify.
25074 (appt-time-msg-list): Doc fix.
25075 (appt-check): Change mode-line message at the time of the appointment.
25076
25077 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25078
25079 * progmodes/ld-script.el (ld-script-keywords)
25080 (ld-script-builtins): Update keywords list.
25081
25082 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25083
25084 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25085
25086 * shell.el (shell-completion-vars): New function.
25087 (shell-mode):
25088 * simple.el (read-shell-command): Use it.
25089 (blink-matching-open): No need for " [...]" in minibuffer-message.
25090
25091 2011-05-12 Glenn Morris <rgm@gnu.org>
25092
25093 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25094 (appt-check): Simplify.
25095
25096 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25097
25098 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25099 literal "/dev/null".
25100
25101 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25102
25103 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25104 Fix typo.
25105
25106 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25107
25108 * progmodes/which-func.el (which-function):
25109 Use add-log-current-defun instead of add-log-current-defun-function,
25110 which might not be defined (Bug#8260).
25111
25112 2011-05-12 Glenn Morris <rgm@gnu.org>
25113
25114 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25115 Let byte-compile-initial-macro-environment always take precedence.
25116
25117 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25118
25119 * net/rcirc.el: Add support for SSL/TLS connections.
25120 (rcirc-server-alist): New field `encryption'.
25121 (rcirc): Check `encryption' settings.
25122 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25123 Merge make-local-variable into `set'.
25124 (rcirc--connection-open-p): New function.
25125 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25126 the process is not a network process (e.g. running gnutls-cli).
25127 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25128 Make rcirc-(en|de)code-coding-system local here.
25129 (rcirc-mode): Merge make-local-variable into `set'.
25130 (rcirc-parent-buffer): Make permanent buffer-local.
25131 (rcirc-multiline-minor-mode): Don't do it here.
25132 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25133 there's no server buffer.
25134
25135 2011-05-11 Glenn Morris <rgm@gnu.org>
25136
25137 * newcomment.el (comment-kill): Prefix "unused" local.
25138
25139 * term/w32console.el (get-screen-color): Declare.
25140
25141 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25142 Handle symbol elements of byte-compile-initial-macro-environment.
25143
25144 2011-05-10 Leo Liu <sdl.web@gmail.com>
25145
25146 * bookmark.el (bookmark-bmenu-mode-map):
25147 Bind bookmark-bmenu-search to `/'.
25148
25149 * mail/footnote.el: Convert to utf-8 encoding.
25150 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25151 (Footnote-unicode): New function.
25152 (footnote-style-alist): Add unicode style to the list.
25153 (footnote-style): Doc fix.
25154
25155 2011-05-10 Jim Meyering <meyering@redhat.com>
25156
25157 Fix doubled-word typos.
25158 * international/quail.el (quail-insert-kbd-layout): and and -> and
25159 * kermit.el: and and -> and
25160 * net/ldap.el (ldap-search-internal): to to -> to
25161 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25162 * progmodes/js.el (js-mode): and and -> and
25163 * textmodes/artist.el (artist-move-to-xy): at at -> at
25164 (artist-draw-region-trim-line-endings): if if -> if
25165 And Safetyc -> Safety.
25166 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25167
25168 2011-05-10 Glenn Morris <rgm@gnu.org>
25169 Stefan Monnier <monnier@iro.umontreal.ca>
25170
25171 * files.el (hack-one-local-variable-eval-safep):
25172 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25173
25174 2011-05-10 Glenn Morris <rgm@gnu.org>
25175
25176 * calendar/diary-lib.el (diary-list-entries-hook)
25177 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25178 (diary-nongregorian-marking-hook, diary-list-entries)
25179 (diary-include-other-diary-files, diary-mark-entries)
25180 (diary-mark-included-diary-files): Doc fixes.
25181
25182 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25183
25184 * misc.el: Require tabulated-list.el during compilation.
25185
25186 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25187
25188 * progmodes/compile.el (compilation-start):
25189 Run compilation-filter-hook for the async case too.
25190 (compilation-filter-hook): Doc fix.
25191
25192 2011-05-09 Deniz Dogan <deniz@dogan.se>
25193
25194 * wdired.el: Remove outdated installation comment. Fix usage
25195 comment.
25196
25197 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25198
25199 * misc.el: Implement new command `list-dynamic-libraries'.
25200 (list-dynamic-libraries--loaded-only-p): New variable.
25201 (list-dynamic-libraries--refresh): New function.
25202 (list-dynamic-libraries): New command.
25203
25204 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25205
25206 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25207 Fix the ant regexp to handle end-line and end-column info from jikes.
25208 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25209 higher priority to avoid clobbering by gnu.
25210
25211 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25212
25213 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25214 if the face has existing theme settings (Bug#8454).
25215
25216 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25217
25218 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25219 Only match variables declared via `my' or `our' (Bug#8261).
25220
25221 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25222 special file names `.' and `..' (Bug#8259).
25223
25224 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25225
25226 * progmodes/grep.el (grep-mode-font-lock-keywords):
25227 Remove buffer-changing entries.
25228 (grep-filter): New function.
25229 (grep-mode): Add it to compilation-filter-hook.
25230
25231 * progmodes/compile.el (compilation-filter-hook)
25232 (compilation-filter-start): New defvars.
25233 (compilation-filter): Call compilation-filter-hook prior to
25234 updating the process mark.
25235
25236 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25237
25238 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25239
25240 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25241
25242 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25243 mailclient-send-it even if window-system is nil. (Bug#8595)
25244
25245 * term/w32console.el (terminal-init-w32console):
25246 Call get-screen-color and use its output to set the frame
25247 background-mode. (Bug#8597)
25248
25249 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25250
25251 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25252 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25253 New functions.
25254 (defgeneric, eieio--defmethod): Use them.
25255 (eieio-defgeneric): Remove.
25256 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25257
25258 2011-05-07 Glenn Morris <rgm@gnu.org>
25259
25260 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25261 Use let rather than let*.
25262 (timeclock-find-discrep): Remove unused local.
25263
25264 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25265
25266 * calendar/appt.el (appt-time-msg-list): Doc fix.
25267
25268 2011-05-06 Noah Friedman <friedman@splode.com>
25269
25270 * apropos.el (apropos-print-doc): Only use
25271 emacs-lisp-docstring-fill-column when it is bound to an integer,
25272 per that variable's documentation.
25273
25274 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25275
25276 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25277 and warnings are not silently discarded (e.g. use -d instead of -P).
25278
25279 2011-05-06 Glenn Morris <rgm@gnu.org>
25280
25281 * calendar/appt.el (appt-message-warning-time): Doc fix.
25282 (appt-warning-time-regexp): New option.
25283 (appt-make-list): Respect appt-message-warning-time.
25284
25285 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25286 New options.
25287 (diary-add-to-list): Strip comments from the displayed string.
25288 (diary-mode): Set comment-start and comment-end.
25289
25290 * vc/diff-mode.el (smerge-refine-subst): Declare.
25291 (diff-refine-hunk): Don't require smerge-mode when compiling.
25292
25293 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25294
25295 * simple.el (list-processes): Return nil as the docstring says.
25296
25297 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25298
25299 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25300 to "".
25301 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25302 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25303 determining of binary transfer. (Bug#7383)
25304
25305 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25306
25307 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25308 Fix port computation bug. (Bug#8618)
25309
25310 2011-05-05 Glenn Morris <rgm@gnu.org>
25311
25312 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25313
25314 * simple.el (shell-dynamic-complete-functions)
25315 (comint-dynamic-complete-functions): Declare.
25316
25317 * net/network-stream.el (gnutls-negotiate):
25318 * simple.el (tabulated-list-print): Fix declarations.
25319
25320 * progmodes/gud.el (syntax-symbol, syntax-point):
25321 Remove unnecessary and incorrect declarations.
25322
25323 * emacs-lisp/check-declare.el (check-declare-scan):
25324 Handle byte-compile-initial-macro-environment in bytecomp.el.
25325
25326 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25327
25328 Fix earlier half-done eieio-defmethod change (bug#8338).
25329 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25330 Streamline and change calling convention.
25331 (defmethod): Adjust accordingly and simplify.
25332 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25333 new eieio--defmethod.
25334 (slot-boundp): Minor CSE simplification.
25335
25336 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25337
25338 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25339 (glasses-make-readable): Use glasses-separate-capital-groups.
25340
25341 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25342
25343 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25344 (warning-series): Doc fix.
25345 (display-warning): Don't try to create the buffer if we just found it.
25346
25347 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25348
25349 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25350 (autoload-find-generated-file): New function.
25351 (generate-file-autoloads): Bind generated-autoload-file to
25352 buffer-file-name.
25353 (update-file-autoloads, update-directory-autoloads):
25354 Use autoload-find-generated-file. If called interactively, prompt for
25355 output file (Bug#7989).
25356 (batch-update-autoloads): Doc fix.
25357
25358 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25359
25360 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25361
25362 2011-05-04 Glenn Morris <rgm@gnu.org>
25363
25364 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25365 function, so it follows changes in calendar-date-style.
25366 (diary-fancy-date-matcher): New function.
25367 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25368 (diary-fancy-font-lock-fontify-region-function):
25369 Use diary-fancy-date-pattern as a function.
25370
25371 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25372 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25373
25374 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25375
25376 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25377 instead of positional arguments. Allow :keylist and :crlfiles
25378 arguments.
25379 (open-gnutls-stream): Call it.
25380
25381 * net/network-stream.el (network-stream-open-starttls): Adjust to
25382 call `gnutls-negotiate' with :process and :hostname arguments.
25383
25384 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25385
25386 * minibuffer.el (completion--message): New function.
25387 (completion--do-completion, minibuffer-complete)
25388 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25389 (completion--do-completion): Don't ignore completion-auto-help when in
25390 icomplete-mode.
25391
25392 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25393 internal encoding (e.g. tibetan zero is not whitespace).
25394 (global-whitespace-mode): Prefer save-current-buffer.
25395 (whitespace-trailing-regexp): Remove useless save-match-data.
25396 (whitespace-empty-at-bob-regexp): Minor simplification.
25397
25398 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25399
25400 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25401
25402 2011-05-03 AgustĂ­n MartĂ­n Domingo <agustin.martin@hispalinux.es>
25403
25404 * textmodes/ispell.el (ispell-add-per-file-word-list):
25405 Use `concat' to create string for insertion.
25406
25407 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25408
25409 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25410 Avoid open-line which runs post-self-insert-hook.
25411 (bibtex-fill-entry): Remove unused `end' var.
25412
25413 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25414
25415 * textmodes/ispell.el (ispell-add-per-file-word-list):
25416 Protect against `nil' value of `comment-start' (Bug#8579).
25417
25418 2011-05-03 Leo Liu <sdl.web@gmail.com>
25419
25420 * isearch.el (isearch-yank-pop): New command.
25421 (isearch-mode-map): Bind it to `M-y'.
25422 (isearch-forward): Mention it.
25423
25424 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25425
25426 * simple.el (minibuffer-complete-shell-command): Remove.
25427 (minibuffer-local-shell-command-map): Use completion-at-point.
25428 (read-shell-command): Setup completion vars here instead.
25429 (read-expression-map): Bind TAB to symbol completion.
25430
25431 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25432 error directly rather via storing it into `results'.
25433
25434 2011-05-02 Leo Liu <sdl.web@gmail.com>
25435
25436 * vc/diff.el: Fix description.
25437
25438 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25439
25440 * server.el (server-eval-at): New function.
25441
25442 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25443
25444 * net/network-stream.el (open-network-stream): Take a :nowait
25445 parameter and pass it on to `make-network-process'.
25446 (network-stream-open-plain): Ditto.
25447
25448 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25449
25450 * faces.el (face-spec-set-match-display): Don't match toolkit
25451 options on terminal frames.
25452
25453 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25454
25455 * progmodes/pascal.el: Use lexical binding.
25456 (pascal-mode-map): Remove author preferences.
25457
25458 * pcomplete.el (pcomplete-std-complete): Don't abuse
25459 completion-at-point.
25460
25461 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25462
25463 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25464 removing code that has been dead since 1991 or so.
25465
25466 * startup.el (command-line): When warning about "_emacs", use a
25467 delayed warning to allow the user to filter it out.
25468
25469 2011-04-28 Deniz Dogan <deniz@dogan.se>
25470
25471 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25472 user has not joined.
25473
25474 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25475
25476 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25477 aren't any completions at point.
25478
25479 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25480
25481 * subr.el (display-delayed-warnings): New function.
25482 (delayed-warnings-hook): New variable.
25483
25484 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25485
25486 * minibuffer.el (completion-at-point, completion-help-at-point):
25487 Don't presume that a given completion-at-point-function will always
25488 use the same calling convention.
25489
25490 * pcomplete.el (pcomplete-completions-at-point):
25491 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25492 pcomplete-seen is non-nil.
25493 (pcomplete-comint-setup): Also recognize the new comint/shell
25494 completion functions.
25495 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25496 pcomplete-seen is non-nil.
25497
25498 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25499
25500 * calendar/icalendar.el (diary-lib): Add require statement.
25501 (icalendar--create-uid): Read out a uid from a text-property on
25502 the first character in the entry. This allows for code to add its
25503 own uid to the entry.
25504 (icalendar--convert-float-to-ical): Add export of
25505 `diary-float'-entries save for those with the optional DAY
25506 argument.
25507
25508 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25509
25510 * subr.el (shell-quote-argument): Use alternate escaping strategy
25511 when we spot a variable reference in a string.
25512
25513 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25514
25515 * cus-start.el (all): Define customization for debug-on-event.
25516
25517 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25518
25519 * subr.el (shell-quote-argument): Escape correctly under Windows.
25520
25521 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25522
25523 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25524
25525 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25526
25527 * net/tramp.el (tramp-process-actions): Add POS argument.
25528 Delete region between POS and (pos).
25529
25530 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25531 Use `nil' position in `tramp-process-actions' call.
25532 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25533
25534 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25535 position in `tramp-process-actions' call.
25536
25537 * net/trampver.el: Update release number.
25538
25539 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25540
25541 * custom.el (defcustom): Obey lexical-binding.
25542
25543 Fix octave-inf completion problems reported by Alexander Klimov.
25544 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25545 Inherit from octave-mode-syntax-table.
25546 (inferior-octave-mode): Set info-lookup-mode.
25547 (inferior-octave-completion-at-point): New function.
25548 (inferior-octave-complete): Use it and completion-in-region.
25549 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25550 comint-filename-completion.
25551 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25552 symbol elements which shouldn't be word elements.
25553 (octave-font-lock-keywords, octave-beginning-of-defun)
25554 (octave-function-header-regexp): Adjust regexps accordingly.
25555 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25556
25557 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25558
25559 * net/gnutls.el (gnutls-errorp): Declare before first use.
25560
25561 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25562
25563 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25564 verify-error, and verify-hostname-error parameters. Check whether
25565 default trustfile exists before going to use it. Add missing
25566 argument to gnutls-message-maybe call. Return value.
25567 Reported by Claudio Bley <claudio.bley@gmail.com>.
25568 (open-gnutls-stream): Add usage example.
25569
25570 * net/network-stream.el (network-stream-open-starttls): Give host
25571 parameter to `gnutls-negotiate'.
25572 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25573 * subr.el (shell-quote-argument): Escape correctly under Windows.
25574
25575 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25576
25577 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25578 Use correct match group (bug#8438).
25579
25580 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25581
25582 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25583 (package-menu--generate): New arg specifying packages to show.
25584 (package-menu-refresh, package-menu-execute, list-packages):
25585 Callers changed.
25586 (package-show-package-list): New function, replacing deleted
25587 package--list-packages (renamed because it is non-internal).
25588
25589 * finder.el (finder-list-matches): Use package-show-package-list
25590 instead of deleted package--list-packages.
25591
25592 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25593 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25594 (vc-annotate-mode-map): Bind it to RET.
25595
25596 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25597
25598 * progmodes/etags.el (next-file): Don't use set-buffer to change
25599 buffers (Bug#8478).
25600
25601 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25602
25603 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25604
25605 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25606 (apropos-accumulator): Doc fix.
25607 (apropos-function, apropos-macro, apropos-command)
25608 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25609 (apropos-plist): Add face property.
25610 (apropos-symbols-internal): Fix indentation.
25611 (apropos-print): Simplify help, and recognize apropos-multi-type.
25612 (apropos-print-doc): Use button-type-get to extract the button's
25613 face property. Fill docstring (Bug#8352).
25614
25615 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25616
25617 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25618
25619 * play/mpuz.el (mpuz-silent): Doc fix.
25620 (mpuz-mode-map): Use mapc.
25621 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25622 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25623 Fix typos in docstrings.
25624
25625 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25626 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25627
25628 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25629
25630 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25631
25632 * minibuffer.el (completion--do-completion): Avoid the "Next char
25633 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25634
25635 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25636 mouse-2 into unread-command-events, it is interpreted correctly.
25637
25638 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25639 (image-toggle-display): Doc fix.
25640
25641 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25642
25643 * textmodes/page.el (what-page): Use line-number-at-pos to
25644 calculate line number (Bug#6825).
25645
25646 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25647
25648 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25649 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25650 Pass argument NO-DEFAULT to `find-tag-interactive'.
25651
25652 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25653
25654 Lexical-binding cleanup.
25655
25656 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25657 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25658 * progmodes/ada-prj.el (ada-prj-initialize-values)
25659 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25660 (ada-prj-show-value):
25661 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25662 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25663 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25664 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25665 * progmodes/bug-reference.el (bug-reference-push-button):
25666 * progmodes/fortran.el (fortran-line-length):
25667 * progmodes/glasses.el (glasses-change):
25668 * progmodes/octave-mod.el (octave-fill-paragraph):
25669 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25670 (python-pdbtrack-grub-for-buffer, python-sentinel):
25671 * progmodes/sql.el (sql-save-connection):
25672 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25673 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25674 Mark unused parameters.
25675
25676 * progmodes/compile.el (compilation--flush-directory-cache)
25677 (compilation--flush-parse, compile-internal): Mark unused parameters.
25678 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25679 (compilation-next-error-function): Remove unused variable `timestamp'.
25680
25681 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25682 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25683
25684 * progmodes/dcl-mode.el (dcl-end-of-command):
25685 Remove unused variable `start'.
25686 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25687 (dcl-option-value-basic, dcl-option-value-offset)
25688 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25689 Mark unused parameters.
25690 (dcl-save-local-variable): Remove unused variable `val'.
25691 (mode): Declare.
25692
25693 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25694 Mark unused parameters.
25695 (delphi-ignore-changes): Move before first use.
25696 (delphi-charset-token-at): Remove unused variable `start'.
25697 (delphi-else-start): Remove unused variable `if-count'.
25698 (delphi-comment-block-start, delphi-comment-block-end):
25699 Remove unused variable `kind'.
25700 (delphi-indent-line): Remove unused variable `new-point'.
25701
25702 * progmodes/ebrowse.el (ebrowse-files-list)
25703 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25704 Mark unused parameters. Don't quote `lambda'.
25705 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25706 Don't quote `lambda'.
25707 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25708 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25709 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25710 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25711 Use `ignore-errors'.
25712 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25713 (ebrowse-view/find-file-and-search-pattern)
25714 (ebrowse-view/find-member-declaration/definition):
25715 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25716 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25717 Rename parameter PREFIX-ARG to PREFIX.
25718 (ebrowse-tags-read-name): Remove unused variables `start' and
25719 `member-info'.
25720 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25721 to `tags-file'.
25722
25723 * progmodes/etags.el (local-find-tag-hook): Declare.
25724 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25725 Mark unused parameters.
25726
25727 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25728 (executable-interpret): Mark unused parameter.
25729
25730 * progmodes/flymake.el (flymake-process-sentinel)
25731 (flymake-after-change-function)
25732 (flymake-create-temp-with-folder-structure)
25733 (flymake-get-include-dirs-dot): Mark unused parameters.
25734 (flymake-safe-delete-directory): Remove unused variable `err'.
25735
25736 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25737 (speedbar-timer-fn, speedbar-line-text)
25738 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25739 (speedbar-center-buffer-smartly): Declare functions.
25740 (gdb-find-watch-expression): Remove unused variable `array'.
25741 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25742 (gdb-starting): Mark unused parameters.
25743 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25744 (gdb-table-string): Remove unused variable `res'.
25745 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25746 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25747 (gdb-display-buffer): Remove unused variable `cur-size'.
25748
25749 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25750 allow lexical-binding compilation.
25751 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25752 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25753 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25754 Mark unused parameters.
25755 (gud-gdb-marker-filter): Remove unused variable `match'.
25756 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25757 lambda expressions and funcall them, instead of using `fset'.
25758
25759 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25760 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25761
25762 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25763 variable `header-beg'; use `let'.
25764
25765 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25766 `restart', `last-sexp' and `at-do'.
25767
25768 * progmodes/js.el (js--debug): Mark unused parameter.
25769 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25770 (js--splice-into-items): Remove unused variable `item'.
25771 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25772
25773 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25774 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25775 (makefile-complete): Remove unused variable `try'.
25776 (makefile-fill-paragraph, makefile-match-function-end):
25777 Mark unused parameters.
25778
25779 * progmodes/octave-inf.el (inferior-octave-complete):
25780 Remove unused variable `proc'.
25781 (inferior-octave-output-digest): Mark unused parameter.
25782
25783 * progmodes/perl-mode.el (perl-calculate-indent):
25784 Remove unused variable `err'.
25785
25786 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25787 (prolog-indent-line): Mark unused parameters.
25788 (prolog-indent-line): Remove unused variable `beg'.
25789
25790 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25791 (reporter-dont-compact-list): Declare.
25792
25793 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25794 Remove unused variable `char'.
25795 (sh-debug): Mark unused parameter.
25796 (sh-get-indent-info): Remove unused variable `start'.
25797 (sh-calculate-indent): Remove unused variable `var'.
25798
25799 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25800 (simula-electric-keyword): Remove unused variable `null'.
25801 (simula-search-backward, simula-search-forward): Remove unused
25802 variables `begin' and `end'.
25803
25804 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25805 Remove unused variable `pos'.
25806 (vera-electric-tab, vera-comment-uncomment-region):
25807 Mark unused parameters.
25808 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25809
25810 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25811
25812 * emacs-lisp/package.el (package--builtins, package-alist)
25813 (package-load-descriptor, package-built-in-p, package-activate)
25814 (define-package, package-installed-p)
25815 (package-compute-transaction, package-buffer-info)
25816 (package--push): Doc fix. Distinguish more clearly between
25817 version strings and version lists.
25818
25819 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25820
25821 Lexical-binding cleanup.
25822
25823 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25824 (5x5-make-mutate-best):
25825 * play/fortune.el (fortune-in-buffer):
25826 * play/gomoku.el (gomoku-init-display):
25827 * play/solitaire.el (solitaire, solitaire-do-check):
25828 * play/tetris.el (tetris-default-update-speed-function):
25829 Mark unused parameters.
25830
25831 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25832 (bubbles--shift): Remove unused variable `char-org'.
25833 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25834 (bubbles--show-images): Remove unused variable `char'.
25835
25836 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25837 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25838 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25839 (decipher-analyze-buffer): Use ?\s.
25840 (decipher-make-checkpoint): Remove unused variable `mapping'.
25841
25842 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25843
25844 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25845 Remove unused variable `result'; use `let'.
25846
25847 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25848 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25849 (gametree-children-shown-p, gametree-compute-reduced-score):
25850 Use `ignore-errors'.
25851
25852 * play/handwrite.el (ps-lpr-switches): Declare.
25853 (handwrite): Remove unused variables `pmin' and `lastp'.
25854
25855 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25856
25857 * play/landmark.el (landmark-init-display)
25858 (landmark-update-naught-weights): Mark unused parameters.
25859 (landmark-y): Remove unused variable `noise'. Simplify.
25860 (landmark-human-plays): Remove unused variable `score'.
25861
25862 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25863 (mpuz-try-proposal): Remove unused variable `game'.
25864
25865 * play/zone.el (life-patterns): Declare.
25866
25867 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25868
25869 * vc/vc.el (ediff-vc-internal): Declare function.
25870
25871 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25872
25873 * shell.el: Use lexical-binding and std completion UI.
25874 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25875 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25876 comint-preoutput-filter-functions rather than on
25877 comint-output-filter-functions.
25878 (shell-command-completion, shell--command-completion-data)
25879 (shell-filename-completion, shell-environment-variable-completion)
25880 (shell-c-a-p-replace-by-expanded-directory): New functions.
25881 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25882 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25883 (shell-dynamic-complete-environment-variable): Use them.
25884 (shell-dynamic-complete-as-environment-variable)
25885 (shell-dynamic-complete-as-command): Remove.
25886 (shell-match-partial-variable): Match past point.
25887 * comint.el: Clean up use of completion-at-point-functions.
25888 (comint-completion-at-point): New function.
25889 (comint-mode): Use it completion-at-point-functions.
25890 (comint-dynamic-complete): Make it obsolete.
25891 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25892 (comint-c-a-p-replace-by-expanded-history): New function.
25893 (comint-dynamic-complete-functions)
25894 (comint-replace-by-expanded-history): Use it.
25895 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25896 termination strings. Try harder to avoid second try-completion.
25897 (completion-in-region-mode-map): Disable bindings that don't work yet.
25898
25899 * comint.el: Use lexical-binding. Require CL.
25900 (comint-dynamic-complete-functions): Use comint-filename-completion.
25901 (comint-completion-addsuffix): Tweak custom type.
25902 (comint-filename-completion, comint--common-suffix)
25903 (comint--common-quoted-suffix, comint--table-subvert)
25904 (comint--complete-file-name-data): New functions.
25905 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25906 (comint-dynamic-list-filename-completions): Use them.
25907 (comint-dynamic-simple-complete): Make obsolete.
25908
25909 * minibuffer.el (completion-in-region-mode):
25910 Keep completion-in-region-mode--predicate global.
25911 (completion-in-region--postch):
25912 Assume completion-in-region-mode--predicate is not null.
25913
25914 * progmodes/flymake.el (flymake-start-syntax-check-process):
25915 Obey `dir'. Simplify.
25916
25917 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25918 we're in VC after all.
25919
25920 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25921
25922 * vc/vc.el (vc-diff-build-argument-list-internal)
25923 (vc-version-ediff, vc-ediff): New commands.
25924 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25925
25926 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25927
25928 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25929 add sanity check.
25930
25931 * obsolete/erc-hecomplete.el: Make obsolete.
25932 * obsolete/: Standardize obsolescence info in the header.
25933
25934 2011-04-20 Glenn Morris <rgm@gnu.org>
25935
25936 * calendar/solar.el (solar-horizontal-coordinates):
25937 Use the longitude argument rather than `calendar-longitude'.
25938 (solar-date-next-longitude): Remove unused locals.
25939
25940 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25941
25942 * whitespace.el: New version 13.2.1.
25943
25944 2011-04-20 felix <EmacsWiki> (tiny change)
25945
25946 * whitespace.el (global-whitespace-mode): Keep highlight when
25947 switching between major modes on a file.
25948
25949 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25950
25951 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25952 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25953 multi-line comments as well.
25954
25955 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25956
25957 Lexical-binding cleanup.
25958
25959 * arc-mode.el (archive-mode-revert):
25960 * cmuscheme.el (scheme-interactively-start-process):
25961 * custom.el (custom-initialize-delay):
25962 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25963 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25964 * emacs-lock.el (emacs-lock-clear-sentinel):
25965 * ezimage.el (defezimage):
25966 * follow.el (follow-avoid-tail-recenter):
25967 * fringe.el (set-fringe-mode-1):
25968 * generic-x.el (bat-generic-mode-compile):
25969 * help-mode.el (help-info-variable, help-do-xref)
25970 (help-mode-revert-buffer):
25971 * help.el (view-emacs-todo):
25972 * iswitchb.el (iswitchb-completion-help):
25973 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25974 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25975 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25976 * locate.el (locate-update):
25977 * longlines.el (longlines-encode-region)
25978 (longlines-after-change-function):
25979 * outline.el (outline-isearch-open-invisible):
25980 * ps-def.el (declare-function, charset-dimension, char-width)
25981 (encode-char):
25982 * ps-mule.el (ps-mule-plot-string):
25983 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25984 (recentf-edit-list-select, recentf-edit-list-validate)
25985 (recentf-open-files-action):
25986 * rect.el (delete-whitespace-rectangle-line)
25987 (rectangle-number-line-callback):
25988 * register.el (window-configuration-to-register)
25989 (frame-configuration-to-register):
25990 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25991 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25992 (xselect-convert-to-targets, xselect-convert-to-delete)
25993 (xselect-convert-to-filename, xselect-convert-to-charpos)
25994 (xselect-convert-to-lineno, xselect-convert-to-colno)
25995 (xselect-convert-to-os, xselect-convert-to-host)
25996 (xselect-convert-to-user, xselect-convert-to-class)
25997 (xselect-convert-to-name, xselect-convert-to-integer)
25998 (xselect-convert-to-atom, xselect-convert-to-identity):
25999 * subr.el (declare, ignore, process-kill-without-query)
26000 (text-clone-maintain):
26001 * terminal.el (te-get-char, te-tic-sentinel):
26002 * tool-bar.el (tool-bar-make-keymap):
26003 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
26004 * type-break.el (type-break-mode, type-break-noninteractive-query):
26005 * view.el (View-back-to-mark):
26006 * wid-browse.el (widget-browse-action, widget-browse-widget)
26007 (widget-browse-widgets, widget-browse-sexp):
26008 * widget.el (define-widget-keywords):
26009 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
26010 Mark unused parameters.
26011
26012 * align.el (align-adjust-col-for-rule): Mark unused parameter.
26013 (align-areas): Remove unused variable `look'.
26014 (align-region): Remove unused variables `real-end' and `pos-list'.
26015
26016 * apropos.el (apropos-score-doc): Remove unused variable `i'.
26017
26018 * bindings.el (mode-line-modified, mode-line-remote):
26019 Mark unused parameters.
26020 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
26021
26022 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
26023 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
26024
26025 * comint.el (comint-history-isearch-pop-state)
26026 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
26027 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
26028 (comint-substitute-in-file-name): Doc fix.
26029
26030 * completion.el (cmpl-statistics-block): Mark unused parameter.
26031 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
26032 (save-completions-to-file, load-completions-from-file):
26033 Remove unused local variable `e'.
26034
26035 * composite.el (compose-chars): Remove unused variable `len'.
26036 (lgstring-insert-glyph): Remove unused variable `g'.
26037 (compose-glyph-string): Remove unused variables `ascent',
26038 `descent', `lbearing' and `rbearing'.
26039 (compose-glyph-string-relative): Remove unused variables
26040 `lbearing', `rbearing' and `wadjust'.
26041 (compose-gstring-for-graphic): Remove unused variables `header',
26042 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
26043 (compose-gstring-for-terminal): Remove unused variables `header'
26044 and `nchars'. Use `let', not `let*'.
26045
26046 * cus-edit.el (Custom-set, Custom-save, custom-reset)
26047 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
26048 (Custom-buffer-done, custom-buffer-create-internal)
26049 (custom-browse-visibility-action, custom-browse-group-tag-action)
26050 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
26051 (widget-magic-mouse-down-action, custom-toggle-parent)
26052 (custom-add-parent-links, custom-toggle-hide-variable)
26053 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
26054 (custom-toggle-hide-face, face, hook, custom-group-link-action)
26055 (custom-face-menu-create, custom-variable-menu-create, get)
26056 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
26057 (custom-reset-standard-save-and-update): Remove unused variable `value'.
26058 (customize-apropos): Remove unused variable `tests'.
26059 (custom-group-value-create): Remove unused variable `hidden-p'.
26060 (sort-fold-case): Declare.
26061
26062 * cus-theme.el (custom-reset-standard-faces-list)
26063 (custom-reset-standard-variables-list): Declare.
26064 (customize-create-theme, custom-theme-revert, custom-theme-write)
26065 (custom-theme-choose-mode, customize-themes, custom-theme-save):
26066 Mark unused parameters.
26067
26068 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26069
26070 * delim-col.el (delimit-columns-max): Move defvar before first use.
26071
26072 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26073 (describe-char): Don't quote `lambda'. Mark unused parameter.
26074
26075 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26076 (auto-insert): Declare.
26077 (desktop-restore-file-buffer): Rename desktop-* parameters;
26078 mark unused ones.
26079 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26080 (desktop-buffer): Rename desktop-* parameters.
26081
26082 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26083 (dframe-reposition-frame-xemacs, dframe-help-echo)
26084 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26085 Mark unused parameters.
26086
26087 * dired-aux.el (backup-extract-version-start, overwrite-query)
26088 (overwrite-backup-query, rename-regexp-query)
26089 (rename-non-directory-query): Declare.
26090 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26091 (dired-add-entry): Remove unused variable `orig-file-name'.
26092 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26093 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26094 `dired-copy-preserve-time' directly.
26095 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26096 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26097
26098 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26099 (dired-virtual-revert, dired-make-relative-symlink):
26100 Mark unused parameters.
26101 (manual-program): Declare.
26102 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26103 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26104 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26105
26106 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26107
26108 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26109
26110 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26111 Declare.
26112
26113 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26114
26115 * electric.el (Electric-command-loop): Rename parameter
26116 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26117
26118 * expand.el (expand-in-literal): Remove unused variable `here'.
26119
26120 * facemenu.el (facemenu-add-new-color):
26121 Remove unused variable `docstring'.
26122
26123 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26124 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26125 (face-attr-construct): Mark unused parameter. Doc fix.
26126 (read-color): Remove unused variable `hex-string'.
26127
26128 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26129 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26130 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26131 (display-buffer-other-frame): Remove unused variable `old-window'.
26132 (kill-buffer-hook): Declare.
26133 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26134 Mark unused parameters.
26135 (after-find-file): Pass 1 to `auto-save-mode', not t.
26136
26137 * files-x.el (auto-insert): Declare.
26138 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26139
26140 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26141 variable `buf'. Mark unused parameter.
26142 (find-lisp-insert-directory): Mark unused parameter.
26143
26144 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26145 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26146 (format-common-tail): Remove, unused.
26147 (format-deannotate-region): Remove unused variable `loc'.
26148 (format-annotate-region): Remove unused variable `p'.
26149 (format-annotate-single-property-change): Remove unused variables
26150 `default' and `tail'.
26151
26152 * forms.el (read-file-filter): Declare.
26153 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26154
26155 * frame.el (frame-creation-function-alist): Mark unused parameter.
26156 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26157
26158 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26159 Remove unused parameters.
26160 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26161 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26162
26163 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26164 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26165 (hfy-prepare-tag-map): Mark unused parameters.
26166 (htmlfontify-buffer): Use `called-interactively-p'.
26167
26168 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26169 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26170 (ibuffer-do-occur): Mark unused parameters.
26171 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26172 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26173
26174 * ibuffer.el: Don't quote `lambda'.
26175 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26176 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26177 Mark unused parameters.
26178
26179 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26180 (ido-completing-read): Mark unused parameters.
26181 (ido-copy-current-word): Mark unused parameters;
26182 remove unused variable `name'.
26183 (ido-sort-merged-list): Remove unused parameter `dirs'.
26184
26185 * ielm.el (ielm-input-sender): Mark unused parameter.
26186 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26187 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26188 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26189 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26190 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26191
26192 * image-dired.el (image-dired-display-thumbs): Remove unused
26193 variables `curr-file' and `count'.
26194 (image-dired-remove-tag): Remove unused variable `start'.
26195 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26196 variable `curr-file'
26197 (image-dired-rotate-original): Remove unused variable `temp-file'.
26198 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26199 Remove unused variable `file'.
26200 (image-dired-gallery-generate): Remove unused variable `curr'.
26201 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26202
26203 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26204
26205 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26206
26207 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26208
26209 * isearch.el (minibuffer-history-symbol): Declare.
26210 (isearch-edit-string): Remove unused variable `err'.
26211 (isearch-message-prefix, isearch-message-suffix):
26212 Mark unused parameters.
26213
26214 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26215
26216 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26217
26218 * makesum.el (double-column): Remove unused variable `cnt'.
26219
26220 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26221 (ido-ignore-item-temp-list): Declare.
26222
26223 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26224 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26225 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26226 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26227 `mouse-col-delta'.
26228
26229 * mouse-sel.el (mouse-extend-internal):
26230 Remove unused variable `orig-window-frame'.
26231
26232 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26233 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26234 Move declarations before first use.
26235 (pcomplete-opt): Mark unused parameters; doc fix.
26236
26237 * proced.el (proced-revert): Mark unused parameter.
26238 (proced-send-signal): Remove unused variable `err'.
26239
26240 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26241 Rename parameter PREFIX-ARG to ARG.
26242 (ps-basic-plot-string, ps-basic-plot-whitespace):
26243 Mark unused parameters.
26244
26245 * replace.el (replace-count): Define.
26246 (occur-revert-function): Mark unused parameters.
26247 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26248 (isearch-case-fold-search, isearch-string): Declare.
26249 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26250 bind `case-fold-search'. Remove unused variables `beg' and `end',
26251 and simplify.
26252 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26253 COUNT and bind `replace-count'.
26254 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26255 to COUNT.
26256
26257 * savehist.el (print-readably, print-string-length): Declare.
26258
26259 * shadowfile.el (shadow-expand-cluster-in-file-name):
26260 Remove unused variable `cluster'.
26261 (shadow-copy-file): Remove unused variable `i'.
26262 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26263 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26264 (shadow-define-literal-group, shadow-define-regexp-group)
26265 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26266
26267 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26268 (shell): Use `called-interactively-p'.
26269 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26270
26271 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26272 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26273 (delete-backward-char): Remove unused variable `ocol'.
26274 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26275 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26276 (event-apply-hyper-modifier, event-apply-shift-modifier)
26277 (event-apply-control-modifier, event-apply-meta-modifier):
26278 Mark unused parameters.
26279 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26280 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26281
26282 * speedbar.el (speedbar-ignored-directory-expressions)
26283 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26284 (speedbar-find-file, speedbar-dir-follow)
26285 (speedbar-directory-buttons-follow, speedbar-tag-find)
26286 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26287 (speedbar-buffers-line-directory, speedbar-buffer-click):
26288 Mark unused parameters.
26289 (speedbar-tag-file): Remove unused variable `mode'.
26290 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26291
26292 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26293
26294 * talk.el (talk): Remove unused variable `display'.
26295
26296 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26297 (tar-write-region-annotate): Mark unused parameter.
26298
26299 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26300 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26301 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26302 warning by another.
26303
26304 * time-stamp.el (time-stamp-string-preprocess):
26305 Remove unused variable `require-padding'.
26306
26307 * tree-widget.el (widget-glyph-enable): Declare.
26308 (tree-widget-action): Mark unused parameter.
26309
26310 * w32-fns.el (x-get-selection): Mark unused parameter.
26311 (autoload-make-program, generated-autoload-file): Declare.
26312
26313 * wdired.el (wdired-revert): Mark unused parameters.
26314 (wdired-xcase-word): Remove unused variable `err'.
26315
26316 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26317 (whitespace-help-scroll): Remove unused variable `data-help'.
26318
26319 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26320 (widget-image-insert, widget-after-change, default)
26321 (widget-default-format-handler, widget-default-notify)
26322 (widget-default-prompt-value, widget-info-link-action)
26323 (widget-url-link-action, widget-function-link-action)
26324 (widget-variable-link-action, widget-file-link-action)
26325 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26326 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26327 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26328 (widget-insert-button-action, widget-delete-button-action, visibility)
26329 (widget-documentation-link-action, widget-documentation-string-action)
26330 (widget-const-prompt-value, widget-regexp-match, symbol)
26331 (widget-coding-system-prompt-value)
26332 (widget-key-sequence-value-to-external, sexp)
26333 (widget-sexp-value-to-internal, character, vector, cons)
26334 (widget-choice-prompt-value, widget-boolean-prompt-value)
26335 (widget-color--choose-action): Mark unused parameters.
26336 (widget-item-match-inline, widget-choice-match-inline)
26337 (widget-checklist-match, widget-checklist-match-inline)
26338 (widget-group-match): Rename parameter VALUES to VALS.
26339 (widget-field-value-set): Remove unused variable `size'.
26340 (widget-color-action): Remove unused variables `value' and `start'.
26341
26342 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26343 variable `dir'. Doc fix.
26344 (windmove-find-other-window): Don't pass it.
26345
26346 * window.el (count-windows): Mark unused parameter.
26347 (bw-adjust-window): Remove unused variable `err'.
26348
26349 * woman.el (woman-file-name): Remove unused variable `default'.
26350 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26351 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26352 (global-font-lock-mode): Declare.
26353 (woman-decode-region): Mark unused parameter.
26354 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26355
26356 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26357 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26358 (x-dnd-handle-moz-url): Remove unused variable `title'.
26359 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26360
26361 * xml.el (xml-parse-tag, xml-parse-attlist):
26362 Remove unused variable `pos'.
26363
26364 2011-04-19 Glenn Morris <rgm@gnu.org>
26365
26366 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26367 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26368 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26369 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26370 * calendar/cal-html.el (cal-html-insert-minical):
26371 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26372 (calendar-mark-date-pattern):
26373 Prefix "unused" locals.
26374
26375 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26376 optional argument `style'.
26377
26378 * calendar/appt.el (appt-make-list):
26379 * calendar/cal-china.el (calendar-chinese-date-string):
26380 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26381 (diary-hebrew-yahrzeit):
26382 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26383 * calendar/calendar.el (calendar-generate-window):
26384 * calendar/time-date.el (time-to-days):
26385 Remove unused local variables.
26386
26387 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26388
26389 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26390 glyphless-char-display table.
26391 (tabulated-list-glyphless-char-display): New var.
26392
26393 2011-04-18 Sam Steingold <sds@gnu.org>
26394
26395 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26396 to acknowledgments.
26397
26398 2011-04-17 Glenn Morris <rgm@gnu.org>
26399
26400 * calendar/diary-lib.el (diary-sexp-entry):
26401 * calendar/holidays.el (holiday-sexp):
26402 Set debug-on-error rather than the removed stack-trace-on-error.
26403
26404 2011-04-16 Glenn Morris <rgm@gnu.org>
26405
26406 * progmodes/f90.el: Use lexical-binding.
26407 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26408
26409 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26410
26411 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26412 (mail-mode): Setup mailalias completion here instead.
26413 * mail/mailalias.el: Use lexical-binding.
26414 (pattern, mailalias-done): Declare dynamic.
26415 (mail-completion-at-point-function): New function, from mail-complete.
26416 (mail-complete): Use it.
26417 (mail-completion-expand): New function.
26418 (mail-get-names): Use it.
26419 (mail-directory, mail-directory-process, mail-directory-stream):
26420 Don't use `pattern' for lexically bound arg.
26421
26422 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26423
26424 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26425 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26426 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26427
26428 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26429 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26430 (byte-interactive-p): Define them again, for use when inlining
26431 old code.
26432
26433 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26434
26435 * loadup.el: Use `string-to-number', not `string-to-int'.
26436
26437 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26438
26439 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26440 gud-gdb-complete-command.
26441 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26442 (gud-gdb-completion-at-point): New function.
26443 (gud-gdb-completions): Remove.
26444
26445 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26446
26447 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26448 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26449 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26450 whether `executable-find' is bound.
26451
26452 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26453
26454 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26455
26456 * minibuffer.el (completion-in-region-mode-predicate)
26457 (completion-in-region-mode--predicate): New vars.
26458 (completion-in-region, completion-in-region--postch)
26459 (completion-in-region-mode): Use them.
26460 (completion--capf-wrapper): Also return the hook function.
26461 (completion-at-point, completion-help-at-point):
26462 Adjust and provide a predicate.
26463
26464 Preserve arg names for advice of subr and lexical functions (bug#8457).
26465 * help-fns.el (help-function-arglist): Consolidate the subr and
26466 new-byte-code cases. Add argument `preserve-names' to extract names
26467 from the docstring when needed.
26468 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26469 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26470 (ad-arglist): Use help-function-arglist's new arg.
26471 (ad-definition-type): Use cond.
26472
26473 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26474
26475 * autorevert.el (auto-revert-handler):
26476 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26477 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26478 Don't quote lambda.
26479
26480 * image-mode.el (image-transform-set-scale):
26481 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26482
26483 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26484
26485 * net/network-stream.el (network-stream-open-starttls): Only do
26486 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26487 Upgrades via gnutls-cli are too slow to be done opportunistically.
26488
26489 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26490
26491 * dframe.el (dframe-current-frame): Remove spurious quote.
26492
26493 2011-04-12 Glenn Morris <rgm@gnu.org>
26494
26495 * calendar/cal-tex.el (cal-tex-end-document):
26496 Try to automatically use latin1 input if needed.
26497
26498 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26499 Don't try to cons a mark onto an empty element.
26500
26501 2011-04-11 Leo Liu <sdl.web@gmail.com>
26502
26503 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26504 buffers.
26505 (ido-kill-buffer-at-head): Support killing virtual buffers.
26506
26507 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26508
26509 * minibuffer.el (completion-show-inline-help): New var.
26510 (completion--do-completion, minibuffer-complete)
26511 (minibuffer-force-complete, minibuffer-complete-word):
26512 Inhibit minibuffer messages if completion-show-inline-help is nil.
26513
26514 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26515 to avoid interference from inline help (Bug#5849).
26516
26517 2011-04-10 Leo Liu <sdl.web@gmail.com>
26518
26519 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26520 Fix typo.
26521
26522 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26523
26524 * image-mode.el (image-toggle-display-image): Signal an error if
26525 not in Image mode.
26526 (image-transform-mode, image-transform-resize)
26527 (image-transform-set-rotation): Doc fix.
26528 (image-transform-set-resize): Delete.
26529 (image-transform-set-scale, image-transform-fit-to-height)
26530 (image-transform-fit-to-width): Handle image-toggle-display-image
26531 and image-transform-resize directly.
26532
26533 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26534
26535 * doc-view.el (doc-view-fit-width-to-window)
26536 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26537 New functions for fitting the shown image to the Emacs window size.
26538 (doc-view-mode-map): Add bindings for the new functions.
26539
26540 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26541
26542 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26543 Fix typo in docstring.
26544
26545 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26546
26547 * files.el (file-size-human-readable): Produce one digit after
26548 decimal, like "ls -lh" does.
26549
26550 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26551 the file size representation.
26552
26553 * simple.el (list-processes): If async subprocesses are not
26554 available, error out with a clear error message.
26555
26556 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26557
26558 * help.el (help-form-show): New function, to be called from C.
26559 Put help-form output in a buffer named differently than *Help*.
26560
26561 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26562
26563 * files.el (file-size-human-readable): New function.
26564
26565 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26566 computing the representation inline. Don't require `cl'.
26567
26568 2011-04-08 Glenn Morris <rgm@gnu.org>
26569
26570 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26571
26572 * net/browse-url.el (browse-url-firefox):
26573 Test system-type, not system-configuration.
26574
26575 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26576 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26577 Use log-edit-empty-buffer-p. (Bug#7598)
26578
26579 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26580 (rlogin-mode-map): Initialize in the defvar.
26581 (rlogin): Use ignore-errors.
26582
26583 * replace.el (occur-mode-map): Some fixes for menu items.
26584
26585 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26586
26587 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26588
26589 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26590
26591 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26592 issuing unused warnings.
26593
26594 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26595 macro directly.
26596
26597 * simple.el: Lisp reimplement of list-processes. Based on an
26598 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26599 (process-menu-mode): New major mode.
26600 (list-processes--refresh, list-processes):
26601 (process-menu-visit-buffer): New functions.
26602
26603 * files.el (save-buffers-kill-emacs): Don't assume any return
26604 value of list-processes, which is undocumented anyway.
26605
26606 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26607
26608 * emacs-lisp/tabulated-list.el: New file.
26609
26610 * emacs-lisp/package.el: Use Tabulated List mode.
26611 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26612 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26613 table format using Tabulated List mode variables.
26614 (package--push): New macro, replacing package-list-maybe-add.
26615 (package-menu--generate): Use package--push. Renamed from
26616 package--generate-package-list.
26617 (package-menu-refresh, list-packages): Use it.
26618 (package-menu--print-info): Rename from package-print-package.
26619 Return insertion data instead of inserting it directly.
26620 (package-menu-describe-package, package-menu-execute):
26621 Use tabulated-list-get-id.
26622 (package-menu-mark-delete, package-menu-mark-install)
26623 (package-menu-mark-unmark, package-menu-backup-unmark)
26624 (package-menu-mark-obsolete-for-deletion):
26625 Use tabulated-list-put-tag.
26626 (package--list-packages, package-menu-revert)
26627 (package-menu-get-package, package-menu-get-version)
26628 (package-menu-sort-by-column): Functions deleted.
26629 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26630 (package-menu--status-predicate, package-menu--version-predicate)
26631 (package-menu--name-predicate)
26632 (package-menu--description-predicate): Handle arguments in the
26633 Tabulated List format.
26634 (package-list-packages-no-fetch): Call list-packages.
26635
26636 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26637
26638 * files.el (after-find-file-from-revert-buffer): Remove variable.
26639 (after-find-file): Don't bind it.
26640 (revert-buffer-in-progress-p): New variable.
26641 (revert-buffer): Bind it.
26642 Pass nil for `after-find-file-from-revert-buffer'.
26643
26644 * saveplace.el (save-place-find-file-hook): Use new variable
26645 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26646
26647 2011-04-06 Glenn Morris <rgm@gnu.org>
26648
26649 * Makefile.in (AUTOGEN_VCS): New variable.
26650 (autoloads): Use $AUTOGEN_VCS.
26651
26652 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26653 * calendar/calendar.el (calendar-mode-map):
26654 Check for toolkit scroll bars. (Bug#8305)
26655
26656 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26657
26658 * minibuffer.el (completion-in-region--postch)
26659 (completion-in-region-mode): Remove unnecessary messages.
26660
26661 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26662
26663 * font-lock.el (font-lock-refresh-defaults):
26664 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26665 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26666
26667 * info.el (Info-directory-list, Info-read-node-name-2)
26668 (Info-split-parameter-string): Doc fixes.
26669 (Info-virtual-nodes): Reflow docstring.
26670 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26671 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26672 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26673 Fix typos in docstrings.
26674 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26675 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26676 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26677 (Info-restore-desktop-buffer): Mark unused parameters.
26678 (Info-directory-find-file, Info-directory-find-node)
26679 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26680 (Info-virtual-index-find-node, Info-apropos-find-file)
26681 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26682 Mark unused parameters; fix typos in docstrings.
26683 (Info-virtual-index): Remove unused local variable `nodename'.
26684
26685 2011-04-05 Deniz Dogan <deniz@dogan.se>
26686
26687 * net/rcirc.el: Update my e-mail address.
26688 (rcirc-mode-map): Remove M-o binding.
26689
26690 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26691
26692 * startup.el (command-line): Save the cursor's theme-face
26693 directly, instead of using face-override-spec.
26694
26695 * custom.el (load-theme): Minor optimization in assigning faces.
26696
26697 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26698
26699 * help-fns.el (describe-variable): Complete all variables having
26700 documentation, including keywords.
26701 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26702
26703 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26704
26705 Convert to lexical-binding.
26706
26707 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26708 (bs--get-marked-string, bs--get-modified-string)
26709 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26710 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26711 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26712
26713 * ehelp.el (electric-help-execute-extended)
26714 (electric-help-ctrl-x-prefix):
26715 * hexl.el (hexl-revert-buffer-function):
26716 * linum.el (linum-after-change, linum-after-scroll):
26717 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26718
26719 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26720
26721 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26722
26723 * epa-dired.el:
26724 * epa-mail.el:
26725 * epa-hook.el:
26726 * epa-file.el:
26727 * epa.el:
26728 * epg.el: Use lexical binding.
26729
26730 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26731
26732 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26733
26734 * textmodes/flyspell.el (flyspell-word): Recognize default
26735 dictionary case for flyspell-mark-duplications-exceptions.
26736 Use regexp matching for languages.
26737 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26738 default dictionary (Bug#7926).
26739
26740 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26741
26742 * emacs-lisp/package.el (package--with-work-buffer):
26743 Recognize https URLs.
26744
26745 * net/network-stream.el: Move from gnus/proto-stream.el.
26746 Change prefix to network-stream throughout.
26747 (open-protocol-stream): Merge into open-network-stream, leaving
26748 open-protocol-stream as an alias. Handle nil BUFFER args.
26749
26750 * subr.el (open-network-stream): Move to net/network-stream.el.
26751
26752 2011-04-02 Glenn Morris <rgm@gnu.org>
26753
26754 * find-dired.el (find-exec-terminator): New option.
26755 (find-ls-option): Test for -ls support.
26756 (find-ls-subdir-switches): Test for -b in find-ls-option.
26757 (find-dired, find-grep-dired): Doc fixes.
26758 (find-dired): Use find-exec-terminator.
26759
26760 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26761 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26762 (find-name-arg): Remove purecopy.
26763
26764 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26765 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26766 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26767 accordingly. Don't add the null-device if not needed.
26768
26769 * files.el (save-some-buffers): Doc fix.
26770
26771 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26772
26773 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26774
26775 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26776
26777 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26778 Use `dolist' rather than `mapcar'.
26779
26780 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26781
26782 Add lexical binding.
26783
26784 * subr.el (apply-partially): Use new closures rather than CL.
26785 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26786 (dolist, dotimes): Use slightly different expansion for lexical code.
26787 (functionp): Move to C.
26788 (letrec): New macro.
26789 (with-wrapper-hook): Use it and apply-partially instead of CL.
26790 (eval-after-load): Preserve lexical-binding.
26791 (save-window-excursion, with-output-to-temp-buffer): Turn them
26792 into macros.
26793
26794 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26795
26796 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26797 than the arglist.
26798 (help-add-fundoc-usage): Don't add `Not documented'.
26799 (help-function-arglist): Handle closures, subroutines, and new
26800 byte-code-functions.
26801 (help-make-usage): Remove leading underscores.
26802 (describe-function-1): Handle closures.
26803 (describe-variable): Use special-variable-p for completion.
26804
26805 * files.el (lexical-binding): Declare safe.
26806
26807 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26808 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26809 (pcase): Add `let' pattern.
26810 Change memoization so it actually works.
26811 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26812 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26813 <let>: New case.
26814
26815 * emacs-lisp/macroexp.el: Use lexical binding.
26816 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26817 Don't convert ' to #' without checking that it's indeed quoting
26818 a lambda.
26819
26820 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26821 Use eval-sexp-add-defvars.
26822 (eval-sexp-add-defvars): New fun.
26823
26824 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26825
26826 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26827 Don't autoload.
26828 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26829 than the internal `byte-compile-lambda'.
26830 (defmethod): Don't hide code under quotes.
26831 (eieio-defmethod): New `code' argument.
26832
26833 * emacs-lisp/eieio-comp.el: Remove.
26834
26835 * emacs-lisp/edebug.el (edebug-eval-defun)
26836 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26837 (edebug-toggle): Avoid `eval'.
26838
26839 * emacs-lisp/disass.el (disassemble-internal): Handle new
26840 `closure' objects.
26841 (disassemble-1): Handle new byte codes.
26842
26843 * emacs-lisp/cl.el (pushnew): Silence warning.
26844
26845 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26846 (cl-byte-compile-throw): Remove.
26847 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26848
26849 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26850 closures.
26851
26852 * emacs-lisp/cconv.el: New file.
26853
26854 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26855 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26856 (byte-compile-initial-macro-environment):
26857 Handle declare-function here.
26858 (byte-compile--lexical-environment): New var.
26859 (byte-stack-ref, byte-stack-set, byte-discardN)
26860 (byte-discardN-preserve-tos): New lap codes.
26861 (byte-interactive-p): Don't use any more.
26862 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26863 New macros.
26864 (byte-compile-lapcode): Use them and handle new lap codes.
26865 (byte-compile-obsolete): Remove.
26866 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26867 (byte-compile-arglist-warn): Check late def of inlinable funs.
26868 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26869 since they should have been expanded by now.
26870 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26871 (byte-compile-from-buffer): Remove unused second arg.
26872 (byte-compile-preprocess): New function.
26873 (byte-compile-toplevel-file-form): New function to distinguish
26874 file-form calls from outside from file-form calls from hunk-handlers.
26875 (byte-compile-file-form): Simplify.
26876 (byte-compile-file-form-defsubst): Remove.
26877 (byte-compile-file-form-defmumble): Simplify now that
26878 byte-compile-lambda always returns a byte-code-function.
26879 (byte-compile): Preprocess.
26880 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26881 Remove, not used any more.
26882 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26883 (byte-compile-make-args-desc): New funs.
26884 (byte-compile-lambda): Handle lexical functions. Always return
26885 a byte-code-function.
26886 (byte-compile-reserved-constants): New var, to make up room for
26887 closed-over variables.
26888 (byte-compile-constants-vector): Obey it.
26889 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26890 (byte-compile-macroexpand-declare-function): New function.
26891 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26892 byte-code-functions.
26893 (byte-compile-form): Check obsolescence here.
26894 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26895 (byte-compile-variable-ref): Remove.
26896 (byte-compile-dynamic-variable-op): New fun.
26897 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26898 (byte-compile-variable-set): New funs.
26899 (byte-compile-discard): Add 2 args.
26900 (byte-compile-stack-ref, byte-compile-stack-set)
26901 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26902 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26903 macroexpand-all instead.
26904 (byte-compile-quote-form): Remove.
26905 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26906 (byte-compile-bind, byte-compile-unbind): New funs.
26907 (byte-compile-let): Handle let* and lexical binding.
26908 (byte-compile-let*): Remove.
26909 (byte-compile-catch, byte-compile-unwind-protect)
26910 (byte-compile-track-mouse, byte-compile-condition-case):
26911 Handle a new :fun-body form, used for lexical scoping.
26912 (byte-compile-save-window-excursion)
26913 (byte-compile-with-output-to-temp-buffer): Remove.
26914 (byte-compile-defun): Simplify.
26915 (byte-compile-stack-adjustment): New fun.
26916 (byte-compile-out): Use it.
26917 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26918
26919 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26920 handler any more.
26921
26922 * emacs-lisp/byte-opt.el: Use lexical binding.
26923 (byte-inline-lapcode): Remove (to bytecomp).
26924 (byte-compile-inline-expand): Pay attention to inlining to/from
26925 lexically bound code.
26926 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26927 any more.
26928 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26929 any more and don't call compiler-macros.
26930 (byte-compile-splice-in-already-compiled-code): Remove.
26931 (byte-code): Don't inline any more.
26932 (disassemble-offset): Receive `bytes' as argument rather than via
26933 dynamic scoping.
26934 (byte-compile-tag-number): Declare before first use.
26935 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26936 `return' even if make-spliceable.
26937 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26938 obsolete interactive-p.
26939 (byte-optimize-lapcode): Optimize new lap-codes.
26940 Don't trip up on new form of `byte-constant' lap code.
26941
26942 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26943
26944 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26945
26946 * custom.el (custom-initialize-default, custom-declare-variable):
26947 Use `defvar'.
26948
26949 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26950 New variables.
26951 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26952 (COMPILE_FIRST): Add macroexp and cconv.
26953 * makefile.w32-in: Mirror changes in Makefile.in.
26954
26955 * vc/cvs-status.el:
26956 * vc/diff-mode.el:
26957 * vc/log-edit.el:
26958 * vc/log-view.el:
26959 * vc/smerge-mode.el:
26960 * textmodes/bibtex-style.el:
26961 * textmodes/css-mode.el:
26962 * startup.el:
26963 * uniquify.el:
26964 * minibuffer.el:
26965 * newcomment.el:
26966 * reveal.el:
26967 * server.el:
26968 * mpc.el:
26969 * emacs-lisp/smie.el:
26970 * doc-view.el:
26971 * dired.el:
26972 * abbrev.el: Use lexical binding.
26973
26974 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26975
26976 * info.el (info-display-manual): New function.
26977
26978 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26979
26980 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26981
26982 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26983
26984 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26985 an entry for that server in rcirc-authinfo. (Bug#8385)
26986
26987 2011-03-31 Glenn Morris <rgm@gnu.org>
26988
26989 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26990
26991 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26992
26993 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26994
26995 * progmodes/python.el (python-default-interpreter)
26996 (python-python-command-args, python-jython-command-args)
26997 (python-which-shell, python-which-args, python-which-bufname)
26998 (python-file-queue, python-comint-output-filter-function)
26999 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
27000 variables and functions.
27001
27002 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
27003
27004 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
27005 (completion-in-region-mode): New minor mode.
27006 (completion-in-region): Use it.
27007 (completion-in-region--data, completion-in-region-mode-map): New vars.
27008 (completion-in-region--postch): New function.
27009 (completion--capf-misbehave-funs, completion--capf-safe-funs):
27010 New vars.
27011 (completion--capf-wrapper): New function.
27012 (completion-at-point): Use it to track well-behavedness of
27013 hook functions.
27014 (completion-help-at-point): New command.
27015
27016 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
27017
27018 * vc/add-log.el (add-change-log-entry): Don't use whitespace
27019 syntax class to search for whitespace on a single line
27020 (Message-ID: <4D938140.4030905@redhat.com>).
27021
27022 2011-03-30 Leo Liu <sdl.web@gmail.com>
27023
27024 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
27025 New commands.
27026 (edit-abbrevs-map): Bind them here.
27027 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
27028
27029 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
27030
27031 * allout.el (allout-hide-by-annotation, allout-flag-region):
27032 Reduce possibility of overlay leakage by making them volatile.
27033
27034 * allout-widgets.el (allout-widgets-tally): Define as nil so the
27035 hash is not shared between buffers. Mode initialization is
27036 responsible for giving it a useful starting value.
27037 (allout-item-span): Reduce possibility of overlay leakage by
27038 making them volatile.
27039 (allout-widgets-count-buttons-in-region): Add diagnostic function
27040 for tracking down button overlay leaks.
27041
27042 2011-03-29 Leo Liu <sdl.web@gmail.com>
27043
27044 * ido.el (ido-read-internal): Use the default history var
27045 minibuffer-history if no HISTORY is specified.
27046
27047 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
27048
27049 * net/imap.el (imap-shell-open, imap-process-connection-type):
27050 Use imap-process-connection-type for 'shell' streams as well as
27051 Kerberos, SSL, other subprocesses.
27052
27053 2011-03-28 Leo Liu <sdl.web@gmail.com>
27054
27055 * abbrev.el (abbrev-table-empty-p): New function.
27056 (prepare-abbrev-list-buffer): Place empty abbrev tables after
27057 nonempty ones. (Bug#5937)
27058
27059 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
27060
27061 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
27062
27063 2011-03-27 Leo Liu <sdl.web@gmail.com>
27064
27065 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
27066 for foreground and background colors.
27067 (ansi-color-make-color-map): Adapt.
27068
27069 2011-03-25 Leo Liu <sdl.web@gmail.com>
27070
27071 * midnight.el (midnight-time-float): Remove. Note it calculates
27072 the microsecond component incorrectly and seconds-to-time does the
27073 same job.
27074 Remove redundant (require 'timer).
27075
27076 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27077 (ido-completions): Remove unused arguments. (Bug#8329)
27078
27079 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27080
27081 * minibuffer.el (completion--flush-all-sorted-completions):
27082 Remove itself from hook.
27083 (completion-at-point): Let the functions perform the completion
27084 immediately and return nil or t.
27085 * comint.el (comint-dynamic-complete-functions): Now identical to
27086 completion-at-point-functions.
27087 (comint-dynamic-list-input-ring): Remove unused var `index'.
27088 (comint--match-partial-filename, comint--unquote&expand-filename):
27089 New funs, split from comint-match-partial-filename.
27090 (comint-dynamic-complete): Use completion-at-point.
27091 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27092
27093 2011-03-24 Drew Adams <drew.adams@oracle.com>
27094
27095 * thingatpt.el: Support `defun'.
27096
27097 2011-03-23 Leo Liu <sdl.web@gmail.com>
27098
27099 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27100
27101 * help-mode.el (help-mode-finish): Tweak regexp.
27102
27103 2011-03-23 Glenn Morris <rgm@gnu.org>
27104
27105 * eshell/esh-opt.el (eshell-eval-using-options):
27106 Do not bind unused local variable `eshell-option-stub'.
27107
27108 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27109
27110 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27111
27112 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27113 keymap variable in `with-no-warnings' to avoid a warning when the
27114 keymap has been already `defconst'ed.
27115
27116 2011-03-22 Leo Liu <sdl.web@gmail.com>
27117
27118 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27119 encode all chars in abbrevs; otherwise use emacs-mule or
27120 utf-8-emacs. (Bug#8308)
27121
27122 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27123
27124 * simple.el (backward-delete-char-untabify):
27125 Avoid warning about using `delete-backward-char'.
27126
27127 * image.el (image-type-file-name-regexps): Make it variable.
27128 `imagemagick-register-types' modifies it, and the user may want
27129 to add new extensions for known image types.
27130 (imagemagick-register-types): Throw error if not using ImageMagick.
27131
27132 2011-03-22 Leo Liu <sdl.web@gmail.com>
27133
27134 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27135 located before rcirc-prompt-end-marker.
27136 (rcirc-complete): Error if point is not after rcirc prompt.
27137 Handle the case when table is nil.
27138 (rcirc-user-authenticated): Define to fix compiler warning.
27139
27140 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27141
27142 * custom.el (custom--inhibit-theme-enable): Make it affect only
27143 custom-theme-set-variables and custom-theme-set-faces.
27144 (provide-theme): Ignore custom--inhibit-theme-enable.
27145 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27146 (custom-enabling-themes): Delete variable.
27147 (enable-theme): Accept only loaded themes as arguments.
27148 Ignore the special custom-enabled-themes variable.
27149 (custom-enabled-themes): Forbid themes from setting this.
27150 Eliminate use of custom-enabling-themes.
27151 (custom-push-theme): Quote "changed" custom var entry.
27152
27153 2011-03-21 Leo Liu <sdl.web@gmail.com>
27154
27155 * ido.el (ido-read-internal): Add ido-selected to history instead
27156 of user input.
27157
27158 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27159
27160 * subr.el (deferred-action-list, deferred-action-function):
27161 Mark obsolete.
27162
27163 2011-03-21 Leo Liu <sdl.web@gmail.com>
27164
27165 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27166 change on 2011-02-13 (bug#8309).
27167
27168 * minibuffer.el (read-file-name-function): Change default value.
27169 (read-file-name--defaults): Rename from read-file-name-defaults.
27170 (read-file-name-default): Rename from read-file-name.
27171 (read-file-name): Call read-file-name-function.
27172
27173 2011-03-21 Glenn Morris <rgm@gnu.org>
27174
27175 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27176 Doc fixes.
27177
27178 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27179
27180 * cus-theme.el: Add missing provide statement.
27181 (customize-create-theme): Extract theme value correctly.
27182 (custom-theme-visit-theme): Autoload.
27183 (customize-create-theme): Prompt before inserting default faces.
27184
27185 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27186
27187 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27188 units and musical notes.
27189
27190 2011-03-20 Leo Liu <sdl.web@gmail.com>
27191
27192 * ido.el (ido-read-internal): Use completing-read-default.
27193 (ido-completing-read): Fix compatibility with completing-read.
27194
27195 2011-03-20 Christian Ohler <ohler@gnu.org>
27196
27197 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27198 (ert-delete-all-tests): Use `called-interactively-p' rather than
27199 `interactive-p'.
27200 (ert--make-xrefs-region): Respect END.
27201
27202 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27203
27204 * dired-aux.el (dired-create-directory): Signal an error if the
27205 directory already exists (Bug#8246).
27206
27207 * facemenu.el (list-colors-display): Call list-faces-display
27208 inside with-help-window.
27209 (list-colors-print): Use display property to align the final
27210 column, instead of checking window-width.
27211
27212 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27213
27214 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27215 windows-nt systems.
27216 (emerge-protect-metachars): Quote correctly for ms-dos and
27217 windows-nt systems.
27218
27219 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27220
27221 * info.el (info-initialize): Replace all uses of `:' with
27222 path-separator for compatibility with non-Unix systems.
27223 Cache quoting of path-separator. (Bug#8258)
27224
27225 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27226
27227 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27228 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27229 (mouse-avoidance-mode): Fix typos in docstrings.
27230
27231 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27232
27233 * startup.el (package-subdirectory-regexp): Move from package.el.
27234 Omit \\` and \\', and let callers add them.
27235
27236 * emacs-lisp/package.el (package-strip-version)
27237 (package-load-all-descriptors): Add \\` and \\' to
27238 package-subdirectory-regexp before using it.
27239 (package-untar-buffer): New arg DIR; ensure that file untars only
27240 into this expected directory. Remove superfluous delete-region.
27241 (package-unpack): Caller changed.
27242 (package-tar-file-info): Use package-subdirectory-regexp.
27243
27244 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27245
27246 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27247 diff-mode-shared-map (bug#8284).
27248 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27249
27250 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27251
27252 * calendar/time-date.el (format-seconds): Use assoc instead of
27253 assoc-string, since assoc-string doesn't exist in XEmacs.
27254
27255 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27256
27257 * custom.el (custom-known-themes): Reflow docstring.
27258 (custom-theme-load-path): Fix typo in docstring.
27259 (load-theme): Fix typo in error message.
27260 (custom-available-themes, custom-variable-theme-value):
27261 Use `let', not `let*'.
27262
27263 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27264
27265 * calc/README: Mention inclusion of musical notes.
27266
27267 * calc/calc-units.el (calc-lu-quant): Rename from
27268 `calc-logunits-quantity'.
27269 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27270 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27271 (calc-db): Rename from `calc-dblevel'.
27272 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27273 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27274 (calc-np): Rename from `calc-nplevel'.
27275 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27276 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27277 (calc-lu-plus): Rename from `calc-logunits-add'.
27278 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27279 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27280 (calc-lu-minus): Rename from `calc-logunits-sub'.
27281 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27282 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27283 (calc-lu-times): Rename from `calc-logunits-mul'.
27284 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27285 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27286 (calc-lu-divide): Rename from `calc-logunits-div'.
27287 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27288 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27289
27290 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27291 functions being autoloaded.
27292
27293 * calc/calc.el (calc-lu-power-reference): Rename from
27294 `calc-logunits-power-reference'.
27295 (calc-lu-field-reference): Rename from
27296 `calc-logunits-field-reference'.
27297
27298 * calc/calc-help.el (calc-l-prefix-help):
27299 Mention musical note functions.
27300
27301 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27302
27303 * minibuffer.el (completion-all-sorted-completions):
27304 Use :completion-cycle-penalty text property if present.
27305
27306 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27307
27308 * allout.el (allout-yank-processing): Adjust for new rebulleting
27309 regime so bullet being yanked is used without prompting the user
27310 for a choice.
27311
27312 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27313
27314 * startup.el (command-line): Warn the user that _emacs is deprecated.
27315
27316 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27317
27318 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27319 (delphi-verbose, delphi-comment-face, delphi-string-face)
27320 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27321 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27322 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27323 (delphi-new-comment-line, delphi-font-lock-defaults)
27324 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27325 Fix typos in docstrings.
27326
27327 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27328
27329 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27330 Invert the roles of character and string values for INSTEAD, so a
27331 string is used for the more common case of a defaulting prompt.
27332
27333 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27334
27335 * progmodes/ruby-mode.el (ruby-backward-sexp):
27336 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27337 * play/gamegrid.el (gamegrid-make-face):
27338 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27339 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27340 * notifications.el (notifications-notify):
27341 * net/xesam.el (xesam-search-engines):
27342 * net/quickurl.el (quickurl-list-insert):
27343 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27344
27345 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27346
27347 * startup.el (command-line): Update package subdirectory regexp.
27348
27349 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27350
27351 * allout.el (allout-abbreviate-flattened-numbering)
27352 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27353
27354 * subr.el (read-char-choice): Only show the cursor after the prompt,
27355 not after the answer.
27356
27357 2011-03-15 Kevin Ryde <user42@zip.com.au>
27358
27359 * help-fns.el (variable-at-point): Skip leading quotes, if any
27360 (bug#8253).
27361
27362 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27363
27364 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27365 warning message.
27366
27367 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27368
27369 * shell.el (shell): When called interactively, offer to change the
27370 shell file name on remote hosts.
27371
27372 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27373
27374 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27375 integration for LDAP parameters. The host, base, user or binddn,
27376 and secret tokens can be specified in a netrc file, for instance.
27377 This is optional because an `auth-source' parameter must be
27378 specified in the search attributes.
27379
27380 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27381
27382 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27383
27384 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27385
27386 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27387 into declaration. Remove redundant and harmful binding.
27388
27389 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27390
27391 * files.el (file-ownership-preserved-p): Pass `integer' as an
27392 explicit 2nd argument to `file-attributes'. If the file's owner
27393 is the Administrators group on Windows, and the current user is
27394 Administrator, consider that a match.
27395
27396 * server.el (server-ensure-safe-dir): Consider server directory
27397 safe on MS-Windows if its owner is the Administrators group while
27398 the current Emacs user is Administrator. Use `=' to compare
27399 numerical UIDs, since they could be integers or floats.
27400
27401 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27402
27403 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27404
27405 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27406
27407 Sync with Tramp 2.2.1.
27408
27409 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27410
27411 * net/trampver.el: Update release number.
27412
27413 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27414
27415 * progmodes/compile.el (compilation--previous-directory): Fix up
27416 various nil/dead-marker mismatches (bug#8014).
27417 (compilation-directory-properties, compilation-error-properties):
27418 Don't call it at a position past the one we're about to change.
27419
27420 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27421 Disable obsolescence warnings in the file that declares it.
27422
27423 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27424
27425 * allout-widgets.el (allout-widgets-tally):
27426 Initialize allout-widgets-tally as a hash table rather than nil to
27427 prevent mode-line redisplay warnings. Also, clarify the module
27428 description and fix a comment typo.
27429
27430 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27431
27432 * help-fns.el (describe-variable): Don't complete keywords.
27433 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27434
27435 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27436
27437 * emacs-lisp/package.el (package-version-join): Impose a standard
27438 string representation for pre/alpha/beta version lists.
27439 (package-unpack-single): Standardize the directory name by passing
27440 it through package-version-join.
27441 (package-strip-rcs-id): Accept any version string that does not
27442 signal an error in version-to-list.
27443
27444 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27445
27446 * simple.el (delete-trailing-whitespace): Return nil for the
27447 benefit of `write-file-functions'.
27448
27449 2011-03-10 Glenn Morris <rgm@gnu.org>
27450
27451 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27452
27453 * vc/vc-git.el (vc-git-program): New option.
27454 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27455 (vc-git--call): Use it.
27456
27457 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27458
27459 * cus-edit.el (Custom-newline): If no button at point, look
27460 for a subgroup button at start-of-line. (Bug#2298)
27461
27462 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27463
27464 2011-03-10 Julien Danjou <julien@danjou.info>
27465
27466 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27467 `cursor-type' is nil.
27468
27469 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27470
27471 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27472
27473 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27474
27475 * allout.el: Change so yank of distinctive-bullet items
27476 preserves the existing header prefix, rebulleting it if necessary,
27477 rather than replacing it. This is necessary for proper operation
27478 of cooperative addons like allout-widgets.
27479 (allout-make-topic-prefix, allout-rebullet-heading):
27480 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27481 value as alternate bullet to be used, instead of prompting the user
27482 for a bullet character.
27483
27484 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27485
27486 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27487 Do not use `tramp-file-name-port', because this returns also
27488 `tramp-default-port'.
27489
27490 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27491
27492 * net/rcirc.el (rcirc-handler-001): Remove useless
27493 with-rcirc-process-buffer.
27494 (rcirc-check-auth-status): Swap arguments to string-match.
27495
27496 2011-03-09 Glenn Morris <rgm@gnu.org>
27497
27498 * shell.el (shell-mode):
27499 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27500
27501 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27502 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27503
27504 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27505
27506 * emacs-lisp/package.el (package-refresh-contents)
27507 (package-menu-execute): Use condition-case-no-debug.
27508
27509 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27510
27511 * simple.el (shell-command-to-string): Use `process-file'.
27512
27513 * emacs-lisp/package.el (package-tar-file-info): Handle also
27514 remote files.
27515
27516 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27517 Use `equal' for upload base check.
27518
27519 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27520
27521 * textmodes/texinfo.el (texinfo-environments):
27522 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27523
27524 2011-03-08 Glenn Morris <rgm@gnu.org>
27525
27526 * cus-start.el (cursor-in-non-selected-windows):
27527 Fix :set quoting oddness. (Bug#8192)
27528
27529 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27530 in some setf expressions. (Bug#2159)
27531
27532 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27533
27534 * custom.el (custom-available-themes): Return themes in
27535 alphabetical order.
27536
27537 See ChangeLog.15 for earlier changes.
27538
27539 ;; Local Variables:
27540 ;; coding: utf-8
27541 ;; End:
27542
27543 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27544
27545 This file is part of GNU Emacs.
27546
27547 GNU Emacs is free software: you can redistribute it and/or modify
27548 it under the terms of the GNU General Public License as published by
27549 the Free Software Foundation, either version 3 of the License, or
27550 (at your option) any later version.
27551
27552 GNU Emacs is distributed in the hope that it will be useful,
27553 but WITHOUT ANY WARRANTY; without even the implied warranty of
27554 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27555 GNU General Public License for more details.
27556
27557 You should have received a copy of the GNU General Public License
27558 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.