* lisp/eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-05-23 Glenn Morris <rgm@gnu.org>
2
3 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
4
5 2013-05-22 Leo Liu <sdl.web@gmail.com>
6
7 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8
9 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10
11 * autorevert.el (auto-revert-notify-add-watch)
12 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13 it indicates changes in file modification time.
14
15 2013-05-22 Glenn Morris <rgm@gnu.org>
16
17 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
18 Always delete the autoloaded function from the noruntime and
19 unresolved functions lists.
20
21 * allout.el: No need to load epa, epg, overlay when compiling.
22 (epg-context-set-passphrase-callback, epg-list-keys)
23 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
24 (epg-key-user-id-list): Declare.
25
26 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
27 (viper-set-parsing-style-toggling-macro)
28 (viper-set-emacs-state-searchstyle-macros):
29 Use called-interactively-p on Emacs.
30 (viper-looking-back): Make it an obsolete alias. Update callers.
31 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
32 Use looking-back rather than viper-looking-back.
33 (viper-tmp-insert-at-eob, viper-enlarge-region)
34 (viper-read-string-with-history, viper-register-to-point)
35 (viper-append-to-register, viper-change-state-to-vi)
36 (viper-backward-char-carefully, viper-forward-char-carefully)
37 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
38 (viper-change-state-to-emacs): Declare.
39 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
40 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
41 * emulation/viper-mous.el: Do not load viper-cmd.
42 (viper-backward-char-carefully, viper-forward-char-carefully)
43 (viper-forward-word, viper-adjust-window): Declare.
44
45 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
46
47 * progmodes/idlw-help.el (idlwave-help-fontify):
48 Use called-interactively-p.
49
50 * term/w32console.el (w32-get-console-codepage)
51 (w32-get-console-output-codepage): Declare.
52
53 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
54 Remove unnecessary declarations.
55 (dframe-message): Doc fix.
56
57 * info.el (dframe-select-attached-frame, dframe-current-frame):
58 Declare.
59
60 * speedbar.el (speedbar-message): Make it an obsolete alias.
61 Update all callers.
62 (speedbar-with-attached-buffer)
63 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
64 (speedbar-with-writable): Use backquote.
65 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
66 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
67 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
68 rather than speedbar- aliases.
69 * mail/rmail.el: Load dframe rather than speedbar when compiling.
70 (speedbar-make-specialized-keymap, speedbar-insert-button)
71 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
72 (speedbar-do-function-pointer): Declare.
73 (rmail-speedbar-button, rmail-speedbar-find-file)
74 (rmail-speedbar-move-message):
75 Use dframe-with-attached-buffer rather than speedbar- alias.
76 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
77 (dframe-message, speedbar-make-specialized-keymap)
78 (speedbar-add-expansion-list, speedbar-mode-functions-list)
79 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
80 (speedbar-insert-button, dframe-select-attached-frame)
81 (dframe-maybee-jump-to-attached-frame)
82 (speedbar-change-initial-expansion-list)
83 (speedbar-previously-used-expansion-list-name): Declare.
84 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
85 Use dframe-message, dframe-with-attached-buffer rather than
86 speedbar- aliases.
87 (gud-sentinel): Silence compiler.
88 * progmodes/vhdl-mode.el (speedbar-refresh)
89 (speedbar-do-function-pointer, speedbar-add-supported-extension)
90 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
91 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
92 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
93 (speedbar-file-lists, speedbar-make-tag-line)
94 (speedbar-line-directory, speedbar-goto-this-file)
95 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
96 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
97 (speedbar-make-button, speedbar-reset-scanners)
98 (speedbar-files-item-info, speedbar-line-text)
99 (speedbar-find-file-in-frame, speedbar-set-timer)
100 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
101 (speedbar-with-writable): Do not (re)define it.
102 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
103 rather than speedbar- alias.
104
105 2013-05-21 Leo Liu <sdl.web@gmail.com>
106
107 * progmodes/octave.el (octave-mode-menu): Update and re-organize
108 menu items.
109 (octave-mode): Tweak fill-nobreak-predicate.
110 (inferior-octave-startup): Check process to avoid infinite loop.
111 (inferior-octave): Pop to buffer first to show abornmal process
112 exit information.
113
114 2013-05-21 Glenn Morris <rgm@gnu.org>
115
116 * printing.el (pr-menu-bar): Define when compiling.
117
118 2013-05-21 Leo Liu <sdl.web@gmail.com>
119
120 * progmodes/octave.el (octave-auto-fill): Remove.
121 (octave-indent-new-comment-line): Improve.
122 (octave-mode): Use auto fill mode through
123 comment-line-break-function and fill-nobreak-predicate
124 (octave-goto-function-definition): Support DEFUN_DLD.
125 (octave-beginning-of-defun): Small Tweak
126 (octave-help): Show parent directory.
127
128 2013-05-21 Glenn Morris <rgm@gnu.org>
129
130 * files.el (dired-unmark):
131 * progmodes/gud.el (gdb-input): Update declarations.
132
133 * calculator.el (electric, ehelp): No need to load when compiling.
134 (Electric-command-loop, electric-describe-mode): Declare.
135
136 * doc-view.el (doc-view-current-converter-processes): Move before use.
137
138 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
139 Move MODE-set-explicitly definition before use.
140
141 * international/mule-diag.el (mule-diag):
142 Don't use obsolete window-system-version.
143
144 * mail/feedmail.el (smtpmail): No need to load when compiling.
145 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
146
147 * mail/mail-utils.el (rfc822): No need to load when compiling.
148 (rfc822-addresses): Autoload it.
149 (mail-strip-quoted-names): Trivial simplification.
150
151 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
152 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
153
154 * net/snmp-mode.el (tempo): Don't duplicate requires.
155
156 * progmodes/prolog.el (info): No need to load when compiling.
157 (comint): Require before shell requires it.
158 (Info-goto-node): Autoload it.
159 (Info-follow-nearest-node): Declare.
160 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
161
162 * textmodes/artist.el (picture-mode-exit): Declare.
163
164 * textmodes/reftex-parse.el (reftex-parse-from-file):
165 Trivial rewrite so the compiler can parse it better.
166
167 2013-05-20 Leo Liu <sdl.web@gmail.com>
168
169 * progmodes/octave.el (octave-help-mode-map)
170 (octave-help-mode-finish-hook): New variables.
171 (octave-help-mode, octave-help-mode-finish): New functions.
172 (octave-help): Use octave-help-mode.
173
174 2013-05-20 Glenn Morris <rgm@gnu.org>
175
176 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
177
178 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
179
180 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
181 start at point, so that expansion starting right after opening
182 slash in a regexp is recognized.
183 (ruby-syntax-before-regexp-re): New defvar, extracted from
184 ruby-syntax-propertize-function. Since the value of this regexp
185 is looked up at runtime now, we should be able to turn
186 `ruby-syntax-methods-before-regexp' into a defcustom later.
187 (ruby-syntax-propertize-function): Split regexp matching into two
188 parts, for opening and closing slashes. That allows us to skip
189 over string interpolations and support multiline regexps.
190 Don't call `ruby-syntax-propertize-expansions', instead use another rule
191 for them, which calls `ruby-syntax-propertize-expansion'.
192 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
193 call to `ruby-syntax-propertize-function'.
194 (ruby-syntax-propertize-expansion): Extracted from
195 `ruby-syntax-propertize-expansions'. Handles one expansion.
196 (ruby-syntax-propertize-percent-literal): Leave point right after
197 the percent symbol, so that the expression expansion rule can
198 propertize the contents.
199 (ruby-syntax-propertize-heredoc): Leave point at bol following the
200 heredoc openers.
201 (ruby-syntax-propertize-expansions): Remove.
202
203 2013-05-18 Juri Linkov <juri@jurta.org>
204
205 * man.el (Man-default-man-entry): Remove `-' from the end
206 of the default value. (Bug#14400)
207
208 2013-05-18 Glenn Morris <rgm@gnu.org>
209
210 * comint.el (comint-password-prompt-regexp):
211 Allow "password for XXX" where XXX contains colons (eg https://...).
212
213 2013-05-18 Leo Liu <sdl.web@gmail.com>
214
215 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
216 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
217 (octave-source-directories): Don't check process.
218 (octave-source-directories, octave-find-definition): Doc fix.
219
220 2013-05-18 Glenn Morris <rgm@gnu.org>
221
222 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
223 Remove backspace/delete bindings. (Bug#14392)
224
225 * cus-dep.el (custom-make-dependencies): Sort the output.
226 (custom-versions-load-alist): Convert comment to doc.
227
228 2013-05-17 Leo Liu <sdl.web@gmail.com>
229
230 * newcomment.el (comment-search-backward): Stricter in finding
231 comment start. (Bug#14303)
232
233 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
234 (octave-comment-start-skip): Properly anchored.
235
236 2013-05-17 Leo Liu <sdl.web@gmail.com>
237
238 * emacs-lisp/smie.el (smie-highlight-matching-block-mode): Clean
239 up when turned off. (Bug#14395)
240 (smie--highlight-matching-block-overlay): No longer buffer-local.
241 (smie-highlight-matching-block): Adjust.
242
243 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
244
245 Doc string fix for "nanoseconds" (Bug#14406).
246 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
247 Fix doc string typo that had "nanoseconds" instead of "microseconds".
248
249 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
250
251 * calc/calc-units.el (math-extract-units): Preserve powers
252 of units.
253
254 2013-05-17 Leo Liu <sdl.web@gmail.com>
255
256 * subr.el (delete-consecutive-dups): New function.
257 * ido.el (ido-set-matches-1): Use it.
258 * progmodes/octave.el (inferior-octave-completion-table): Use it.
259 * ido.el (ido-remove-consecutive-dups): Remove.
260
261 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
264 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
265 regexp-opt's `words'.
266
267 2013-05-16 Leo Liu <sdl.web@gmail.com>
268
269 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
270 (smie--highlight-matching-block-overlay)
271 (smie--highlight-matching-block-lastpos)
272 (smie--highlight-matching-block-timer): New variables.
273 (smie-highlight-matching-block): New function.
274 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
275 (smie-setup): Conditionally enable smie-blink-matching-open.
276
277 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
278
279 Sync with upstream verilog-mode r840.
280 * progmodes/verilog-mode.el (verilog-mode-version)
281 (verilog-mode-release-date): Update.
282 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
283 (verilog-sig-tieoff): Fix string error on
284 AUTORESET with colon define, bug594. Reported by Andrew Hou.
285 (verilog-read-decls): Fix parameters confusing
286 AUTOINST interfaces, bug565. Reported by Leith Johnson.
287
288 2013-05-16 Eli Zaretskii <eliz@gnu.org>
289
290 * subr.el (reveal-filename): New function.
291
292 * loadup.el: Compute Emacs executable versions on MS-Windows,
293 where executables have the .exe extension. Add a hard link
294 emacs-XX.YY.ZZ.exe on MS-Windows.
295
296 * Makefile.in (XARGS_LIMIT): New variable.
297 (custom-deps, finder-data, autoloads)
298 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
299 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
300 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
301 (compile-main): Limit xargs according to $(XARGS_LIMIT).
302
303 2013-05-16 Leo Liu <sdl.web@gmail.com>
304
305 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
306 (octave-mode-menu, octave-mode-map): Remove its uses.
307
308 2013-05-16 Reto Zimmermann <reto@gnu.org>
309
310 Sync with upstream vhdl mode v3.34.2.
311 * progmodes/vhdl-mode.el: Use `push' throughout.
312 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
313 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
314 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
315 (vhdl-actual-generic-name): New option to derive actual generic name.
316 (vhdl-port-paste-signals): Replace formal by actual generics.
317 (vhdl-beautify): New name for old group vhdl-align. Update users.
318 (vhdl-beautify-options): New option.
319 (vhdl-last-input-event): New compat alias. Use throughout.
320 (vhdl-goto-line): Replace user level function `goto-line'.
321 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
322 vhdl-fix-statement-buffer.
323 (vhdl-create-mode-menu): Add some entries.
324 (vhdl-align-region-groups): Respect vhdl-beautify-options.
325 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
326 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
327 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
328 to force statements on one line.
329 (vhdl-remove-trailing-spaces-region):
330 New, split from vhdl-remove-trailing-spaces.
331 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
332 Respect vhdl-beautify-options.
333 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
334 (vhdl-update-sensitivity-list): Not add with index if exists without.
335 Not include array index with signal. Ignore keywords in comments.
336 (vhdl-get-visible-signals): Regexp tweaks.
337 (vhdl-template-component-inst): Handle empty library.
338 (vhdl-template-type): Add template for 'enum' type.
339 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
340 Use vhdl-replace-string.
341 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
342 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
343 (vhdl-speedbar-initialize): Update for above name change.
344 (vhdl-compose-wire-components): Fix in handling of constants.
345 (vhdl-error-regexp-emacs-alist): New variable.
346 (vhdl-error-regexp-add-emacs): New function;
347 adds support for new compile.el (Emacs 22+)
348 (vhdl-generate-makefile-1): Change target order for single lib. units.
349 Allow use of absolute file names.
350
351 2013-05-16 Leo Liu <sdl.web@gmail.com>
352
353 * simple.el (prog-indent-sexp): Indent enclosing defun.
354
355 2013-05-15 Glenn Morris <rgm@gnu.org>
356
357 * cus-start.el (show-trailing-whitespace): Move to editing basics.
358 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
359 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
360 (whitespace-highlight): Move to whitespace group.
361
362 * comint.el (comint-source):
363 * pcmpl-linux.el (pcmpl-linux):
364 * shell.el (shell-faces):
365 * eshell/esh-opt.el (eshell-opt):
366 * international/ccl.el (ccl): Remove empty custom groups.
367
368 * completion.el (dynamic-completion-mode):
369 * jit-lock.el (jit-lock-debug-mode):
370 * minibuffer.el (completion-in-region-mode):
371 * type-break.el (type-break-mode-line-message-mode)
372 (type-break-query-mode):
373 * emulation/tpu-edt.el (tpu-edt-mode):
374 * progmodes/subword.el (global-subword-mode, global-superword-mode):
375 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
376 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
377
378 * term/xterm.el (xterm): Change parent group to terminals.
379
380 * master.el (master): Remove empty custom group.
381 (master-mode): Remove unused :group argument.
382 * textmodes/refill.el (refill): Remove empty custom group.
383 (refill-mode): Remove unused :group argument.
384
385 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
386
387 * cus-dep.el: Provide a feature.
388 (custom-make-dependencies): Ignore dotfiles (dir-locals).
389 Don't mistakenly ignore files whose basenames match a basename
390 from preloaded-file-list (eg cedet/ede/simple.el).
391 Add a fallback method for getting :group.
392
393 2013-05-15 Juri Linkov <juri@jurta.org>
394
395 * isearch.el (isearch-char-by-name): Rename from
396 `isearch-insert-char-by-name'. Doc fix.
397 (isearch-forward): Mention `isearch-char-by-name' in
398 the docstring. (Bug#13348)
399
400 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
401 `exit-minibuffer' instead of
402 `isearch-nonincremental-exit-minibuffer'.
403 (isearch-edit-string): Remove mention of
404 `isearch-nonincremental-exit-minibuffer' from docstring.
405 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
406 (isearch-forward-exit-minibuffer)
407 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
408
409 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * loadup.el: Just use unversioned DOC.
412
413 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
414 literals as extending to EOB.
415 (nxml-last-fontify-end): Remove unused variable.
416 (nxml-after-change1): Use with-silent-modifications.
417 (nxml-extend-after-change-region): Simplify.
418 (nxml-extend-after-change-region1): Remove function.
419 (nxml-after-change1): Don't adjust for dependent regions.
420 (nxml-fontify-matcher): Simplify.
421 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
422 (xmltok-add-dependent): Remove function.
423 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
424 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
425 (xmltok-scan-prolog-after-processing-instruction-open): Treat
426 unclosed <[[, <?, comment, and other literals as extending to EOB.
427 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
428 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
429 Remove functions.
430 (rng-do-some-validation-1): Don't mark dependent regions.
431 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
432 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
433 (nxml-clear-dependent-regions): Remove functions.
434 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
435 (nxml-ensure-scan-up-to-date):
436 Don't clear&mark dependent regions.
437
438 2013-05-15 Leo Liu <sdl.web@gmail.com>
439
440 * progmodes/octave.el (octave-goto-function-definition):
441 Improve and fix callers.
442
443 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
444
445 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
446 the setter (bug#14387).
447
448 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
449 surrounding group (bug#14402).
450
451 2013-05-14 Juri Linkov <juri@jurta.org>
452
453 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
454 (Bug#14390)
455
456 2013-05-14 Glenn Morris <rgm@gnu.org>
457
458 * progmodes/f90.el (f90-imenu-generic-expression):
459 Fix typo in 2013-05-08 change. (Bug#14402)
460
461 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
462
463 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
464 Remove signals for which replies are never received.
465
466 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
467
468 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
469 (gdb-handler-alist, gdb-handler-number): Remove variables.
470 (gdb-handler-list): New variable.
471 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
472 (gdb-pending-handler-p, gdb-handle-reply)
473 (gdb-remove-all-pending-triggers): New functions.
474 (gdb-discard-unordered-replies): New defcustom.
475 (gdb-handler): New defstruct.
476 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
477 instead of gdb-pending-triggers. Update docstring.
478 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
479 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
480 (gdb-var-update-handler, def-gdb-auto-update-trigger)
481 (def-gdb-auto-update-handler, gdb-get-changed-registers)
482 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
483 (gdb-frame-handler): Pending triggers are now automatically managed.
484 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
485 Remove argument.
486 (gdb-input): Automatically handles pending triggers. Update docstring.
487 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
488 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
489 Update comments.
490 (gdb-done-or-error): Now use gdb-handle-reply.
491
492 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
493
494 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
495 gdb-debug-log.
496
497 2013-05-14 Glenn Morris <rgm@gnu.org>
498
499 * subr.el (user-emacs-directory-warning): New option.
500 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
501
502 2013-05-14 Leo Liu <sdl.web@gmail.com>
503
504 * progmodes/octave.el (octave-font-lock-keywords): Fix error
505 during redisplay.
506 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
507 (octave-font-lock-texinfo-comment): Fix invalid search bound
508 error: wrong side of point.
509
510 2013-05-14 Glenn Morris <rgm@gnu.org>
511
512 * progmodes/flymake.el (flymake-xml-program): New option.
513 (flymake-xml-init): Use it.
514
515 * term/xterm.el: Provide a feature.
516
517 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
518
519 2013-05-13 Glenn Morris <rgm@gnu.org>
520
521 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
522 Add compat aliases as a hack workaround. (Bug#14384)
523
524 2013-05-13 Leo Liu <sdl.web@gmail.com>
525
526 * progmodes/octave.el (octave-indent-comment): Fix indentation for
527 ###, and %!.
528 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
529 C-M-q.
530 (octave-comment-start-skip): Include %!.
531 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
532
533 2013-05-12 Leo Liu <sdl.web@gmail.com>
534
535 * progmodes/octave.el (inferior-octave-startup): Store the value
536 of __octave_srcdir__ for octave-source-directories.
537 (inferior-octave-check-process): New function refactored out of
538 inferior-octave-send-list-and-digest.
539 (octave-source-directories)
540 (octave-find-definition-filename-function): New variables.
541 (octave-source-directories)
542 (octave-find-definition-default-filename): New functions.
543 (octave-find-definition): Improve to find functions implemented in C++.
544
545 2013-05-12 Glenn Morris <rgm@gnu.org>
546
547 * calendar/diary-lib.el (diary-outlook-format-1):
548 Don't include dayname in the output. (Bug#14349)
549
550 2013-05-11 Glenn Morris <rgm@gnu.org>
551
552 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
553
554 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
555 Treat cc-provide like provide.
556
557 2013-05-11 Kevin Ryde <user42@zip.com.au>
558
559 * cus-dep.el (custom-make-dependencies):
560 Use generated-autoload-load-name for the sake of files such
561 such cedet/semantic/bovine/c.el, where the base file name
562 is not in load-path. (Bug#5277)
563
564 2013-05-11 Glenn Morris <rgm@gnu.org>
565
566 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
567 Provide features.
568
569 2013-05-11 Leo Liu <sdl.web@gmail.com>
570
571 * progmodes/octave.el (octave-indent-comment): Improve.
572 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
573 (octave-eldoc-function-signatures, octave-eldoc-function):
574 New functions.
575 (octave-mode, inferior-octave-mode): Add eldoc support.
576
577 2013-05-11 Richard Stallman <rms@gnu.org>
578
579 * epa.el (epa-decrypt-file): Take output file name as argument
580 and read it using `interactive'.
581
582 2013-05-11 Leo Liu <sdl.web@gmail.com>
583
584 * progmodes/octave.el (octave-beginning-of-line)
585 (octave-end-of-line): Check before using up-list because it jumps
586 out of more syntactic contructs since moving to smie.
587 (octave-indent-comment): New function.
588 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
589 (octave-begin-keywords, octave-end-keywords)
590 (octave-reserved-words, octave-smie-bnf-table)
591 (octave-smie-rules): Add new keywords from Octave 3.6.4.
592
593 2013-05-11 Glenn Morris <rgm@gnu.org>
594
595 * faces.el (internal-face-x-get-resource):
596 * frame.el (ns-display-monitor-attributes-list):
597 * calc/calc-aent.el (math-to-radians-2): Fix declarations.
598
599 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
600
601 * calc/calc-menu.el: Make it loadable in isolation.
602
603 * net/eudcb-bbdb.el: Make it loadable without bbdb.
604 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
605 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
606 (eudc-bbdb-query-internal): Require 'bbdb.
607
608 * lpr.el (lpr-headers-switches):
609 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
610
611 * progmodes/sql.el (sql-login-params): Fix and improve :type.
612
613 * emulation/edt-mapper.el: In batch mode, error rather than hang.
614
615 * term.el (term-set-escape-char): Make it idempotent.
616
617 2013-05-10 Leo Liu <sdl.web@gmail.com>
618
619 * progmodes/octave.el (inferior-octave-completion-table):
620 No longer a function and all uses changed. Use cache to speed up
621 completion due to bug#11906.
622 (octave-beginning-of-defun): Re-write to be more general.
623
624 2013-05-10 Glenn Morris <rgm@gnu.org>
625
626 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
627
628 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
629
630 * comint.el (comint-redirect-send-command-to-process): Use :around
631 rather than :override for comint-redirect-filter.
632 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
633 Call it instead of comint-redirect-original-filter-function (which
634 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
635
636 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
637
638 * frame.el (display-monitor-attributes-list): Add NS case.
639 (ns-display-monitor-attributes-list): Declare.
640
641 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
642
643 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
644
645 2013-05-09 Glenn Morris <rgm@gnu.org>
646
647 * international/fontset.el (vertical-centering-font-regexp):
648 Set standard-value.
649
650 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
651
652 * bookmark.el (bookmark-search-delay):
653 * cus-start.el (vertical-centering-font-regexp):
654 * ps-mule.el (ps-mule-font-info-database-default):
655 * ps-print.el (ps-default-fg, ps-default-bg):
656 * type-break.el (type-break-good-break-interval):
657 * whitespace.el (whitespace-indentation-regexp)
658 (whitespace-space-after-tab-regexp):
659 * emacs-lisp/testcover.el (testcover-1value-functions)
660 (testcover-noreturn-functions, testcover-progn-functions)
661 (testcover-prog1-functions):
662 * emulation/viper-init.el (viper-emacs-state-cursor-color):
663 * eshell/em-glob.el (eshell-glob-translate-alist):
664 * play/tetris.el (tetris-tty-colors):
665 * progmodes/cpp.el (cpp-face-default-list):
666 * progmodes/flymake.el (flymake-allowed-file-name-masks):
667 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
668 (idlwave-help-browser-generic-args):
669 * progmodes/make-mode.el (makefile-special-targets-list):
670 * progmodes/python.el (python-shell-virtualenv-path):
671 * progmodes/verilog-mode.el (verilog-active-low-regexp)
672 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
673 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
674 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
675 * textmodes/reftex-vars.el (reftex-format-label-function):
676 * textmodes/remember.el (remember-diary-file): Fix custom types.
677
678 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
679 Add :version.
680
681 2013-05-09 Leo Liu <sdl.web@gmail.com>
682
683 * progmodes/octave.el (inferior-octave-completion-at-point):
684 Restore file completion. (Bug#14300)
685 (inferior-octave-startup): Fix incorrect highlighting for the
686 first prompt.
687
688 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * progmodes/ruby-mode.el: First cut at SMIE support.
691 (ruby-use-smie): New var.
692 (ruby-smie-grammar): New constant.
693 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
694 (ruby-smie--forward-token, ruby-smie--backward-token)
695 (ruby-smie-rules): New functions.
696 (ruby-mode-variables): Setup SMIE if applicable.
697
698 2013-05-08 Eli Zaretskii <eliz@gnu.org>
699
700 * simple.el (line-move-visual): Signal beginning/end of buffer
701 only if vertical-motion moved less than it was requested. Avoids
702 silly incorrect error messages when there are display strings with
703 multiple newlines at EOL.
704
705 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
708 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
709 (prolog-char-quote-workaround):
710 * progmodes/cperl-mode.el (cperl-under-as-char):
711 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
712 Mark as obsolete.
713 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
714 their declaration.
715 (vhdl-mode-syntax-table-init): Remove.
716
717 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
718 last change.
719
720 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
721 syntax for "_".
722 (ld-script-font-lock-keywords):
723 Change regexps to use things like \_< and \_>.
724
725 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
726 Change all regexps to use things like \_< and \_>.
727
728 * progmodes/autoconf.el (autoconf-definition-regexp)
729 (autoconf-font-lock-keywords, autoconf-current-defun-function):
730 Handle a _ with symbol syntax.
731 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
732
733 * progmodes/ada-mode.el (ada-mode-abbrev-table):
734 Consolidate declaration.
735 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
736 the declaration.
737 (ada-create-syntax-table): Remove.
738 (ada-capitalize-word): Don't mess with the syntax of "_" since it
739 already has the right syntax nowadays.
740 (ada-goto-next-word): Don't change the syntax of "_".
741
742 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
743 with-wrapper-hook.
744
745 2013-05-08 Sam Steingold <sds@gnu.org>
746
747 * thingatpt.el (thing-at-point): Accept optional second argument
748 NO-PROPERTIES to strip the text properties from the return value.
749 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
750 to `thing-at-point' instead of stripping the properties ourselves.
751 Also, when `thing-at-point' fails to find a url, prepend "http://"
752 to the filename at point on the assumption that the user is
753 pointing at something like gnu.org/gnu.
754
755 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
756
757 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
758 * faces.el (crm-separator):
759 Silence byte-compiler.
760
761 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
762 (tool-bar-map): Remove unneeded defvars.
763
764 2013-05-08 Leo Liu <sdl.web@gmail.com>
765
766 Re-work a fix for bug#10994 based on Le Wang's patch.
767 * ido.el (ido-remove-consecutive-dups): New helper.
768 (ido-completing-read): Use it.
769 (ido-chop): Revert fix for bug#10994.
770
771 2013-05-08 Adam Spiers <emacs@adamspiers.org>
772
773 * cus-edit.el (custom-save-variables):
774 Pretty-print long values. (Bug#14187)
775
776 2013-05-08 Glenn Morris <rgm@gnu.org>
777
778 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
779 (m4-mode-syntax-table): Init in the defvar.
780 (m4-mode-abbrev-table): Let define-derived-mode define it.
781
782 2013-05-08 Tom Tromey <tromey@redhat.com>
783
784 * progmodes/m4-mode.el (m4-mode-syntax-table):
785 Do not treat "_" as word constituent. (Bug#14167)
786
787 2013-05-07 Glenn Morris <rgm@gnu.org>
788
789 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
790 Remove explicit eshell-isearch-cancel-map.
791
792 * progmodes/f90.el (f90-smart-end-names): New option.
793 (f90-smart-end): Doc fix.
794 (f90-end-block-optional-name): New constant.
795 (f90-block-match): Respect f90-smart-end-names.
796
797 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * progmodes/octave.el (octave-smie-forward-token): Be more careful
800 about implicit semi-colons (bug#14218).
801
802 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
803
804 * frame.el (display-monitor-attributes-list)
805 (frame-monitor-attributes): New functions.
806
807 2013-05-06 Leo Liu <sdl.web@gmail.com>
808
809 * progmodes/octave.el (octave-syntax-propertize-function): Change
810 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
811 (octave-font-lock-keywords): Use octave-operator-regexp.
812 (octave-completion-at-point): Rename from
813 octave-completion-at-point-function.
814 (inferior-octave-directory-tracker): Robustify.
815 (octave-text-functions): Remove and fix its uses. No such things
816 any more.
817
818 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
819
820 * emacs-lisp/trace.el (trace--display-buffer): New function.
821 (trace-make-advice): Use it.
822
823 2013-05-06 Juri Linkov <juri@jurta.org>
824
825 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
826 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
827 Doc fix.
828 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
829 in the help string. (Bug#12985)
830
831 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
832
833 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
834
835 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * progmodes/perl-mode.el: Add support for here documents.
838 (perl-syntax-propertize-function): Match here-doc markers.
839 (perl-syntax-propertize-special-constructs): Find their end.
840 (perl-imenu-generic-expression): Use [:alnum:].
841
842 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
843 (advice--add-function): Refresh the advice if already present
844 (bug#14317).
845
846 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
847
848 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
849
850 2013-05-06 Glenn Morris <rgm@gnu.org>
851
852 * w32-fns.el (w32-charset-info-alist): Declare.
853
854 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
855 of its defcustom properties.
856 (eshell-cmpl-initialize): No need to load pcomplete.
857
858 * generic-x.el: No need to require comint when compiling.
859
860 * net/eudc-export.el: Make it loadable without bbdb.
861 (top-level): Use require rather than load-library.
862 (eudc-create-bbdb-record, eudc-bbdbify-phone)
863 (eudc-batch-export-records-to-bbdb)
864 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
865 Require bbdb.
866
867 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
870 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
871 some tweaks, instead.
872
873 2013-05-05 Leo Liu <sdl.web@gmail.com>
874
875 * progmodes/octave.el (octave-font-lock-keywords)
876 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
877 (inferior-octave-send-list-and-digest): Improve error message.
878 (octave-mode, inferior-octave-mode): Use setq-local.
879 (octave-help): Set info-lookup-mode.
880
881 2013-05-05 Richard Stallman <rms@gnu.org>
882
883 * vc/compare-w.el (compare-windows-whitespace):
884 Treat no-break space as whitespace.
885
886 * mail/rmailsum.el (rmail-summary-rmail-update):
887 Detect empty summary and don't change selected message.
888 (rmail-summary-goto-msg): Likewise.
889
890 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
891 Doc fixes, rename args.
892
893 2013-05-05 Alan Mackenzie <acm@muc.de>
894
895 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
896
897 2013-05-05 Juri Linkov <juri@jurta.org>
898
899 * info.el (Info-read-subfile): Use (point-min) instead of (point)
900 to not add the length of the summary segment to the return value.
901 (Bug#14125)
902
903 2013-05-05 Leo Liu <sdl.web@gmail.com>
904
905 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
906 (inferior-octave-output-filter): Remove.
907 (octave-send-region, inferior-octave-startup): Fix callers.
908 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
909 (octave-binary-file-extensions): New user variable.
910 (octave-find-definition): Confirm if opening binary files.
911 (octave-help-file): Use octave-find-definition to get the binary
912 confirmation.
913 (octave-help): Adjust for octave-help-file change.
914
915 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
918 Merge the two entries that handle function definitions.
919 (pascal--syntax-propertize): New const.
920 (pascal-mode): Use it. Use setq-local.
921
922 2013-05-04 Glenn Morris <rgm@gnu.org>
923
924 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
925 (diary-from-outlook): Respect diary-from-outlook-function.
926
927 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
930 Move the declaration from C.
931 (read-minibuffer, eval-minibuffer): Move from C.
932 (completion-setup-function): Avoid minibuffer-completion-contents.
933
934 2013-05-03 Leo Liu <sdl.web@gmail.com>
935
936 * progmodes/octave.el (octave-font-lock-keywords): Do not
937 dehighlight 'end' in comments or strings.
938 (octave-completing-read, octave-goto-function-definition):
939 New helpers.
940 (octave-help-buffer): New user variable.
941 (octave-help-file, octave-help-function): New button types.
942 (octave-help): New command and bind it to C-h ;.
943 (octave-find-definition): New command and bind it to M-.
944 (user-error): Alias to error if not defined.
945
946 2013-05-02 Leo Liu <sdl.web@gmail.com>
947
948 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
949 for \. (bug#14332)
950 (octave-font-lock-keywords): Include [ and {.
951
952 2013-05-02 Leo Liu <sdl.web@gmail.com>
953
954 * progmodes/octave.el (inferior-octave-startup-file): Change default.
955 (inferior-octave): Remove calling comint-mode and return the buffer.
956 (inferior-octave-startup): Cosmetic changes.
957
958 2013-05-02 Leo Liu <sdl.web@gmail.com>
959
960 * progmodes/octave.el (octave-syntax-propertize-function):
961 Include the case when ' is at line beginning. (Bug#14336)
962
963 2013-05-02 Glenn Morris <rgm@gnu.org>
964
965 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
966 * desktop.el (vc-dir-mode): Just autoload it here.
967
968 2013-05-02 Alan Mackenzie <acm@muc.de>
969
970 Eliminate variable c-standard-font-lock-fontify-region-function.
971 * progmodes/cc-mode.el
972 (c-standard-font-lock-fontify-region-function): Remove.
973 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
974
975 2013-05-01 Leo Liu <sdl.web@gmail.com>
976
977 * progmodes/octave.el: Compatible with older emacs-24 releases.
978 (inferior-octave-has-built-in-variables): Remove. Built-in
979 variables were removed from Octave in 2007.
980 (inferior-octave-startup): Fix uses.
981 (comint-line-beginning-position): Remove compatibility code for
982 emacs 21.
983
984 2013-05-01 Juri Linkov <juri@jurta.org>
985
986 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
987
988 2013-05-01 Juri Linkov <juri@jurta.org>
989
990 * comint.el (comint-previous-matching-input): Don't print message
991 "History item: %d" when `isearch-mode' is active.
992 (comint-history-isearch-message): Print message "History item: %d"
993 when `comint-input-ring-index' is not empty and this function is
994 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
995
996 2013-05-01 Leo Liu <sdl.web@gmail.com>
997
998 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
999 definitions. Use completion-at-point to insert keywords.
1000 (octave-abbrev-start): Remove.
1001 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
1002
1003 2013-04-30 Leo Liu <sdl.web@gmail.com>
1004
1005 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
1006 change.
1007
1008 2013-04-30 Alan Mackenzie <acm@muc.de>
1009
1010 Handle arbitrarily long C++ member initialisation lists.
1011 * progmodes/cc-engine.el (c-back-over-member-initializers):
1012 new function.
1013 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
1014 (most) member init lists.
1015
1016 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1017
1018 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
1019 variable.
1020
1021 2013-04-30 Leo Liu <sdl.web@gmail.com>
1022
1023 * progmodes/octave.el (octave-variables): Remove. No builtin
1024 variables any more. All converted to functions.
1025 (octave-font-lock-keywords, octave-completion-at-point-function):
1026 Fix uses.
1027 (octave-font-lock-texinfo-comment): New user variable.
1028 (octave-texinfo-font-lock-keywords): New variable for texinfo
1029 comment block.
1030 (octave-function-comment-block): New face.
1031 (octave-font-lock-texinfo-comment): New function.
1032 (octave-mode): Font lock texinfo comment block.
1033
1034 2013-04-29 Leo Liu <sdl.web@gmail.com>
1035
1036 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
1037 indexing expression.
1038 (octave-continuation-string): Do not use \.
1039 (inferior-octave-complete-impossible): Remove.
1040 (inferior-octave-completion-table)
1041 (inferior-octave-completion-at-point): Remove its uses.
1042 (inferior-octave-startup): completion_matches was introduced to
1043 Octave in 1996 so safe to assume it.
1044 (octave-function-file-comment): Improve to follow how Octave does it.
1045 (octave-update-function-file-comment): Tweak.
1046
1047 2013-04-29 Leo Liu <sdl.web@gmail.com>
1048
1049 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
1050 (inferior-octave-startup): Remove inferior-octave-startup-hook.
1051 (octave-function-file-comment): Fix typo.
1052 (octave-sync-function-file-names): Use read-char-choice.
1053
1054 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
1055
1056 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
1057 to t for the less important warnings.
1058
1059 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
1060
1061 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
1062
1063 2013-04-27 Glenn Morris <rgm@gnu.org>
1064
1065 * vc/log-view.el (log-view-current-entry):
1066 Treat "---" separator lines as part of the following rev. (Bug#14169)
1067
1068 2013-04-27 Juri Linkov <juri@jurta.org>
1069
1070 * subr.el (read-number): Doc fix about using it by interactive
1071 code letter `n'. (Bug#14254)
1072
1073 2013-04-27 Juri Linkov <juri@jurta.org>
1074
1075 * desktop.el (desktop-auto-save-timeout): New option.
1076 (desktop-file-checksum): New variable.
1077 (desktop-save): Add optional arg `auto-save' and don't auto-save
1078 if nothing changed.
1079 (desktop-auto-save-timer): New variable.
1080 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
1081 (after-init-hook): Call `desktop-auto-save-set-timer'.
1082 Suggested by Reuben Thomas <rrt@sc3d.org> in
1083 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
1084
1085 2013-04-27 Leo Liu <sdl.web@gmail.com>
1086
1087 * progmodes/octave.el (octave-function-file-p)
1088 (octave-skip-comment-forward, octave-function-file-comment)
1089 (octave-update-function-file-comment): New functions.
1090 (octave-mode-map): Bind C-c ; to
1091 octave-update-function-file-comment.
1092 (octave-mode-menu): Add octave-update-function-file-comment.
1093 (octave-mode, inferior-octave-mode): Fix doc-string.
1094 (octave-insert-defun): Conform to Octave's coding convention.
1095 (Bug#14285)
1096
1097 * files.el (basic-save-buffer): Don't let errors in
1098 before-save-hook prevent saving buffer.
1099
1100 2013-04-20 Roland Winkler <winkler@gnu.org>
1101
1102 * faces.el (read-face-name): Use completing-read if arg multiple
1103 is nil.
1104
1105 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
1106
1107 * ls-lisp.el (ls-lisp-insert-directory): If no files are
1108 displayed, move point to after the totals line.
1109 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
1110 for the details.
1111
1112 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1113
1114 * emacs-lisp/package.el (package-autoload-ensure-default-file):
1115 Add current dir to the load-path.
1116 (package-generate-autoloads): Don't rely on
1117 autoload-ensure-default-file.
1118
1119 2013-04-26 Reuben Thomas <rrt@sc3d.org>
1120
1121 * textmodes/remember.el (remember-store-in-files): Document that
1122 the file name format is passed to `format-time-string'.
1123
1124 2013-04-26 Leo Liu <sdl.web@gmail.com>
1125
1126 * progmodes/octave.el (octave-sync-function-file-names): New function.
1127 (octave-mode): Use it in before-save-hook.
1128
1129 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1130
1131 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
1132 (bug#14274).
1133
1134 * progmodes/octave.el (octave-smie-forward-token): Properly skip
1135 \n and comment, even if it's not an implicit ; (bug#14218).
1136
1137 2013-04-26 Glenn Morris <rgm@gnu.org>
1138
1139 * subr.el (read-number): Once more use `read' rather than
1140 `string-to-number', to trap non-numeric input. (Bug#14254)
1141
1142 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
1143
1144 * emacs-lisp/syntax.el (syntax-propertize-multiline):
1145 Use `syntax-multiline' text property consistently instead of
1146 `font-lock-multiline'. (bug#14237).
1147
1148 2013-04-26 Glenn Morris <rgm@gnu.org>
1149
1150 * emacs-lisp/shadow.el (list-load-path-shadows):
1151 No longer necessary to check for duplicate simple.el, since
1152 2012-07-07 change to init_lread to not include installation lisp
1153 directories in load-path when running uninstalled. (Bug#14270)
1154
1155 2013-04-26 Leo Liu <sdl.web@gmail.com>
1156
1157 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
1158 (octave-mode, inferior-octave-mode): Use setq-local.
1159 (octave-not-in-string-or-comment-p): Rename to
1160 octave-in-string-or-comment-p.
1161 (octave-in-comment-p, octave-in-string-p)
1162 (octave-in-string-or-comment-p): Replace defsubst with defun.
1163
1164 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
1165
1166 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
1167
1168 2013-04-25 Bastien Guerry <bzg@gnu.org>
1169
1170 * textmodes/remember.el (remember-data-directory)
1171 (remember-directory-file-name-format): Fix custom types.
1172
1173 2013-04-25 Leo Liu <sdl.web@gmail.com>
1174
1175 * progmodes/octave.el (octave-completion-at-point-function):
1176 Make use of inferior octave process.
1177 (octave-initialize-completions): Remove.
1178 (inferior-octave-completion-table): New function.
1179 (inferior-octave-completion-at-point): Use it.
1180 (octave-completion-alist): Remove.
1181
1182 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1183
1184 * progmodes/opascal.el: Use font-lock and syntax-propertize.
1185 (opascal-mode-syntax-table): New var.
1186 (opascal-literal-kind, opascal-is-literal-end)
1187 (opascal-literal-token-at): Rewrite.
1188 (opascal--literal-start-re, opascal-font-lock-keywords)
1189 (opascal--syntax-propertize): New constants.
1190 (opascal-font-lock-defaults): Adjust.
1191 (opascal-mode): Use them. Set comment-<foo> variables as well.
1192 (delphi-comment-face, opascal-comment-face, delphi-string-face)
1193 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
1194 (delphi-other-face, opascal-other-face): Remove face variables.
1195 (opascal-save-state): Remove macro.
1196 (opascal-fontifying-progress-step): Remove constant.
1197 (opascal--ignore-changes): Remove var.
1198 (opascal-set-token-property, opascal-parse-next-literal)
1199 (opascal-is-stable-literal, opascal-complete-literal)
1200 (opascal-is-literal-start, opascal-face-of)
1201 (opascal-parse-region, opascal-parse-region-until-stable)
1202 (opascal-fontify-region, opascal-after-change)
1203 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
1204 (opascal-debug-parse-region, opascal-debug-parse-window)
1205 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
1206 (opascal-debug-fontify-buffer): Remove.
1207 (opascal-debug-mode-map): Adjust accordingly.
1208
1209 2013-04-25 Leo Liu <sdl.web@gmail.com>
1210
1211 Merge octave-mod.el and octave-inf.el into octave.el with some
1212 cleanups.
1213 * progmodes/octave.el: New file renamed from octave-mod.el.
1214 * progmodes/octave-inf.el: Merged into octave.el.
1215 * progmodes/octave-mod.el: Renamed to octave.el.
1216
1217 2013-04-25 Tassilo Horn <tsdh@gnu.org>
1218
1219 * textmodes/reftex-vars.el
1220 (reftex-label-ignored-macros-and-environments): New defcustom.
1221
1222 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
1223
1224 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1225
1226 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
1227 (smie-indent-keyword): Improve the check to ensure that the next
1228 comment is really on the same line.
1229 (smie-indent-comment): Don't align with a subsequent closer (or eob).
1230
1231 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
1232 semi-colons if the line is not otherwise empty (bug#14218).
1233
1234 2013-04-25 Glenn Morris <rgm@gnu.org>
1235
1236 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
1237
1238 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1239
1240 * progmodes/opascal.el (opascal-set-token-property): Rename from
1241 opascal-set-text-properties and only set `token' (bug#14134).
1242 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
1243 (opascal-literal-text-properties): Remove.
1244 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
1245 Adjust callers.
1246
1247 2013-04-24 Reuben Thomas <rrt@sc3d.org>
1248
1249 * textmodes/remember.el (remember-handler-functions): Add an
1250 option for a new handler `remember-store-in-files'.
1251 (remember-data-directory, remember-directory-file-name-format):
1252 New options.
1253 (remember-store-in-files): New function to store remember notes
1254 as separate files within a directory.
1255
1256 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
1257
1258 * progmodes/compile.el (compilation-next-error-function):
1259 Pass "formats" to compilation-find-file (bug#11777).
1260
1261 2013-04-24 Glenn Morris <rgm@gnu.org>
1262
1263 * vc/vc-bzr.el (vc-bzr-print-log):
1264 * vc/vc-hg.el (vc-hg-print-log):
1265 * vc/vc-svn.el (vc-svn-print-log):
1266 Fix START-REVISION with LIMIT != 1. (Bug#14168)
1267
1268 * vc/vc-bzr.el (vc-bzr-print-log):
1269 * vc/vc-cvs.el (vc-cvs-print-log):
1270 * vc/vc-git.el (vc-git-print-log):
1271 * vc/vc-hg.el (vc-hg-print-log):
1272 * vc/vc-mtn.el (vc-mtn-print-log):
1273 * vc/vc-rcs.el (vc-rcs-print-log):
1274 * vc/vc-sccs.el (vc-sccs-print-log):
1275 * vc/vc-svn.el (vc-svn-print-log):
1276 * vc/vc.el (vc-print-log-internal): Doc fixes.
1277
1278 2013-04-23 Glenn Morris <rgm@gnu.org>
1279
1280 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
1281 Remove venerable code attempting to avoid substitute-command-keys.
1282
1283 2013-04-23 Tassilo Horn <tsdh@gnu.org>
1284
1285 * textmodes/reftex-vars.el (reftex-label-regexps):
1286 Call `reftex-compile-variables' after changes to this variable.
1287
1288 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1289
1290 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1291 Use lexical-binding.
1292 (jit-lock-force-redisplay): Use markers, check buffer's continued
1293 existence and beware narrowed buffers.
1294 (jit-lock-fontify-now): Adjust call accordingly.
1295
1296 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1297
1298 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
1299 to avoid misleading the user.
1300
1301 2013-04-22 Leo Liu <sdl.web@gmail.com>
1302
1303 * info-look.el: Prefer latex2e.info. (Bug#14240)
1304
1305 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
1306
1307 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
1308
1309 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
1310 * net/tramp.el (tramp-call-process): ... here
1311 (tramp-set-completion-function, tramp-parse-putty):
1312 * net/tramp-adb.el (tramp-adb-execute-adb-command):
1313 * net/tramp-gvfs.el (tramp-gvfs-send-command):
1314 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1315 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
1316 (tramp-call-local-coding-command): Use `tramp-call-process'
1317 instead of `tramp-compat-call-process'.
1318
1319 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
1320 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
1321 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
1322 (tramp-find-inline-compress):Improve traces.
1323 (tramp-maybe-send-script): Check for Perl binary.
1324 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
1325
1326 2013-04-22 Daiki Ueno <ueno@gnu.org>
1327
1328 * epg.el (epg-context-pinentry-mode): New function.
1329 (epg-context-set-pinentry-mode): New function.
1330 (epg--start): Pass --pinentry-mode option to gpg command.
1331
1332 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
1333
1334 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
1335 `comint-dynamic-complete' is obsolete since 24.1, replaced by
1336 `completion-at-point'. (Bug#13774)
1337
1338 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
1339 default key binding for `describe-distribution' has been moved to
1340 `C-h C-o'. (Bug#13970)
1341
1342 2013-04-21 Glenn Morris <rgm@gnu.org>
1343
1344 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
1345 Add doc strings.
1346 (vc-print-log): Clarify interactive prompt.
1347
1348 2013-04-20 Glenn Morris <rgm@gnu.org>
1349
1350 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
1351 No longer include timestamp etc information.
1352
1353 2013-04-20 Roland Winkler <winkler@gnu.org>
1354
1355 * faces.el (read-face-name): Bug fix, return just one face if arg
1356 multiple is nil. (Bug#14209)
1357
1358 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
1361 (remove-function): Autoload.
1362
1363 * comint.el (comint-redirect-original-filter-function): Remove.
1364 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
1365 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
1366 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
1367 * progmodes/prolog.el (prolog-consult-compile):
1368 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
1369 Use add/remove-function instead.
1370 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
1371 (gud-tooltip-process-output, gud-tooltip-tips):
1372 Use add/remove-function instead.
1373 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
1374 (scheme-interaction-mode, exit-scheme-interaction-mode):
1375 Use add/remove-function instead.
1376
1377 * vc/vc-dispatcher.el: Use lexical-binding.
1378 (vc--process-sentinel): Rename from vc-process-sentinel.
1379 Change last arg to be the code to run. Don't use vc-previous-sentinel
1380 and vc-sentinel-commands any more.
1381 (vc-exec-after): Allow code to be a function. Use add/remove-function.
1382 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
1383
1384 2013-04-19 Masatake YAMATO <yamato@redhat.com>
1385
1386 * progmodes/sh-script.el (sh-imenu-generic-expression):
1387 Handle function names with a single character. (Bug#14111)
1388
1389 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
1390
1391 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
1392 for subroutines defined in an eval (bug#14182).
1393
1394 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1395
1396 * bookmark.el (bookmark-completing-read): Improve handling of empty
1397 string (bug#14176).
1398
1399 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1400
1401 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
1402
1403 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
1404
1405 New faster Imenu implementation (bug#14058).
1406 * progmodes/python.el:
1407 (python-imenu-prev-index-position):
1408 (python-imenu-format-item-label-function)
1409 (python-imenu-format-parent-item-label-function)
1410 (python-imenu-format-parent-item-jump-label-function):
1411 New vars.
1412 (python-imenu-format-item-label)
1413 (python-imenu-format-parent-item-label)
1414 (python-imenu-format-parent-item-jump-label)
1415 (python-imenu--put-parent, python-imenu--build-tree)
1416 (python-imenu-create-index, python-imenu-create-flat-index)
1417 (python-util-popn): New functions.
1418 (python-mode): Set imenu-create-index-function to
1419 python-imenu-create-index.
1420
1421 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 * winner.el (winner-active-region): Use region-active-p, activate-mark
1424 and deactivate-mark (bug#14225).
1425
1426 * simple.el (deactivate-mark): Don't inline it.
1427
1428 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
1429
1430 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
1431
1432 2013-04-18 Tassilo Horn <tsdh@gnu.org>
1433
1434 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
1435 file extensions from the archive-mode entry in order to prefer
1436 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
1437
1438 2013-04-18 Leo Liu <sdl.web@gmail.com>
1439
1440 * bindings.el (help-event-list): Add ?\?.
1441
1442 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1443
1444 * subr.el (with-wrapper-hook): Declare obsolete.
1445 * simple.el (filter-buffer-substring-function): New hook.
1446 (filter-buffer-substring): Use it.
1447 (filter-buffer-substring-functions): Mark obsolete.
1448 * minibuffer.el (completion-in-region-function): New hook.
1449 (completion-in-region): Use it.
1450 (completion-in-region-functions): Mark obsolete.
1451 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
1452 * abbrev.el (abbrev-expand-function): New hook.
1453 (expand-abbrev): Use it.
1454 (abbrev-expand-functions): Mark obsolete.
1455 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
1456 and :filter-return.
1457
1458 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1459
1460 * progmodes/python.el (python-nav--syntactically): Fix cornercases
1461 and do not care about match data.
1462
1463 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1464
1465 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
1466 completion tables when completing error conditions and
1467 `declare' arguments.
1468 (lisp-complete-symbol, field-complete): Mark as obsolete.
1469 (check-parens): Unmatched parens are user errors.
1470 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
1471
1472 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
1473
1474 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
1475 command changed buffer (ie. `flyspell-pre-buffer' is not current
1476 buffer), which prevents making decisions based on invalid value of
1477 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
1478 cause an error when `flyspell-pre-point' was nil after switching
1479 buffers.
1480 (flyspell-post-command-hook): No longer needs to change buffers when
1481 checking pre-word. While at it remove unnecessary progn.
1482
1483 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1484
1485 * textmodes/ispell.el (ispell-add-per-file-word-list):
1486 Fix `flyspell-correct-word-before-point' error when accepting
1487 words and `coment-padding' is an integer by using
1488 `comment-normalize-vars' (Bug #14214).
1489
1490 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1491
1492 New defun movement commands.
1493 * progmodes/python.el (python-nav--syntactically)
1494 (python-nav--forward-defun, python-nav-backward-defun)
1495 (python-nav-forward-defun): New functions.
1496
1497 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
1498
1499 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
1500 (python-syntax-context): Use named compiler-macro for backwards
1501 compatibility with Emacs 24.x.
1502
1503 2013-04-17 Leo Liu <sdl.web@gmail.com>
1504
1505 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
1506 octave-hide-process-buffer.
1507
1508 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
1511 (bug#14216).
1512
1513 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
1514
1515 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
1516 Fix adjustment of offset when receiving incomplete responses from GDB
1517 (bug#14129).
1518
1519 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1520
1521 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
1522 python-mode-abbrev-table.
1523 (python-skeleton-define): Adjust accordingly.
1524 (python-mode-abbrev-table): New table that inherits from it so that
1525 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
1526
1527 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
1528 (abbrev-symbol): Use it.
1529 (abbrev--before-point): Use it since we already handle inheritance.
1530
1531 2013-04-16 Leo Liu <sdl.web@gmail.com>
1532
1533 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
1534 binding to info-lookup-symbol.
1535
1536 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
1537
1538 * minibuffer.el (completion--twq-all):
1539 * term/ns-win.el (ns-initialize-window-system):
1540 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
1541
1542 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
1545 global bindings.
1546
1547 * doc-view.el (doc-view-start-process): Handle url-handler directories.
1548
1549 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
1550
1551 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
1552 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
1553 to nil.
1554 (ruby-end-of-defun): Remove the unused arg, change the docstring
1555 to reflect that this function is only used as the value of
1556 `end-of-defun-function'.
1557 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
1558 to reflect an earlier change that beginning/end-of-defun functions
1559 jump between methods in a class definition, as well as top-level
1560 functions.
1561
1562 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1563
1564 * minibuffer.el (minibuffer-complete): Don't just scroll
1565 a *Completions* that's been iconified.
1566 (minibuffer-force-complete): Make sure repetitions do cycle when going
1567 through completion-in-region -> minibuffer-complete.
1568
1569 2013-04-15 Alan Mackenzie <acm@muc.de>
1570
1571 Correct the placement of c-cpp-delimiters when there're #s not at
1572 col 0.
1573
1574 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
1575 place a submatch around the #.
1576 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
1577 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
1578 on the #, not BOL.
1579
1580 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * emacs-lisp/nadvice.el: Properly test names when adding advice.
1583 (advice--member-p): New arg `name'.
1584 (advice--add-function, advice-member-p): Use it (bug#14202).
1585
1586 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
1587
1588 Reformulate java imenu-generic-expression.
1589 The old expression contained ill formed regexps.
1590
1591 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
1592 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
1593 (cc-imenu-java-method-arg-regexp): New defconsts.
1594 (cc-imenu-java-build-type-args-regex): New defun.
1595 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1596 handling of spaces in the regexp.
1597
1598 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1599
1600 * textmodes/ispell.el (ispell-command-loop): Remove
1601 flyspell highlight of a word when ispell accepts it (bug #14178).
1602
1603 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
1604
1605 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
1606 uses code from the previous `ange-ftp-run-real-handler'.
1607 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
1608 only in case that function exist. This is needed for proper
1609 unloading of Tramp.
1610
1611 2013-04-15 Tassilo Horn <tsdh@gnu.org>
1612
1613 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
1614
1615 * textmodes/reftex.el (reftex-compile-variables): Use it.
1616
1617 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1618
1619 * files.el (normal-mode): Only use default major-mode if no other mode
1620 was specified.
1621
1622 * emacs-lisp/trace.el (trace-values): New function.
1623
1624 * files.el: Allow : in local variables (bug#14089).
1625 (hack-local-variable-regexp): New var.
1626 (hack-local-variables-prop-line, hack-local-variables): Use it.
1627
1628 2013-04-13 Roland Winkler <winkler@gnu.org>
1629
1630 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
1631 data before it gets modified by bibtex-beginning-of-entry.
1632
1633 2013-04-13 Roland Winkler <winkler@gnu.org>
1634
1635 * textmodes/bibtex.el (bibtex-url): Doc fix.
1636
1637 2013-04-13 Roland Winkler <winkler@gnu.org>
1638
1639 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
1640 does not visit a BibTeX file, exclude it from the list of buffers
1641 returned by bibtex-initialize.
1642
1643 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
1644
1645 * window.el (split-window): Remove interactive form, since as a
1646 command this function is a special case of split-window-below.
1647 Correct doc string.
1648
1649 2013-04-12 Roland Winkler <winkler@gnu.org>
1650
1651 * faces.el (read-face-name): Do not override value of arg default.
1652 Allow single faces and strings as default values. Remove those
1653 elements from return value that are not faces.
1654 (describe-face): Simplify.
1655 (face-at-point): New optional args thing and multiple so that this
1656 function can provide the same functionality previously provided by
1657 read-face-name.
1658 (make-face-bold, make-face-unbold, make-face-italic)
1659 (make-face-unitalic, make-face-bold-italic, invert-face)
1660 (modify-face, read-face-and-attribute): Use face-at-point.
1661
1662 * cus-edit.el (customize-face, customize-face-other-window)
1663 * cus-theme.el (custom-theme-add-face)
1664 * face-remap.el (buffer-face-set)
1665 * facemenu.el (facemenu-set-face): Use face-at-point.
1666
1667 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
1668
1669 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
1670
1671 2013-04-10 Tassilo Horn <tsdh@gnu.org>
1672
1673 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
1674 off leading { and trailing } from field values.
1675
1676 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * emacs-lisp/timer.el (timer--check): New function.
1679 (timer--time, timer-set-function, timer-event-handler): Use it.
1680 (timer-set-idle-time): Simplify.
1681 (timer--activate): CSE.
1682 (timer-event-handler): Give more info in error message.
1683 (internal-timer-start-idle): New function, moved from C.
1684
1685 * mpc.el (mpc-proc): Add `restart' argument.
1686 (mpc-proc-cmd): Use it.
1687 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
1688 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
1689 less often.
1690
1691 2013-04-10 Masatake YAMATO <yamato@redhat.com>
1692
1693 * progmodes/sh-script.el: Implement `sh-mode' own
1694 `add-log-current-defun-function' (bug#14112).
1695 (sh-current-defun-name): New function.
1696 (sh-mode): Use the function.
1697
1698 2013-04-09 Bastien Guerry <bzg@gnu.org>
1699
1700 * simple.el (choose-completion-string): Fix docstring (bug#14163).
1701
1702 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1703
1704 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
1705
1706 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
1707 timer (bug#14156).
1708
1709 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
1710
1711 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
1712 declaration.
1713
1714 2013-04-07 Leo Liu <sdl.web@gmail.com>
1715
1716 * pcmpl-x.el: New file.
1717
1718 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
1719
1720 Do not set x-display-name until X connection is established.
1721 This is needed to prevent from weird situation described at
1722 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
1723 * frame.el (make-frame): Set x-display-name after call to
1724 window system initialization function, not before.
1725 * term/x-win.el (x-initialize-window-system): Add optional
1726 display argument and use it.
1727 * term/w32-win.el (w32-initialize-window-system):
1728 * term/ns-win.el (ns-initialize-window-system):
1729 * term/pc-win.el (msdos-initialize-window-system):
1730 Add compatible optional display argument.
1731
1732 2013-04-06 Eli Zaretskii <eliz@gnu.org>
1733
1734 * files.el (normal-backup-enable-predicate): On MS-Windows and
1735 MS-DOS compare truenames of temporary-file-directory and of the
1736 file, so that 8+3 aliases (usually found in $TEMP on Windows)
1737 don't fail comparison by compare-strings. Also, compare file
1738 names case-insensitively on MS-Windows and MS-DOS.
1739
1740 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1741
1742 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
1743 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
1744
1745 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
1746
1747 * whitespace.el (whitespace-color-on, whitespace-color-off):
1748 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
1749
1750 2013-04-05 Jacek ChrzÄ…szcz <chrzaszcz@mimuw.edu.pl> (tiny change)
1751
1752 * ispell.el (ispell-set-spellchecker-params):
1753 Really set `ispell-args' for all equivs.
1754
1755 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
1756
1757 * ido.el (ido-completions): Use extra elements of ido-decorations
1758 (bug#14143).
1759 (ido-decorations): Update docstring.
1760
1761 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
1762
1763 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1764 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1765 nil during initialization, in order not to miss changes since the
1766 file was opened. (Bug#14140)
1767
1768 2013-04-05 Leo Liu <sdl.web@gmail.com>
1769
1770 * kmacro.el (kmacro-call-macro): Fix bug#14135.
1771
1772 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
1773
1774 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1775
1776 2013-04-04 Glenn Morris <rgm@gnu.org>
1777
1778 * electric.el (electric-pair-inhibit-predicate): Add :version.
1779
1780 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
1781
1782 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1783 when a package is required several times (bug#14082).
1784
1785 2013-04-04 Roland Winkler <winkler@gnu.org>
1786
1787 * faces.el (read-face-name): Behave as promised by the docstring.
1788 Assume that arg default is a list of faces.
1789 (describe-face): Call read-face-name with list of default faces.
1790
1791 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1792
1793 * bookmark.el: Fix deletion of bookmarks (bug#13972).
1794 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1795 (bookmark-bmenu-execute-deletions): Only skip first line if it's
1796 the header.
1797 (bookmark-exit-hook-internal): Save even if list is empty.
1798
1799 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
1800
1801 * emacs-lisp/package.el (package-pinned-packages): New var.
1802 (package--add-to-archive-contents): Obey it (bug#14118).
1803
1804 2013-04-03 Alan Mackenzie <acm@muc.de>
1805
1806 Handle `parse-partial-sexp' landing inside a comment opener
1807 (Bug#13244). Also adapt to the new values of element 7 of a parse
1808 state.
1809
1810 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1811 parameter `not-in-delimiter'. Handle being inside comment opener.
1812 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1813 character in case we're typing a '*' after a '/'.
1814 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1815 instead by passing the parameter to c-state-pp-to-literal.
1816
1817 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1818 for elt. 7 of a parse state.
1819
1820 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
1821
1822 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1823 * international/latin1-disp.el, international/mule-util.el:
1824 * language/cyril-util.el, language/european.el, language/ind-util.el:
1825 * language/lao-util.el, language/thai.el, language/tibet-util.el:
1826 * language/tibetan.el, language/viet-util.el:
1827 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1828
1829 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1830
1831 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1832 (electric-pair-post-self-insert-function): Use it.
1833 (electric-pair-default-inhibit): New function, extracted from
1834 electric-pair-post-self-insert-function.
1835
1836 2013-03-31 Roland Winkler <winkler@gnu.org>
1837
1838 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1839
1840 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1843
1844 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
1845
1846 Un-indent after "pass" and "return" statements (Bug#13888)
1847 * progmodes/python.el (python-indent-block-enders): New var.
1848 (python-indent-calculate-indentation): Use it.
1849
1850 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
1851
1852 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1853 defun. Defining it as defalias could introduce too eager
1854 byte-compiler optimization. (Bug#14030)
1855
1856 2013-03-30 Chong Yidong <cyd@gnu.org>
1857
1858 * iswitchb.el (iswitchb-read-buffer): Fix typo.
1859
1860 2013-03-30 Leo Liu <sdl.web@gmail.com>
1861
1862 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1863 (kmacro-execute-from-register): Pass the keyboard macro to
1864 kmacro-call-macro or repeating won't work correctly.
1865
1866 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
1867
1868 * progmodes/subword.el: Back to using `forward-symbol'.
1869
1870 * subr.el (forward-whitespace, forward-symbol)
1871 (forward-same-syntax): Move from thingatpt.el.
1872
1873 2013-03-29 Leo Liu <sdl.web@gmail.com>
1874
1875 * kmacro.el (kmacro-to-register): New command.
1876 (kmacro-execute-from-register): New function.
1877 (kmacro-keymap): Bind to 'x'. (Bug#14071)
1878
1879 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * mpc.el: Use defvar-local and setq-local.
1882 (mpc--proc-connect): Connection failures are not bugs.
1883 (mpc-mode-map): `follow-link' only applies to the buffer's content.
1884 (mpc-volume-map): Bind to the up-events.
1885
1886 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
1887
1888 * progmodes/subword.el (superword-mode): Use `forward-sexp'
1889 instead of `forward-symbol'.
1890
1891 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1894 (edebug--recursive-edit): Use it.
1895 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1896 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1897
1898 2013-03-28 Leo Liu <sdl.web@gmail.com>
1899
1900 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
1901
1902 2013-03-27 Eli Zaretskii <eliz@gnu.org>
1903
1904 * facemenu.el (list-colors-callback): New defvar.
1905 (list-colors-redisplay): New function.
1906 (list-colors-display): Install list-colors-redisplay as the
1907 revert-buffer-function. (Bug#14063)
1908
1909 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
1910
1911 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1912 and suffixes don't overlap (bug#14061).
1913
1914 * case-table.el: Use lexical-binding.
1915 (case-table-get-table): New function.
1916 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
1917
1918 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
1919
1920 * progmodes/subword.el: Add `superword-mode' to do word motion
1921 over symbol_words (parallels and leverages `subword-mode' which
1922 does word motion inside MixedCaseWords).
1923
1924 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
1925
1926 * eshell/em-unix.el: Move su and sudo to...
1927 * eshell/em-tramp.el: ...Eshell tramp module.
1928
1929 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1930
1931 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1932 Change return value to be a sexp. Delay `get-buffer' to after
1933 restoring the desktop (bug#13951).
1934
1935 2013-03-26 Leo Liu <sdl.web@gmail.com>
1936
1937 * register.el: Move semantic tag handling back to
1938 cedet/semantic/senator.el. (Bug#14052)
1939
1940 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
1941
1942 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1943 into the prompt either (bug#13963).
1944
1945 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1946
1947 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1948 part of "(error-foo)".
1949
1950 2013-03-24 Juri Linkov <juri@jurta.org>
1951
1952 * replace.el (list-matching-lines-prefix-face): New defcustom.
1953 (occur-1): Pass `list-matching-lines-prefix-face' to the function
1954 `occur-engine' if `face-differs-from-default-p' returns t.
1955 (occur-engine): Add `,' inside backquote construct to evaluate
1956 `prefix-face'. Propertize the prefix with the `prefix-face' face.
1957 Pass `prefix-face' to the functions `occur-context-lines' and
1958 `occur-engine-add-prefix'.
1959 (occur-engine-add-prefix, occur-context-lines): Add optional arg
1960 `prefix-face' and propertize the prefix with `prefix-face'.
1961 (Bug#14017)
1962
1963 2013-03-24 Leo Liu <sdl.web@gmail.com>
1964
1965 * nxml/rng-valid.el (rng-validate-while-idle)
1966 (rng-validate-quick-while-idle): Guard against deleted buffer.
1967 (Bug#13999)
1968
1969 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1970 is the last entry in kill-buffer-hook.
1971
1972 * files.el (kill-buffer-hook): Doc fix.
1973
1974 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
1975
1976 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1977 Make it safe-local.
1978
1979 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1980
1981 2013-03-23 Leo Liu <sdl.web@gmail.com>
1982
1983 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1984 Remove.
1985
1986 * nxml/rng-valid.el (rng-validate-mode)
1987 (rng-after-change-function, rng-do-some-validation):
1988 * nxml/rng-maint.el (rng-validate-buffer):
1989 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1990 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1991 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1992 (nxml-extend-after-change-region): Use with-silent-modifications.
1993
1994 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1995 timer-idle-list.
1996
1997 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1998 (rng-next-error-1, rng-previous-error-1): Do not let-bind
1999 timer-idle-list. (Bug#13999)
2000
2001 2013-03-23 Juri Linkov <juri@jurta.org>
2002
2003 * info.el (info-index-match): New face.
2004 (Info-index, Info-apropos-matches): Add a nested subgroup to the
2005 main pattern and add text properties with the new face to matches
2006 in index entries relative to the beginning of the index entry.
2007 (Bug#14015)
2008
2009 2013-03-21 Eric Ludlam <zappo@gnu.org>
2010
2011 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
2012 Inhibit read only while inserting objects.
2013
2014 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
2015
2016 * progmodes/cfengine.el: Update docs to mention
2017 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
2018 symbol motion. Remove "_" from the word syntax.
2019
2020 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
2021
2022 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
2023 syntax for both `cfengine2-mode' and `cfengine3-mode'.
2024
2025 2013-03-20 Juri Linkov <juri@jurta.org>
2026
2027 * info.el (Info-next-reference-or-link)
2028 (Info-prev-reference-or-link): New functions.
2029 (Info-next-reference, Info-prev-reference): Use them.
2030 (Info-try-follow-nearest-node): Handle footnote navigation.
2031 (Info-fontify-node): Fontify footnotes. (Bug#13989)
2032
2033 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2034
2035 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
2036 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
2037
2038 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
2039
2040 Suppress unnecessary non-ASCII chatter during build process.
2041 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
2042 (batch-skkdic-convert): Suppress most of the chatter.
2043 It's not needed so much now that machines are faster,
2044 and its non-ASCII component was confusing; see Dmitry Gutov in
2045 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
2046
2047 2013-03-20 Leo Liu <sdl.web@gmail.com>
2048
2049 * ido.el (ido-chop): Fix bug#10994.
2050
2051 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2052
2053 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
2054 Remove vars.
2055 (whitespace-color-on, whitespace-color-off):
2056 Use `font-lock-fontify-buffer' (Bug#13817).
2057
2058 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
2061 remapping in mode-line.
2062 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
2063
2064 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
2065
2066 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
2067 value for `whitespace-line' face (Bug#13875).
2068 (whitespace-font-lock-keywords): Change description.
2069 (whitespace-color-on): Don't save `font-lock-keywords' value, save
2070 the constructed keywords instead.
2071 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
2072
2073 2013-03-19 Leo Liu <sdl.web@gmail.com>
2074
2075 * progmodes/compile.el (compilation-display-error): New command.
2076 (compilation-mode-map, compilation-minor-mode-map): Bind it to
2077 C-o. (Bug#13992)
2078
2079 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2080
2081 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
2082
2083 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
2084
2085 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
2086
2087 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
2088
2089 * net/tramp-compat.el (tramp-compat-user-error): New defun.
2090
2091 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2092 * net/tramp-gvfs.el (top):
2093 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
2094 (tramp-handle-shell-command): Use it.
2095 (tramp-dissect-file-name): Raise an error when hostname is a
2096 method name, and neither method nor user is specified.
2097
2098 * net/trampver.el: Update release number.
2099
2100 2013-03-18 Leo Liu <sdl.web@gmail.com>
2101
2102 Make sure eldoc can be turned off properly.
2103 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
2104 eldoc-mode.
2105 (eldoc-display-message-p): Revert last change.
2106 (eldoc-display-message-no-interference-p)
2107 (eldoc-print-current-symbol-info): Tweak.
2108
2109 2013-03-18 Tassilo Horn <tsdh@gnu.org>
2110
2111 * doc-view.el (doc-view-new-window-function): Check the new window
2112 overlay's display property instead the char property of the
2113 buffer's first char. Use `with-selected-window' instead of
2114 `save-window-excursion' with `select-window'.
2115 (doc-view-document->bitmap): Check the current doc-view overlay's
2116 display property instead the char property of the buffer's first char.
2117
2118 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
2119
2120 Automate the build of ja-dic.el (Bug#13984).
2121 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
2122 from the input, rather than assume that it's been done for us by the
2123 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
2124 the current date into a ja-dic.el comment, as that complicates
2125 regression testing.
2126
2127 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2128
2129 * whitespace.el: Fix double evaluation.
2130 (whitespace-space, whitespace-hspace, whitespace-tab)
2131 (whitespace-newline, whitespace-trailing, whitespace-line)
2132 (whitespace-space-before-tab, whitespace-indentation)
2133 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
2134 obsolete defvars.
2135 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
2136 (whitespace-color-on): Use a single font-lock-add-keywords call.
2137 Fix double-evaluation of face variables.
2138
2139 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
2140
2141 * net/tramp-adb.el (tramp-adb-parse-device-names):
2142 Use `start-process' instead of `call-process'. Otherwise, the
2143 function might be blocked under MS Windows. (Bug#13299)
2144
2145 2013-03-17 Leo Liu <sdl.web@gmail.com>
2146
2147 Extend eldoc to display info in the mode-line. (Bug#13978)
2148 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
2149 (eldoc-mode-line-string): New variable.
2150 (eldoc-minibuffer-message): New function.
2151 (eldoc-message-function): New variable.
2152 (eldoc-message): Use it.
2153 (eldoc-display-message-p)
2154 (eldoc-display-message-no-interference-p):
2155 Support eldoc-post-insert-mode.
2156
2157 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
2158 (eval-expression): Run it.
2159
2160 2013-03-17 Roland Winkler <winkler@gnu.org>
2161
2162 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
2163 strings in the list of return values.
2164
2165 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2166
2167 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
2168 radix before checking for HMS forms.
2169
2170 2013-03-16 Leo Liu <sdl.web@gmail.com>
2171
2172 * progmodes/scheme.el: Add indentation and font-locking for λ.
2173 (Bug#13975)
2174
2175 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
2176
2177 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
2178 token before point (bug#13942).
2179
2180 2013-03-16 Leo Liu <sdl.web@gmail.com>
2181
2182 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
2183
2184 2013-03-16 Eli Zaretskii <eliz@gnu.org>
2185
2186 * startup.el (command-line-normalize-file-name): Fix handling of
2187 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
2188 <xfq.free@gmail.com> in
2189 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
2190
2191 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
2192
2193 Sync with Tramp 2.2.7.
2194
2195 * net/trampver.el: Update release number.
2196
2197 2013-03-14 Tassilo Horn <tsdh@gnu.org>
2198
2199 * doc-view.el Fix bug#13887.
2200 (doc-view-insert-image): Don't modify overlay associated to
2201 non-live windows, and implement horizontal centering of image in
2202 case it's smaller than the window.
2203 (doc-view-new-window-function): Force redisplay of new windows on
2204 doc-view buffers.
2205
2206 2013-03-13 Karl Fogel <kfogel@red-bean.com>
2207
2208 * saveplace.el (save-place-alist-to-file): Don't sort
2209 `save-place-alist', just pretty-print it (bug#13882).
2210
2211 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
2212
2213 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
2214 whether `default-file-name-coding-system' is bound. It isn't in
2215 XEmacs.
2216
2217 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
2218
2219 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
2220 backquotes for `obsolete' (bug#13929).
2221
2222 * international/mule.el (find-auto-coding): Include file name in
2223 obsolescence warning (bug#13922).
2224
2225 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
2226
2227 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
2228 for CFEngine 3-specific indentation.
2229 (cfengine3-indent-line): Use it. Fix up category regex.
2230 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
2231
2232 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2233
2234 * type-break.el (type-break-file-name):
2235 * textmodes/remember.el (remember-data-file):
2236 * strokes.el (strokes-file):
2237 * shadowfile.el (shadow-initialize):
2238 * saveplace.el (save-place-file):
2239 * ps-bdf.el (bdf-cache-file):
2240 * progmodes/idlwave.el (idlwave-config-directory):
2241 * net/quickurl.el (quickurl-url-file):
2242 * international/kkc.el (kkc-init-file-name):
2243 * ido.el (ido-save-directory-list-file):
2244 * emulation/viper.el (viper-custom-file-name):
2245 * emulation/vip.el (vip-startup-file):
2246 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2247 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
2248
2249 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
2250
2251 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
2252 * language/thai-word.el: Switch to UTF-8.
2253
2254 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2255
2256 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
2257
2258 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2259
2260 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
2261 Use with-current-buffer and don't move point.
2262 (net-utils-run-simple): Remove useless code.
2263 (net-utils-remove-ctl-m): Remove unused custom.
2264
2265 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
2266
2267 * international/characters.el (glyphless-set-char-table-range): New fun.
2268 (update-glyphless-char-display): Use it (bug#13744).
2269
2270 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
2271
2272 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
2273 namespaces in the syntax, indent closer for hanging brace
2274 correctly, allow single-quote delimited 'strings', and make
2275 `cfengine3-mode' the default.
2276
2277 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
2278
2279 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
2280 Use lexical-binding. Fix up docstring according to conventions.
2281 (gdbmi-debug-mode): New var.
2282 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
2283 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
2284 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
2285 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
2286 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
2287 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
2288 (gdbmi-bnf-incomplete-record-result): New functions.
2289 (gdb-car<): Remove function.
2290 (gdbmi-record-list): Remove variable.
2291 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
2292 (gdbmi-bnf-result-state-configs): New const.
2293 (gud-gdbmi-marker-filter): Rewrite.
2294 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
2295 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
2296 Add `token' argument.
2297 (gdb-done, gdb-error): New functions.
2298 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
2299
2300 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2301
2302 * term/xterm.el (xterm--report-background-handler): Don't burp
2303 upon timeout.
2304 (xterm--version-handler): Extract from terminal-init-xterm.
2305 (xterm--query): Don't mishandle timeout. Remove debugging messages.
2306 Allow multiple handlers.
2307 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
2308
2309 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
2310 (xterm--report-background-handler, xterm--query): New functions.
2311 (terminal-init-xterm): Use them.
2312
2313 2013-03-11 Michael R. Mauger <michael@mauger.com>
2314
2315 * progmodes/sql.el Version 3.2
2316 Please note that my address changed to <michael@mauger.com>;
2317 the <mmaug@yahoo.com> address remains active.
2318 (sql-connection-alist): Updates documentation to fix bug#13715.
2319 (sql-connect): Handle missing `sql-connection-alist' correctly.
2320 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
2321 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
2322 property.
2323 (sql-default-value): New function.
2324 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
2325 values were not used.
2326 (sql-rename-buffer): Make sure alternate buffer name has no text
2327 properties.
2328 (sql-input-sender, sql-execute-feature): Fetch variable with
2329 `buffer-local-value' rather than `with-current-buffer'.
2330 (sql-*): Use #' function syntax consistently.
2331 (sql-*): Use message/error/user-error consistently.
2332
2333 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * xt-mouse.el (xterm-mouse-event-read): Remove.
2336 (xterm-mouse--read-event-sequence-1000)
2337 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
2338
2339 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2341 * term/xterm.el (xterm-function-map): Support format used with
2342 formatOtherKeys=1 (bug#13839).
2343
2344 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
2345 (with-no-warnings): Use `declare'.
2346
2347 * whitespace.el (whitespace-enable-predicate): New variable.
2348 (whitespace-enable-predicate): Use it.
2349
2350 * comint.el (comint-send-input, comint-snapshot-last-prompt)
2351 (comint-output-filter, comint-update-fence):
2352 Use with-silent-modifications.
2353
2354 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
2355
2356 * replace.el (occur-read-regexp-defaults-function): New var.
2357 (occur-read-regexp-defaults): New defun.
2358 (occur-read-primary-args): Propagate above change (bug#13892).
2359
2360 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * mouse.el (mouse-drag-track): Remove left-over debugging code.
2363
2364 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
2365
2366 Major rewrite due to changed D-Bus interface of GVFS 1.14.
2367
2368 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
2369 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
2370 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
2371 New defconst.
2372 (tramp-gvfs-file-name-handler-alist) [directory-files]
2373 [directory-files-and-attributes, file-exists-p, file-modes]:
2374 Use Tramp default handler.
2375 [file-acl, file-selinux-context, process-file, set-file-acl]:
2376 [set-file-modes, set-file-selinux-context, shell-command]:
2377 [start-file-process]: Remove handler.
2378 [verify-visited-file-modtime]: New handler.
2379 (tramp-gvfs-dbus-string-to-byte-array)
2380 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
2381 calls of `dbus-string-to-byte-array' and
2382 `tramp-gvfs-dbus-byte-array-to-string'.
2383 (tramp-gvfs-handle-copy-file)
2384 (tramp-gvfs-handle-delete-directory)
2385 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
2386 (tramp-gvfs-handle-file-directory-p)
2387 (tramp-gvfs-handle-file-executable-p)
2388 (tramp-gvfs-handle-file-name-all-completions)
2389 (tramp-gvfs-handle-file-readable-p)
2390 (tramp-gvfs-handle-file-writable-p)
2391 (tramp-gvfs-handle-insert-directory)
2392 (tramp-gvfs-handle-insert-file-contents)
2393 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
2394 (tramp-gvfs-handle-set-visited-file-modtime)
2395 (tramp-gvfs-handle-write-region): Rewrite.
2396 (tramp-gvfs-handle-file-acl)
2397 (tramp-gvfs-handle-file-selinux-context)
2398 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
2399 (tramp-gvfs-handle-set-file-modes)
2400 (tramp-gvfs-handle-set-file-selinux-context)
2401 (tramp-gvfs-handle-shell-command)
2402 (tramp-gvfs-handle-start-file-process)
2403 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
2404 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
2405 over the symlinks. Fix user handling.
2406 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
2407 of the D-Bus signals.
2408 (tramp-gvfs-connection-mounted-p): Handle different names of the
2409 D-Bus methods.
2410 (tramp-gvfs-mount-spec-entry): New defun.
2411 (tramp-gvfs-mount-spec): Use it.
2412 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
2413 there is a share name. Handle different names of the D-Bus
2414 signals and methods. Set connection properties needed for
2415 `tramp-check-cached-permissions'.
2416 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
2417 Return t or nil.
2418
2419 * net/tramp.el (tramp-backtrace): Move up.
2420 (tramp-error): Dump a backtrace into the debug buffer when
2421 `tramp-verbose > 9.
2422 (tramp-file-mode-type-map, tramp-file-mode-from-int)
2423 (tramp-file-mode-permissions, tramp-get-local-uid)
2424 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
2425 tramp-sh.el.
2426
2427 * net/tramp-sh.el (tramp-file-mode-type-map)
2428 (tramp-check-cached-permissions, tramp-file-mode-from-int)
2429 (tramp-file-mode-permissions, tramp-get-local-uid)
2430 (tramp-get-local-gid): Move to tramp.el.
2431
2432 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
2433
2434 Separate mouse-1-click-follows-link from mouse-drag-region.
2435 * mouse.el (mouse--down-1-maybe-follows-link): New function.
2436 (key-translation-map): Use it to implement mouse-1-click-follows-link.
2437 (mouse-drag-line, mouse-drag-track):
2438 Remove mouse-1-click-follows-link code.
2439 (mouse--remap-link-click-p): Remove.
2440
2441 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
2442
2443 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
2444 (hi-lock-read-regexp-defaults): New defun.
2445 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2446 (hi-lock-face-phrase-buffer): Propagate above change.
2447 Update docstring (bug#13892).
2448
2449 * subr.el (find-tag-default-as-regexp): New defun.
2450 * replace.el (read-regexp): Propagate above change.
2451
2452 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
2453
2454 * calc/calc-units.el (calc-convert-units): Fix the way that default
2455 new units are stored.
2456
2457 2013-03-07 Matthias Meulien <orontee@gmail.com>
2458
2459 * bookmark.el: Define a face to highlight bookmark names in
2460 bookmark menu buffers, where the default is a bold face similarly
2461 to buffer names in buffer menu buffers.
2462 (bookmark-menu-bookmark): New face to highlight bookmark names.
2463 (bookmark-insert-location): Remove duplicated text property to
2464 conform to buffer list (see `list-buffers').
2465 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
2466 `bookmark-menu-bookmark' to bookmark names.
2467
2468 2013-03-07 Matthias Meulien <orontee@gmail.com>
2469 Karl Fogel <kfogel@red-bean.com>
2470
2471 * bookmark.el: Display the bookmark list header similarly to the
2472 buffer list header (see `list-buffers'), where the default is now
2473 an immovable/immutable header line.
2474 (bookmark-bmenu-use-header-line): New variable.
2475 (bookmark-bmenu-inline-header-height): New name for
2476 `bookmark-bmenu-header-height', to avoid confusion with the code
2477 for the new immovable header. All references changed.
2478 (bookmark-bmenu-set-header): New function.
2479 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
2480 Conditionalize header construction accordingly.
2481 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
2482 the inline header height.
2483 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
2484 Conditionalize the skipping of the inline header height.
2485
2486 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
2487
2488 * progmodes/js.el (js--multi-line-declaration-indentation):
2489 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
2490
2491 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
2492
2493 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2494 Only propertize regexp when not inside a string (Bug#13885).
2495
2496 2013-03-06 Alan Mackenzie <acm@muc.de>
2497
2498 Correct the position of point in some line-up functions.
2499 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
2500 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
2501 point at column 0 rather than at a random place in the line.
2502
2503 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
2504
2505 * net/tramp-compat.el (tramp-compat-delete-directory):
2506 Implement TRASH argument.
2507
2508 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
2509
2510 Keep pre-existing highlighting in completion candidates (Bug#13250).
2511 * minibuffer.el (completions-first-difference): State that the
2512 face is "added" in the docstring.
2513 (completions-common-part): Same. And don't inherit from default.
2514 (completion-hilit-commonality): Prepend 'completions-common-part
2515 and 'completion-first-difference faces to the 'face property,
2516 instead of replacing the value(s).
2517 (completion--insert-strings): Same with 'completions-annotations face.
2518 (completion-hilit-commonality): Use 'face instead of
2519 'font-lock-face, because it gets priority if the completion
2520 strings already have 'face set.
2521
2522 2013-03-04 Alan Mackenzie <acm@muc.de>
2523
2524 Replace `last-command-event' by `last-command-char' in XEmacs.
2525 * progmodes/cc-defs.el (c-last-command-char): New macro.
2526 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
2527 (c-semi&comma-no-newlines-before-nonblanks)
2528 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
2529 in place of `last-command-event'.
2530 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
2531 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
2532 (c-electric-paren, c-electric-continued-statement): Use the new
2533 macro in place of `last-command-event'.
2534
2535 2013-03-04 Glenn Morris <rgm@gnu.org>
2536
2537 * files.el (inhibit-local-variables-regexps):
2538 Add .diff and .patch. (Bug#13862)
2539
2540 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
2541
2542 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
2543 whether the "su" command is available on the device.
2544
2545 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2546
2547 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
2548 (tramp-adb-handle-process-file): Remove superfluous setting.
2549 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
2550 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
2551 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
2552
2553 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2554
2555 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
2556 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
2557 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
2558 Use dict-key rather than dict-name for the error message.
2559
2560 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2561
2562 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
2563 when reverting (bug#13831).
2564
2565 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2566
2567 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2568 Always expand affix-file before storing to protect against changed
2569 `default-directory'.
2570 (ispell-print-if-debug): Make sure message is printed at the end
2571 of the debug buffer.
2572
2573 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
2574
2575 * net/tramp.el (tramp-obsolete-methods): New defconst.
2576 (tramp-warned-obsolete-methods): New defvar.
2577 (tramp-find-method): Check for obsolete methods. Map them to a
2578 replacement method if appropriate.
2579
2580 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
2581 Remove methods.
2582 (top): Remove completion functions for "scp1", "scp2", "ssh1",
2583 "ssh2" and "plink1".
2584
2585 2013-02-28 Dale Sedivec <dale@codefu.org>
2586
2587 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
2588 Return valid syntax-table property value when converting
2589 quotes within text from string syntax to punctuation syntax (bug#13844).
2590
2591 2013-02-28 Juri Linkov <juri@jurta.org>
2592
2593 * dired-aux.el (dired-diff): If file at point is a backup file,
2594 use its original as the default value, and reverse the order
2595 of arguments to the `diff' call. Doc fix. (Bug#13772)
2596
2597 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
2598
2599 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
2600 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
2601
2602 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2603
2604 Initial support for hunspell dictionaries auto-detection (Bug#13639)
2605
2606 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
2607 Ask hunspell about available and default dictionaries.
2608 (ispell-parse-hunspell-affix-file): Extract relevant info from
2609 hunspell affix file.
2610 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
2611 `ispell-dictionary-alist' entry for given dictionary after info
2612 provided by `ispell-parse-hunspell-affix-file'.
2613 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
2614 of parsed hunspell dicts and associated affix files.
2615 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
2616 of parsed hunspell dicts and associated parameters.
2617 (ispell-set-spellchecker-params):
2618 Call `ispell-find-hunspell-dictionaries' if hunspell and not
2619 previously done.
2620 (ispell-start-process):
2621 Call `ispell-hunspell-fill-dictionary-entry' for current
2622 dictionary if it is not initialized.
2623
2624 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2625
2626 * imenu.el: Comment nitpicks.
2627
2628 2013-02-28 Sam Steingold <sds@gnu.org>
2629
2630 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
2631 See <http://stackoverflow.com/questions/14720205>.
2632
2633 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2634
2635 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
2636 (net-utils-mode): Use it.
2637 (net-utils--revert-cmd): New var.
2638 (net-utils-run-simple): Set it, and remove bogus interactive spec.
2639 (traceroute): Use net-utils-run-simple.
2640
2641 2013-02-28 Glenn Morris <rgm@gnu.org>
2642
2643 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
2644
2645 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
2648 (doc-view-fallback-mode): Remove overlays here.
2649 (doc-view-toggle-display): Instead of here. Don't throw away
2650 image-mode-winprops-alist.
2651 (doc-view-goto-page): Don't mess with hscroll.
2652
2653 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2654
2655 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
2656 &optional (bug#13819).
2657
2658 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
2659
2660 * net/tramp-adb.el (tramp-adb-parse-device-names)
2661 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
2662
2663 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
2664
2665 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2666 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
2667 defined. POSIX environments fall back to the "C" locale then and
2668 emit a warning, which shall be suppressed.
2669
2670 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
2673 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
2674
2675 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
2678
2679 2013-02-25 Juri Linkov <juri@jurta.org>
2680
2681 * replace.el (read-regexp): Let-bind `default' to the first
2682 element of `defaults' if it's a list, otherwise it should be
2683 a string or nil. Let-bind `suggestions' to `defaults' if it's
2684 a list, otherwise make a list with the string value. Doc fix.
2685 (Bug#13805)
2686
2687 2013-02-25 Eli Zaretskii <eliz@gnu.org>
2688
2689 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
2690 that match "\`\.#", to avoid compiling lock files, even if they
2691 are readable (as they are on MS-Windows).
2692
2693 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
2694
2695 * files.el (basic-save-buffer): Remove redundant directory-creation.
2696
2697 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
2698
2699 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
2700 Add option to force `pi' to remain symbolic.
2701 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
2702 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
2703 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
2704 derivatives, when necessary.
2705
2706 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2707
2708 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
2709 (ps-mode-octal-region): Use string-make-unibyte.
2710
2711 2013-02-23 Glenn Morris <rgm@gnu.org>
2712
2713 * emulation/viper-cmd.el (viper-submit-report):
2714 * progmodes/ps-mode.el (ps-mode-maintainer-address):
2715 * progmodes/vera-mode.el (vera-mode-help-address):
2716 * textmodes/artist.el (artist-maintainer-address):
2717 * textmodes/reftex.el (reftex-report-bug):
2718 * vc/ediff-util.el (ediff-submit-report):
2719 Add bug-gnu-emacs to bug report address.
2720
2721 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
2722 Remove bug report entries.
2723 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
2724
2725 * emacs-lisp/bytecomp.el (byte-compile-level): New.
2726 (byte-compile-file, byte-compile-from-buffer):
2727 Use separate input/output buffers for each level of recursive
2728 byte-compile-file calls. (Bug#13787)
2729
2730 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
2731
2732 * net/tramp.el (tramp-methods): Fix docstring.
2733 (tramp-ssh-controlmaster-options): Rename it from
2734 `tramp-ssh-controlmaster-template'. Return a string.
2735 (tramp-default-method): Adapt check for
2736 `tramp-ssh-controlmaster-options'.
2737
2738 * net/tramp-sh.el (tramp-methods):
2739 Replace `tramp-ssh-controlmaster-template' by "%c".
2740 (tramp-do-copy-or-rename-file-out-of-band)
2741 (tramp-maybe-open-connection): Use it in format spec. Ensure,
2742 that it is applied for the first hop only.
2743
2744 2013-02-22 Juri Linkov <juri@jurta.org>
2745
2746 * isearch.el (isearch-lazy-highlight-new-loop):
2747 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
2748 to `isearch-other-end' if it is not nil. (Bug#13402)
2749
2750 * replace.el (replace-highlight): Let-bind `isearch-other-end'
2751 to `match-beg'.
2752
2753 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2754 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2755 and `isearch-error' to nil.
2756
2757 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
2758
2759 * progmodes/python.el (python-info-current-defun):
2760 Enhance match-data cluttering prevention.
2761
2762 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2765
2766 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2767 Handle multibyte file names.
2768
2769 2013-02-22 Glenn Morris <rgm@gnu.org>
2770
2771 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2772 (sgml-transformation-function): Give it a :set function.
2773 (sgml-tag): Doc fix.
2774
2775 * cmuscheme.el (scheme-buffer):
2776 * progmodes/inf-lisp.el (inferior-lisp-buffer):
2777 * progmodes/tcl.el (inferior-tcl-buffer):
2778 * textmodes/tex-mode.el (tex-command): Doc fixes.
2779
2780 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2781
2782 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
2783
2784 2013-02-21 Bastien Guerry <bzg@gnu.org>
2785
2786 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
2787
2788 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2789
2790 * progmodes/python.el (python-info-current-defun):
2791 Enhance match-data cluttering prevention.
2792
2793 2013-02-21 Glenn Morris <rgm@gnu.org>
2794
2795 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2796 loaded while outline-regexp is let bound. (Bug#9584)
2797
2798 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
2799
2800 * progmodes/python.el (python-info-current-defun): Fix failed
2801 defun name retrieval because of unwanted match-data cluttering.
2802
2803 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
2804
2805 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2806 defconst. Apply independent check for ControlPersist.
2807
2808 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2809 temporarily, via "env".
2810
2811 2013-02-21 Glenn Morris <rgm@gnu.org>
2812
2813 * info.el (Info-enable-edit): Remove.
2814 (Info-edit): Disable it rather than using Info-enable.
2815 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2816 (Info-cease-edit): Make editing of Info files obsolete.
2817
2818 * informat.el (Info-tagify):
2819 Handle buffers not visiting files. (Bug#13763)
2820
2821 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
2822
2823 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2824
2825 2013-02-21 Glenn Morris <rgm@gnu.org>
2826
2827 * files.el (basic-save-buffer): Move check for existing parent
2828 directory after hooks. (Bug#13773)
2829
2830 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
2831
2832 * simple.el (command-execute): Move from C. Add obsolete check.
2833 (extended-command-history): Move from C.
2834
2835 2013-02-20 Ulrich Müller <ulm@gentoo.org>
2836
2837 * jka-cmpr-hook.el (jka-compr-compression-info-list)
2838 (jka-compr-mode-alist-additions): Handle .txz suffix for
2839 XZ-compressed tar archives (bug#13770).
2840
2841 2013-02-20 Bastien Guerry <bzg@gnu.org>
2842
2843 * outline.el (outline-regexp, outline-heading-end-regexp):
2844 Make variables, not options (bug#13731).
2845
2846 2013-02-20 Glenn Morris <rgm@gnu.org>
2847
2848 * image.el (image-current-frame): Change from variable to function.
2849 (image-show-frame): Rename from image-nth-frame. Update callers.
2850 * image-mode.el (image-multi-frame): New variable.
2851 (image-mode-map, image-mode, image-goto-frame):
2852 Use image-multi-frame rather than image-current-frame.
2853 (image-mode, image-goto-frame): Use image-current-frame as
2854 function rather than as variable.
2855
2856 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2857 * emacs-lisp/cl-macs.el (cl--make-type-test)
2858 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2859
2860 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2861
2862 * net/tramp-cache.el (tramp-get-hash-table): New defun.
2863 (tramp-get-file-property, tramp-set-file-property)
2864 (tramp-get-connection-property, tramp-set-connection-property): Use it.
2865 (tramp-flush-file-property, tramp-flush-directory-property):
2866 Rename argument to KEY.
2867 (tramp-flush-connection-property): Simplify a little bit.
2868 (tramp-connection-property-p): New defun.
2869 (top): Reapply saved values only if there isn't a corresponding
2870 entry in `tramp-connection-properties'.
2871
2872 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
2873
2874 * progmodes/python.el (python-indent-context):
2875 Fix python-info-line-ends-backslash-p call.
2876 (python-info-line-ends-backslash-p)
2877 (python-info-beginning-of-backslash): Respect line-number argument.
2878 (python-info-current-line-comment-p):
2879 Fix behavior when not at beginning-of-line.
2880 (python-util-position): Remove function.
2881 (python-util-goto-line): New function.
2882
2883 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
2884
2885 * eshell/em-unix.el (eshell/su): Require tramp.
2886 (eshell/sudo): Require tramp. Remove now unnecessary check.
2887
2888 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2889 `tramp-current-connection' in order to avoid an error when several
2890 commands are invoked in a short time in eshell and friends.
2891
2892 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
2893
2894 Cleanup some of EIEIO's namespace.
2895 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2896 Use it to define all the class-* and object-* field accessors (renamed
2897 to eieio--class-* and eieio--object-*). Update all uses.
2898 (eieio--class-num-slots, eieio--object-num-slots): Rename from
2899 class-num-slots and object-num-slots.
2900 (eieio--check-type): New macro.
2901 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2902 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2903 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2904 (object-assoc-list-safe): Use it.
2905 (eieio-defclass): Tighten regexp.
2906 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
2907 Remove unreachable code.
2908 (object-class-fast): Declare obsolete.
2909 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2910 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2911 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2912 Rename from class-name, object-name, object-set-name-string,
2913 object-class, object-class-name, class-parents, class-children,
2914 class-precedence-list, class-parent; with obsolete alias.
2915 (class-of, class-direct-superclasses, class-direct-subclasses):
2916 Declare obsolete.
2917 (eieio-defmethod): Use `memq'; remove unreachable code.
2918 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2919 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2920 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2921
2922 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
2923
2924 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2925 commentary.
2926
2927 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
2928
2929 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2930 Use font-lock-keyword-face for macros and special forms (bug#8345).
2931
2932 2013-02-17 Didier Verna <didier@didierverna.net>
2933
2934 * net/network-stream.el (network-stream-open-starttls):
2935 Check that response to the starttls-command is non-nil. (Bug#13706)
2936
2937 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2938
2939 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2940 Don't assume all identifier chars have syntax word.
2941 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2942 Remove bar-not-symbol. Adjust callers.
2943 (lisp-mode-variables): Don't set a font-lock-syntax-table.
2944
2945 2013-02-17 Leo Liu <sdl.web@gmail.com>
2946
2947 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2948
2949 2013-02-17 Glenn Morris <rgm@gnu.org>
2950
2951 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2952
2953 * image-mode.el (image-mode-map): Add image-dired menu entry.
2954
2955 * image-dired.el (tumme): Make this alias obsolete.
2956
2957 2013-02-16 Glenn Morris <rgm@gnu.org>
2958
2959 * image.el (image-animated-types): Remove.
2960 (image-multi-frame-p): Rename from image-animated-p, and generalize.
2961 (image-animated-p): Make obsolete alias.
2962 (image-animate, image-nth-frame, image-animate-timeout):
2963 Use image-multi-frame-p.
2964 (image-animate-timeout): If no delay, use image-default-frame-delay.
2965 * image-mode.el (image-mode, image-toggle-animation):
2966 Use image-multi-frame-p. (Bug#763, bug#10739)
2967 (image-mode): Adjust startup message for a multi-frame image.
2968
2969 * image-mode.el (image-mode-map): Give it a menu.
2970
2971 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
2972
2973 * net/tramp-cache.el (tramp-connection-properties): New customer
2974 option.
2975 (tramp-get-connection-property): Use it.
2976
2977 * net/tramp-compat.el (top): Require 'trampver.
2978
2979 * net/tramp-sh.el (tramp-remote-process-environment):
2980 Set tramp-autoload cookie.
2981
2982 2013-02-16 Kevin Ryde <user42@zip.com.au>
2983
2984 * info-look.el (info-lookup-select-mode): If major-mode has no
2985 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2986
2987 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
2988
2989 * replace.el (read-regexp): Tighten the regexp that matches tag.
2990 When tag is retrieved with `find-tag-default', use regexp that
2991 matches tag at point. Also update docstring (Bug#13687).
2992
2993 2013-02-16 Eli Zaretskii <eliz@gnu.org>
2994
2995 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2996 add watch for the file, not its parent directory, since w32notify
2997 sets up the watch for the directory internally. (Bug#13725)
2998
2999 2013-02-16 Glenn Morris <rgm@gnu.org>
3000
3001 * image.el (image-default-frame-delay): New variable.
3002 (image-animated-p): Use image-default-frame-delay.
3003 (image-minimum-frame-delay): New constant.
3004 (image-animate-timeout): Use image-minimum-frame-delay.
3005
3006 * image.el (image-nth-frame): New, split from image-animate-timeout.
3007 (image-animate-timeout): Use image-nth-frame.
3008 * image-mode.el (image-goto-frame, image-next-frame)
3009 (image-previous-frame): New commands.
3010 (image-mode-map): Add new frame commands.
3011
3012 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
3013
3014 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
3015 If col-desc already has help-echo, use it. (Bug#13563)
3016
3017 2013-02-16 Glenn Morris <rgm@gnu.org>
3018
3019 * image.el (image-current-frame): New variable.
3020 (image-animate-timeout): Set image-current-frame.
3021 * image-mode.el (image-mode): For animated images,
3022 display a frame counter via mode-line-process.
3023
3024 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
3025
3026 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3027
3028 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
3029
3030 2013-02-15 Alan Mackenzie <acm@muc.de>
3031
3032 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
3033 global minor mode has been enabled, call the minor mode function
3034 for a new buffer once only, after the major mode hook, whilst
3035 allowing that hook explicitly to disable the minor mode.
3036 (MODE-disable-in-buffer): New (generated) function.
3037 (disable-MODE): New (generated) buffer local variable.
3038
3039 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
3040
3041 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
3042 `iswitchb-next-match' and `iswitchb-prev-match' resply.
3043 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
3044 `ido-next-match' and `ido-prev-match' resply.
3045 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
3046 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
3047 `icomplete-backward-completions' (Bug#13708).
3048
3049 2013-02-15 Glenn Morris <rgm@gnu.org>
3050
3051 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3052
3053 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
3054
3055 * net/goto-addr.el (goto-address-fontify): Add start and end args.
3056 (goto-address-fontify-region): Use them instead of narrowing, so
3057 syntax-ppss has access to the whole buffer.
3058
3059 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3060
3061 * progmodes/python.el: Explain how to restore "cc-mode"-like
3062 forward-sexp movement in header documentation (Bug#13642).
3063 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
3064 comments and strings (GH bug 114).
3065
3066 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
3067
3068 * progmodes/python.el (python-info-current-defun): Fix current
3069 defun detection (Bug#13618).
3070
3071 2013-02-15 Chong Yidong <cyd@gnu.org>
3072
3073 * xml.el (xml-parse-string): Fix typo in handling of bad character
3074 references.
3075
3076 2013-02-15 Glenn Morris <rgm@gnu.org>
3077
3078 * play/fortune.el (fortune-compile): Simplify and fix previous change.
3079
3080 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
3081
3082 * net/tramp.el (tramp-debug-message):
3083 Add `tramp-condition-case-unless-debug'.
3084 (tramp-debug-on-error): New defvar.
3085 (tramp-condition-case-unless-debug): New defun.
3086 (tramp-file-name-handler): Use it.
3087
3088 2013-02-14 Juri Linkov <juri@jurta.org>
3089
3090 * info.el (Info-isearch-filter): Treat non-nil values of
3091 `search-invisible' including its default value `open'
3092 like the value `t' to match hidden text. (Bug#13402)
3093
3094 2013-02-14 Glenn Morris <rgm@gnu.org>
3095
3096 * help-fns.el (find-lisp-object-file-name): Give special treatment
3097 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
3098
3099 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
3100
3101 * net/quickurl.el (quickurl-save-urls):
3102 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
3103
3104 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
3105
3106 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
3107 depth for unfinished percent literal. Not using it in the caller.
3108 (ruby-move-to-block): Jump over multiline literals of all types,
3109 ignoring code-looking contents inside them.
3110 (ruby-add-log-current-method): Improve performance at the expense
3111 of accuracy. `ruby-block-contains-point' is relatively slow, so
3112 only use it for method and singleton class blocks.
3113
3114 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3115
3116 Use ControlMaster where applicable. (Bug#13677)
3117
3118 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
3119 replacing `tramp-detect-ssh-controlmaster'.
3120 (tramp-default-method): Use it.
3121
3122 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
3123 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
3124 arguments.
3125 [scpc, rsyncc]: Remove methods.
3126 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
3127 and "ssh2_old".
3128 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
3129 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
3130
3131 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * emacs-lisp/package.el (package--initialized): Move before first use.
3134
3135 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
3136
3137 * icomplete.el (icomplete-hide-common-prefix): New user option.
3138 (icomplete-first-match): New face.
3139 (icomplete-completions): Correct handling of "complete but not
3140 unique" (Bug#12638).
3141
3142 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
3143
3144 * descr-text.el (describe-char): Display the script (bug#13698).
3145
3146 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * tmm.el: Use lexical-binding and current-active-maps.
3149 (tmm-menubar): Use map-keymap and pcase.
3150 (tmm--completion-table): New function.
3151 (tmm-prompt): Use it to fix the menu order.
3152 (tmm-get-keybind): Use current-active-maps.
3153
3154 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
3155
3156 Add dired-hide-details-mode. (Bug#6799)
3157
3158 * locate.el (locate-mode): Set parent mode property to dired-mode.
3159
3160 * find-dired.el (find-dired): Call dired-insert-set-properties on
3161 initial information line. Set process mark on end of buffer.
3162 (find-dired-sentinel):
3163 Call dired-insert-set-properties on summary.
3164
3165 * dired.el (dired-hide-details-hide-symlink-targets)
3166 (dired-hide-details-hide-information-lines): New options.
3167 (dired-insert-directory):
3168 Set properties after final treatment of output.
3169 (dired-insert-set-properties):
3170 Set dired-hide-details-* properties.
3171 (dired-mode-map): Bind dired-hide-details-mode.
3172 (dired-mode): Set buffer-invisibility-spec to a list.
3173 (dired-next-line): Skip hidden lines.
3174 (dired-previous-line): Use dired-next-line.
3175 (dired-hide-details-mode): New minor mode.
3176 (dired-hide-details-update-invisibility-spec): New function.
3177
3178 2013-02-13 Glenn Morris <rgm@gnu.org>
3179
3180 * play/yow.el: Move to obsolete/. (Bug#9384)
3181
3182 2013-02-13 Juri Linkov <juri@jurta.org>
3183
3184 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
3185 to select `ediff-control-frame' and set input focus correctly on Xfce.
3186 (Bug#12218)
3187
3188 2013-02-13 Juri Linkov <juri@jurta.org>
3189
3190 * image-mode.el (image-mode-map):
3191 * doc-view.el (doc-view-mode-map):
3192 * vc/ediff-util.el (ediff-setup-keymap):
3193 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3194
3195 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
3196
3197 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
3198 performance. Instead of recalculating indentation fully for each
3199 line, sum up indentation depth based only on visited lines.
3200 (ruby-parse-partial): Increase the depth after "do" even when END
3201 is right after it.
3202 (ruby-parse-partial): When END is in the middle of a percent
3203 literal, increase the depth if the delimiter chars belong to the
3204 paren syntax class.
3205
3206 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
3207
3208 * play/fortune.el (fortune-compile): Also make the compiled file
3209 if it does not exist at all, not just if it is old. (Bug#5338)
3210
3211 2013-02-13 Glenn Morris <rgm@gnu.org>
3212
3213 * emacs-lisp/package.el (package-menu-execute): Doc fix.
3214
3215 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
3216
3217 * lisp/emacs-lisp/package.el (package-menu-execute):
3218 Add optional noquery argument. (Bug#13625)
3219
3220 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
3221
3222 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
3223 if DIR exists and PARENTS is non-nil.
3224
3225 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
3226
3227 * progmodes/js.el (js--multi-line-declaration-indentation):
3228 Silence byte-compiler warning.
3229
3230 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
3231
3232 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
3233
3234 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
3235 only if it doesn't exist.
3236
3237 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3238 Set process marker.
3239
3240 2013-02-12 Tassilo Horn <tsdh@gnu.org>
3241
3242 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
3243 UserInstallation when calling soffice to work around LibreOffice
3244 bug 37531.
3245
3246 2013-02-12 Glenn Morris <rgm@gnu.org>
3247
3248 * files.el (basic-save-buffer):
3249 Offer to create a non-existing directory. (Bug#3016)
3250
3251 * calc/calc-graph.el (calc-graph-show-dumb):
3252 * calendar/calendar.el (calendar-mode-map):
3253 * cus-edit.el (custom-mode-map):
3254 * ehelp.el (electric-help-map):
3255 * emulation/vip.el (vip-mode-map):
3256 * epa.el (epa-key-list-mode-map):
3257 * info.el (Info-mode-map):
3258 * mail/rmail.el (rmail-mode-map):
3259 * mail/rmailsum.el (rmail-summary-mode-map):
3260 * man.el (Man-mode-map):
3261 * net/newst-plainview.el (newsticker-mode-map):
3262 * progmodes/cpp.el (cpp-edit-mode-map):
3263 * progmodes/grep.el (grep-mode-map):
3264 * progmodes/idlw-help.el (idlwave-help-mode-map):
3265 * simple.el (special-mode-map):
3266 * startup.el (splash-screen-keymap):
3267 * view.el (view-mode-map):
3268 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
3269
3270 2013-02-11 Elias Pipping <pipping@lavabit.com>
3271
3272 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
3273 (bug#13679).
3274
3275 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
3276
3277 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
3278
3279 2013-02-11 Glenn Morris <rgm@gnu.org>
3280
3281 * vc/diff.el (diff-use-labels): New variable.
3282 (diff-no-select): Use --label rather than -L, and first
3283 check that it is supported. (Bug#11067)
3284
3285 * files.el (enable-dir-local-variables): New variable.
3286 (hack-dir-local-variables): Respect enable-dir-local-variables.
3287 * tutorial.el (help-with-tutorial):
3288 Ignore directory-local variables. (Bug#11127)
3289
3290 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
3291 (vc-svn-global-switches): ... to here. (Bug#13513)
3292
3293 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
3294
3295 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
3296 Handle "foo (bar, default: xxx): " prompts.
3297
3298 2013-02-10 Chong Yidong <cyd@gnu.org>
3299
3300 * files.el (basic-save-buffer-1): Do not set
3301 buffer-file-coding-system-explicit (Bug#4533).
3302
3303 * mail/emacsbug.el (report-emacs-bug): Change binding of
3304 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
3305
3306 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
3307
3308 * calc/calc.el (calc-allow-units-as-numbers): New variable.
3309 * calc/calc-units.el (calc-convert-units): Use new variable.
3310
3311 2013-02-09 Eli Zaretskii <eliz@gnu.org>
3312
3313 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
3314
3315 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
3316 buffer-file-type.
3317
3318 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
3319 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
3320 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
3321 coding-system-for-write instead.
3322
3323 * jka-compr.el (jka-compr-write-region): Don't bind
3324 buffer-file-type.
3325
3326 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
3327 buffer-file-type.
3328
3329 * files.el (file-name-buffer-file-type-alist): Remove defvar.
3330 (insert-file-contents-literally): Remove reference to
3331 file-name-buffer-file-type-alist.
3332
3333 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
3334 make-obsolete.
3335 (find-buffer-file-type-match, find-buffer-file-type): Remove.
3336 (find-buffer-file-type-coding-system): Remove references to
3337 find-buffer-file-type-match, find-buffer-file-type, and
3338 buffer-file-type.
3339 Don't put find-buffer-file-type-coding-system into
3340 file-coding-system-alist.
3341 (find-file-binary, find-file-text): Bind coding-system-for-read
3342 instead of file-name-buffer-file-type-alist.
3343
3344 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
3345
3346 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
3347 converter (Bug#13622).
3348 (doc-view-unoconv-program): Make obsolete alias.
3349 (doc-view-odf->pdf-converter-program): New variable.
3350 (doc-view-odf->pdf-converter-function): New variable.
3351 (doc-view-mode-p): Use it.
3352 (doc-view-odf->pdf-converter-unoconv):
3353 Rename from `doc-view-odf->pdf-converter-unoconv'.
3354 (doc-view-odf->pdf-converter-soffice): New function.
3355 (doc-view-convert-current-doc):
3356 Use `doc-view-odf->pdf-converter-function'.
3357
3358 2013-02-09 Chong Yidong <cyd@gnu.org>
3359
3360 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
3361 view-echo-area-messages (Bug#13340).
3362
3363 * help.el (view-echo-area-messages): Use display-buffer.
3364
3365 * dired-x.el (dired-do-run-mail): Prompt for confirmation
3366 (Bug#13561).
3367
3368 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
3369
3370 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
3371 Eval body right away, now that we do eager macroexpansion (bug#13605).
3372
3373 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
3374 (fundamental-mode): Use run-mode-hooks.
3375
3376 * eshell/esh-proc.el (eshell/kill): Fix last change.
3377 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
3378
3379 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
3380
3381 * eshell/esh-proc.el (eshell/kill): Rewrite.
3382
3383 * eshell/em-ls.el (show-almost-all): Declare.
3384 (eshell-do-ls): Add support for -A argument.
3385
3386 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
3387
3388 * icomplete.el (icomplete-forward-completions)
3389 (icomplete-backward-completions): Handle corner case (bug#13602).
3390
3391 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
3392
3393 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
3394 be nil. Handle this. (Bug#13636)
3395
3396 2013-02-07 Richard Stallman <rms@gnu.org>
3397
3398 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
3399 `save-buffer-coding-system'.
3400
3401 2013-02-07 Alan Mackenzie <acm@muc.de>
3402
3403 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
3404 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
3405 (c-parse-state-get-strategy): Don't return 'BOD any more.
3406 (c-append-lower-brace-pair-to-state-cache):
3407 Extra parameter HERE instead of narrowing.
3408 Widen to top of buffer before searching backwards for a brace pair.
3409 (c-state-push-any-brace-pair): Add HERE parameter to function call.
3410 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
3411 Narrow to parameter HERE, in place of being called narrowed.
3412 (c-remove-stale-state-cache): Extra parameter HERE in place of
3413 narrowing. Check there's an open brace in the cache before
3414 searching for its match.
3415 (c-invalidate-state-cache-1): Add HERE parameter to function call.
3416 (c-parse-state-1): Don't narrow here for 'forward strategy,
3417 instead passing extra parameter HERE to several functions.
3418 Remove 'BOD strategy.
3419
3420 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
3421
3422 * emacs-lisp/package.el (describe-package-1): Tell what archive is
3423 used to install the package.
3424
3425 2013-02-06 Glenn Morris <rgm@gnu.org>
3426
3427 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
3428 if we can't get user input. (Bug#6567)
3429
3430 * startup.el (command-line): If simple.el is missing,
3431 test and warn about for some possible causes.
3432
3433 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
3434
3435 * cus-start.el (all): Add ns-use-native-fullscreen.
3436
3437 2013-02-05 Glenn Morris <rgm@gnu.org>
3438
3439 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
3440
3441 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3442 Fix directory creation in fallback case.
3443
3444 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3445
3446 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
3447 (vc-update-change-log): Use dolist.
3448
3449 2013-02-04 Chong Yidong <cyd@gnu.org>
3450
3451 * thingatpt.el: Rewrite the URL detection routines, absorbing some
3452 code from ffap.el.
3453 (thing-at-point-beginning-of-url-regexp): New var.
3454 (thing-at-point-uri-schemes): Update list of URI schemes.
3455 (thing-at-point-url-regexp): Variable deleted.
3456 (thing-at-point-markedup-url-regexp): Disallow newlines.
3457 (thing-at-point-newsgroup-regexp)
3458 (thing-at-point-newsgroup-heads)
3459 (thing-at-point-default-mail-uri-scheme): New variables.
3460 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
3461 method to find the possible bounds of the URI at point.
3462 New optional argument to find ill-formed URIs.
3463 (thing-at-point-url-at-point): Rewrite. New arguments for finding
3464 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
3465 the scheme-adding heuristics from ffap-url-at-point.
3466 (thing-at-point--bounds-of-well-formed-url): New function.
3467 Do parens matching to decide whether to include parens in the URI
3468 (Bug#9153).
3469
3470 * ffap.el: Require thingatpt.
3471 (ffap-url-at-point): Delegate URI detection to thing-at-point.
3472 All URI-valid characters are now recognized (Bug#5673).
3473 (ffap-string-at-point): Use use-region-p.
3474 (ffap-url-regexp): Extra character is handled by thing-at-point.
3475 (ffap-string-at-point-mode-alist): Allow parentheses.
3476 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
3477 Convert to aliases; code moved to thingatpt.el.
3478 (ffap-gnus-hook): Use setq-local.
3479
3480 2013-02-04 Glenn Morris <rgm@gnu.org>
3481
3482 * emacs-lisp/ert.el (ert--explain-format-atom):
3483 Don't try to print non-characters as characters. (Bug#13543)
3484
3485 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
3486
3487 * net/tramp.el (tramp-debug-message): Extend function exclude list.
3488 (tramp-backtrace): New defun.
3489 (tramp-handle-insert-file-contents): Use `visit' when inserting
3490 the local copy.
3491
3492 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
3493 Use `remote-file-name-inhibit-cache'.
3494
3495 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3496
3497 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
3498 (bug#13614).
3499
3500 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
3501 current-load-list (bug#13366).
3502
3503 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
3504
3505 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3506 Identify g++ template instantiation trace. (Bug#12287)
3507 (compilation-mode-hook, compilation-start-hook)
3508 (compilation-window-height): Simplify docstrings. (Bug#13379)
3509
3510 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * mouse.el (mouse-drag-track): Always deactivate the mark before
3513 running the final event's command since that command is in charge of
3514 activating the mark if needed (bug#13523).
3515
3516 2013-02-02 Juri Linkov <juri@jurta.org>
3517
3518 * replace.el (perform-replace): Move let-bindings of isearch-*
3519 variables deeper to the loop that searches for the next match.
3520 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
3521 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
3522 (Bug#13579)
3523
3524 * isearch.el (isearch-search-fun-default): Check for null
3525 first element of isearch-cmds as a precaution when it's used
3526 with inactive isearch.
3527
3528 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
3529
3530 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
3531 error when buffer in question is narrowed so position 1 is out of
3532 visible part.
3533
3534 2013-02-02 Glenn Morris <rgm@gnu.org>
3535
3536 * textmodes/remember.el (remember-clipboard): Doc fix.
3537
3538 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3539
3540 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
3541 properties (bug#13179).
3542
3543 2013-02-02 Juri Linkov <juri@jurta.org>
3544
3545 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
3546 instead of hard-coded default face `match'. (Bug#9438)
3547
3548 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
3549
3550 * vc/vc-arch.el (vc-arch-registered):
3551 * vc/vc-bzr.el (vc-bzr-registered):
3552 * vc/vc-cvs.el (vc-cvs-registered):
3553 * vc/vc-git.el (vc-git-registered):
3554 * vc/vc-hg.el (vc-hg-registered):
3555 * vc/vc-mtn.el (vc-mtn-registered):
3556 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
3557 (Bug#13139)
3558
3559 * info.el (Info-next-reference, Info-prev-reference): Add numeric
3560 prefix argument. (Bug#11656)
3561
3562 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
3565
3566 2013-02-01 Glenn Morris <rgm@gnu.org>
3567
3568 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
3569 if the backend is known not to support it.
3570
3571 * imenu.el (imenu-default-create-index-function):
3572 Tweak infinite loop test to check for forward motion as well as none.
3573
3574 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
3575
3576 * net/soap-client.el (soap-invoke): Encode the string for
3577 `url-request-data' as UTF-8.
3578 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
3579
3580 2013-02-01 Glenn Morris <rgm@gnu.org>
3581
3582 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
3583
3584 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
3585
3586 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
3587
3588 * net/tramp.el (tramp-tramp-file-p): Comment check for
3589 `string-as-unibyte'. The function does not exist on XEmacs, and
3590 likely we need another approach.
3591
3592 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
3593 `tramp-gw-*' variables are bound.
3594
3595 2013-01-31 Glenn Morris <rgm@gnu.org>
3596
3597 * files.el (basic-save-buffer-2): Choose coding system for
3598 writing the file before backing it up, to reduce delay between
3599 backing up and writing the new version. (Bug#13522)
3600
3601 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
3602
3603 * simple.el (cycle-spacing): New command.
3604 (just-one-space): Use it.
3605
3606 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
3607
3608 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
3609 (opascal-newline-always-indents): Remove custom.
3610 (opascal-tab, opascal-newline): Remove commands.
3611 (opascal-new-comment-line): Insert "\n" instead of calling newline.
3612 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
3613 (opascal-save-match-data): Remove, use save-match-data instead.
3614 (opascal-save-state): Use with-silent-modifications.
3615
3616 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
3617 (bug#13585).
3618
3619 2013-01-30 Juri Linkov <juri@jurta.org>
3620
3621 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
3622 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
3623 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
3624
3625 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3626
3627 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
3628 column if we're just deleting the backslashes.
3629 (makefile-fill-paragraph): Use eolp.
3630
3631 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3632
3633 * autorevert.el (auto-revert-use-notify): Fix docstring.
3634
3635 2013-01-30 Leo Liu <sdl.web@gmail.com>
3636
3637 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
3638
3639 2013-01-30 Glenn Morris <rgm@gnu.org>
3640
3641 * mouse.el (mouse-drag-line): Avoid pushing same event onto
3642 unread-command-events twice in some cases. This tries to implement
3643 the 2012-07-26 changes in a different way. (Bug#13560)
3644
3645 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3646
3647 * progmodes/python.el
3648 (python-pdbtrack-comint-output-filter-function): Enhancements on
3649 stacktrace detection. (thanks @gnovak)
3650
3651 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3652
3653 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
3654 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
3655 Use defvar-local.
3656 (jit-lock-register): Use setq-local.
3657
3658 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
3659
3660 * calc-units.el (math-default-units-table): Remove initial value.
3661 (calc-convert-units): Treat expressions where all the units cancel as
3662 if they didn't have units.
3663
3664 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
3665
3666 * net/tramp.el (tramp-process-connection-type): Fix docstring.
3667 (tramp-completion-reread-directory-timeout): Fix type.
3668 (tramp-connection-min-time-diff): New defcustom.
3669
3670 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3671
3672 2013-01-30 Glenn Morris <rgm@gnu.org>
3673
3674 * imenu.el (imenu-default-create-index-function):
3675 Put back a version of the infinite loop test removed 2013-01-23.
3676
3677 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
3678
3679 * progmodes/python.el (python-shell-parse-command):
3680 Find python-shell-interpreter with modified environment.
3681
3682 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3683
3684 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
3685
3686 2013-01-29 Alan Mackenzie <acm@muc.de>
3687
3688 Amend to fontify /regexp/s in actions correctly.
3689 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
3690 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
3691 are no longer included.
3692 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
3693 What used to be these variables without "-line" in the name.
3694 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
3695 (c-awk-non-arith-op-bra-re): Now also matches {.
3696 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
3697 "return", and "case".
3698 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
3699 by /.
3700 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
3701 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
3702
3703 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
3704
3705 * autorevert.el (auto-revert-use-notify):
3706 Use `custom-initialize-default' for initialization. (Bug#13583)
3707
3708 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
3709
3710 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3711 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
3712 in `tramp-file-name-handler'.
3713 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
3714 compatibility.
3715 (tramp-compute-multi-hops): Check, whether
3716 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
3717
3718 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
3721 (bug#13297).
3722
3723 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
3724
3725 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
3726 checks made superfluous by the \_< operator.
3727 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
3728 temporarily) broken indentation.
3729 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3730 Highlight nested constants, too. \_< broke that.
3731
3732 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
3733
3734 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
3735 instead of "\\b".
3736
3737 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
3738
3739 * autorevert.el (auto-revert-handler): Notifications which result
3740 from a saved file shall not be taken into account. (Bug#13557)
3741
3742 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
3743
3744 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
3745 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
3746 (lisp-mode): Pass t for it. (Bug#13556)
3747
3748 2013-01-25 Alan Mackenzie <acm@muc.de>
3749
3750 AWK Mode: Fix indentation bug at top level. Bug #12274.
3751
3752 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
3753 just before CASE 5D.
3754
3755 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
3756
3757 * net/socks.el (socks-nslookup-host): Use string-to-number.
3758
3759 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
3760
3761 * autorevert.el (auto-revert-remote-files)
3762 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3763 (auto-revert-notify-enabled, auto-revert-use-notify)
3764 (auto-revert-notify-watch-descriptor-hash-list)
3765 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3766 (auto-revert-notify-event-descriptor)
3767 (auto-revert-notify-event-action)
3768 (auto-revert-notify-event-file-name): Doc fix.
3769 (global-auto-revert-mode): Reorder checks.
3770 (auto-revert-notify-rm-watch): Respect changed values of
3771 `auto-revert-notify-watch-descriptor-hash-list'.
3772 (auto-revert-notify-add-watch): Check for
3773 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
3774 `inotify-add-watch'. Watch `default-directory' instead of
3775 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
3776 has a changed meaning now. (Bug#13540)
3777 (auto-revert-notify-handler): Change implementation wrt events
3778 returning from a directory.
3779 (auto-revert-handler): Reorder implementation for checks of remote
3780 files.
3781 (auto-revert-buffers): Fix parentheses error.
3782
3783 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
3784
3785 * progmodes/python.el: Enhancements to header documentation about
3786 skeletons. (Bug#5716)
3787
3788 * imenu.el (imenu-default-create-index-function): Remove useless
3789 infinite loop check. (Bug#13438)
3790
3791 2013-01-25 Alan Mackenzie <acm@muc.de>
3792
3793 Fix a bug in the state cache mechanism. Refactor this a bit.
3794
3795 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3796 `cache-pos' element from the return value.
3797 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3798 buffer to enable proper searching from beyond HERE. Amend the
3799 test for detecting the sought brace pair. Amend the value written
3800 to the "brace desert cache" when the brace isn't found.
3801 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3802 and several other variables analogously.
3803 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3804 parameter to a locally calculated variable.
3805 (c-parse-state-1): Change the calling conventions to the two
3806 defuns involving `cache-pos'.
3807
3808 2013-01-25 Chong Yidong <cyd@gnu.org>
3809
3810 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3811
3812 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
3813
3814 * paren.el (show-paren-function): Make sure to set 'priority and
3815 'face only if the overlay does exist.
3816
3817 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
3818
3819 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3820
3821 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3822 basic attributes.
3823 (tramp-sh-handle-set-file-acl): Improve error checking.
3824
3825 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
3826
3827 * doc-view.el (doc-view-display): Force mode line update until all
3828 document is converted. Suggested by Stefan Monnier (Bug#13164).
3829
3830 2013-01-23 Bastien Guerry <bzg@gnu.org>
3831
3832 * paren.el (show-paren-function): Make sure an overlay exists
3833 before trying to delete it. Also use `pos' as a position only
3834 when it is an integer.
3835
3836 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
3837
3838 * play/gametree.el (gametree-break-line-here): Use point-marker.
3839
3840 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
3841
3842 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3843 Mark descriptive parts with `display' property.
3844
3845 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3846
3847 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3848 New variable to map standard dict names to hunspell ones.
3849 (ispell-set-spellchecker-params): Make sure specific dict names
3850 are used for standard dicts with hunspell.
3851
3852 2013-01-21 Tassilo Horn <tsdh@gnu.org>
3853
3854 * textmodes/reftex-cite.el (reftex-format-citation): Add format
3855 chars for note (%N) and url (%U).
3856 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3857
3858 2013-01-21 Juri Linkov <juri@jurta.org>
3859
3860 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3861 in addition to existing separate binding `meta f10' in `global-map'.
3862 (Bug#13484)
3863
3864 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
3865
3866 Improve XEmacs compatibility.
3867
3868 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3869
3870 * net/tramp-adb.el (top): Require `time-date'.
3871 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3872 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3873 Use `tramp-file-name-handler'.
3874 (tramp-adb-maybe-open-connection):
3875 Use `tramp-compat-set-process-query-on-exit-flag'.
3876
3877 * net/tramp-sh.el (tramp-sh-handle-file-acl):
3878 Use `tramp-compat-funcall'.
3879
3880 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3881 `tramp-compat-funcall'.
3882
3883 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
3884
3885 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3886 reimplementation using "adb shell command ..." instead of running
3887 remote shell interactively.
3888
3889 2013-01-20 Glenn Morris <rgm@gnu.org>
3890
3891 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3892 Add native profiler menu entries.
3893
3894 * profiler.el (profiler-running-p): New function.
3895 (profiler-cpu-profile): Use profiler-running-p.
3896 (profiler-report-mode-map): Add some more menu entries.
3897
3898 2013-01-19 Glenn Morris <rgm@gnu.org>
3899
3900 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3901 fixes 2012-12-07 change. (Bug#13499)
3902
3903 2013-01-19 Leo Liu <sdl.web@gmail.com>
3904
3905 * dired.el (dired-get-marked-files): Prune erroneous values due to
3906 last change. (Bug#13152)
3907
3908 2013-01-19 Glenn Morris <rgm@gnu.org>
3909
3910 * progmodes/etags.el (tags-table-check-computed-list):
3911 Preserve point in tags buffer. (Bug#13412)
3912
3913 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3914
3915 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
3916 Chong Yidong <cyd@gnu.org>
3917
3918 * image-mode.el (image-next-file, image-previous-file):
3919 New commands (Bug#8453).
3920 (image-mode-map): Bind them to n and p.
3921 (image-mode--images-in-directory): New helper function.
3922
3923 2013-01-19 Chong Yidong <cyd@gnu.org>
3924
3925 * image-mode.el (image-mode-fit-frame): Add a frame argument.
3926 Suggested by Drew Adams (Bug#7730). Handle window decorations;
3927 save and restore the old window configuration.
3928
3929 2013-01-18 Leo Liu <sdl.web@gmail.com>
3930
3931 * progmodes/js.el: Tweak autoload cookie for alias.
3932
3933 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3934
3935 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3936 buffer local, again. This was lost with the fix on 2013-01-12.
3937
3938 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
3939
3940 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3941 order to support several eshell buffers in parallel.
3942
3943 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
3944
3945 * autorevert.el (auto-revert-use-notify): In the :set function, do
3946 not modify `kill-buffer-hook'.
3947 (auto-revert-notify-rm-watch):
3948 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3949 (auto-revert-notify-add-watch): Do not call
3950 `auto-revert-notify-rm-watch', but add it to a buffer local
3951 `kill-buffer-hook'.
3952
3953 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3954
3955 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3956 call to `eval' rather than a backquoted lambda.
3957
3958 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3961 to return an explicit nil.
3962 (advice--remove-function): Change accordingly.
3963
3964 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3965 the use of nadvice.el.
3966
3967 * progmodes/which-func.el (which-function): Silence imenu errors
3968 (bug#13433).
3969
3970 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3971
3972 * progmodes/sql.el (sql-imenu-generic-expression):
3973 (sql-mode-font-lock-object-name): Match schema qualified names.
3974 (sql-connect): Use string keys.
3975 (sql-product-interactive): Wait for interpreter prompt.
3976 (sql-comint-oracle): Set process coding based on NLS_LANG.
3977
3978 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
3979
3980 * progmodes/sql.el (sql-output-to-send): Remove, unused.
3981 (sql-interactive-remove-continuation-prompt):
3982 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3983
3984 2013-01-14 Leo Liu <sdl.web@gmail.com>
3985
3986 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3987 (Bug#13420)
3988
3989 2013-01-14 Glenn Morris <rgm@gnu.org>
3990
3991 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3992 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
3993
3994 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
3995
3996 * progmodes/python.el (python-nav-end-of-statement):
3997 Fix cornercase when handling multiline strings.
3998
3999 2013-01-13 Richard Stallman <rms@gnu.org>
4000
4001 * mail/sendmail.el (mail-position-on-field): Add doc string.
4002
4003 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4004 Get current message boundaries and pass them to
4005 message-forward-make-body-mime. Minor style changes.
4006
4007 2013-01-13 Eli Zaretskii <eliz@gnu.org>
4008
4009 * cus-start.el (all): Avoid warnings about
4010 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
4011
4012 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
4013
4014 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
4015
4016 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4017
4018 * jit-lock.el (jit-lock-debug-mode): New minor mode.
4019 (jit-lock--debug-fontifying): New var.
4020 (jit-lock--debug-fontify): New function.
4021 * subr.el (condition-case-unless-debug): Don't prevent catching the
4022 error, just let the debbugger run.
4023 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
4024 timer code and don't drop errors silently.
4025
4026 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
4027
4028 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
4029 `permanent-local' property.
4030 (auto-revert-notify-handler): Use `file-equal-p'.
4031
4032 2013-01-12 Eli Zaretskii <eliz@gnu.org>
4033
4034 * autorevert.el (auto-revert-notify-handler): Fix filtering of
4035 file notification by ACTION. For filtering by file name, compare
4036 only the non-directory part of the file name.
4037
4038 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4039
4040 * autorevert.el: Use cl-lib instead of cl.
4041
4042 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
4043 (vc-bzr-checkin): Use it.
4044 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
4045 will preserve match-data.
4046
4047 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
4048
4049 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
4050 (js--declaration-keyword-re): New var.
4051 (js--multi-line-declaration-indentation): New function.
4052 (js--proper-indentation): Use it.
4053
4054 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
4055
4056 * calc/calc.el (calc-highlight-selections-with-faces)
4057 (calc-dispatch):
4058 * comint.el (comint-history-isearch-message):
4059 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
4060 * ffap.el (ffap-string-at-point-region, ffap-next)
4061 (ffap-string-at-point, ffap-string-around)
4062 (ffap-copy-string-as-kill, ffap-highlight-overlay)
4063 (ffap-literally):
4064 * font-lock.el (font-lock-keywords-alist)
4065 (font-lock-removed-keywords-alist):
4066 * help-mode.el (help-xref-symbol-regexp):
4067 * info.el (Info-find-emacs-command-nodes):
4068 * international/mule.el (add-to-coding-system-list):
4069 * isearch.el (isearch-message-function, isearch-fail-pos):
4070 * misearch.el (multi-isearch-next-buffer-function):
4071 * newcomment.el (comment-box):
4072 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
4073 (pr-setting-database):
4074 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
4075 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
4076 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
4077 (pike-font-lock-keywords-3):
4078 * progmodes/compile.el (compile):
4079 * progmodes/etags.el (tags-table-files)
4080 (tags-table-files-function, tags-included-tables-function):
4081 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
4082 (gdb-restore-windows):
4083 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
4084 (ps-n-up-filling-database):
4085 * server.el (server-buffer, server-log):
4086 * simple.el (newline, delete-backward-char, delete-forward-char)
4087 (minibuffer-history-isearch-message, kill-line, track-eol)
4088 (temporary-goal-column):
4089 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
4090 (flyspell-default-deplacement-commands):
4091 * textmodes/ispell.el (ispell-accept-output):
4092 * textmodes/sgml-mode.el (html-tag-help):
4093 * vc/compare-w.el (compare-ignore-whitespace)
4094 (compare-ignore-case, compare-windows-dehighlight):
4095 * vc/diff.el (diff):
4096 * whitespace.el (whitespace-point)
4097 (whitespace-font-lock-refontify, whitespace-bob-marker)
4098 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
4099
4100 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
4101
4102 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
4103 (auto-revert-notify-rm-watch): Ignore errors.
4104 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
4105 inotify, and '(size last-write-time) for w32notify.
4106 Set buffer-local `auto-revert-use-notify' to nil when adding a file
4107 watch fails - this is a fallback to the file modification check.
4108 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
4109 (auto-revert-notify-event-action)
4110 (auto-revert-notify-event-file-name): New defuns.
4111 (auto-revert-notify-handler): Use them. Implement first
4112 plausibility checks.
4113 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
4114
4115 2013-01-11 Julien Danjou <julien@danjou.info>
4116
4117 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
4118 max are almost equal. Also return the correct value for V which is
4119 already between 0 and 1.
4120
4121 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
4122
4123 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
4124
4125 2013-01-11 Eli Zaretskii <eliz@gnu.org>
4126
4127 * autorevert.el (auto-revert-notify-rm-watch)
4128 (auto-revert-notify-add-watch): Fix typos in w32notify function
4129 names.
4130
4131 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4132
4133 * autorevert.el (auto-revert-notify-enabled): Move up.
4134 (auto-revert-use-notify): New defcustom.
4135 (auto-revert-mode, global-auto-revert-mode)
4136 (auto-revert-notify-add-watch, auto-revert-handler)
4137 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
4138 `auto-revert-notify-enabled'.
4139
4140 2013-01-10 Elias Pipping <pipping@exherbo.org>
4141
4142 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
4143 * doc-view.el (doc-view-document->bitmap):
4144 Use doc-view-single-page-converter-function instead of
4145 single-page-converter arg; adjust callers.
4146
4147 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
4148
4149 * progmodes/which-func.el (which-function): Understand Semantic's use
4150 of overlays in imenu--index-alist.
4151
4152 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
4153
4154 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
4155 (Man-man-k-use-anchor): New var.
4156 (Man-parse-man-k): New function.
4157 (Man-completion-table): Use it.
4158 (man): Flush the completion cache between uses.
4159
4160 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
4161
4162 * autorevert.el: Add file watch support.
4163 (auto-revert-notify-enabled): New defconst.
4164 (auto-revert-notify-watch-descriptor-hash-list)
4165 (auto-revert-notify-watch-descriptor)
4166 (auto-revert-notify-modified-p): New defvars.
4167 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4168 (auto-revert-notify-handler): New defuns.
4169 (auto-revert-mode, global-auto-revert-mode): Remove file watches
4170 when mode is disabled.
4171 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
4172 (auto-revert-buffers): Add file watches for active buffers.
4173
4174 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
4175
4176 * cus-start.el (toplevel): Only allow float values for
4177 scroll-up-aggressively and scroll-down-aggressively.
4178 Allow any number for line-spacing.
4179
4180 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4181
4182 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
4183 (doc-view-pdf->png-converter-function): Use mupdf if available.
4184 (doc-view-djvu->png-converter-function)
4185 (doc-view-ps->png-converter-function): Remove.
4186 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
4187 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
4188 (doc-view-already-converted-p): Adjust accordingly.
4189 (doc-view-mode-p): Simplify.
4190 (doc-view-enlarge): Use setq-local.
4191 (doc-view-pdf->png-converter-ghostscript)
4192 (doc-view-djvu->png-converter-ddjvu)
4193 (doc-view-pdf->png-converter-mupdf): Rework to call
4194 doc-view-start-process directly.
4195 (doc-view-pdf/ps->png): Simplify accordingly.
4196 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
4197 (doc-view-document->bitmap): Rename from doc-view-document->png.
4198 (doc-view-convert-current-doc): Merge pdf and djvu cases.
4199 (doc-view-set-slice-from-bounding-box): Fix completion table.
4200 (doc-view-mode): Use add-hook for after-revert-hook.
4201
4202 2013-01-10 Glenn Morris <rgm@gnu.org>
4203
4204 * emacs-lisp/authors.el (authors-ignored-files)
4205 (authors-valid-file-names, authors-renamed-files-alist):
4206 Add some more entries.
4207
4208 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * image-mode.el (image-mode-winprops): Don't throw away the fallback
4211 `t' pseudo-window entry.
4212
4213 2013-01-10 Alan Mackenzie <acm@muc.de>
4214
4215 Fix bugs in the c-parse-state mechanism. Reuse some markers
4216 instead of continually generating new ones.
4217
4218 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
4219 (c-state-old-cpp-end-marker): New variables.
4220 (c-append-lower-brace-pair-to-state-cache): Start a backward
4221 search for "}" definitively outside CPP constructs.
4222 (c-remove-stale-state-cache): Inform the caller of a need to
4223 search back for a brace pair in certain circumstances.
4224 (c-state-maybe-marker): New macro.
4225 (c-parse-state): Reuse markers when appropriate.
4226
4227 2013-01-10 Glenn Morris <rgm@gnu.org>
4228
4229 * simple.el (execute-extended-command): Doc fix.
4230 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
4231
4232 2013-01-10 Chong Yidong <cyd@gnu.org>
4233
4234 * faces.el (read-face-name): Doc fix.
4235
4236 2013-01-10 Roland Winkler <winkler@gnu.org>
4237
4238 * emacs-lisp/crm.el: Allow any regexp for separators.
4239 (crm-default-separator): All spaces around the default comma separator.
4240 (crm--completion-command): New macro.
4241 (crm-completion-help, crm-complete, crm-complete-word): Use it.
4242 (crm-complete-and-exit): Handle non-single-char separators.
4243
4244 2013-01-09 Elias Pipping <pipping@lavabit.com>
4245
4246 * doc-view.el: Add support for DjVu (bug#13164).
4247 (doc-view-djvu->png-converter-function): New config var.
4248 (doc-view-single-page-converter-function, doc-view--image-type)
4249 (doc-view--image-file-extension): New vars.
4250 (doc-view-mode): Initialize them.
4251 (doc-view-goto-page): Use them.
4252 (doc-view-mode-p): Add support for ddjvu.
4253 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
4254 (doc-view-set-up-single-converter): New funs.
4255 (doc-view-pdf/ps->png): Extend for djvu.
4256 (doc-view-document->png): Rename from doc-view-pdf->png.
4257 (doc-view-convert-current-doc): Handle djvu.
4258 (doc-view-insert-image, doc-view-display)
4259 (doc-view-already-converted-p): Don't hardcode png.
4260 (doc-view-set-doc-type): Recognize djvu docs.
4261
4262 2013-01-09 Elias Pipping <pipping@lavabit.com>
4263
4264 * doc-view.el: Add support for mupdf converter (bug#13164).
4265 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
4266 (doc-view-ps->png-converter-function): New config vars.
4267 (doc-view-pdf->png-converter-ghostscript)
4268 (doc-view-ps->png-converter-ghostscript)
4269 (doc-view-pdf->png-converter-mupdf): New functions.
4270 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
4271
4272 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
4273
4274 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
4275 first in session cache: When `tramp-own-remote-path' is in
4276 `tramp-remote-path', the remote path is only set in the session
4277 cache.
4278
4279 2013-01-09 Glenn Morris <rgm@gnu.org>
4280
4281 * emacs-lisp/trace.el (trace-function-foreground)
4282 (trace-function-background): Doc fix.
4283
4284 2013-01-09 Juri Linkov <juri@jurta.org>
4285
4286 * international/mule-cmds.el (read-char-by-name): Move let-binding
4287 of completion-ignore-case around completing-read to fix regression
4288 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
4289 `string-match-p' using the nil value of `case-fold-search' and
4290 `completion-ignore-case' in `completion-pcm--all-completions'.
4291 (Bug#12615).
4292
4293 2013-01-09 Glenn Morris <rgm@gnu.org>
4294
4295 * progmodes/compile.el (compilation-parse-errors):
4296 Fix typo. (Bug#13369)
4297
4298 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4299
4300 * comint.el (comint-send-input): Check size of buffer before
4301 waiting for process output, in case already accepted. (Bug#13290)
4302
4303 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
4304
4305 Spelling fixes.
4306 * net/tramp-adb.el (tramp-adb-get-toolbox):
4307 Fix misspelling of 'unknown'.
4308
4309 2013-01-08 Juri Linkov <juri@jurta.org>
4310
4311 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4312 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4313 Use underline style wave on terminals that support it. (Bug#13000)
4314
4315 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
4318 the predicate returns nil.
4319
4320 * simple.el: Use lexical-binding.
4321 (primitive-undo): Use pcase.
4322 (minibuffer-history-isearch-push-state): Use a closure.
4323
4324 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4325
4326 * simple.el (primitive-undo): Move from undo.c.
4327
4328 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4329
4330 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
4331 (cvs-mode-remove-handled): Use it (bug#13380).
4332
4333 * emacs-lisp/nadvice.el (advice--tweak): New function.
4334 (advice--remove-function, advice--subst-main): Use it.
4335
4336 * emacs-lisp/advice.el: Update commentary.
4337
4338 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
4339
4340 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4341 Remove spurious entry.
4342
4343 2013-01-08 Glenn Morris <rgm@gnu.org>
4344
4345 * net/tramp.el (tramp-default-host-alist): Add :version.
4346
4347 2013-01-08 Juri Linkov <juri@jurta.org>
4348
4349 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
4350 single completion. (Bug#12456)
4351 (info--manual-names): Expand node completions into an explicit list
4352 before appending it to another list. Filter out internal buffers
4353 with the leading space in the buffer name. (Bug#10771)
4354
4355 2013-01-08 Juri Linkov <juri@jurta.org>
4356
4357 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
4358 that defaults to the Top node.
4359 (Info-goto-node, Info-read-node-name): Doc fix to mention that
4360 the short format (FILENAME) goes to the Top node.
4361 (Info-build-node-completions): Rename arg `file' to `filename'.
4362 (Bug#13365)
4363
4364 2013-01-07 Bastien Guerry <bzg@gnu.org>
4365
4366 * menu-bar.el (menu-bar-search-documentation-menu):
4367 Use `apropos-user-option' and fix the help message.
4368
4369 2013-01-07 Bastien Guerry <bzg@gnu.org>
4370
4371 * apropos.el (apropos-do-all): Update docstring.
4372 (apropos-user-option-button): New face.
4373 (apropos-user-option): Rename from `apropos-variable' and update
4374 docstring.
4375 (apropos-variable): Rewrite, now show all variables by default.
4376 (apropos-print): Mention "User option" instead of "Variable" when
4377 printing doc for user options. (Bug#13276)
4378
4379 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
4380
4381 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4382 Handle filename correctly, when parsing "source -> target" symlink
4383 output.
4384 (tramp-adb-handle-set-file-times): New defun.
4385
4386 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
4389 advice list when the interactive-spec of ad-Advice-* changes.
4390
4391 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
4392
4393 * wid-edit.el (widget-default-get): Work for inlined elements.
4394 (Bug#12670)
4395
4396 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
4397
4398 * net/tramp.el (tramp-default-host-alist): New defcustom.
4399 (tramp-find-host): Use it.
4400 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
4401 `eshell-directory-change-hook'.
4402
4403 * net/tramp-adb.el (top): Add adb specific entry in
4404 `tramp-default-host-alist'.
4405 (tramp-adb-file-name-host): Remove function.
4406 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4407 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
4408
4409 * net/tramp-sh.el: Move eshell integration code to tramp.el.
4410
4411 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
4412
4413 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
4414
4415 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
4416
4417 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
4418 consist of more than one digit.
4419 (tramp-adb-file-name-handler-alist):
4420 Use `tramp-handle-file-exists-p' consistently.
4421 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
4422 (tramp-adb-handle-file-exists-p): Remove function.
4423 (tramp-adb-file-name-host): New defun.
4424 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
4425 Use it.
4426 (tramp-adb-maybe-open-connection): Set "remote-path" property.
4427
4428 2013-01-06 Chong Yidong <cyd@gnu.org>
4429
4430 * vc/vc.el (vc-next-action): Detect buffer modifications
4431 conflicting with locking VCS operation (Bug#11490).
4432
4433 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
4434
4435 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
4436
4437 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
4438 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
4439
4440 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
4441
4442 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
4443 parsing of ls output using regular expression (handle filenames
4444 with spaces). Use virtual device number.
4445 (tramp-do-parse-file-attributes-with-ls): New defun (Code
4446 cleanup).
4447
4448 2013-01-04 Daiki Ueno <ueno@gnu.org>
4449
4450 * epg.el: Silence byte-compiler warnings.
4451 (epg--start): Use delete-char instead of delete-backward-char.
4452 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
4453
4454 2013-01-04 Daiki Ueno <ueno@gnu.org>
4455
4456 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
4457 Suggested by Eli Zaretskii <eliz@gnu.org>.
4458
4459 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
4460
4461 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
4462 non-negative integers. Otherwise, the default values are used.
4463 (tramp-convert-file-attributes): Convert uid and gid to integers.
4464
4465 2013-01-04 Glenn Morris <rgm@gnu.org>
4466
4467 * term.el (term-handle-colors-array): Ensure face attributes
4468 are fully specified, not nil. (Bug#13337)
4469
4470 * term.el (term-default-fg-color, term-default-bg-color):
4471 Fix custom type.
4472
4473 * progmodes/etags.el (tags-compression-info-list): Doc fix.
4474 (tag-find-file-of-tag-noselect): Check auto-compression-mode
4475 rather than 'jka-compr being loaded. (Bug#13338)
4476
4477 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
4478
4479 * icomplete.el (icomplete-completions):
4480 Honor icomplete-prospects-height once more following
4481 2012-11-29 changes. (Bug#13224)
4482
4483 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
4484
4485 * subr.el (internal--called-interactively-p--get-frame): Find aliases
4486 of called-interactively-p as well (bug#13237).
4487
4488 * view.el (view--enable, view--disable): Rename from view-mode-enable
4489 and view-mode-disable and assume it's called from view-mode.
4490 (view-mode-enable, view-mode-disable): Redefine as obsolete
4491 compatibility layer above view-mode.
4492 (view-mode-enter): Call `view-mode'.
4493
4494 * files.el (after-find-file): Call `view-mode'.
4495
4496 * doc-view.el (doc-view-scale-internally): New var.
4497 (doc-view-enlarge, doc-view-insert-image): Obey it.
4498
4499 2013-01-03 Daiki Ueno <ueno@gnu.org>
4500
4501 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
4502 exist. (Bug#13344)
4503
4504 2013-01-03 Glenn Morris <rgm@gnu.org>
4505
4506 * mail/rmail.el (rmail-set-header-1): Ignore case.
4507 Handle multi-line headers. (Bug#13330)
4508
4509 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
4510 Handle paragraph starting at beginning of buffer.
4511
4512 * subr.el (eval-after-load): Don't purecopy the form, so that it
4513 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
4514
4515 * emacs-lisp/byte-run.el (defun): Place cl declarations
4516 after any interactive spec. (Bug#13265)
4517
4518 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4519
4520 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
4521 defun. Don't check for DECL if DOCSTRING isn't a string.
4522 (defun): Likewise.
4523
4524 2013-01-02 Glenn Morris <rgm@gnu.org>
4525
4526 * eshell/em-cmpl.el (eshell-pcomplete):
4527 More thoroughly imitate pcomplete. (Bug#13293)
4528
4529 * files.el (parse-colon-path): Doc fix. (Bug#12351)
4530 Return nil for empty path elements. (Bug#13296)
4531
4532 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
4533
4534 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
4535 order to improve efficiency (Based on Daniel Colascione's
4536 <dancol@dancol.org> patch). (Bug#13182)
4537
4538 2013-01-02 Glenn Morris <rgm@gnu.org>
4539
4540 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
4541
4542 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
4543
4544 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
4545 neither DOCSTRING nor DECL was given. (Bug#13316)
4546
4547 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
4548
4549 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
4550 `error' call.
4551 (tramp-do-copy-or-rename-file): Ignore errors when calling
4552 `set-file-extended-attributes'.
4553
4554 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4555 Add handler for `file-acl'.
4556 (tramp-smb-handle-file-acl): New defun.
4557
4558 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
4559
4560 * calc/README: Mention ISO 8601 week-numbering dates.
4561
4562 2013-01-01 Martin Rudalics <rudalics@gmx.at>
4563
4564 * view.el (view-mode-enable): New argument run-view-mode-hook.
4565 Run view-mode-hook only when it's non-nil (Bug#13315).
4566 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
4567 argument t.
4568
4569 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
4570
4571 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
4572 (No device connected, invalid device name). (Bug #13299)
4573
4574 2012-12-31 Martin Rudalics <rudalics@gmx.at>
4575
4576 * window.el (window-resizable--p): Rename to window-resizable-p.
4577 (window-resize-no-error): New function.
4578
4579 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
4580 broken in fix from 2012-12-28.
4581
4582 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * subr.el (special-form-p): Don't signal errors on undef aliases.
4585
4586 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
4587
4588 * calc/calc-forms.el (math-parse-date): Try using
4589 `math-parse-iso-date' when it looks like it might be needed.
4590 Allow times of 24:00.
4591 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
4592 of 24:00.
4593
4594 2012-12-30 Glenn Morris <rgm@gnu.org>
4595
4596 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
4597 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
4598 (rmail-summary-displayed, rmail-summary): Declare.
4599 (mairix-rmail-display): Just require rmail.
4600
4601 2012-12-30 Chong Yidong <cyd@gnu.org>
4602
4603 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
4604 check for the tarball contents.
4605
4606 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
4607
4608 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
4609 tarfile content listings (Bug#13136).
4610
4611 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
4612
4613 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4614 Insert the undecoded text of the message being forwarded. (Bug#9521)
4615
4616 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
4617
4618 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
4619 integers, if they are real numbers. (Bug#13282)
4620
4621 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
4622 Return `t' on success.
4623
4624 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4625 Add handler for `set-file-selinux-context'.
4626
4627 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
4628
4629 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
4630 (tramp-sh-handle-set-file-acl): Return `t' on success.
4631
4632 2012-12-29 Eli Zaretskii <eliz@gnu.org>
4633
4634 * files.el (backup-buffer-copy, basic-save-buffer-2):
4635 If set-file-extended-attributes fails, fall back on set-file-modes
4636 instead of signaling an error. (Bug#13298)
4637 (basic-save-buffer): Likewise.
4638
4639 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4640
4641 * progmodes/python.el: Support other commands triggering
4642 python-indent-line so indentation cycling continues to work.
4643 (python-indent-trigger-commands): New defcustom.
4644 (python-indent-line): Use it.
4645
4646 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4647
4648 * progmodes/python.el (python-shell-send-region): Add blank lines
4649 for non sent code so backtraces remain correct.
4650
4651 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
4652
4653 * progmodes/python.el: Remove cl dependency.
4654 (python-syntax-count-quotes): Replace incf call.
4655 (python-fill-string): Replace setf call.
4656
4657 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
4658
4659 * info.el (info-other-window): New arg, for consistency with info.
4660
4661 2012-12-28 Martin Rudalics <rudalics@gmx.at>
4662
4663 * mail/rmail.el (rmail-maybe-display-summary):
4664 Rewrite (Bug#13066).
4665
4666 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
4667
4668 * epg.el (epg--start): Modify process-environment locally.
4669
4670 2012-12-28 Daiki Ueno <ueno@gnu.org>
4671
4672 * epg.el: Support pinentry-curses.
4673 Suggested by Werner Koch in
4674 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
4675 (epg-agent-file, epg-agent-mtime): New variable.
4676 (epg--start): Record the modified time of gpg-agent socket file,
4677 to restore Emacs frame after pinentry-curses termination.
4678 (epg-wait-for-completion): Restore Emacs frame here.
4679
4680 2012-12-27 Juri Linkov <juri@jurta.org>
4681
4682 * info.el (Info-file-completions): New variable.
4683 (Info-read-node-name-1): Complete node names in the Info file
4684 when a file name is given. Call `Info-build-node-completions'
4685 with a file name.
4686 (Info-build-node-completions): Add new arg `file'. When it is
4687 non-nil, visit it in a temporary buffer and cache its completions in
4688 `Info-current-file-completions'. Move most of the function body to
4689 `Info-build-node-completions-1'.
4690 (Info-build-node-completions-1): New function with the body from
4691 `Info-build-node-completions'. (Bug#12456)
4692
4693 2012-12-27 Juri Linkov <juri@jurta.org>
4694
4695 * frame.el (frame-maximization-style): Remove user option.
4696 (cycle-frame-maximized): Remove function.
4697 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
4698 (toggle-frame-fullscreen): New command bound to <f11> instead of
4699 `toggle-frame-maximized'.
4700 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
4701
4702 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
4703
4704 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
4705
4706 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4708 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4709 for `file-accessible-directory-p'. (Bug#13275)
4710
4711 2012-12-27 Sam Steingold <sds@gnu.org>
4712
4713 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
4714 continuations, see <http://stackoverflow.com/questions/3582436>.
4715
4716 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
4717
4718 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
4719 "module" and "def" to have indentation before them.
4720 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
4721
4722 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
4723
4724 2012-12-27 Alan Mackenzie <acm@muc.de>
4725
4726 Speed up fontification where there's large brace blocks.
4727 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
4728 to a call of c-beginning-of-decl-1.
4729
4730 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
4731
4732 * comint.el (comint-adjust-window-point): New function.
4733 (comint-postoutput-scroll-to-bottom):
4734 Call comint-adjust-window-point (Bug#13248).
4735
4736 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
4739 Rakefile regexp.
4740 (auto-mode-alist): Associate .gemspec files with ruby-mode
4741 (https://bugs.ruby-lang.org/issues/5453).
4742
4743 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
4744
4745 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
4746 Suppress coloring, if possible (required for BusyBox based systems like
4747 CyanogenMod).
4748 (tramp-adb-handle-file-attributes)
4749 (tramp-adb-handle-insert-directory)
4750 (tramp-adb-handle-file-name-all-completions): Use it.
4751 (tramp-adb-get-toolbox): New defun. Check for remote shell
4752 implementation (BusyBox or Toolbox).
4753
4754 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
4755
4756 * startup.el (initial-buffer-choice): Allow function as value
4757 (Bug#13251).
4758 (command-line-1): Handle case where initial-buffer-choice
4759 specifies a function.
4760 * server.el (server-execute): Handle case where
4761 initial-buffer-choice specifies a function.
4762
4763 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4764
4765 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4766 its own function.
4767 (smtpmail-try-auth-methods): Forget the user name/password if the
4768 login is unsuccessful (bug#12424).
4769
4770 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
4771
4772 * notifications.el (notifications-notify): Protect body with
4773 `with-demoted-errors'.
4774
4775 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4776 Check properties of remote device. Restart connection, if there is a
4777 change.
4778
4779 2012-12-21 Chong Yidong <cyd@gnu.org>
4780
4781 * sort.el (sort-subr): Doc fix (Bug#13056).
4782
4783 2012-12-21 Bastien Guerry <bzg@gnu.org>
4784
4785 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
4786
4787 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
4788
4789 * simple.el (process-file): Overwrite stderr file, if exists.
4790
4791 2012-12-21 Daiki Ueno <ueno@gnu.org>
4792
4793 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4794 (epg-error): Set `error-message' property.
4795
4796 2012-12-21 Chong Yidong <cyd@gnu.org>
4797
4798 * international/mule-cmds.el (read-char-by-name): Signal an error
4799 if the user does not supply a valid character (Bug#13177).
4800
4801 * simple.el (transpose-subr-1): Preserve marker positions by
4802 changing the insertion sequence (Bug#13122).
4803
4804 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4805
4806 * simple.el (kill-region): Deactivate mark even for empty regions
4807 (Bug#13169).
4808
4809 2012-12-21 Chong Yidong <cyd@gnu.org>
4810
4811 * help-fns.el (describe-variable): Make sure we get the right
4812 buffer name (Bug#13105). Suggested by Kelly Dean.
4813
4814 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
4815
4816 * comint.el (comint-redirect-previous-input-string): New variable.
4817 (comint-redirect-setup, comint-redirect-cleanup)
4818 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
4819 (comint-redirect-preoutput-filter): Fix verbose message.
4820
4821 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
4822
4823 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
4824 is too long for Tramp. See discussion in
4825 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4826
4827 * progmodes/compile.el (compilation-start): Remove line escape
4828 template.
4829
4830 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
4831
4832 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4833 Adjust comment.
4834
4835 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
4836
4837 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4838 following non-comment text (bug#13207).
4839 (lm-header-multiline): Continuation lines need to be indented more than
4840 the first line.
4841 (lm-homepage): New function.
4842 (lm-with-file): Don't be confused if narrowing is in effect.
4843
4844 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4845
4846 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4847 very beginning of a hunk (e.g. killing the first line).
4848
4849 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
4850
4851 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4852 and text properties from returned ACL string.
4853 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4854 for "setfacl" command.
4855
4856 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
4857
4858 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4859 `tramp-cleanup-this-connection', when the process has died.
4860 (Bug#13151)
4861
4862 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4863
4864 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
4865
4866 2012-12-17 Kevin Ryde <user42@zip.com.au>
4867
4868 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4869
4870 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
4871
4872 Add support for preserving ACL entries of files.
4873
4874 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4875 `set-file-acl' handlers.
4876
4877 * net/tramp-adb.el (tramp-adb-handle-copy-file):
4878 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4879
4880 * net/tramp-compat.el (tramp-compat-copy-file):
4881 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4882
4883 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4884 Add `file-acl' and `set-file-acl' handlers.
4885 (tramp-gvfs-handle-copy-file):
4886 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4887 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4888 New defuns.
4889
4890 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4891 Add `file-acl' and `set-file-acl' handlers.
4892 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4893 (tramp-sh-handle-set-file-acl): New defuns.
4894 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4895 Handle PRESERVE-EXTENDED-ATTRIBUTES.
4896
4897 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4898 Add `file-acl' and `set-file-acl' handlers.
4899 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4900
4901 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4902
4903 * help-macro.el (make-help-screen): Instead of switch-to-buffer
4904 use pop-to-buffer with NORECORD argument t. As buffer name, use
4905 *Metahelp* with a leading space (Bug#13190).
4906
4907 2012-12-16 Romain Francoise <romain@orebokech.com>
4908
4909 * files.el (file-extended-attributes)
4910 (set-file-extended-attributes): New functions.
4911 (backup-buffer): Use them to handle both SELinux context and ACL
4912 entries.
4913 (backup-buffer-copy): Work with an alist of extended attributes,
4914 rather than an SELinux context.
4915 (basic-save-buffer-2): Ditto.
4916
4917 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
4918
4919 * battery.el (battery-bsd-apm): New function.
4920
4921 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
4922
4923 * calc/calc.el (calc-standard-date-formats): Adjust one of the
4924 standard date formats.
4925
4926 2012-12-15 Juri Linkov <juri@jurta.org>
4927
4928 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4929 `isearch-insert-char-by-name'.
4930 (with-isearch-suspended): New defmacro with body mostly from
4931 `isearch-edit-string' except the part that sets
4932 `isearch-new-string' and `isearch-new-message'.
4933 (isearch-edit-string): Use new macro `with-isearch-suspended' with
4934 body that sets `isearch-new-string' and `isearch-new-message'.
4935 (isearch-insert-char-by-name): New command.
4936 * international/mule-cmds.el (read-char-by-name): Let-bind
4937 `enable-recursive-minibuffers' to t.
4938 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4939
4940 2012-12-15 Juri Linkov <juri@jurta.org>
4941
4942 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4943 (Bug#13175)
4944
4945 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
4946
4947 * dired-x.el (dired-guess-shell-command): Put colon at the end of
4948 the prompt. (Bug#13045)
4949
4950 2012-12-14 Glenn Morris <rgm@gnu.org>
4951
4952 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4953 Try to include filename in non-bytecomp warning. (Bug#13132)
4954
4955 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
4956
4957 Fix permissions bugs with setgid directories etc. (Bug#13125)
4958 * files.el (backup-buffer): Don't rely on 9th output of
4959 file-attributes, as it's now a placeholder. Instead, use the new
4960 optional arg of file-ownership-preserved-p.
4961 (file-ownership-preserved-p): New optional arg GROUP.
4962 Fix mishandling of setuid directories that would cause this
4963 function to return t when it should have returned nil.
4964 Document what happens if the file does not exist, and when
4965 it's not known whether the ownership will be preserved.
4966 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4967 Likewise.
4968 (tramp-get-local-gid): Use group-gid for integer, as that's
4969 faster and more reliable.
4970
4971 2012-12-14 Julien Danjou <julien@danjou.info>
4972
4973 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4974 Update keywords list, data type and PL/pgSQL.
4975
4976 2012-12-14 Dave Abrahams <dave@boostpro.com>
4977
4978 * vc/ediff-util.el (ediff-buffer-type): New function.
4979 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4980 rather than taking it as as argument.
4981 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4982
4983 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
4984
4985 * json.el: Add pretty-print option (bug#12634).
4986 (json-encoding-separator, json-encoding-default-indentation)
4987 (json--encoding-current-indentation, json-encoding-pretty-print)
4988 (json-encoding-lisp-style-closings): New vars.
4989 (json--with-indentation): New macro.
4990 (json-encode-hash-table, json-encode-alist, json-encode-plist)
4991 (json-encode-array): Use it to obey json-encoding-pretty-print.
4992 (json-pretty-print-buffer, json-pretty-print): New commands.
4993
4994 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
4995
4996 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4997 Extract `ruby-syntax-propertize-expansions'.
4998 (ruby-syntax-propertize-expansions): Only change syntax on
4999 certain string delimiters, to punctuation. This way the common
5000 functions like forward-word and thing-at-point still work.
5001 (ruby-match-expression-expansion): Improve readability.
5002 (ruby-block-contains-point): New function.
5003 (ruby-add-log-current-method): Handle several edge cases.
5004
5005 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5006
5007 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
5008 unload-feature finishes even when aborting an ongoing edebug session.
5009 Also, do not worry about edebug-mode, unload-feature takes care of it.
5010
5011 2012-12-13 Andreas Schwab <schwab@suse.de>
5012
5013 * net/tls.el (tls-program): Update customize type.
5014
5015 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
5016
5017 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
5018 (edebug-setup-hook, cl-read-load-hooks): Use it.
5019 (edebug-unload-function): New function. (Bug#13163)
5020
5021 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
5022
5023 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
5024 Otherwise, there could be errors in autoloading. (Bug#13151)
5025
5026 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
5027
5028 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
5029 sequences.
5030
5031 2012-12-13 Alan Mackenzie <acm@muc.de>
5032
5033 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
5034 * progmodes/cc-engine.el (c-backward-comments): Add code to work
5035 around `forward-comment' not recognizing ^M as whitespace.
5036
5037 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
5038
5039 * progmodes/python.el (python-skeleton-class)
5040 (python-skeleton-def): Do not add space after defun name.
5041
5042 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5043
5044 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
5045 (cl--symbol-function): Remove (now that funbound is like nil).
5046
5047 2012-12-12 Glenn Morris <rgm@gnu.org>
5048
5049 * button.el (button--area-button-p): Fix typo.
5050
5051 2012-12-12 Sam Steingold <sds@gnu.org>
5052
5053 * frame.el (frame-maximization-style): New user option.
5054 (toggle-frame-maximized): Toggle frame maximization according to
5055 `frame-maximization-style', bound to <f11>.
5056 (cycle-frame-maximized): Cycle between all maximization styles and
5057 non-maximized frame, bound to shift-<f11>.
5058
5059 2012-12-12 David Cadé <codename68@gmail.com>
5060
5061 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
5062
5063 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
5064
5065 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
5066 (eieio-override-prin1): Don't quote kewords and booleans.
5067 (object-write) <eieio-default-superclass>: Don't put closing parens
5068 on new line, avoid needless empty lines, align values that are objects
5069 with the slot keyword (instead of beginning on the same line).
5070 (eieio-list-prin1): Align value with slot keyword; increase
5071 eieio-print-depth before printing members of the list.
5072
5073 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
5076 a display text-property.
5077 (report-emacs-bug-hook): Don't bother deleting it any more.
5078
5079 * hilit-chg.el (highlight-save-buffer-state): Delete.
5080 Use with-silent-modifications instead.
5081 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
5082
5083 * button.el: Handle buttons in display text-properties.
5084 (button--area-button-p, button--area-button-string):
5085 Use (STRING . STRING-POS) representation instead of just STRING.
5086
5087 2012-12-11 Eli Zaretskii <eliz@gnu.org>
5088
5089 * makefile.w32-in (compile4-SH): Fix a typo that caused term
5090 subdirectory be skipped.
5091
5092 2012-12-11 Glenn Morris <rgm@gnu.org>
5093
5094 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
5095
5096 * progmodes/f90.el (f90-line-continued, f90-indent-region):
5097 Treat preprocessor lines embedded in continuations like comments.
5098 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
5099
5100 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
5101
5102 * calc/calc.el (calc-standard-date-formats): Add more date
5103 formats.
5104 * calc/calc-forms.el (math-parse-iso-date): New function.
5105 (math-parse-date): Use `math-parse-iso-date' when appropriate.
5106 (math-parse-iso-date-validate): Add extra error checking.
5107 (calc-date-notation): Add ability to access new date formats.
5108
5109 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5110
5111 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
5112 font-lock as well as when there's no text-property.
5113
5114 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
5115
5116 * hi-lock.el: Refine the choice of default face.
5117 (hi-lock-keyword->face): New function. Use it wherever we used
5118 cadadadr instead.
5119 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
5120 (hi-lock--last-face): Remove var.
5121 (hi-lock--unused-faces): New var to replace it.
5122 (hi-lock-read-face-name): Use/maintain it.
5123 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
5124 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
5125 if it has another face.
5126
5127 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5128
5129 * subr.el (w32notify-handle-event): New function.
5130 (inotify-handle-event): Doc fix.
5131
5132 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5133
5134 * subr.el (inotify-event-p, inotify-handle-event): New functions.
5135
5136 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
5137
5138 * simple.el (just-one-space): Doc fix.
5139
5140 2012-12-10 Eli Zaretskii <eliz@gnu.org>
5141
5142 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
5143
5144 2012-12-10 Le Wang <l26wang@gmail.com>
5145
5146 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
5147 narrowed buffer (bug#12361).
5148
5149 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
5150
5151 * vc/vc-hooks.el (vc-state): Doc fix.
5152
5153 2012-12-10 Glenn Morris <rgm@gnu.org>
5154
5155 * mail/rmail.el (rmail-maybe-display-summary):
5156 Preserve buffer, in case select-window changes it. (Bug#13066)
5157
5158 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5159
5160 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
5161 cl-load-hook where they belong.
5162
5163 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
5164
5165 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
5166
5167 2012-12-09 Eli Zaretskii <eliz@gnu.org>
5168
5169 Parallelize byte compilation on MS-Windows.
5170 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
5171 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
5172 (WINS_BASIC): Define as concatenation of the above.
5173 (compile): Subdivide into 4 separate and independent jobs that can
5174 be run in parallel.
5175 (compile0-CMD, compile0-SH): New targets for compiling
5176 COMPILE_FIRST files, which are prerequisites for the rest of the
5177 byte-compilation.
5178 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
5179 New targets for parallel compilation with cmd.exe.
5180 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
5181 compiling under a Unixy shell.
5182
5183 2012-12-09 Chong Yidong <cyd@gnu.org>
5184
5185 * simple.el (set-mark-default-inactive): Delete this
5186 accidentally-introduced option.
5187 (set-mark-command, exchange-point-and-mark): Remove calls.
5188
5189 2012-12-09 Glenn Morris <rgm@gnu.org>
5190
5191 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
5192 Respect a defcustom's :set function, if appropriate. (Bug#109)
5193 (eval-defun): Doc fix.
5194
5195 2012-12-08 Juri Linkov <juri@jurta.org>
5196
5197 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
5198 (Info-fontify-node, Info-bookmark-make-record): Remove the
5199 file extension from Info-current-file (Bug#13016).
5200
5201 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5202
5203 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
5204 point, still provide some default.
5205 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
5206 names, since we don't use it right now. Actually return the list.
5207 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
5208
5209 2012-12-07 Chong Yidong <cyd@gnu.org>
5210
5211 * novice.el (disabled-command-function): Remove a spurious help
5212 xref (Bug#13043). Suggested by Kelly Dean.
5213
5214 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
5215 syntax is specified (Bug#13025).
5216
5217 * info.el (Info-set-mode-line): Remove the file extension from
5218 Info-current-file if there is one (Bug#13016).
5219
5220 2012-12-07 Glenn Morris <rgm@gnu.org>
5221
5222 * mail/rmail.el (rmail-mime-decoded): New permanent local.
5223 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
5224 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
5225 and rmail-mime-decoded. (Bug#9841)
5226
5227 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
5228 (batch-unrmail, unrmail): Doc fixes.
5229 (unrmail): Respect unrmail-mbox-format.
5230 * mail/rmail.el (rmail-mbox-format): New option.
5231 (rmail-show-message-1): Respect rmail-mbox-format.
5232
5233 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
5236
5237 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
5240 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
5241 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
5242 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
5243 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
5244 (cl-progv): Don't rely on dynamic scoping to find the body.
5245 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
5246 (cl--proclaims-deferred): Rename from the "cl-" prefix.
5247 (cl-declaim): Use backquotes.
5248 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
5249 Use "cl--" prefix for the object's tag.
5250
5251 * ses.el: Use advice-add/remove.
5252 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
5253 (copy-region-as-kill, yank): Use advice-add.
5254 (ses-unload-function): Use advice-remove.
5255
5256 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
5257
5258 * button.el: Make them work in header-lines (bug#12817).
5259 (button-map): Add bindings for header-line and mode-line use.
5260 (button-get, button-put, button-label): `button' may now be a string.
5261 (button-activate): Don't make it a defsubst.
5262 (button--area-button-p, button--area-button-string): New functions.
5263 (make-text-button): Fix the return value when `beg' was a string.
5264 (push-button): Handle the mode-line case.
5265
5266 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5267
5268 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
5269 (sql-signum): Remove. Use `cl-signum' instead.
5270 (sql-read-passwd): Remove; use read-passwd instread.
5271 (sql-get-login-ext): Use read-string.
5272 (sql-get-login): Use dolist and pcase.
5273 (sql--completion-table): Rename from sql-try-completion.
5274 Use complete-with-action.
5275 (sql-mode): Don't change abbrev-all-caps globally.
5276 (sql-connect): Don't rely on dynamic scoping for `new-name'.
5277 (sql-postgres-completion-object): Initialize vars in their `let'.
5278 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
5279 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
5280 (sql-comint-interbase): Use a single append, without setq.
5281 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
5282
5283 * hi-lock.el: Rework the default face and the serialize regexp code.
5284 (hi-lock--auto-select-face-defaults): Remove.
5285 (hi-lock-string-serialize-serial): Remove.
5286 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
5287 make weak.
5288 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
5289 equal string.
5290 (hi-lock-set-pattern): Adjust accordingly.
5291 (hi-lock--regexps-at-point): Simplify accordingly.
5292 (hi-lock--auto-select-face-defaults): Remove.
5293 (hi-lock--last-face): New var to replace it.
5294 (hi-lock-read-face-name): Rewrite (bug#11095).
5295 (hi-lock-unface-buffer): Arrange for the face to be the next default.
5296
5297 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
5298
5299 * net/tramp.el (tramp-replace-environment-variables):
5300 Hide compiler warning.
5301 (tramp-file-name-for-operation): Remove `executable-find',
5302 `start-process', `call-process' and `call-process-region'.
5303
5304 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
5305
5306 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
5307 compatibility.
5308
5309 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
5310
5311 2012-12-06 Chong Yidong <cyd@gnu.org>
5312
5313 * ffap.el (ffap-replace-file-component): Fix typo.
5314
5315 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5316
5317 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
5318 fix open-paren-like token test (bug#12785).
5319
5320 2012-12-06 Glenn Morris <rgm@gnu.org>
5321
5322 * mail/rmailsum.el (rmail-new-summary): Tweak for
5323 rmail-maybe-display-summary changing buffer. (Bug#13066)
5324
5325 2012-12-06 Juri Linkov <juri@jurta.org>
5326
5327 * info.el (Info-fontify-node): Don't hide the last newline.
5328 (Bug#12272)
5329
5330 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
5331
5332 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
5333 so as to enable message-read-from-minibuffer to expand mail aliases.
5334
5335 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5336
5337 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
5338 the `intangible' property.
5339 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
5340
5341 2012-12-05 Deniz Dogan <deniz@dogan.se>
5342
5343 * net/rcirc.el (rcirc-urls): Update documentation.
5344 (rcirc-condition-filter): New function.
5345 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
5346 and exclude consecutive duplicate URLs (Bug#6082).
5347
5348 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
5349
5350 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
5351 Check return code of copy command.
5352
5353 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
5354 Use group `tramp'. Add version.
5355
5356 2012-12-05 Chong Yidong <cyd@gnu.org>
5357
5358 * ffap.el (ffap-url-regexp): Don't require matching at front of
5359 string (Bug#4952).
5360 (ffap-url-p): If only a substring matches, return that.
5361 (ffap-url-at-point): Use the return value of ffap-url-p.
5362 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
5363 (find-file-at-point, dired-at-point, dired-at-point-prompter)
5364 (ffap-guess-file-name-at-point): Likewise.
5365 (ffap-replace-file-component): Fix typo.
5366
5367 * info.el (info-display-manual): Add existing Info buffers, whose
5368 files may not be in Info-directory-list, to the completion.
5369 (info--manual-names): New helper function.
5370
5371 2012-12-05 Glenn Morris <rgm@gnu.org>
5372
5373 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
5374 New functions, for detecting and resolving conflicts. (Bug#10709)
5375
5376 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
5377
5378 * hi-lock.el (hi-lock-auto-select-face): New user variable.
5379 (hi-lock-auto-select-face-defaults): New buffer local variable.
5380 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
5381 (hi-lock-unface-buffer): Prompt user with useful defaults.
5382 With prefix arg, unhighlight all hi-lock patterns in buffer.
5383
5384 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5385
5386 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
5387
5388 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
5389
5390 * Makefile.in (TRAMP_SRC):
5391 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
5392
5393 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
5394
5395 * net/tramp-adb.el: New package.
5396
5397 2012-12-04 Chong Yidong <cyd@gnu.org>
5398
5399 * terminal.el: Move to obsolete/.
5400
5401 * longlines.el: Move to obsolete/.
5402
5403 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
5404 Remove code referring to longlines mode.
5405
5406 2012-12-03 Juri Linkov <juri@jurta.org>
5407
5408 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
5409
5410 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5411
5412 * textmodes/ispell.el (ispell-init-process)
5413 (ispell-start-process, ispell-internal-change-dictionary):
5414 Make sure personal dictionary name is expanded after initial
5415 `default-directory' value. Use expanded strings for
5416 keep/restart checks and for value (Bug#13019).
5417
5418 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5419
5420 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
5421
5422 2012-12-03 Leo Liu <sdl.web@gmail.com>
5423
5424 * files.el (dir-locals-read-from-file): Check file non-empty
5425 before reading. (Bug#13038)
5426
5427 2012-12-03 Glenn Morris <rgm@gnu.org>
5428
5429 * jka-cmpr-hook.el (jka-compr-get-compression-info):
5430 Remove any version extension before checking filename. (Bug#13006)
5431 (jka-compr-compression-info-list): Belated :version bump.
5432
5433 2012-12-03 Chong Yidong <cyd@gnu.org>
5434
5435 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
5436
5437 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
5438 (buffer-menu): Doc fix (Bug#12294).
5439
5440 2012-12-03 Roland Winkler <winkler@gnu.org>
5441
5442 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
5443 of diary-show-all-entries in the diary buffer (Bug#12994).
5444
5445 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
5446
5447 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
5448 "<STDIN>". This is binary safe.
5449
5450 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
5451
5452 * calc/calc-forms.el (math-absolute-from-iso-dt)
5453 (math-date-to-iso-dt, math-parse-iso-date-validate)
5454 (math-iso-dt-to-date): New functions.
5455 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
5456 (math-fd-isoweekday): New variables.
5457 (calc-date-notation, math-parse-standard-date, math-format-date)
5458 (math-format-date-part): Add support for more formatting codes.
5459
5460 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
5461
5462 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
5463 current buffer's file name when called interactively (Bug#12488).
5464
5465 2012-12-02 Juri Linkov <juri@jurta.org>
5466
5467 * info.el (info-display-manual): Don't clobber an existing Info
5468 buffer (Bug#10770). Add completion (Bug#10771).
5469
5470 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
5471
5472 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
5473 before using it for comparison (Bug#5297).
5474
5475 2012-12-01 Jari Aalto <jari.aalto@cante.net>
5476
5477 * textmodes/css-mode.el (css-current-defun-name): New function.
5478 (css-mode): Use it.
5479
5480 * textmodes/sgml-mode.el (html-current-defun-name): New function.
5481 (html-mode): Use it.
5482
5483 2012-12-01 Chong Yidong <cyd@gnu.org>
5484
5485 Modularize add-log-current-defun (Bug#2224).
5486 Suggested by Jari Aalto.
5487
5488 * vc/add-log.el (add-log-current-defun-function): Doc fix.
5489 (add-log-current-defun): Move mode-specific code to other files.
5490 (add-log-lisp-like-modes, add-log-c-like-modes)
5491 (add-log-tex-like-modes): Variables deleted.
5492
5493 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
5494 (lisp-mode-variables): Use it.
5495
5496 * progmodes/cc-mode.el (c-common-init):
5497 * progmodes/cperl-mode.el (cperl-mode): Set a value for
5498 add-log-current-defun-function.
5499
5500 * progmodes/m4-mode.el (m4-current-defun-name): New function.
5501 (m4-mode): Use it.
5502
5503 * progmodes/perl-mode.el (perl-current-defun-name): New.
5504 (perl-mode): Use it.
5505
5506 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
5507 Use lisp-current-defun-name.
5508
5509 * textmodes/tex-mode.el (tex-current-defun-name): New.
5510 (tex-common-initialization): Use it.
5511
5512 * textmodes/texinfo.el (texinfo-current-defun-name): New.
5513 (texinfo-mode): Use it.
5514
5515 2012-12-01 Chong Yidong <cyd@gnu.org>
5516
5517 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
5518 * progmodes/autoconf.el (autoconf-mode):
5519 * progmodes/js.el (js-mode):
5520 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
5521 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
5522 * progmodes/perl-mode.el (perl-mode):
5523 * progmodes/sh-script.el (sh-mode, sh-set-shell):
5524 * textmodes/css-mode.el (css-mode):
5525 * textmodes/sgml-mode.el (html-mode, sgml-mode)
5526 (sgml-tags-invisible, sgml-guess-indent):
5527 * textmodes/tex-mode.el (tex-common-initialization)
5528 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
5529 (doctex-mode, plain-tex-mode, latex-mode):
5530 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
5531
5532 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
5533
5534 * vc/vc-hg.el (vc-hg-next-revision):
5535 Ensure use of default "tip" output format. (Bug#6968)
5536
5537 2012-12-01 Kim F. Storm <storm@cua.dk>
5538
5539 * startup.el (fancy-startup-tail): Add a clickable link
5540 (Bug#2176).
5541
5542 2012-12-01 Chong Yidong <cyd@gnu.org>
5543
5544 * startup.el (fancy-startup-tail): Improve the message about
5545 auto-save files (Bug#2176).
5546
5547 * files.el (recover-session): Improve the descriptive message, and
5548 use substitute-command-keys.
5549
5550 2012-12-01 Glenn Morris <rgm@gnu.org>
5551
5552 * ido.el (ido-file-internal):
5553 Handle other-window, other-frame for dired. (Bug#13036)
5554
5555 2012-11-30 Glenn Morris <rgm@gnu.org>
5556
5557 * icomplete.el (icomplete-separator): Fix :version.
5558
5559 2012-11-30 Chong Yidong <cyd@gnu.org>
5560
5561 * shell.el (shell): For C-u M-x shell, use an inactive shell
5562 buffer as the default (Bug#1975).
5563 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
5564 (shell-mode): Use them to reapply ansi colorization if Shell mode
5565 is re-enabled.
5566
5567 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
5568
5569 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
5570
5571 2012-11-30 Samuel Bronson <naesten@gmail.com>
5572
5573 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
5574 flag to xargs, for compatibility with BSD xargs (Bug#11703).
5575
5576 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
5577
5578 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
5579 by move-to-column (Bug#3234).
5580
5581 2012-11-30 Chong Yidong <cyd@gnu.org>
5582
5583 * longlines.el (longlines-wrap-line, longlines-encode-region):
5584 Preserve text properties (Bug#1425).
5585
5586 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
5587
5588 * vc/vc.el (vc-register): Allow registering a file which is
5589 already registered with a different backend (Bug#10589).
5590
5591 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
5592 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * icomplete.el: Change separator; add ido-style commands.
5595 (icomplete-show-key-bindings): Remove custom var.
5596 (icomplete-get-keys): Remove function.
5597 (icomplete-forward-completions, icomplete-backward-completions):
5598 New commands.
5599 (icomplete-minibuffer-map): New var.
5600 (icomplete-minibuffer-setup): Use it.
5601 (icomplete-exhibit): Don't delay if the list of completions is known.
5602 (icomplete-separator): New custom.
5603 (icomplete-completions): Use it.
5604 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
5605 (minibuffer-force-complete-and-exit): New command.
5606 (minibuffer--complete-and-exit): New function extracted from
5607 minibuffer-complete-and-exit.
5608 (minibuffer-complete-and-exit): Use it.
5609
5610 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
5611 error message when the file doesn't exist (bug#12974).
5612
5613 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
5614
5615 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
5616
5617 2012-11-29 Glenn Morris <rgm@gnu.org>
5618
5619 * files.el (hack-dir-local-variables): Warn if try to set
5620 coding via dir-locals, since it doesn't work. (Bug#7169)
5621
5622 Add desktop support for restoring vc-dir buffers. (Bug#10606)
5623 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
5624 Set buffer-local value of desktop-save-buffer.
5625 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
5626 New functions.
5627 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
5628 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
5629
5630 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
5631 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
5632 Doc fix.
5633 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
5634 Doc fixes.
5635
5636 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
5637
5638 * calc/calc-forms.el (calc-date-notation): Fix regexp
5639 used to find time codes. Fix symbol for seconds.
5640
5641 2012-11-27 Glenn Morris <rgm@gnu.org>
5642
5643 * emacs-lisp/derived.el (derived-mode-make-docstring):
5644 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
5645
5646 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * textmodes/table.el (table-insert): Don't use `symbol-name' on
5649 lexically scoped variables (bug#13005).
5650
5651 2012-11-27 Glenn Morris <rgm@gnu.org>
5652
5653 * vc/vc-hooks.el (vc-mistrust-permissions):
5654 Default to t, to avoid data-loss. (Bug#11490)
5655
5656 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
5657
5658 * progmodes/python.el (python-indent-guess-indent-offset):
5659 If indentation is guessed make python-indent-offset buffer-local.
5660
5661 Fix Imenu regression.
5662 * progmodes/python.el (python-nav-beginning-of-defun):
5663 Fix forward movement when statement(s) separates point from defun.
5664 (python-imenu-prev-index-position): New function.
5665
5666 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5667
5668 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
5669
5670 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5671 Don't set buffer-file-type. Return nil. (Bug#12989)
5672
5673 2012-11-27 Glenn Morris <rgm@gnu.org>
5674
5675 * hippie-exp.el (hippie-expand-try-functions-list):
5676 Re-autoload it. (Bug#12982)
5677
5678 2012-11-27 Eli Zaretskii <eliz@gnu.org>
5679
5680 * descr-text.el (describe-char-padded-string):
5681 Call internal-char-font only on GUI frames. (Bug#11964)
5682
5683 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
5684
5685 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
5686 and obsoletion message.
5687
5688 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
5691 the constructs to keep outside of the `cl-block' (bug#12977).
5692
5693 2012-11-27 Chong Yidong <cyd@gnu.org>
5694
5695 * mouse.el (mouse-drag-line): Even if the line is not draggable,
5696 keep reading until we get the up-event anyway, in order to process
5697 the up-event for mouse-1-click-follows-link (Bug#12971).
5698
5699 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
5702 base function is not yet defined (bug#12965).
5703 (ad-activate-advised-definition): Use ad-compile-function.
5704 (ad-activate): Use cond.
5705
5706 2012-11-25 Leo Liu <sdl.web@gmail.com>
5707
5708 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
5709 (Bug#12979)
5710
5711 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5712
5713 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
5714 reftex-section-info-function in order to be compatible with
5715 Texinfo integration.
5716
5717 * textmodes/reftex.el (reftex-section-pre-regexp)
5718 (reftex-section-post-regexp, reftex-section-info-function):
5719 New variable.
5720 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
5721 reftex-section-post-regexp, and reftex-section-info-function in order
5722 to be compatible with Texinfo integration.
5723
5724 * textmodes/reftex-toc.el (reftex-toc-promote-action):
5725 use reftex-section-pre-regexp variable in order to be compatible with
5726 Texinfo integration.
5727
5728 2012-11-25 Chong Yidong <cyd@gnu.org>
5729
5730 * faces.el: Make face-spec-set more analogous to setq.
5731 (face-spec-set): Change the third arg to specify whether this
5732 function is being called via defface, customize, or a third party.
5733 Set the appropriate symbol properties. Clear the override spec if
5734 setting via Custom. Initialize face if necessary. (Bug#4988)
5735 (face-spec-recalc): Allow theme faces to completely replace the
5736 defface spec, in the same way as custom faces (Bug#8454).
5737
5738 * cus-face.el (custom-declare-face): Move face initialization to
5739 face-spec-set.
5740 (custom-theme-set-faces): Don't initialize the face name here, as
5741 that is now done in face-spec-set.
5742
5743 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
5744 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
5745 Simplify by using the new arg to face-spec-set.
5746
5747 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
5748 reset face-override-spec too, and use custom-declare-face.
5749
5750 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
5751
5752 * term/ns-win.el (ns-initialize-window-system): Move creation of
5753 fontsets here (Bug#11964).
5754
5755 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5756
5757 * ses.el (ses-rename-cell): Correct bug on mode-line update after
5758 cell renaming.
5759
5760 2012-11-24 Chong Yidong <cyd@gnu.org>
5761
5762 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5763 obsolete.
5764
5765 * custom.el (custom-theme-set-variables): Use a topological sort
5766 for ordering by custom dependencies (Bug#12952).
5767 (custom--sort-vars, custom--sort-vars-1): New functions.
5768
5769 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5772 lexical-binding (bug#12938).
5773
5774 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
5775
5776 * image-mode.el (image-transform-check-size): Use assertions only
5777 for images of type imagemagick.
5778
5779 Otherwise no error, image-transform-fit-to-{width,height} is
5780 silently ignored, as before. Doc fix.
5781
5782 2012-11-24 Chong Yidong <cyd@gnu.org>
5783
5784 * faces.el (color-defined-p): Doc fix (Bug#12853).
5785
5786 2012-11-24 Juri Linkov <juri@jurta.org>
5787
5788 * dired.el (dired-mark): Add optional arg `interactive'.
5789 Check for `use-region-p' if `interactive' is non-nil.
5790 (dired-unmark, dired-flag-file-deletion): Add optional arg
5791 `interactive'. Call `dired-mark' with the arg `interactive'.
5792 (Bug#10624)
5793
5794 * wdired.el: Revert 2012-10-17 change partly and replace it with
5795 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5796 (wdired-finish-edit): Add marks for new file names to
5797 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
5798 after `revert-buffer'.
5799 (wdired-do-renames): Remove calls to `dired-remove-file',
5800 `dired-add-file', `dired-add-entry'. (Bug#11795)
5801
5802 2012-11-24 Alan Mackenzie <acm@muc.de>
5803
5804 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5805
5806 Fix bugs in the state cache. Enhance a debugging mechanism.
5807 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5808 "brace at column zero" strategy for C++.
5809 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5810 (c-parse-state-point): New variable.
5811 (c-record-parse-state-state): Record old parse state with
5812 `copy-tree'. Record previous value of point.
5813 (c-debug-parse-state-double-cons): New debugging function.
5814 (c-debug-parse-state): Call the above new function.
5815 (c-toggle-parse-state-debug): Output a confirmatory message.
5816
5817 * progmodes/cc-mode.el (c-before-change, c-after-change):
5818 Call c-invalidate-state-cache from `c-before-change' instead of
5819 `c-after-change'.
5820
5821 2012-11-23 Chong Yidong <cyd@gnu.org>
5822
5823 * find-cmd.el (find-constituents): Add executable, ipath,
5824 readable, samefile, writable, daystart, regextype (Bug#12856).
5825
5826 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5827
5828 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5829
5830 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
5831
5832 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5833 definition. This fixes a bootstrap failure.
5834 (calc-gregorian-switch): In menu, put dates before regions.
5835 This is easier to follow, lines up better in the menu, and lets us
5836 coalesce regions that switch at the same time. Give country
5837 names, not "Vatican", as that's better for non-expert users.
5838 Use names that are stable between the date of switch and now, e.g.,
5839 Bohemia and Moravia (which existed then and now) and not
5840 Czechoslovakia (which didn't exist then and doesn't exist now).
5841 What is now the U.S. mostly did not switch at the same time as
5842 Britain, so omit the U.S. Correct spelling of "Britain".
5843 Catholic Switzerland was too much of a mess, so omit it.
5844
5845 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
5846
5847 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5848 after the variable is changed.
5849
5850 2012-11-21 Daniel Colascione <dancol@dancol.org>
5851
5852 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5853 in SQL declarations for font-lock.
5854 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5855
5856 2012-11-21 Glenn Morris <rgm@gnu.org>
5857
5858 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5859 (face-italic-p): Add optional argument "inherit".
5860
5861 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5862 Remove -p suffix from names, for consistency with other set-face-*.
5863 (set-face-inverse-video): Fix interactive spec.
5864 * play/gamegrid.el (gamegrid-make-mono-tty-face):
5865 * textmodes/table.el (table--update-cell-face):
5866 Use set-face-inverse-video rather than now obsolete alias.
5867
5868 2012-11-21 Eli Zaretskii <eliz@gnu.org>
5869
5870 * simple.el (line-move): Don't call line-move-partial if
5871 scroll-conservatively is in effect. (Bug#12927)
5872
5873 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5874
5875 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5876 Fallback on completion-at-point rather than
5877 pcomplete-expand-and-complete, and only if pcomplete actually failed.
5878 (eshell-cmpl-initialize): Setup completion-at-point.
5879
5880 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5881
5882 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5883
5884 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
5885
5886 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5887 are remote, check out-of-band property for both.
5888
5889 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5890
5891 * window.el (switch-to-buffer): Re-add the warning that was lost in the
5892 code rewrite.
5893
5894 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
5895
5896 More minor time fixes.
5897 * calendar/time-date.el: Commentary fix.
5898 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5899 too much other code depends on (0 0) time stamps.
5900 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5901 Add a couple of FIXME comments.
5902
5903 Minor cleanup for times as lists of four integers.
5904 * files.el (dir-locals-directory-cache):
5905 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5906 Doc fixes.
5907 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5908 * ps-bdf.el (bdf-file-newer-than-time):
5909 Process four-integers time stamps, not two. Doc fixes.
5910
5911 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * uniquify.el (uniquify-managed): Use defvar-local.
5914 (rename-buffer, create-file-buffer): Advise with advice-add.
5915 (uniquify-unload-function): Unadvise accordingly.
5916
5917 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5918 (trace-buffer): Don't purecopy.
5919 (trace-entry-message, trace-exit-message): Add `context' arg.
5920 (trace--timer): New var.
5921 (trace-make-advice): Adjust for use in nadvice.
5922 Add `context' argument. Delay `display-buffer' via a timer.
5923 (trace-function-internal): Use advice-add.
5924 (trace--read-args): New function.
5925 (trace-function-foreground, trace-function-background): Use it.
5926 (trace-function): Rename to trace-function-foreground and redefine as
5927 an alias to that new name.
5928 (untrace-function, untrace-all): Adjust to the use of nadvice.
5929
5930 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5931
5932 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5933
5934 * subr.el (called-interactively-p-functions): New var.
5935 (internal--called-interactively-p--get-frame): New macro.
5936 (called-interactively-p, interactive-p): Rewrite in Lisp.
5937 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5938 (called-interactively-p-functions): Use it.
5939 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5940 (called-interactively-p-functions): Use it.
5941 * allout.el (allout-called-interactively-p): Don't assume
5942 called-interactively-p is a subr.
5943
5944 2012-11-20 Glenn Morris <rgm@gnu.org>
5945
5946 * profiler.el (profiler-report-mode-map): Add a menu.
5947 No need to bind `q' because we derive from special-mode.
5948 (profiler-report-find-entry): Handle calls from the menu-bar.
5949
5950 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5951
5952 * emacs-lisp/byte-run.el (defun-declarations-alist):
5953 Allow a compiler-macro to be a lambda expression.
5954
5955 * progmodes/python.el: Use cl-lib. Move var declarations outside of
5956 eval-when-compile.
5957 (python-syntax-context): Add compiler-macro.
5958 (python-font-lock-keywords): Simplify with De Morgan.
5959
5960 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5961
5962 * files.el (load-file): Require match in minibuffer selection, as was
5963 the case in Emacs-20 before we changed the spec to allow .elc files
5964 (bug#12935).
5965
5966 * json.el: Don't require cl since we don't use it.
5967 * color.el: Don't require cl.
5968 (color-complement): `caddr' -> `nth 2'.
5969
5970 * calendar/time-date.el (time-to-seconds): De-obsolete.
5971
5972 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
5973
5974 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5975 year numbers.
5976 (math-date-to-julian-dt): Adjust the initial approximation for the
5977 year to deal with the new definition of the DATE.
5978
5979 2012-11-19 Daniel Colascione <dancol@dancol.org>
5980
5981 * term/w32-win.el (cygwin-convert-path-from-windows):
5982 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5983
5984 2012-11-18 Chong Yidong <cyd@gnu.org>
5985
5986 * filecache.el (file-cache--read-list): New function.
5987 (file-cache-add-directory-list, file-cache-add-file-list)
5988 (file-cache-delete-file-list, file-cache-delete-directory-list):
5989 Use it to read a list of files or directories (Bug#12846).
5990 (file-cache-add-file, file-cache-add-directory)
5991 (file-cache-delete-file-list, file-cache-delete-file-regexp)
5992 (file-cache-delete-directory): Print an message.
5993
5994 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
5995
5996 * calc/calc-forms.el (math-date-to-dt): Use integer date when
5997 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5998
5999 2012-11-18 Glenn Morris <rgm@gnu.org>
6000
6001 * image.el (insert-image, insert-sliced-image): Doc fix.
6002
6003 2012-11-18 Chong Yidong <cyd@gnu.org>
6004
6005 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
6006 (Bug#12810).
6007
6008 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
6009
6010 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
6011 response when the target file is in a subdirectory (Bug#12757).
6012
6013 2012-11-18 Chong Yidong <cyd@gnu.org>
6014
6015 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
6016
6017 2012-11-18 Glenn Morris <rgm@gnu.org>
6018
6019 * emacs-lisp/cl-lib.el (face-underline-p):
6020 Use set-face-underline rather than the alias set-face-underline-p.
6021
6022 * window.el (with-temp-buffer-window): Doc fix.
6023 * subr.el (with-output-to-temp-buffer):
6024 Add doc xref to with-temp-buffer-window.
6025
6026 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
6027
6028 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
6029 * calc/calc.el (math-format-date-cache): Declare.
6030
6031 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
6032
6033 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
6034 It also uses January 1, 1 AD as its day number 1.
6035 * calc/calc-forms.el (math-julian-date-beginning)
6036 (math-julian-date-beginning-int): Implement this.
6037
6038 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
6039
6040 * descr-text.el (quail-find-key):
6041 * dired.el (desktop-file-name):
6042 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
6043 * generic-x.el (comint-mode, comint-exec):
6044 * image-dired.el (widget-forward):
6045 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
6046 (speedbar-change-expand-button-char)
6047 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
6048 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
6049 * printing.el (easy-menu-add-item, easy-menu-remove-item)
6050 (widget-field-action, widget-value-set):
6051 * speedbar.el (imenu--make-index-alist):
6052 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
6053 (ring-length, ring-insert):
6054 * vcursor.el (compare-windows-skip-whitespace):
6055 * woman.el (dired-get-filename):
6056 Declare functions.
6057
6058 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
6059
6060 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6061
6062 * calc/calc.el (calc-gregorian-switch): New variable.
6063
6064 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
6065 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
6066 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
6067 (math-leap-year-p): Add option to distinguish between Julian
6068 and Gregorian calendars.
6069 (math-day-number): Use `math-day-in-year' to do the computations.
6070 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
6071 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
6072 to do the computations.
6073 (math-date-to-dt): Use `math-date-to-julian-dt' and
6074 `math-date-to-gregorian-dt' to do the computations.
6075 (calcFunc-weekday, math-format-date-part): Use the new version of
6076 the DATE to determine the weekday.
6077 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
6078 when necessary.
6079
6080 2012-11-17 Eli Zaretskii <eliz@gnu.org>
6081
6082 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
6083 Cygwin; otherwise use 'file:'. (Bug#12914)
6084 (cygwin-convert-path-from-windows): Declare, to avoid
6085 byte-compiler warnings.
6086
6087 2012-11-17 Andreas Politz <politza@fh-trier.de>
6088
6089 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
6090 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
6091 prefix and negative numeric prefix args (Bug#12795).
6092
6093 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
6094
6095 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
6096 Don't signal an error with a score that is too low to add to the
6097 list of top scores. (Bug#12779)
6098
6099 2012-11-17 Chong Yidong <cyd@gnu.org>
6100
6101 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
6102
6103 * filecache.el (file-cache-add-file): Handle relative file name in
6104 the argument (Bug#12694).
6105
6106 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
6107
6108 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
6109
6110 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
6113
6114 * emacs-lisp/cl-lib.el: Set more meaningful version number.
6115
6116 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6117
6118 * window.el (enlarge-window, shrink-window): Don't mention return
6119 value in doc-string (Bug#12896).
6120 (window--display-buffer): Don't resize frames - it won't work
6121 with all window managers and defeat pop-up-frame-alist.
6122 (display-buffer-alist): In doc-string explain that CONDITION can
6123 be a function and which arguments are passed to it (Bug#12854).
6124 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
6125 expressions (Bug#12854).
6126 (display-buffer): Pass ACTION argument to
6127 display-buffer-assq-regexp.
6128
6129 2012-11-16 Glenn Morris <rgm@gnu.org>
6130
6131 * window.el (fit-frame-to-buffer-bottom-margin)
6132 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
6133
6134 * faces.el (face-underline-p): Use face-attribute-specified-or.
6135
6136 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
6137
6138 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
6139
6140 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
6143
6144 2012-11-16 Glenn Morris <rgm@gnu.org>
6145
6146 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
6147 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
6148
6149 * faces.el (face-underline-p): Doc fix. Handle :underline being
6150 things other than `t' (a string, a list).
6151 (face-inverse-video-p): Doc fix.
6152 (set-face-underline): Rename it back from set-face-underline-p.
6153 Doc fix. Allow interactive input of values other than t.
6154 (read-face-attribute): Apply formatting to :underline,
6155 since like :box and :stipple it can take list values.
6156
6157 * term.el (ansi-term): Don't let C-x escape-char binding
6158 clobber the more standard C-c binding. (Bug#12842)
6159
6160 * subr.el (set-temporary-overlay-map): Doc fix.
6161
6162 2012-11-16 Martin Rudalics <rudalics@gmx.at>
6163
6164 * window.el (record-window-buffer)
6165 (display-buffer-record-window): When copying the markers to
6166 window-point preserve window-point-insertion-type. (Bug#12588)
6167
6168 2012-11-16 Glenn Morris <rgm@gnu.org>
6169
6170 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
6171 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
6172 Use new names for hooks rather than obsolete aliases.
6173
6174 2012-11-15 Daniel Colascione <dancol@dancol.org>
6175
6176 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
6177 prefix instead of "file:" so that when FILE-NAME begins with "//",
6178 as it does when the target file is on a network share, url-handler
6179 isn't confused.
6180
6181 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
6184 a preactivated advice from an old advice.el; they're not compatible!
6185
6186 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
6187
6188 * emacs-lisp/nadvice.el (advice--make-interactive-form):
6189 Fix string-spec case.
6190
6191 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
6192
6193 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6194
6195 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
6196 (advice--buffer-local-function-sample): New var.
6197 (advice--set-buffer-local, advice--buffer-local): New functions.
6198 (add-function, remove-function): Use them.
6199
6200 2012-11-15 Drew Adams <drew.adams@oracle.com>
6201
6202 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
6203
6204 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6205
6206 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
6207 potential binding of print-gensym to t, and prettify (back)quotes in
6208 case they appear in args's default values (bug#12884).
6209
6210 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6211
6212 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
6213 (advice-eval-interactive-spec): New function.
6214 (advice--make-interactive-form): Support around advice (bug#12844).
6215
6216 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
6217
6218 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
6219 more strict. Add docstring.
6220 (ruby-expression-expansion-re): Extract from
6221 `ruby-match-expression-expansion'.
6222 (ruby-syntax-propertize-function): After everything else, search
6223 for expansions in string literals, mark their insides as
6224 whitespace syntax and save match data for font-lock.
6225 (ruby-font-lock-keywords): Use the 2nd group from expression
6226 expansion matches.
6227 (ruby-match-expression-expansion): Use the match data saved to the
6228 text property in ruby-syntax-propertize-function.
6229
6230 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
6233 (bug#12879).
6234
6235 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6236
6237 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
6238 start/end keyword a bit harder. Works with different values of N.
6239 Add more comments.
6240 (ruby-end-of-block): Update accordingly.
6241
6242 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * woman.el (woman-file-name): Don't mess with unread-command-events
6245 (bug#12861).
6246
6247 * emacs-lisp/advice.el: Layer on top of nadvice.el.
6248 Remove out of date self-require hack.
6249 (ad-do-advised-functions): Use simple `dolist'.
6250 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
6251 (ad-advice-definition): Redefine as functions.
6252 (ad-advice-classes): Move before first use.
6253 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
6254 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
6255 (ad--defalias-fset): Remove functions.
6256 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
6257 (ad-get-orig-definition): Rewrite.
6258 (ad-make-advised-definition-docstring): Change base docstring.
6259 (ad-real-orig-definition): Rewrite.
6260 (ad-map-arglists): Change name of called function.
6261 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
6262 (ad-make-advised-definition): Simplify.
6263 (ad-assemble-advised-definition): Tweak for new calling context.
6264 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
6265 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
6266 function and call ad-activate if needed.
6267 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
6268 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
6269 (ad-compile-function): Compile ad-Advice-*.
6270 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
6271 (ad-start-advice, ad-stop-advice): Remove.
6272
6273 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6274
6275 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
6276 period before class method names, not after. Remove handling of
6277 one impossible case. Add comments.
6278
6279 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * emacs-lisp/advice.el: Remove support for freezing.
6282 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
6283 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
6284 Remove support for `freeze'.
6285
6286 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
6287 override the default.
6288 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
6289 cl--dotimes/dolist.
6290 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
6291 `cl' is loaded.
6292
6293 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
6294 from add-advice.
6295 (advice--strip-macro): New function.
6296 (advice--defalias-fset): Use them to handle macros.
6297 (advice-add): Use them.
6298 (advice-member-p): Correctly handle macros.
6299
6300 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6301
6302 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6303 Never font-lock the beginning of singleton class as heredoc.
6304
6305 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6306
6307 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
6308
6309 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
6310
6311 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
6312 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
6313 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
6314
6315 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
6316
6317 Fix end-of-defun misbehavior.
6318 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
6319 python-beginning-of-defun-function. Handle nested defuns
6320 correctly.
6321 (python-nav-end-of-defun): Rename from
6322 python-end-of-defun-function. Ensure forward movement.
6323 (python-info-current-defun): Reimplement to work as intended
6324 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
6325 parent defuns as soon as possible.
6326
6327 2012-11-13 Glenn Morris <rgm@gnu.org>
6328
6329 * progmodes/flymake.el (flymake-error-bitmap)
6330 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
6331 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
6332
6333 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
6334
6335 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
6336 backward, always stop at indentation. Reverts the change from
6337 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
6338
6339 2012-11-13 Glenn Morris <rgm@gnu.org>
6340
6341 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
6342 Add ibuffer-filter-by-derived-mode.
6343
6344 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
6345 the same name shadowing each other.
6346
6347 * window.el (with-temp-buffer-window): Doc tweak.
6348
6349 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
6350
6351 * help.el (temp-buffer-max-height):
6352 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
6353 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
6354
6355 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * emacs-lisp/nadvice.el: New package.
6358 * subr.el (special-form-p): New function.
6359 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
6360 (elp-all-instrumented-list): Remove var.
6361 (elp-not-profilable): Remove elp-wrapper.
6362 (elp-profilable-p): Use autoloadp and special-form-p.
6363 (elp--advice-name): New const.
6364 (elp-instrument-function): Use advice-add.
6365 (elp--instrumented-p): New predicate.
6366 (elp-restore-function): Use advice-remove.
6367 (elp-restore-all, elp-reset-all): Use mapatoms.
6368 (elp-set-master): Use elp--instrumented-p.
6369 (elp--make-wrapper): Rename from elp-wrapper, return a function
6370 suitable for advice-add. Use cl-inf.
6371 (elp-results): Use mapatoms+elp--instrumented-p.
6372 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
6373 (debug-function-list): Remove var.
6374 (debug): Rename arg, and then let-bind it explicitly inside.
6375 (debugger-setup-buffer): Rename arg.
6376 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
6377 (debugger-frame-number): Adjust to new debug-on-entry setup.
6378 (debug--implement-debug-on-entry): Rename from
6379 implement-debug-on-entry, add argument.
6380 (debugger-special-form-p): Remove, use special-form-p instead.
6381 (debug-on-entry): Use advice-add.
6382 (debug--function-list): New function.
6383 (cancel-debug-on-entry): Use it, along with advice-remove.
6384 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
6385 (debugger-list-functions): Use debug--function-list instead of
6386 debug-function-list.
6387 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
6388 (ad-special-form-p): Remove, use special-form-p instead.
6389 (ad-set-advice-info): Use add-function and remove-function.
6390 (ad--defalias-fset): Adjust accordingly.
6391
6392 2012-11-10 Glenn Morris <rgm@gnu.org>
6393
6394 * mail/emacsbug.el (report-emacs-bug-tracker-url)
6395 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
6396 (report-emacs-bug-create-existing-bugs-buffer)
6397 (report-emacs-bug-parse-query-results)
6398 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
6399
6400 * term.el (term-default-fg-color, term-default-bg-color):
6401 Make obsolete, rather than just saying "deprecated" in the doc.
6402
6403 * term.el (term): Rename from `term-face'.
6404 (term-current-face, ansi-term-color-vector)
6405 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
6406 Update all users.
6407
6408 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
6409
6410 * server.el (server-create-window-system-frame): Handle Nextstep
6411 specially (Bug#12780).
6412
6413 2012-11-10 Glenn Morris <rgm@gnu.org>
6414
6415 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
6416 Unautoload, and make obsolete. (Bug#7449)
6417
6418 2012-11-10 Chong Yidong <cyd@gnu.org>
6419
6420 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
6421 rename from diff-remove-trailing-whitespace (Bug#12831).
6422
6423 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
6426 miscompilation of trace.el.
6427
6428 2012-11-10 Glenn Morris <rgm@gnu.org>
6429
6430 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
6431
6432 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6433
6434 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
6435 (bug#12812).
6436
6437 2012-11-10 Chong Yidong <cyd@gnu.org>
6438
6439 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
6440 a defcustom with an appropriate :set function.
6441 (minibuffer-default--in-prompt-regexps): New function.
6442
6443 2012-11-10 Glenn Morris <rgm@gnu.org>
6444
6445 * emacs-lisp/cl.el (define-setf-expander, defsetf)
6446 (define-modify-macro): Doc fixes.
6447
6448 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
6449 (gv-define-simple-setter): Update doc of `fix-return'.
6450
6451 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
6452
6453 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
6454 twice when `fix-return' is set (bug#12813).
6455
6456 * emacs-lisp/cl.el (defsetf): Pass the third arg to
6457 gv-define-simple-setter (bug#12812).
6458
6459 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
6460 (bug#12756).
6461
6462 2012-11-10 Glenn Morris <rgm@gnu.org>
6463
6464 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
6465
6466 * emacs-lisp/cl-extra.el (cl-prettyexpand):
6467 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
6468 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
6469 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
6470
6471 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
6472
6473 2012-11-10 Leo Liu <sdl.web@gmail.com>
6474
6475 * ido.el (ido-set-matches-1): Improve flex matching performance by
6476 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
6477
6478 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6479
6480 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
6481 (ad--defalias-fset): New function.
6482 (ad-safe-fset): Remove.
6483 (ad-make-freeze-definition): Use cl-letf*.
6484
6485 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6486
6487 * subr.el (dolist): Don't bind VAR in RESULT.
6488
6489 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
6490 (fset, documentation): Don't save real def since we don't advise.
6491 (ad-do-advised-functions): Remove problematic `result-form'.
6492 (ad-safe-fset): `ad-real-fset' => `fset'.
6493 (ad-read-advised-function): Don't assume that ad-do-advised-functions
6494 uses CL's dolist internally.
6495 (ad-arglist): Remove unused arg `name'.
6496 (ad-docstring, ad-make-advised-docstring):
6497 `ad-real-documentation' => `documentation'.
6498 (warning-suppress-types): Declare.
6499 (ad-set-arguments): Simple CSE.
6500 (ad-recover-normality): Sanity check.
6501
6502 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
6503 (funcall '(lambda ..) ..) into ((lambda ..) ..).
6504
6505 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
6506
6507 * ses.el: symbol to coordinate mapping is made by symbol property
6508 `ses-cell'. This means that the same mapping is done for all SES
6509 sheets. That is good enough for cells with standard A1 names, but
6510 not for named cell. So a hash map is added for the latter.
6511 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
6512 (ses-sym-rowcol): Use hashmap for named cell.
6513 (ses-is-cell-sym-p): New defun.
6514 (ses-decode-cell-symbol): New defun.
6515 (ses-create-cell-variable): Add cell to hashmap when name is not
6516 A1-like.
6517 (ses-rename-cell): Check that cell new name is not already in
6518 spreadsheet with the use of ses-is-cell-sym-p
6519 (ses-rename-cell): Use hash map for named cells, but accept also
6520 renaming back to A1-like.
6521
6522 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6523
6524 * emacs-lisp/advice.el: Use new dynamic docstrings.
6525 (ad-make-advised-definition-docstring, ad-advised-definition-p):
6526 Use dynamic-docstring-function instead of ad-advice-info.
6527 (ad--make-advised-docstring): New function extracted from
6528 ad-make-advised-docstring.
6529 (ad-make-advised-docstring): Use it.
6530 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
6531 from sql-help.
6532 (sql-help): Use it with dynamic-docstring-function.
6533
6534 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
6535
6536 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6537
6538 * files.el (hack-one-local-variable--obsolete): New function.
6539 (hack-one-local-variable): Use it for obsolete settings.
6540
6541 * subr.el (locate-user-emacs-file): If both old and new name exist, use
6542 the new name.
6543
6544 * progmodes/js.el (js--filling-paragraph): New var.
6545 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
6546 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
6547 less sneaky.
6548
6549 2012-11-08 Julien Danjou <julien@danjou.info>
6550
6551 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
6552 `auto-mode-alist' (Bug#12835).
6553
6554 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6555
6556 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
6557 (perl--prettify-symbols-alist): New const.
6558 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
6559 New functions.
6560 (perl-font-lock-keywords-2): Use them.
6561 (perl-electric-noindent-p): New function.
6562 (perl-mode): Use it to set up electric-indent-mode.
6563 (perl-electric-terminator, perl-indent-command): Mark obsolete.
6564 (perl-mode-map): Remove bindings for them.
6565 (perl-imenu-generic-expression, perl-outline-level):
6566 Match functions&packages in column>0.
6567
6568 * env.el (env--substitute-vars-regexp): New const.
6569 (substitute-env-vars): Use it. Add `only-defined' arg.
6570 * net/tramp.el (tramp-replace-environment-variables): Use it.
6571
6572 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
6573 Byte-compile *before* eval in eval-and-compile.
6574 (byte-compile-log-warning): Remove redundant inhibit-read-only.
6575 (byte-compile-file-form-autoload): Don't hide actual definition.
6576 (byte-compile-maybe-guarded): Accept `functionp' as well.
6577
6578 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
6579
6580 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
6581
6582 * notifications.el (notifications-get-server-information-method):
6583 New defconst.
6584 (notifications-get-capabilities): Fix docstring.
6585 (notifications-get-server-information): New defun.
6586
6587 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6588
6589 * textmodes/ispell.el (ispell-region): Standard re-indent for better
6590 readability.
6591
6592 * textmodes/ispell.el: Experimental support for support debugging.
6593 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
6594 buffer for ispell.
6595 (ispell-print-if-debug): New function to print stuff to
6596 `ispell-debug-buffer' if debugging is enabled.
6597 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
6598 show some debugging info.
6599 (ispell-buffer-with-debug): New function that creates a debugging
6600 buffer and calls `ispell-buffer' with debugging enabled.
6601
6602 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
6603 comment in autoconf mode. (Bug#12768)
6604
6605 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
6606
6607 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
6608 frame-first-window, frame-root-window, frame-selected-window,
6609 minibuffer-selected-window, minibuffer-window,
6610 window-absolute-pixel-edges, window-at, window-body-height,
6611 window-body-width, window-display-table, window-combination-limit,
6612 window-frame, window-fringes, window-inside-absolute-pixel-edges,
6613 window-inside-edges, window-inside-pixel-edges, window-left-child,
6614 window-left-column, window-margins, window-next-buffers,
6615 window-next-sibling, window-new-normal, window-new-total,
6616 window-normal-size, window-parameter, window-parameters, window-parent,
6617 window-pixel-edges, window-point, window-prev-buffers,
6618 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
6619 window-start, window-text-height, window-top-child, window-top-line,
6620 window-total-height, window-total-width and window-use-time to the list
6621 of functions without side-effects.
6622 (toplevel): Add window-valid-p to the list of error-free functions
6623 without side-effects.
6624
6625 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6626
6627 * textmodes/ispell.el (ispell-program-name):
6628 Update spellchecker parameters when customized.
6629
6630 2012-11-04 Glenn Morris <rgm@gnu.org>
6631
6632 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
6633
6634 2012-11-04 Chong Yidong <cyd@gnu.org>
6635
6636 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
6637 same-window-* variables.
6638
6639 2012-11-04 Juri Linkov <juri@jurta.org>
6640
6641 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
6642 (isearch-describe-key, isearch-describe-mode): Use a display
6643 action instead of binding same-window-* variables (Bug#10040).
6644
6645 2012-11-03 Glenn Morris <rgm@gnu.org>
6646
6647 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
6648 Rename handler properties back from cl-- to cl-. (Bug#12788)
6649
6650 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
6651
6652 2012-11-03 Eli Zaretskii <eliz@gnu.org>
6653
6654 * term/pc-win.el: Don't load term/internal from here.
6655
6656 * loadup.el: Load term/internal from here.
6657
6658 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
6659
6660 * progmodes/python.el (inferior-python-mode): Fix hang in
6661 jit-lock (Bug#12645).
6662
6663 2012-11-03 Martin Rudalics <rudalics@gmx.at>
6664
6665 * window.el (switch-to-visible-buffer)
6666 (switch-to-buffer-preserve-window-point): Fix doc-strings.
6667
6668 2012-11-03 Glenn Morris <rgm@gnu.org>
6669
6670 * emacs-lisp/cl-lib.el (cl--random-time):
6671 Rename from cl-random-time. (Bug#12773)
6672 (cl--gensym-counter, cl--random-state): Update callers.
6673 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
6674
6675 2012-11-03 Chong Yidong <cyd@gnu.org>
6676
6677 * cus-start.el: Make cursor-type customizable (Bug#11633).
6678
6679 2012-11-02 Glenn Morris <rgm@gnu.org>
6680
6681 * filecache.el: No need to load find-lisp when compiling.
6682 (find-lisp-find-files): Autoload it.
6683 (file-cache-add-directory-recursively): Don't require find-lisp.
6684
6685 * image.el (image-type-from-file-name): Trivial simplification.
6686
6687 * emacs-lisp/bytecomp.el (byte-compile-eval):
6688 Decouple "noruntime" and "cl-functions" warnings.
6689
6690 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
6691
6692 * play/gomoku.el (gomoku-display-statistics): Update mode line
6693 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
6694
6695 2012-10-31 Martin Rudalics <rudalics@gmx.at>
6696
6697 * window.el (quit-restore-window): If the window has been
6698 created on an existing frame and ended up as the sole window on
6699 that frame, do not delete it (Bug#12764).
6700
6701 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6702
6703 * progmodes/sh-script.el (sh--inside-noncommand-expression):
6704 Rename from sh--inside-arithmetic-expression, handle more cases
6705 (bug#11263).
6706
6707 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
6708 (sh-font-lock-open-heredoc): Use it (bug#12770).
6709
6710 2012-10-30 Glenn Morris <rgm@gnu.org>
6711
6712 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
6713
6714 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
6715
6716 2012-10-29 Chong Yidong <cyd@gnu.org>
6717
6718 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
6719 function key is stored in a keyboard macro (Bug#4894).
6720
6721 * thingatpt.el (number-at-point): Apply a thing-at-point property.
6722
6723 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
6726 header comments".
6727 (diff-unified->context, diff-context->unified)
6728 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
6729
6730 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
6731
6732 * files.el (find-alternate-file): Only ask one question (bug#12487).
6733
6734 2012-10-29 Chong Yidong <cyd@gnu.org>
6735
6736 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
6737 Suggested by Dan Nicolaescu (Bug#6326).
6738
6739 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
6740
6741 * startup.el (fancy-about-screen): Don't message (Bug#12680).
6742
6743 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
6744
6745 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
6746
6747 * face-remap.el (face-remap-add-relative): Handle the case where a
6748 face-remapping-alist entry is a cons cell (Bug#12762).
6749
6750 2012-10-29 Kevin Ryde <user42@zip.com.au>
6751
6752 * woman.el (woman-parse-numeric-value): Handle picas correctly
6753 (Bug#12639).
6754
6755 2012-10-29 Glenn Morris <rgm@gnu.org>
6756
6757 * emacs-lisp/cl.el (defsetf): Doc fix.
6758
6759 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6760
6761 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6762 syntax to the matching opener, if any (bug#12547).
6763 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6764 matching open as a "case-(".
6765 (sh-smie-rc-grammar): Add a corresponding rule for it.
6766
6767 2012-10-28 Daniel Hackney <dan@haxney.org>
6768
6769 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6770 "PKGNAME-autoloads.el" in case we created it.
6771
6772 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6773
6774 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6775 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6776 (completion--twq-all): Disable too-strict assertions.
6777
6778 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6779
6780 2012-10-27 Eli Zaretskii <eliz@gnu.org>
6781
6782 * profiler.el (profiler-report-make-entry-part): Fix help-echo
6783 text to match the real keybindings.
6784
6785 2012-10-27 Juri Linkov <juri@jurta.org>
6786
6787 * wdired.el (wdired-keep-marker-rename): New defcustom.
6788 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6789 (Bug#11795)
6790
6791 * dired.el (dired-keep-marker-rename): Add reference to
6792 `wdired-keep-marker-rename' in the docstring.
6793 Add default character value ?R to display initially in
6794 Customization UI instead of ?@.
6795
6796 2012-10-27 Martin Rudalics <rudalics@gmx.at>
6797
6798 * window.el (display-buffer): In doc-string describe
6799 window-height and window-width alist entries.
6800
6801 * time.el (display-time-world): Restore fit-window-to-buffer
6802 behavior.
6803
6804 2012-10-27 Chong Yidong <cyd@gnu.org>
6805
6806 * subr.el (insert-buffer-substring-as-yank): Doc fix.
6807
6808 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
6809
6810 * minibuffer.el (completion-category-overrides): New completion
6811 category `bookmark' (bug#11131).
6812
6813 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6814
6815 * emacs-lisp/advice.el (ad-assemble-advised-definition):
6816 Silence bogus compiler warnings for ad-do-it.
6817
6818 * bookmark.el (bookmark-completing-read): Set the completion category
6819 to `bookmark' (bug#11131).
6820
6821 2012-10-26 Bastien <bzg@altern.org>
6822 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * face-remap.el: Use lexical-binding.
6825 (text-scale-adjust): Improve docstring. Use itself for the temporary
6826 overlay-map bindings, so as to repeat the "Use..." message each time.
6827
6828 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6829
6830 * emacs-lisp/macroexp.el (macroexp--expand-all):
6831 Obey byte-compile-warning-enabled-p (bug#12486).
6832
6833 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6834 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6835
6836 2012-10-26 Martin Rudalics <rudalics@gmx.at>
6837
6838 * mouse.el (mouse-drag-line): Move last form into preceding when
6839 clause (Bug#12731).
6840
6841 * help.el (resize-temp-buffer-window): Fix doc-string.
6842
6843 2012-10-25 David Engster <deng@randomsample.de>
6844
6845 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6846 Remove. This feature is already integrated in imenu.
6847
6848 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6849 always loaded. Require `speedbar' unconditionally.
6850
6851 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6854
6855 * minibuffer.el (minibuffer-force-complete): Fix thinko.
6856
6857 * net/ldap.el (ldap-search-internal): The official ldif format starts
6858 with a "version: 1" header (bug#12724).
6859
6860 * emacs-lisp/package.el (package-installed-p): Warn if not ready
6861 (bug#12721).
6862
6863 2012-10-25 Glenn Morris <rgm@gnu.org>
6864
6865 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6866
6867 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6868
6869 * minibuffer.el (minibuffer-force-complete): Use one more marker
6870 for the temporary-overlay-map command (bug#12619).
6871
6872 2012-10-24 Chong Yidong <cyd@gnu.org>
6873
6874 * time.el (display-time-world-mode): Derive from special-mode.
6875 (display-time-world): Use display-buffer (Bug#12708).
6876 (display-time-world-mode-map): Variable deleted.
6877 (display-time-world-display): Wrap the final delete-char inside
6878 inhibit-read-only.
6879
6880 2012-10-24 Chong Yidong <cyd@gnu.org>
6881
6882 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6883 Doc fix.
6884
6885 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6886
6887 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * minibuffer.el (completion--all-sorted-completions-location): New var.
6890 (completion--cache-all-sorted-completions)
6891 (completion--flush-all-sorted-completions): Use it.
6892 (completion-in-region, completion-in-region--postch)
6893 (completion-at-point, completion-help-at-point): Use markers in
6894 completion-in-region--data (bug#12619).
6895
6896 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6897
6898 * progmodes/compile.el (compilation-start): Try to handle common
6899 quoting of `cd' argument (bug#12640).
6900
6901 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6902 (bug#12671).
6903
6904 2012-10-23 Glenn Morris <rgm@gnu.org>
6905
6906 * progmodes/gud.el (gud-menu-map):
6907 Check gdb-active-process is bound. (Bug#12358)
6908
6909 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * repeat.el (repeat): Set real-this-command (bug#12232).
6912
6913 * htmlfontify.el (hfy-post-html-hook):
6914 * filesets.el (filesets-cache-fill-content-hook):
6915 * arc-mode.el (archive-extract-hook):
6916 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6917 * net/rcirc.el (rcirc-sentinel-functions)
6918 (rcirc-receive-message-functions, rcirc-activity-functions)
6919 (rcirc-print-functions):
6920 * net/dbus.el (dbus-event-error-functions):
6921 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6922 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6923 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6924 * term/sun.el (sun-raw-prefix-hooks):
6925 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6926
6927 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
6928
6929 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6930 Set `tramp-chunksize' to 1. This improves the performance.
6931 (tramp-smb-wait-for-output): Add timeout to
6932 `tramp-accept-process-output' calls.
6933
6934 2012-10-23 Chong Yidong <cyd@gnu.org>
6935
6936 * faces.el (font-list-limit): Define as an obsolete variable.
6937
6938 * startup.el (command-line):
6939 * cus-start.el: Don't refer to font-list-limit.
6940
6941 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6942
6943 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6944
6945 * subr.el (internal-temp-output-buffer-show): Rename from
6946 temp-output-buffer-show, since previously compiled files expect this name.
6947
6948 2012-10-23 Glenn Morris <rgm@gnu.org>
6949
6950 * image.el (image-type-from-file-name): If multiple types match,
6951 return the first one that is supported. (Bug#9045)
6952
6953 2012-10-22 Glenn Morris <rgm@gnu.org>
6954
6955 * image.el (imagemagick-enabled-types): Doc fix.
6956
6957 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
6958
6959 * progmodes/which-func.el (which-func-current): The hash-table may have
6960 an explicit nil (bug#12338).
6961
6962 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6963
6964 * electric.el (electric-pair-delete-selection-self-insert-function):
6965 Rename to electric-pair-will-use-region, return a boolean.
6966 (electric-pair-mode): Adjust accordingly. Don't require delsel.
6967
6968 * delsel.el (delete-selection-helper): Use a function instead of a hook.
6969 (delete-selection-pre-hook): Use use-region-p.
6970 (delete-selection-self-insert-function): Remove.
6971 (self-insert-command): Obey self-insert-uses-region-functions.
6972 (self-insert-iso): Revert to previous setting, since we don't actually
6973 know what that command does.
6974 (delete-selection-self-insert-hooks): Remove.
6975
6976 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
6977
6978 * delsel.el (delete-selection-helper): New function, extracted from
6979 delete-selection-pre-hook.
6980 (delete-selection-pre-hook): Use it.
6981 (delete-selection-self-insert-function): New function.
6982 (delete-selection-self-insert-hooks): New hook.
6983 (self-insert-command, self-insert-iso): Use it.
6984 * electric.el (electric-pair-syntax): New function, extracted from
6985 electric-pair-post-self-insert-function.
6986 (electric-pair-post-self-insert-function): Use it.
6987 (electric-pair-delete-selection-self-insert-function): New function.
6988 (electric-pair-mode): Require delsel and setup
6989 delete-selection-self-insert-hooks (bug#11520).
6990
6991 2012-10-20 Chong Yidong <cyd@gnu.org>
6992
6993 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6994 no changes to show (Bug#12586).
6995
6996 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6997 list explicitly (Bug#12571).
6998
6999 2012-10-20 Arne Jørgensen <arne@arnested.dk>
7000
7001 * progmodes/flymake.el (flymake-create-temp-inplace):
7002 Use file-truename.
7003
7004 2012-10-20 Eli Zaretskii <eliz@gnu.org>
7005
7006 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
7007
7008 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
7009
7010 * calc/calc-units.el (math-extract-units): Properly extract powers
7011 of units.
7012
7013 2012-10-20 Daniel Colascione <dancol@dancol.org>
7014
7015 * frame.el (make-frame): Set x-display-name as we used to in order
7016 to unbreak creating an X11 frame from an Emacs daemon started
7017 without a display.
7018
7019 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7020
7021 * minibuffer.el (minibuffer-force-complete): Make the next completion use
7022 the same completion-field (bug#12221).
7023
7024 2012-10-19 Martin Rudalics <rudalics@gmx.at>
7025
7026 * emacs-lisp/debug.el (debug): Record height of debugger window
7027 also when debugger will be back (Bug#8789).
7028
7029 2012-10-18 Chong Yidong <cyd@gnu.org>
7030
7031 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7032 Convert to defcustom.
7033 (gdb-get-source-file): Don't bind pop-up-windows.
7034
7035 * progmodes/gud.el (gud-display-line): Don't specially re-use
7036 other frames for the gdb-mi case (Bug#12648).
7037
7038 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * emacs-lisp/advice.el: Clean up commentary a bit.
7041 (ad-do-advised-functions, ad-with-originals): Use `declare'.
7042 (byte-code-function-p): Never redefine.
7043
7044 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
7045
7046 2012-10-18 Glenn Morris <rgm@gnu.org>
7047
7048 * dired.el (dired-sort-toggle): Some ls implementations only allow
7049 a single option string. (Bug#12666)
7050
7051 * minibuffer.el (completion-cycle-threshold): Doc fix.
7052
7053 2012-10-17 Kenichi Handa <handa@gnu.org>
7054
7055 * international/mule.el (set-keyboard-coding-system):
7056 Recover input meta mode when the new coding system doesn not use 8-bit.
7057 Supply TERMINAL arg to set-input-meta-mode.
7058
7059 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7060
7061 * wdired.el (wdired-old-marks): New variable.
7062 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
7063 (wdired-do-renames): Move point with renamed file and don't lose
7064 mark status (Bug#11795).
7065
7066 2012-10-16 Juri Linkov <juri@jurta.org>
7067
7068 * replace.el (query-replace-help): Mention multi-buffer replacement
7069 keys in the Help message. (Bug#12655)
7070
7071 2012-10-15 Chong Yidong <cyd@gnu.org>
7072
7073 * emacs-lisp/byte-run.el (defsubst): Doc fix.
7074
7075 2012-10-14 Eli Zaretskii <eliz@gnu.org>
7076
7077 * window.el (display-buffer): Doc fix.
7078
7079 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7080 Adjust the msft regexp to the output of Studio 2010, and move msft
7081 before edg-1. See the discussion on emacs-devel,
7082 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
7083 for the details.
7084
7085 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7086
7087 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
7088 (oset): Move uses of object-class-fast macro after its definition.
7089
7090 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
7091
7092 2012-10-13 Chong Yidong <cyd@gnu.org>
7093
7094 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
7095 enabled, re-enable it (Bug#11963).
7096
7097 2012-10-13 Martin Rudalics <rudalics@gmx.at>
7098
7099 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
7100 non-nil, restore window configuration (Bug#12623).
7101
7102 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7103
7104 * help-fns.el (describe-variable, describe-function-1):
7105 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
7106
7107 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
7108
7109 2012-10-12 Glenn Morris <rgm@gnu.org>
7110
7111 * mail/rmailsum.el (rmail-header-summary):
7112 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
7113
7114 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
7115
7116 * progmodes/python.el (python-mode-map):
7117 Replace subtitute-key-definition with proper command remapping.
7118 (python-nav--up-list): Fix behavior for blocks on the same level.
7119
7120 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
7123
7124 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
7125 changes to the format of load-history.
7126
7127 * international/mule-cmds.el (read-char-by-name): Move let-binding of
7128 completion-ignore-case in case that var is buffer-local (bug#12615).
7129
7130 2012-10-11 Kenichi Handa <handa@gnu.org>
7131
7132 * international/eucjp-ms.el: Re-generated.
7133
7134 2012-10-10 Kenichi Handa <handa@gnu.org>
7135
7136 * select.el (xselect--encode-string): If a coding is specified for
7137 selection, and that is compatible with COMPOUND_TEXT, use it.
7138
7139 2012-10-10 Martin Rudalics <rudalics@gmx.at>
7140
7141 * window.el (switch-to-buffer-preserve-window-point): New option.
7142 (switch-to-buffer):
7143 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
7144
7145 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
7148 Don't document nil as a useful value (bug#12583).
7149
7150 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
7151
7152 * net/tramp.el (tramp-debug-message):
7153 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
7154 (with-tramp-progress-reporter): Rename from
7155 `tramp-with-progress-reporter'.
7156 (with-tramp-file-property, with-tramp-connection-property):
7157 Move from tramp-cache.el, rename from `with-file-property' and
7158 `with-connection-property', respectively.
7159
7160 * net/tramp-cache.el: Remove `with-file-property' and
7161 `with-connection-property'.
7162
7163 * net/tramp.el:
7164 * net/tramp-gvfs.el:
7165 * net/tramp-sh.el:
7166 * net/tramp-smb.el: Adapt callees.
7167
7168 * net/trampver.el: Update release number.
7169
7170 2012-10-09 Glenn Morris <rgm@gnu.org>
7171
7172 * w32-fns.el (set-message-beep):
7173 * term/w32-win.el (set-message-beep): Update declarations.
7174
7175 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7176
7177 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
7178 (mode-line-widen, mode-line-input-method-map)
7179 (mode-line-coding-system-map, mode-line-remote)
7180 (mode-line-unbury-buffer, mode-line-bury-buffer)
7181 (mode-line-next-buffer, mode-line-previous-buffer):
7182 Replace save-selected-window+select-window => with-selected-window.
7183
7184 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
7185 * progmodes/cc-vars.el (bq-process): Remove, unused.
7186
7187 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
7188
7189 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
7190
7191 Implemented `backward-up-list'-like navigation.
7192 * progmodes/python.el (python-nav-up-list)
7193 (python-nav-backward-up-list): New functions.
7194 (python-mode-map): Define substitute key for backward-up-list to
7195 python-nav-backward-up-list.
7196
7197 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7198
7199 * progmodes/python.el (python-fill-paragraph): Rename from
7200 python-fill-paragraph-function. Fixed fill-paragraph for
7201 decorators (Bug#12605).
7202
7203 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7204
7205 * progmodes/python.el (python-shell-output-filter): Handle extra
7206 carriage return in OSX (Bug#12409).
7207
7208 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7209
7210 Fix shell handling of unbalanced quotes and parens in output.
7211 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
7212 (python-syntax-propertize-function): Use it.
7213 (python-shell-output-syntax-table): New var.
7214 (inferior-python-mode): Prevent unbalanced parens/quotes from
7215 previous output mess with current input context.
7216
7217 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
7218
7219 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
7220 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
7221
7222 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
7223
7224 * ffap.el (ffap-replace-file-component): Support Tramp file name
7225 syntax, not only ange-ftp's one.
7226
7227 2012-10-08 Glenn Morris <rgm@gnu.org>
7228
7229 * cus-start.el (message-log-max): Set :version.
7230
7231 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
7232
7233 2012-10-08 Martin Rudalics <rudalics@gmx.at>
7234
7235 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
7236 the minibuffer window (Bug#10851).
7237
7238 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
7239
7240 Enhancements on forward-sexp movement.
7241 * progmodes/python.el (python-nav-beginning-of-statement)
7242 (python-nav-end-of-statement): Return point-marker.
7243 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
7244 (python-info-current-symbol)
7245 (python-info-statement-starts-block-p): Rename from
7246 python-info-beginning-of-block-p.
7247 (python-info-statement-ends-block-p): Rename from
7248 python-info-end-of-block-p.
7249 (python-info-beginning-of-statement-p)
7250 (python-info-end-of-statement-p)
7251 (python-info-beginning-of-block-p, python-info-end-of-block-p):
7252 New functions.
7253
7254 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7255
7256 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
7257 frame-selected-windows.
7258
7259 2012-10-08 Daniel Colascione <dancol@dancol.org>
7260
7261 * battery.el (battery-status-function): Check for
7262 w32-battery-status itself, not system-time windows-nt.
7263
7264 * frame.el: Require cl-lib.
7265 (display-format-alist): New variable mapping frame types to
7266 functions that initialize them.
7267 (window-system-for-display): New function: interprets
7268 display-format-alist.
7269 (make-frame-on-display): Remove existing display-selection logic
7270 and just forward to make-frame, which will now DTRT.
7271 (make-frame): Restructure to use window-system-for-display to
7272 figure out how to create a frame on a given display.
7273 (display-mouse-p): Look for frame-type w32, not a particular
7274 system-type.
7275
7276 * loadup.el: Load w32 lisp code when we have the w32 feature.
7277
7278 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
7279 system-type windows-nt.
7280
7281 * server.el (server-create-window-system-frame): Look for window
7282 type.
7283 (server-proces-filter): Only force a window system when windows-nt
7284 _and_ w32. Explain why.
7285
7286 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
7287 of window systems we configure for the mode.
7288
7289 * startup.el (command-line): Mark window system is initialized
7290 after we've done it.
7291
7292 * common-win.el (x-select-text): Look for w32, not windows-nt.
7293
7294 * ns-win.el: Require cl-lib. Add ourselves to
7295 display-format-alist.
7296 (ns-initialize-window-system): Assert we're not initialized twice.
7297
7298 * w32-win.el: Enable lexical binding; require cl-lib; add
7299 ourselves to display-format-alist.
7300 (w32-handle-dropped-file): Convert incoming dropped files from
7301 Windows paths to Cygwin ones before passing them on to the rest of
7302 Emacs.
7303 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
7304 (w32-initialize-window-system): Assert we're not initialized twice.
7305
7306 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
7307 (x-initialize-window-system): Assert we're not initialized twice.
7308
7309 * w32-common-fns.el: New File.
7310 (w32-version, w32-using-nt, w32-get-clipboard-data)
7311 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7312 (w32-charset-info-alist, x-last-selected, text)
7313 (x-get-selection-value, x-selection-value): Move here.
7314
7315 * w32-fns.el: Require w32-common-fns.
7316 (w32-version, w32-using-nt, w32-get-clipboard-data)
7317 (w32-set-clipboard-data, x-set-selection, x-get-selection)
7318 (w32-charset-info-alist, x-last-selected, text)
7319 (x-get-selection-value, x-selection-value): Move to
7320 w32-common-fns.
7321
7322 * w32-vars.el:
7323 (w32-allow-system-shell, w32-system-shells): Define only in
7324 non-cygwin case.
7325
7326 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7327
7328 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
7329 (read-passwd): Remove a few more potential sources of leaks.
7330
7331 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7332
7333 * progmodes/python.el (inferior-python-mode)
7334 (python-shell-make-comint): Fix initialization of local
7335 variables copied from parent buffer.
7336
7337 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
7338
7339 * term/ns-win.el (ns-read-file-name): Update declaration to match
7340 nsfns.m.
7341 (ns-respond-to-change-font): Change fontsize separately so we are sure
7342 it is set when font is acted upon.
7343
7344 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7345
7346 Enhancements to indentation.
7347 * progmodes/python.el (python-indent-context): Give priority to
7348 inside-string context. Make comments indentation markers.
7349 (python-indent-region): Do not mess with strings, unless it's the
7350 enclosing set of quotes.
7351
7352 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * window.el (internal--before-save-selected-window)
7355 (internal--after-save-selected-window): New functions extracted from
7356 save-selected-window. Make sure we return the `alist' we construct.
7357 (save-selected-window): Use them.
7358
7359 * textmodes/tex-mode.el (tex-recenter-output-buffer):
7360 Use with-selected-window.
7361
7362 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
7363 forms that define macros (bug#12593).
7364
7365 2012-10-07 Kenichi Handa <handa@gnu.org>
7366
7367 * international/mule-conf.el (compound-text-with-extensions):
7368 Add :mime-charset property as x-ctext.
7369
7370 2012-10-07 Stefan Merten <smerten@oekonux.de>
7371
7372 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7373 (rst-indent-literal-normal, rst-indent-literal-minimized)
7374 (rst-indent-comment): Correct :version tag.
7375 (rst-official-cvs-rev): Correct version string.
7376
7377 2012-10-07 Glenn Morris <rgm@gnu.org>
7378
7379 * mail/rmailmm.el (rmail-mime-process-multipart):
7380 Do not confuse a multipart message with an epilogue
7381 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
7382
7383 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
7384
7385 Fix shell output retrieval and comint-prompt-regexp init.
7386 * progmodes/python.el (inferior-python-mode):
7387 (python-shell-make-comint): Fix initialization of
7388 comint-prompt-regexp from copied file local variables.
7389 (python-shell-fetched-lines): Remove var.
7390 (python-shell-output-filter-in-progress): Rename from
7391 python-shell-fetch-lines-in-progress.
7392 (python-shell-output-filter-buffer): Rename from
7393 python-shell-fetch-lines-string.
7394 (python-shell-fetch-lines-filter): Delete function.
7395 (python-shell-output-filter): New function.
7396 (python-shell-send-string-no-output): Use them.
7397
7398 2012-10-07 Glenn Morris <rgm@gnu.org>
7399
7400 * hi-lock.el (hi-lock-process-phrase):
7401 Try to make it less fragile. (Bug#7161)
7402
7403 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
7404
7405 2012-10-06 Glenn Morris <rgm@gnu.org>
7406
7407 * ehelp.el (electric-help-mode): Use help-mode rather than
7408 non-existent mode `help'.
7409 (electric-help-map): Use button-buffer-map. (Bug#10917)
7410
7411 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
7412 (reftex-create-bibtex-footer): Fix custom types.
7413
7414 * progmodes/sh-script.el (sh-indent-after-continuation):
7415 Add explicit :group.
7416
7417 * textmodes/rst.el (rst-preferred-decorations)
7418 (rst-shift-basic-offset): Clarify obsolescence versions.
7419
7420 * profiler.el (profiler): Add missing group :version tag.
7421 * avoid.el (mouse-avoidance-banish-position):
7422 * proced.el (proced-renice-command):
7423 * calc/calc.el (calc-ensure-consistent-units):
7424 * calendar/icalendar.el (icalendar-import-format-uid):
7425 * net/tramp.el (tramp-save-ad-hoc-proxies):
7426 * progmodes/bug-reference.el (bug-reference-bug-regexp):
7427 * progmodes/flymake.el (flymake-error-bitmap)
7428 (flymake-warning-bitmap, flymake-fringe-indicator-position):
7429 * progmodes/sh-script.el (sh-indent-after-continuation):
7430 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
7431 (verilog-before-save-font-hook, verilog-after-save-font-hook):
7432 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
7433 (vhdl-array-index-record-field-in-sensitivity-list)
7434 (vhdl-indent-comment-like-next-code-line):
7435 * textmodes/reftex-vars.el (reftex-ref-style-alist)
7436 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
7437 (reftex-cite-key-separator, reftex-create-bibtex-header)
7438 (reftex-create-bibtex-footer):
7439 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
7440 (rst-indent-literal-normal, rst-indent-literal-minimized)
7441 (rst-indent-comment): Add missing custom :version tags.
7442
7443 * calendar/timeclock.el (timeclock-modeline-display):
7444 Add missing obsolete alias for renamed user option.
7445
7446 * strokes.el (strokes-modeline-string):
7447 * emulation/crisp.el (crisp-mode-modeline-string):
7448 * eshell/esh-mode.el (eshell-status-in-modeline):
7449 Aliases to defcustoms must come before the defcustom.
7450
7451 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
7452 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7453 (cal-tex-cursor-week-monday): Doc fixes.
7454 (cal-tex-cursor-week2-summary): Doc fix.
7455 Rename from cal-tex-cursor-week-at-a-glance.
7456
7457 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
7458 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
7459
7460 * calendar/calendar.el (calendar-mode-map):
7461 Add cal-tex-cursor-week2-summary.
7462
7463 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
7464
7465 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
7466
7467 * subr.el (read-passwd-map): New var.
7468 (read-passwd): Use `read-string' again.
7469 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
7470
7471 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
7472
7473 * register.el (append-to-register, prepend-to-register):
7474 Deactivate mark, as does `copy-to-register' (bug#12389).
7475
7476 2012-10-06 Chong Yidong <cyd@gnu.org>
7477
7478 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
7479
7480 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
7481
7482 * international/characters.el: Fix simple mistake ((car chars) ->
7483 elt), delete duplicated code.
7484
7485 2012-10-06 Glenn Morris <rgm@gnu.org>
7486
7487 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
7488
7489 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
7490
7491 * color.el (color-hsl-to-rgb): Fix incorrect results for
7492 small and large hue values. (Bug#12559)
7493
7494 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
7495
7496 Enhancements to docstring formatting when filling paragraphs.
7497 * progmodes/python.el (python-fill-docstring-style): Rename from
7498 python-fill-string-style. Added new style.
7499 (python-fill-string): Use new style. Better checks for
7500 docstrings.
7501
7502 2012-10-05 Glenn Morris <rgm@gnu.org>
7503
7504 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
7505
7506 * color.el (color-name-to-rgb, color-rgb-to-hex)
7507 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
7508 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
7509 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7510 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
7511
7512 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
7513
7514 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
7515
7516 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
7517 to get the correct size across symlinks.
7518
7519 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
7520
7521 2012-10-04 Juri Linkov <juri@jurta.org>
7522
7523 * replace.el (query-replace-interactive): Declare obsolete.
7524 (query-replace-read-from): Add the last incremental search string
7525 to the list of default values accessible via M-n.
7526 (map-query-replace-regexp): Use `read-regexp'.
7527 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7528 (map-query-replace-regexp, replace-string, replace-regexp):
7529 Fix docstrings to replace mentions of `query-replace-interactive'
7530 with alternatives. (Bug#12526)
7531
7532 2012-10-04 Juri Linkov <juri@jurta.org>
7533
7534 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
7535 (dired-pop-to-buffer): Declare obsolete.
7536 (dired-mark-pop-up): Doc fix.
7537
7538 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
7539
7540 Allow user to set docstring style for fill-paragraph.
7541 * progmodes/python.el
7542 (python-fill-comment-function, python-fill-string-function)
7543 (python-fill-decorator-function, python-fill-paren-function):
7544 Remove :safe for defcustoms.
7545 (python-fill-string-style): New defcustom
7546 (python-fill-paragraph-function): Enhance context detection.
7547 (python-fill-string): Honor python-fill-string-style settings.
7548
7549 2012-10-04 Martin Rudalics <rudalics@gmx.at>
7550
7551 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
7552 after setting its buffer (Bug#10805).
7553
7554 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
7555
7556 Fix cornercase for string syntax.
7557 * progmodes/python.el (python-syntax-propertize-function):
7558 Simplify and enhance the regexp for unescaped quotes. Now it also
7559 matches quotes in weird situations like the single quote in
7560 "something\"'".
7561 (python-syntax-stringify): Simplify num-quotes detecting code.
7562
7563 2012-10-03 Glenn Morris <rgm@gnu.org>
7564
7565 * help-macro.el (three-step-help):
7566 Revert 2012-09-29 change. (Bug#12567)
7567
7568 2012-10-03 Martin Rudalics <rudalics@gmx.at>
7569
7570 * menu-bar.el (kill-this-buffer): Don't do anything when
7571 `menu-frame' is not alive or visible (Bug#8184).
7572
7573 * emacs-lisp/debug.el (debug): When quitting the debugger window
7574 restore current buffer (Bug#12502).
7575
7576 2012-10-02 Chong Yidong <cyd@gnu.org>
7577
7578 * progmodes/hideif.el (hif-lookup, hif-defined):
7579 Handle semantic-c-takeover-hideif.
7580
7581 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
7582
7583 Change sampling interval units from ms to ns.
7584 * profiler.el (profiler-sampling-interval): Change units
7585 from ms to ns, multiplying the default by 1000000 so that
7586 it remains 1 ms.
7587 (profiler-report-cpu-line-format): Give enough room for
7588 the maximum counters on 64-bit hosts.
7589 (profiler-report-render-calltree-1): Call them "CPU samples",
7590 not "Time (ms)", since they are not milliseconds now (and
7591 never really were).
7592
7593 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7594
7595 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
7596 Fix querying BBDB for entries without a last name (Bug#11580).
7597
7598 2012-10-02 Chong Yidong <cyd@gnu.org>
7599
7600 * emacs-lisp/eieio.el: Restore Version header.
7601
7602 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7603
7604 * vc/diff-mode.el (diff--auto-refine-data): New var.
7605 (diff-hunk): Use it to delay refinement.
7606 (diff-mode): Remove overlays when we turn off font-lock.
7607
7608 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
7609 (table-initialize-table-fixed-width-mode)
7610 (table-set-table-fixed-width-mode): Remove functions.
7611 (table-command-list): Move initialization into declaration.
7612 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
7613 (table-with-cache-buffer): Use `declare'.
7614 (table-span-cell): Simplify via CSE.
7615 (table-fixed-width-mode): Use define-minor-mode.
7616 (table-call-interactively, table-funcall, table-apply): Remove.
7617 (table-function): New function, to replace them.
7618
7619 * bookmark.el (bookmark-search-pattern): Remove var.
7620 (bookmark-read-search-input): Remove function.
7621 (bookmark-bmenu-search): Reimplement using a minibuffer.
7622
7623 * faces.el (modeline): Remove obsolete face name.
7624
7625 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
7626 and give a non-nil default value.
7627 (add-change-log-entry): Simplify accordingly.
7628
7629 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
7630
7631 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
7632 (vc-git-log-edit-toggle-amend): New function.
7633 (vc-git-log-edit-toggle-signoff): New function.
7634 (vc-git-log-edit-mode): New major mode.
7635 (vc-git-log-edit-mode-map): Keymap for it.
7636 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
7637
7638 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
7639 header names.
7640 (log-edit-toggle-header): New function.
7641 (log-edit-extract-headers): Accept function values in HEADERS alist.
7642
7643 2012-10-01 David Engster <deng@randomsample.de>
7644
7645 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
7646 from symbol property and change message to be more consistent with
7647 Emacs proper.
7648 (eieio-describe-generic): Add filename for each implementation.
7649 Fix indices for generic and normal methods.
7650 (eieio-method-def, eieio-class-def): New buttons.
7651 (eieio-help-find-method-definition)
7652 (eieio-help-find-class-definition): New functions.
7653 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
7654 class, constructor and method definitions.
7655
7656 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
7657 information in symbol property.
7658 (scoped-class): Remove.
7659 (eieio-slot-name-index, call-next-method): Check if it is bound.
7660
7661 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
7662
7663 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
7664 (eieio-custom-mode): New major mode.
7665 (eieio-customize-object): Use it.
7666
7667 2012-10-01 Eric Ludlam <zappo@gnu.org>
7668
7669 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
7670 specifying the expected class, and whether subclassing is allowed.
7671 (eieio-persistent-convert-list-to-object):
7672 (eieio-persistent-validate/fix-slot-value)
7673 (eieio-persistent-slot-type-is-class-p): New functions.
7674 (eieio-named::slot-missing): Doc fix.
7675
7676 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
7677 Stop using unused publd variable.
7678
7679 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7680 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
7681 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
7682 (eieio-speedbar-handle-click): Do not specify a class for the
7683 method. Fixes method invocation order problems with EDE.
7684
7685 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
7688 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
7689
7690 2012-10-01 Karl Fogel <kfogel@red-bean.com>
7691
7692 * bookmark.el (bookmark-version-control): Give tags in the
7693 :type choices (Bug#12309), and improve doc string.
7694 (bookmark-write-file): Bind `print-circle' to `t' to allow
7695 circular custom bookmark types. (Bug#12503)
7696
7697 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
7698
7699 Revert the FOLLOW-SYMLINKS change for file-attributes.
7700 * files.el (remote-file-name-inhibit-cache, after-find-file):
7701 * time.el (display-time-file-nonempty-p): Undo last change.
7702
7703 * profiler.el (profiler-sampling-interval): Change default back to 1.
7704 See Stefan Monnier in
7705 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
7706
7707 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
7708
7709 Shell output catching a la gud-gdb.
7710 * progmodes/python.el (python-shell-fetch-lines-in-progress)
7711 (python-shell-fetch-lines-string, python-shell-fetched-lines):
7712 New Vars.
7713 (python-shell-fetch-lines-filter): New function.
7714 (python-shell-send-string-no-output): Use them.
7715
7716 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
7717
7718 * profiler.el (profiler-sampling-interval): Rename from
7719 profiler-sample-interval.
7720 (profiler-sampling-interval): Default to 10.
7721 (profiler-find-profile): New command (was profiler-find-log).
7722 (profiler-find-profile-other-window): New command.
7723 (profiler-find-profile-other-frame): New command.
7724 (profiler-profile): Introduce API-level data structure.
7725
7726 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
7727
7728 file-attributes has a new optional arg FOLLOW-SYMLINKS.
7729 * files.el (remote-file-name-inhibit-cache):
7730 * time.el (display-time-file-nonempty-p): Use it.
7731 * files.el (after-find-file): Don't chase links before calling
7732 file-exists-p, as file-exists-p already does the right thing.
7733
7734 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
7735
7736 Merge from standalone RefTeX repository.
7737
7738 The following ChangeLog entries are shortened versions of the
7739 original ones with file paths adapted. A not so strongly edited
7740 version of the original ChangeLog can be found in the commit log.
7741
7742 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
7743 (reftex-arg-cite): Use `reftex-cite-key-separator'.
7744 Correctly handle new value type returned by `reftex-citation'.
7745
7746 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
7747 that entries with whitespace at various places are found.
7748 Doc fix. Include entries that are cross-referenced from cited entries.
7749 Include @String definitions in the resulting bib file. Add header
7750 and footer defined in `reftex-create-bibtex-header' and
7751 `reftex-create-bibtex-footer'.
7752 (reftex-do-citation): Make it possible again to insert
7753 non-existent entries. Save match data when asking for optional
7754 arguments. Return all keys, not just the first one.
7755 (reftex-all-used-citation-keys): Fix regexp to correctly extract
7756 all citations in the same line.
7757 (reftex-parse-bibtex-entry): Accept additional optional argument
7758 `raw' and keep quotes or braces if it is non-nil. Match fields
7759 containing hyphens besides word constituents.
7760 (reftex-get-string-refs): New function.
7761 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7762 and ask if it should be reread in case it did.
7763 (reftex-pop-to-bibtex-entry)
7764 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7765 entries with spaces or tabs in front of arguments.
7766 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7767 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7768 Match entries containing numbers and symbol constituents.
7769 (reftex-do-citation, reftex-figure-out-cite-format):
7770 Use `reftex-cite-key-separator'.
7771
7772 * textmodes/reftex-dcr.el: Move provide statement to end of file.
7773 (reftex-mouse-view-crossref): Explain why point is set.
7774
7775 * textmodes/reftex-global.el: Whitespace changes.
7776
7777 * textmodes/reftex-index.el: Move provide statement to end of
7778 file.
7779 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7780 (reftex-index-visit-phrases-buffer): Set marker when visiting
7781 buffer. This allows for returning from the phrases file to the
7782 file one was just editing instead of the file where the last
7783 phrases was added from.
7784 (reftex-index-phrases-syntax-table): New variable. Give ?\"
7785 punctuation syntax as it usually is not used as string quote in
7786 TeX-related modes and may occur unmatched. The change also
7787 prevents fontification of quoted content.
7788 (reftex-index-phrases-mode): Use it.
7789
7790 * textmodes/reftex-parse.el (reftex-parse-from-file):
7791 Move backward one char if a `\' was matched after a section macro.
7792 (reftex-parse-from-file): Use beginning of match instead of end as
7793 bound.
7794
7795 * textmodes/reftex-ref.el: Adapt creation of
7796 `reftex-<package>-<macro>' functions to new structure of
7797 `reftex-ref-style-alist'.
7798 (reftex-reference): Use `reftex-ref-style-list' function.
7799 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
7800 reference macro if `reftex-ref-macro-prompt' is non-nil.
7801 (reftex-reference): Pass refstyle to `reftex-format-special'.
7802 Determine reference macro by looking at
7803 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7804 Use only one special format function.
7805 (reftex-varioref-vref, reftex-fancyref-fref)
7806 (reftex-fancyref-Fref): Remove definitions. The functions are now
7807 generated from `reftex-ref-style-alist'.
7808 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7809 Remove.
7810 (reftex-format-special): New function.
7811
7812 * textmodes/reftex-sel.el
7813 (reftex-select-cycle-ref-style-internal): Adapt to new structure
7814 of `reftex-ref-style-alist'. Remove code for testing macro type.
7815 (reftex-select-toggle-varioref)
7816 (reftex-select-toggle-fancyref): Remove.
7817 (reftex-select-cycle-ref-style-internal)
7818 (reftex-select-cycle-ref-style-forward)
7819 (reftex-select-cycle-ref-style-backward): New functions.
7820 (reftex-select-label-map): Use `v' and `V' for general cycling
7821 through reference styles. Add `p' for switching between number
7822 and page reference types.
7823
7824 * textmodes/reftex-toc.el (reftex-re-enlarge):
7825 Call `enlarge-window' only if there is something to do because in Emacs
7826 the horizontal version throws an error even if the parameter is 0.
7827
7828 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7829 (reftex-plug-into-AUCTeX): Doc fix.
7830 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7831 string. Adapt to new name.
7832 (reftex-ref-style-alist): Change structure so that it is not
7833 possible to use multiple different package names within a style.
7834 Remove the symbols for symbols for macro type distinction.
7835 Add characters for macro selection.
7836 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7837 (reftex-create-bibtex-footer): New variables.
7838 (reftex-format-ref-function): Mention third argument of special
7839 format function.
7840 (reftex-ref-style-alist, reftex-ref-style-default-list):
7841 New variables.
7842 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7843 to new implementation. Mark as obsolete. Add compatibility code
7844 for honoring the variable values in case they are set.
7845 (reftex-cite-format-builtin, reftex-bibliography-commands):
7846 Add support for ConTeXt.
7847 (reftex-format-ref-function, reftex-format-cite-function):
7848 Fix custom type.
7849 (reftex-cite-key-separator): New variable.
7850
7851 * textmodes/reftex.el (reftex-syntax-table-for-bib)
7852 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7853 `reftex-syntax-table' because parens have to retain their paren
7854 syntax in order for parsing of BibTeX entries like @book(...) to
7855 work.
7856 (reftex-in-comment): Do not error out if `comment-start-skip' is
7857 not set. Deal correctly with escaped comment characters.
7858 (reftex-tie-multifile-symbols): Add doc string.
7859 Initialize `reftex-ref-style-list'.
7860 (reftex-untie-multifile-symbols): Add doc string.
7861 (reftex-add-index-macros): Doc fix.
7862 (reftex-ref-style-activate, reftex-ref-style-toggle)
7863 (reftex-ref-style-list): New functions.
7864 (reftex-mode-menu): Use them. Adapt to new structure of
7865 `reftex-ref-style-alist'.
7866 (reftex-select-with-char): Kill the RefTeX Select buffer when
7867 done.
7868 (reftex-remove-if): New function.
7869 (reftex-erase-all-selection-and-index-buffers)
7870 (reftex-mode-menu): Reference styles are now computed from
7871 `reftex-ref-style-alist'. Fix typo.
7872 (reftex-report-bug): New function.
7873 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7874 algorithms with O(n log n). Introduce optional argument SORT (not
7875 yet used).
7876
7877 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
7878
7879 Enhancements for triple-quote string syntax.
7880 * progmodes/python.el (python-syntax-propertize-function):
7881 Match both quote cases in one regexp.
7882 (python-syntax-stringify): Handle matches properly.
7883
7884 2012-09-30 Juri Linkov <juri@jurta.org>
7885
7886 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7887 to nil around the call to `insert' to prevent
7888 directory time modification by lock_file. (Bug#2295)
7889 * tar-mode.el (tar-summarize-buffer): Idem.
7890
7891 2012-09-30 Juri Linkov <juri@jurta.org>
7892
7893 * facemenu.el (list-colors-sort): Add option "Luminance".
7894 (list-colors-sort-key): Implement it.
7895
7896 * vc/diff-mode.el (diff-refine-removed):
7897 * vc/ediff-init.el (ediff-fine-diff-A):
7898 * vc/smerge-mode.el (smerge-refined-removed):
7899 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
7900
7901 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
7902
7903 * term/ns-win.el (x-file-dialog): New function.
7904
7905 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
7906
7907 * ido.el (ido-max-directory-size): Default to nil; the current
7908 default is small for POSIX systems, and impractical on Windows 7
7909 now that lstat returns directory sizes for NTFS.
7910
7911 2012-09-30 Martin Rudalics <rudalics@gmx.at>
7912
7913 In buffer display functions handle window-height/window-width
7914 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
7915 * window.el (window--display-buffer): New argument ALIST.
7916 Obey window-height and window-width alist entries.
7917 (window--try-to-split-window): New argument ALIST.
7918 Bind window-combination-limit to t when the window's size shall be
7919 changed and window-combination-limit equals `window-size'.
7920 (display-buffer-in-atom-window)
7921 (display-buffer-in-major-side-window)
7922 (display-buffer-in-side-window, display-buffer-same-window)
7923 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7924 (display-buffer-pop-up-window, display-buffer-below-selected)
7925 (display-buffer-at-bottom, display-buffer-in-previous-window)
7926 (display-buffer-use-some-window): Adjust all callers of
7927 window--display-buffer and window--try-to-split-window.
7928 (fit-frame-to-buffer): New option.
7929 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7930 is non-nil.
7931 (display-buffer-in-major-side-window): Evaluate window-height /
7932 window-width alist entries.
7933
7934 * help.el (temp-buffer-resize-frames)
7935 (temp-buffer-resize-regexps): Remove options.
7936 (temp-buffer-resize-mode): Adjust doc-string.
7937 (resize-temp-buffer-window): Don't consult
7938 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
7939 temp-buffer-resize-frames.
7940
7941 * dired.el (dired-mark-pop-up):
7942 Call display-buffer-below-selected with a fit-window-to-buffer alist
7943 entry.
7944
7945 2012-09-30 Chong Yidong <cyd@gnu.org>
7946
7947 * server.el (server-host): Document the security implications.
7948 (server-auth-key): Doc fix.
7949
7950 * startup.el (initial-buffer-choice): Doc fix.
7951
7952 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7953
7954 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7955 restriction change.
7956
7957 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7958
7959 * help-fns.el (help-fns--obsolete): Fix last change.
7960
7961 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
7962
7963 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7964 (minor-mode-map-alist): Remove redundant code.
7965
7966 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7967 visited in a buffer.
7968 (cvs-insert-visited-file): New function.
7969 (find-file-hook): Use it.
7970
7971 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7972
7973 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7974 chose face.
7975 (log-edit-empty-buffer-p): Don't require a space after a header.
7976
7977 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7978
7979 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7980
7981 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7982 a proper minor-mode.
7983
7984 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7985
7986 2012-09-29 Glenn Morris <rgm@gnu.org>
7987
7988 * winner.el (winner-mode): Remove variable (let define-minor-mode
7989 handle it).
7990 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7991 Doc fixes.
7992 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7993 (winner-mode): Use define-minor-mode.
7994
7995 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7996 the full definition in loaddefs, rather than duplicating it.
7997
7998 * help-macro.el (three-step-help): No need to autoload defcustom.
7999
8000 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
8001 (inferior-lisp-program, inferior-lisp-load-command)
8002 (inferior-lisp-prompt, inferior-lisp-mode-hook):
8003 No need to autoload defcustoms.
8004
8005 * hippie-exp.el (hippie-expand-try-functions-list)
8006 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
8007 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
8008 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
8009 (hippie-expand-only-buffers): No need to autoload defcustoms.
8010 * progmodes/vhdl-mode.el (vhdl-line-expand):
8011 Explicitly load hippie-exp, so it does not get autoloaded
8012 while hippie-expand-try-functions-list is let-bound.
8013
8014 2012-09-28 Glenn Morris <rgm@gnu.org>
8015
8016 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
8017
8018 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
8019 Only "cl.el" counts as cl these days.
8020
8021 2012-09-28 Juri Linkov <juri@jurta.org>
8022
8023 Display archive errors in the echo area instead of inserting
8024 to the file buffer.
8025
8026 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
8027 to STDERR-TEST that can be a regexp matching a successful output.
8028 Create a temporary file and redirect stderr to it. Search for
8029 STDERR-TEST in the stderr output and display it in the echo area
8030 if no match is found.
8031 (archive-extract-by-file): New function like
8032 `archive-extract-by-stdout' but extracting archives to files
8033 and looking for successful matches in stdout. Function body is
8034 mostly copied from `archive-rar-extract'.
8035 (archive-rar-extract): Use `archive-extract-by-file'.
8036 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
8037
8038 2012-09-28 Leo Liu <sdl.web@gmail.com>
8039
8040 * pcomplete.el (pcomplete-show-completions):
8041 Use minibuffer-message to make pcomplete usable in minibuffer.
8042
8043 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
8044
8045 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * type-break.el: Use lexical-binding.
8048 (type-break-mode): Use define-minor-mode.
8049
8050 * emacs-lisp/pcase.el (pcase--mark-used): New.
8051 (pcase--u1): Use it (bug#12512).
8052
8053 * custom.el (load-theme): Set buffer-file-name so the load is recorded
8054 in load-history with the right file name.
8055
8056 2012-09-28 Tassilo Horn <tsdh@gnu.org>
8057
8058 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
8059 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
8060 (doc-view-get-bounding-box): Make bounding box slicing work for
8061 ODF and DVI documents.
8062
8063 2012-09-28 Glenn Morris <rgm@gnu.org>
8064
8065 * type-break.el (type-break-mode, type-break-interval)
8066 (type-break-good-rest-interval, type-break-keystroke-threshold):
8067 No need to autoload.
8068 (type-break-good-rest-interval, type-break-keystroke-threshold):
8069 Add :set-after.
8070
8071 2012-09-28 Chong Yidong <cyd@gnu.org>
8072
8073 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
8074 Add :version tag.
8075
8076 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
8079
8080 2012-09-27 Glenn Morris <rgm@gnu.org>
8081
8082 * faces.el (x-display-name): Declare (for without-x builds).
8083
8084 * linum.el (linum-format): Don't autoload it. Improve :type.
8085
8086 * progmodes/tcl.el: Don't require outline when compiling.
8087 (outline-regexp, outline-level): Declare.
8088 * textmodes/sgml-mode.el: Don't require outline when compiling.
8089 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
8090
8091 * term.el (term-ansi-reset):
8092 Try setting term-ansi-face-already-done to nil. (Bug#11785)
8093
8094 * vc/vc.el (vc-next-action): Only gripe about committing read-only
8095 files for RCS and SCCS. (Bug#9781)
8096
8097 2012-09-27 Chong Yidong <cyd@gnu.org>
8098
8099 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
8100 change; value should be t.
8101
8102 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * image-mode.el: Use lexical-binding.
8105 (image-mode-winprops): Use t to stand for the window of
8106 a buffer that's not displayed.
8107 * doc-view.el (doc-view-new-window-function): Handle the new
8108 t in winprops.
8109 (doc-view-enlarge): Make it a real nop if the size is not changed.
8110 (doc-view-display): Handle the case where the buffer is not (yet?)
8111 displayed in any window.
8112 (doc-view-saved-settings): New var.
8113 (doc-view-mode): Use it.
8114 (doc-view-fallback-mode): Set it.
8115
8116 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
8117 Set lexical-binding.
8118 (minibuffer-eldef-shorten-default): New var.
8119 (minibuffer-default-in-prompt-regexps): Use it for new default.
8120 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
8121
8122 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8123
8124 * international/uni-bidi.el:
8125 * international/uni-category.el:
8126 * international/uni-name.el:
8127 * international/uni-numeric.el: Regenerate.
8128
8129 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
8130 Stefan Monnier <monnier@iro.umontreal.ca>
8131
8132 * profiler.el: New file.
8133
8134 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
8135
8136 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
8137 (testcover-reinstrument): Simplify with CSE.
8138
8139 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
8140
8141 * window.el (temp-buffer-window-setup): Fix typo in docstring.
8142
8143 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
8144
8145 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
8146 (verilog-auto-input, verilog-auto-insert-lisp)
8147 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
8148 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
8149 (verilog-auto-unused, verilog-auto-wire)
8150 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
8151 newline. Reported by Andrew Jones.
8152 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
8153 Reported by Brad Dobbie.
8154 (verilog-batch-delete-trailing-whitespace):
8155 Create verilog-batch-delete-trailing-whitespace.
8156 Reported by Brad Dobbie.
8157 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
8158 parameters from another module. Reported by Dan Katz.
8159 (verilog-auto, verilog-auto-assign-modport)
8160 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
8161 AUTOINOUTMODPORT for UVM interface module shell generation.
8162 Reported by Brad Dobbie.
8163 (verilog-auto-inst-interfaced-ports): Make default nil, as more
8164 standard behavior.
8165 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
8166 Reported by Matt Martin.
8167
8168 2012-09-25 Martin Rudalics <rudalics@gmx.at>
8169
8170 * window.el (window--resize-child-windows): When resizing child
8171 windows proportionally, process them in reverse order to
8172 preserve the "when splitting a window the new one gets the odd
8173 line" behavior.
8174 (window--resize-root-window-vertically): When resizing the
8175 minibuffer window try to affect only windows at the bottom of the
8176 frame. (Bug#12419)
8177
8178 2012-09-25 Chong Yidong <cyd@gnu.org>
8179
8180 * subr.el (declare): Doc fix.
8181
8182 * help-fns.el (help-fns--obsolete): Handle macros properly.
8183
8184 2012-09-25 Chong Yidong <cyd@gnu.org>
8185
8186 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
8187 this function obsolete.
8188
8189 * calendar/cal-x.el (calendar-two-frame-setup)
8190 (calendar-only-one-frame-setup, calendar-one-frame-setup):
8191 * calendar/calendar.el (american-calendar, european-calendar)
8192 (calendar-for-loop):
8193 * comint.el (comint-dynamic-simple-complete)
8194 (comint-dynamic-complete-as-filename, comint-unquote-filename):
8195 * desktop.el (desktop-load-default):
8196 * dired-x.el (dired-omit-here-always)
8197 (dired-hack-local-variables, dired-default-directory):
8198 * emacs-lisp/derived.el (derived-mode-class):
8199 * emacs-lisp/timer.el (timer-set-time-with-usecs):
8200 * emacs-lock.el (toggle-emacs-lock):
8201 * epa.el (epa-display-verify-result):
8202 * epg.el (epg-sign-keys, epg-start-sign-keys)
8203 (epg-passphrase-callback-function):
8204 * eshell/esh-util.el (eshell-for):
8205 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
8206 (eshell-add-to-window-buffer-names):
8207 * files.el (locate-file-completion):
8208 * imenu.el (imenu-example--create-c-index)
8209 (imenu-example--create-lisp-index)
8210 (imenu-example--lisp-extract-index-name)
8211 (imenu-example--name-and-position):
8212 * international/mule-cmds.el (princ-list):
8213 * international/mule-diag.el (decode-codepage-char):
8214 * international/mule-util.el (detect-coding-with-priority):
8215 * iswitchb.el (iswitchb-read-buffer):
8216 * mail/mailalias.el (mail-complete):
8217 * mail/sendmail.el (mail-sent-via):
8218 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
8219 (mouse-major-mode-menu):
8220 * password-cache.el (password-read-and-add):
8221 * pcomplete.el (pcomplete-parse-comint-arguments):
8222 * progmodes/sh-script.el (sh-maybe-here-document):
8223 * replace.el (query-replace-regexp-eval):
8224 * savehist.el (savehist-load):
8225 * simple.el (choose-completion-delete-max-match):
8226 * term.el (term-dynamic-simple-complete):
8227 * vc/ediff-init.el (ediff-check-version):
8228 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
8229 * vc/vc.el (vc-diff-switches-list):
8230 * view.el (view-return-to-alist-update): Likewise.
8231
8232 * subr.el (eval-next-after-load, makehash, insert-string)
8233 (assoc-ignore-representation, assoc-ignore-case): Use declare to
8234 mark obsolete.
8235 (mode-line-inverse-video): Variable deleted.
8236
8237 * international/mule-util.el (string-to-sequence): Remove.
8238
8239 * calendar/calendar.el (calendar-version):
8240 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
8241 (icalendar-convert-diary-to-ical):
8242 * cus-edit.el (custom-mode):
8243 * ansi-color.el (ansi-color-unfontify-region):
8244 * international/latin1-disp.el (latin1-char-displayable-p):
8245 * progmodes/cwarn.el (turn-on-cwarn-mode):
8246 * progmodes/which-func.el (which-func-update-1):
8247 Use define-obsolete-function-alias.
8248
8249 * net/newst-backend.el (newsticker-cache-filename):
8250 * net/newst-treeview.el (newsticker-groups-filename):
8251 Fix incorrect obsolescence declaration.
8252
8253 * allout.el (allout-passphrase-hint-string): Likewise.
8254 (allout-init): Use a declare form to mark obsolete.
8255
8256 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
8257 this applies to functions.
8258
8259 * iswitchb.el (iswitchb-read-buffer): Move code of
8260 iswitchb-define-mode-map here, and delete that obsolete function.
8261
8262 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
8263 font-lock-reference-face.
8264
8265 2012-09-25 Glenn Morris <rgm@gnu.org>
8266
8267 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
8268 Doc fixes.
8269
8270 * eshell/em-term.el (eshell-term-name):
8271 Default to term-term-name. (Bug#12485)
8272
8273 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8274
8275 * progmodes/python.el (python-shell-send-buffer): Better handling
8276 of "if __name__ == '__main__':" conditionals when sending the buffer.
8277
8278 2012-09-24 Glenn Morris <rgm@gnu.org>
8279
8280 * eshell/esh-cmd.el (eshell-find-alias-function):
8281 Tighten up file-name regexp. (Bug#12499)
8282
8283 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
8284
8285 Enhancements for triple-quote string syntax.
8286 * progmodes/python.el (python-quote-syntax): Remove.
8287 (python-syntax-propertize-function): New value.
8288 (python-syntax-count-quotes, python-syntax-stringify):
8289 New functions.
8290
8291 2012-09-24 Chong Yidong <cyd@gnu.org>
8292
8293 * mail/supercite.el (sc-version): Remove obsolete function.
8294 (sc-describe): Don't mark as obsolete, since it is bound.
8295 (sc-submit-bug-report): Remove.
8296
8297 * vc/log-edit.el (cvs-changelog-full-paragraphs)
8298 (cvs-commit-buffer-require-final-newline): Remove.
8299 (log-edit-require-final-newline)
8300 (log-edit-changelog-full-paragraphs): Default to t.
8301
8302 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
8303 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
8304 * vc/vc.el (vc-checkout-carefully): Likewise.
8305
8306 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
8307 (emerge-version): Remove.
8308
8309 * progmodes/compile.el (compile-internal): Remove.
8310 (compilation-parse-errors-function): Fix typo.
8311
8312 * international/mule.el (set-char-table-default): Remove.
8313 (set-coding-priority, make-coding-system, generic-char-p)
8314 (charset-list, charset-bytes, charset-id): Use declare to mark
8315 functions as obsolete.
8316
8317 * vc/pcvs-defs.el (cvs-buffer-name-alist)
8318 (cvs-invert-ignore-marks): Remove references to obsolete vars.
8319 * vc/vc-hooks.el (vc-default-registered): Don't use
8320 vc-master-templates.
8321
8322 * font-lock.el (font-lock-reference-face):
8323 Use define-obsolete-variable-alias.
8324
8325 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
8326 * calendar/calendar.el (calendar-font-lock-keywords):
8327 * calendar/diary-lib.el (diary-font-lock-keywords)
8328 (diary-fancy-font-lock-keywords):
8329 * textmodes/reftex-sel.el (reftex-insert-docstruct):
8330 * textmodes/reftex-index.el (reftex-insert-index):
8331 * textmodes/reftex-cite.el (reftex-format-bib-entry):
8332 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8333 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
8334 * progmodes/prolog.el (prolog-font-lock-keywords):
8335 * progmodes/idlwave.el (idlwave-idl-keywords):
8336 * progmodes/ada-mode.el (ada-font-lock-keywords):
8337 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
8338
8339 2012-09-24 Glenn Morris <rgm@gnu.org>
8340
8341 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
8342
8343 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
8344
8345 * progmodes/python.el (python-indent-line): More consistent cursor
8346 movement behavior.
8347
8348 2012-09-23 Stefan Merten <smerten@oekonux.de>
8349
8350 * textmodes/rst.el: Fix compiler warning.
8351
8352 2012-09-23 Roland Winkler <winkler@gnu.org>
8353
8354 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
8355 Transcribe also LaTeX hyphenation.
8356 (bibtex-reformat): Bug fix. Do not quote twice the elements of
8357 bibtex-reformat-previous-options.
8358
8359 2012-09-23 Roland Winkler <winkler@gnu.org>
8360
8361 * proced.el (proced-renice-command): New variable.
8362 (proced-marked-processes): New function.
8363 (proced-with-processes-buffer): New macro.
8364 (proced-send-signal): Use them.
8365 (proced-renice): New command bound to r.
8366
8367 2012-09-23 Roland Winkler <winkler@gnu.org>
8368
8369 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
8370 ibuffer-saved-filter-groups has one element, shortcut the call of
8371 completing-read. (Bug#12331)
8372
8373 2012-09-23 Chong Yidong <cyd@gnu.org>
8374
8375 * bindings.el (mode-line-toggle-read-only):
8376 * bs.el (bs-toggle-readonly):
8377 * buff-menu.el (Buffer-menu-toggle-read-only):
8378 * dired.el (dired-toggle-read-only):
8379 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
8380
8381 2012-09-23 Chong Yidong <cyd@gnu.org>
8382
8383 * image.el (image-type-available-p): Adapt to init-image-library
8384 argument changes.
8385
8386 2012-09-22 Juri Linkov <juri@jurta.org>
8387
8388 * dired.el (dired-mode-map): Add [remap read-only-mode] for
8389 `dired-toggle-read-only'. (Bug#12462)
8390
8391 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8392
8393 * subr.el (temp-output-buffer-show): New function.
8394 (with-output-to-temp-buffer): Call temp-output-buffer-show
8395 instead of internal-temp-output-buffer-show.
8396
8397 2012-09-22 Chong Yidong <cyd@gnu.org>
8398
8399 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
8400 (Bug#12462).
8401
8402 * repeat.el (repeat): Doc fix (Bug#12348).
8403
8404 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
8405 (Bug#10909).
8406
8407 * simple.el (shell-command-on-region): Doc fix.
8408 (read-only-mode): Doc fix.
8409
8410 2012-09-22 Eli Zaretskii <eliz@gnu.org>
8411
8412 * emacs-lisp/timer.el (run-with-idle-timer)
8413 (timer-activate-when-idle): Warn against reinvoking an idle timer
8414 from within its own timer action. (Bug#12447)
8415
8416 2012-09-22 Martin Rudalics <rudalics@gmx.at>
8417
8418 * cus-start.el (window-combination-limit): Add new optional
8419 values.
8420 * window.el (temp-buffer-window-show)
8421 (window--try-to-split-window): Handle new values of
8422 window-combination-limit (Bug#1806).
8423 (split-window): Test window-combination-limit for t instead of
8424 non-nil.
8425 (display-buffer-at-bottom): New buffer display action function.
8426 * help.el (temp-buffer-resize-regexps): New option.
8427 (temp-buffer-resize-mode): Rewrite doc-string.
8428 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
8429 Don't resize reused window. Suggested by Glenn Morris.
8430
8431 2012-09-22 Stefan Merten <smerten@oekonux.de>
8432
8433 * textmodes/rst.el: Revamp section title faces.
8434 (rst-official-version)
8435 (rst-package-emacs-version-alist): Sync with official version
8436 V1.4.0.
8437 (rst-faces-defaults, rst-set-level-default)
8438 (rst-level-face-max, rst-level-face-base-color)
8439 (rst-level-face-base-light, rst-level-face-format-light)
8440 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
8441 (rst-adornment-faces-alist): Match new setup.
8442 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
8443 (rst-level-5, rst-level-6): New faces.
8444
8445 2012-09-22 Chong Yidong <cyd@gnu.org>
8446
8447 * simple.el (undo): Handle indirect buffers (Bug#8207).
8448
8449 2012-09-21 Leo Liu <sdl.web@gmail.com>
8450
8451 IDO: Disable match re-ordering for buffer switching.
8452 * ido.el (ido-buffer-disable-smart-matches): New variable.
8453 (ido-set-matches-1): Use it. (Bug#2042)
8454
8455 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
8456
8457 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
8458 Fix 2011-05-17 change. (Bug#12418)
8459
8460 2012-09-21 Leo Liu <sdl.web@gmail.com>
8461
8462 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
8463
8464 2012-09-21 Glenn Morris <rgm@gnu.org>
8465
8466 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
8467 Be more robust about locating simple.el.
8468
8469 2012-09-21 Glenn Morris <rgm@gnu.org>
8470
8471 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
8472
8473 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
8474
8475 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
8476
8477 2012-09-20 Juri Linkov <juri@jurta.org>
8478
8479 * replace.el (query-replace-read-from): Use `read-regexp' instead
8480 of `read-from-minibuffer' when `regexp-flag' is non-nil.
8481 (occur-read-primary-args): Use `read-regexp' instead of
8482 `read-string'.
8483 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
8484 `read-from-minibuffer'.
8485 * isearch.el (isearch-occur): Use `read-regexp' instead of
8486 `read-string'.
8487 * dired.el (dired-read-regexp): Use `read-regexp' instead of
8488 `read-from-minibuffer'.
8489 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
8490 of `read-string'. (Bug#7567)
8491
8492 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
8493 and allow accepting a list of strings prepended to a list of
8494 standard default values. Doc fix. (Bug#12321)
8495
8496 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
8497
8498 * replace.el (read-regexp): Don't add ": " when PROMPT already
8499 ends with a colon and space. (Bug#12321)
8500
8501 2012-09-20 Tassilo Horn <tsdh@gnu.org>
8502
8503 * doc-view.el (doc-view-display): Better fix for the cl-assertion
8504 error.
8505
8506 2012-09-20 Stefan Merten <smerten@oekonux.de>
8507
8508 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
8509 Fixes feature request bug#11711.
8510 (rst-mode): Create `imenu-create-index-function'.
8511 (rst-get-stripped-line): Delete after refactoring.
8512 (rst-section-tree, rst-section-tree-rec)
8513 (rst-section-tree-point): Refactor and document properly.
8514 (rst-imenu-find-adornments-for-position)
8515 (rst-imenu-convert-cell, rst-imenu-create-index):
8516 New function.
8517
8518 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
8521 (macroexp--expand-all): Use it.
8522 (macroexp--funcall-and-return): Remove by folding it into its sole
8523 caller (macroexp--warn-and-return).
8524 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
8525 Use macroexp--obsolete-warning.
8526
8527 * calc/calc.el: Fix last change by removing the whole chunk, since it
8528 was only needed back when Calc was not bundled.
8529
8530 2012-09-20 Martin Rudalics <rudalics@gmx.at>
8531
8532 * emacs-lisp/debug.el (debug): Restore assignment to
8533 debugger-old-buffer removed on 2012-09-08.
8534
8535 2012-09-20 Juri Linkov <juri@jurta.org>
8536
8537 * dired-aux.el (dired-diff): Remove (require 'diff) since
8538 `diff-latest-backup-file' is now autoloaded.
8539
8540 2012-09-20 Chong Yidong <cyd@gnu.org>
8541
8542 * vc/diff.el (diff-latest-backup-file): Autoload.
8543
8544 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8545
8546 * calc/calc.el: Remove redundant autoload shape check.
8547 (sel-mode): Don't defvar.
8548 (calc-get-stack-element): Add `sel-mode' arg instead.
8549 (calc-top, calc-top-list): Pass it this additional argument.
8550 * calc/calc-store.el (calc-store-map):
8551 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
8552 (calc-map-equation, calc-outer-product, calc-inner-product):
8553 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
8554
8555 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
8556
8557 2012-09-19 Juri Linkov <juri@jurta.org>
8558
8559 * dired-aux.el (dired-diff): Add (require 'diff) because
8560 `diff-latest-backup-file' is not autoloaded.
8561 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
8562 of `dired-get-filename' to t to not report error when there is
8563 no default file on the current line.
8564
8565 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
8568 macroexp--eval-if-compile.
8569 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
8570 (macroexp--expand-all): Use them (bug#12371).
8571
8572 * doc-view.el (doc-view-guess-paper-size)
8573 (doc-view-scale-bounding-box): Fix unbound `caddr'.
8574
8575 2012-09-19 Tassilo Horn <tsdh@gnu.org>
8576
8577 New feature: set optimal slice from BoundingBox information.
8578 * doc-view.el (doc-view-mode-map): Add keybinding.
8579 (doc-view-menu): Add menu entry.
8580 (doc-view-set-slice): Adapt docstring.
8581 (doc-view-get-bounding-box, doc-view-guess-paper-size)
8582 (doc-view-scale-bounding-box)
8583 (doc-view-set-slice-from-bounding-box): New functions.
8584 (doc-view-paper-sizes): New defvar.
8585
8586 2012-09-19 Glenn Morris <rgm@gnu.org>
8587
8588 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
8589 (byte-compile-log-warning): Autoload. (Bug#12371)
8590
8591 * calendar/calendar.el (calendar-american-month-header)
8592 (calendar-european-month-header, calendar-iso-month-header)
8593 (calendar-month-header): New options.
8594 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
8595 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
8596
8597 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
8598
8599 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
8600
8601 2012-09-18 Juri Linkov <juri@jurta.org>
8602
8603 * dired-aux.el (dired-diff): Restore original functionality of
8604 getting the default value, but keep new feature of using the
8605 latest existing backup file (`diff-latest-backup-file').
8606
8607 2012-09-18 Juri Linkov <juri@jurta.org>
8608
8609 * dired.el (dired-mark): If the region is active in Transient Mark
8610 mode, mark all files in the active region. Doc fix.
8611 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
8612 Doc fix. (Bug#10624)
8613
8614 2012-09-18 Juri Linkov <juri@jurta.org>
8615
8616 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
8617 attributes for M-n are pulled from the file at point.
8618 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
8619 Suggested by Drew Adams. (Bug#10624)
8620
8621 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
8622
8623 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
8624 whitespace after "end".
8625 (ruby-do-end-to-brace): Collapse block to one line if it fits
8626 within fill-column.
8627
8628 2012-09-18 Martin Rudalics <rudalics@gmx.at>
8629
8630 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
8631 value.
8632 (debug): Don't remove debugger window when debugger is expected
8633 to be back.
8634
8635 2012-09-18 Chong Yidong <cyd@gnu.org>
8636
8637 * custom.el (defface): Doc fix.
8638
8639 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
8640
8641 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
8642
8643 * progmodes/compile.el (compilation-start): Use compilation-always-kill
8644 to initialize query-on-exit; then test that instead (bug#12288).
8645
8646 2012-09-17 Stefan Merten <smerten@oekonux.de>
8647
8648 * textmodes/rst.el: Add support for `testcover'.
8649 (rst-defcustom-testcover, rst-testcover-add-compose)
8650 (rst-testcover-add-1value): New functions.
8651 (rst-portable-mark-active-p): Replace by `use-region-p'.
8652 (rst-update-section, rst-classify-adornment)
8653 (rst-find-title-line): Mark `1value' forms.
8654 (rst-classify-adornment): Remove superfluous form.
8655 (rst-update-section, rst-get-adornments-around)
8656 (rst-adornment-complete-p, rst-get-next-adornment)
8657 (rst-adjust, rst-promote-region)
8658 (rst-display-adornments-hierarchy, rst-straighten-adornments)
8659 (rst-find-pfx-in-region, rst-section-tree-rec)
8660 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
8661 (rst-toc-node, rst-toc, rst-forward-section)
8662 (rst-iterate-leftmost-paragraphs)
8663 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
8664 (rst-bullet-list-region)
8665 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
8666 (rst-compile-find-conf, rst-compile)
8667 (rst-repeat-last-character): Fix style.
8668
8669 2012-09-17 Chong Yidong <cyd@gnu.org>
8670
8671 * comint.el (comint--complete-file-name-data): Don't add a space
8672 if the status is `sole'; that adds a gratuitous space in the
8673 completion-cycling case (Bug#12092).
8674
8675 * pcomplete.el (pcomplete-completions-at-point): Likewise.
8676
8677 2012-09-17 Richard Stallman <rms@gnu.org>
8678
8679 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
8680 only in the mime-shown mode, not in raw mode.
8681 (rmail-mime): Toggle off mime by displaying the message without
8682 mime processing. (Bug#12305)
8683
8684 * mail/rmail.el (rmail-retry-failure):
8685 Turn off mime processing first. (Bug#12037)
8686
8687 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
8688
8689 2012-09-17 Chong Yidong <cyd@gnu.org>
8690
8691 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
8692 (shell-dynamic-complete-functions): Convert to defcustom.
8693 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
8694
8695 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
8696 * comint.el (comint-prompt-read-only):
8697 * custom.el (defcustom):
8698 * hi-lock.el (hi-lock-mode):
8699 * ibuffer.el (ibuffer-formats):
8700 * ielm.el (ielm-prompt-read-only):
8701 * novice.el (disable-command):
8702 * saveplace.el (toggle-save-place):
8703 * speedbar.el (speedbar-supported-extension-expressions):
8704 * startup.el (auto-save-list-file-prefix, init-file-user)
8705 (after-init-hook, inhibit-startup-echo-area-message):
8706 * strokes.el (strokes-help):
8707 * time-stamp.el (time-stamp):
8708 * calendar/calendar.el (calendar, diary-file):
8709 * calendar/diary-lib.el (diary-mail-entries, diary)
8710 (diary-list-entries-hook):
8711 * calendar/holidays.el (holidays, calendar-holidays):
8712 * calendar/lunar.el (lunar-phases):
8713 * calendar/solar.el (sunrise-sunset):
8714 * emulation/edt.el (edt-load-keys):
8715 * emulation/viper.el (viper-mode):
8716 * eshell/em-alias.el (eshell-command-aliases-list):
8717 * eshell/esh-util.el (eshell-convert-numeric-arguments):
8718 * international/ogonek.el (ogonek-information):
8719 * net/tramp-cmds.el (tramp-bug):
8720 * net/quickurl.el (quickurl-reread-hook-postfix):
8721 * play/decipher.el (decipher-font-lock-keywords):
8722 * progmodes/cc-styles.el (c-set-style):
8723 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
8724 * progmodes/inf-lisp.el (inferior-lisp-prompt):
8725 * progmodes/octave-mod.el (octave-mode):
8726 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
8727 * progmodes/verilog-mode.el (verilog-read-defines):
8728 * textmodes/two-column.el (2C-mode): Likewise.
8729
8730 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
8731
8732 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
8733 that holds many addresses.
8734
8735 2012-09-16 Chong Yidong <cyd@gnu.org>
8736
8737 * align.el (align-areas): Call the indication function with
8738 positions instead of markers for arguments (Bug#12343).
8739
8740 * files.el (parse-colon-path): Use split-string (Bug#12351).
8741
8742 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
8743 (display-buffer-function): Mark as obsolete.
8744
8745 * progmodes/compile.el (compilation-parse-errors): Accept list
8746 values similar to font-lock-keywords (Bug#12136).
8747 Suggested by Oleksandr Manzyuk.
8748 (compilation-error-regexp-alist): Doc fix.
8749
8750 2012-09-15 Glenn Morris <rgm@gnu.org>
8751
8752 * version.el (emacs-bzr-version-bzr): New function.
8753 (emacs-bzr-get-version): Add optional EXTERNAL argument.
8754
8755 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8756 checkouts, check the parent dirstate matches the branch.
8757 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
8758 empty string.
8759
8760 * version.el (emacs-bzr-version): Doc fix.
8761 (emacs-bzr-version-dirstate): New function.
8762 (emacs-bzr-get-version): For lightweight checkouts, if the parent
8763 is local try and check that it matches the branch. If not, just
8764 use dirstate information. (Bug#12441)
8765
8766 2012-09-14 Juri Linkov <juri@jurta.org>
8767
8768 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8769 (Bug#12399)
8770
8771 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8772
8773 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8774
8775 * emacs-lisp/edebug.el: Miscellaneous cleanup.
8776 Remove obsolete byte-compiler hack that tried to silence some warnings.
8777 (edebug-submit-bug-report): Remove.
8778 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8779 Remove aliases, use the un-prefixed name instead.
8780 (edebug-pop-to-buffer): Consider other frames.
8781 (edebug-original-read):: Make it more obvious that it's always defined.
8782 (edebug--make-form-data-entry, edebug--form-data-name)
8783 (edebug--form-data-begin, edebug--form-data-end): Rename from the
8784 single-dashed name, and implement with cl-defstruct.
8785 (edebug-set-form-data-entry): Use the standard accessors.
8786 (edebug-make-top-form-data-entry): Use push.
8787 (edebug-no-match): Drop useless `funcall'.
8788 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8789 to functions.
8790 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8791 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8792 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8793 (easy-menu-define, with-custom-print): Remove redundant specs.
8794 (edebug-outside-overriding-local-map)
8795 (edebug-outside-overriding-terminal-local-map): Remove, unused.
8796 (edebug--display): Bind unread-command-events directly to nil rather
8797 than binding it to unread-command-events and later setting it to nil.
8798 (edebug--display): Kill edebug-eval-buffer here...
8799 (edebug--recursive-edit): ...rather than here.
8800 Bind standard-output and standard-input.
8801 (edebug-eval): Check cl-macroexpand-all is fboundp.
8802 (edebug-temp-display-freq-count): Fix last change.
8803
8804 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8805 * subr.el (noreturn, 1value): Add `debug' spec.
8806 * emacs-lisp/advice.el: Require cl-lib.
8807 (ad-copy-tree): Remove, use copy-tree instead.
8808 (ad-dolist): Remove use dolist or cl-dolist instead.
8809 (ad-do-return): Remove, use cl-return instead.
8810 (defadvice): Add `debug' spec.
8811
8812 2012-09-13 Juri Linkov <juri@jurta.org>
8813
8814 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8815 (Bug#12399)
8816
8817 2012-09-13 Glenn Morris <rgm@gnu.org>
8818
8819 * calc/calc.el (math-compose-expr):
8820 * calc/calc-ext.el (math-compose-expr):
8821 * progmodes/cc-defs.el (cl-macroexpand-all):
8822 * progmodes/cc-langs.el (delete-duplicates, mapcan)
8823 (cl-macroexpand-all): Update declarations.
8824
8825 * vc/vc.el: No need to require ediff.
8826 (ediff-load-version-control): Declare.
8827 (ediff-vc-internal): Fix declaration.
8828 (vc-version-ediff): Require ediff.
8829
8830 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8831
8832 Use a more backwards-compatible timer format (Bug#12430).
8833 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8834 being right after USECS, as that better supports old code that
8835 inadvisedly looked directly at the timer vector.
8836
8837 2012-09-13 Kenichi Handa <handa@gnu.org>
8838
8839 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8840 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8841 `coding-priority' property of these language environment.
8842
8843 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
8844
8845 Fix glitches caused by addition of psec to timers (Bug#12430).
8846 * image.el (image-animate-timer):
8847 * time.el (display-time-world-timer):
8848 Use timer--function and timer--args rather than raw access to
8849 timer vector.
8850
8851 2012-09-13 Glenn Morris <rgm@gnu.org>
8852
8853 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8854 If not compiling a file, try using load-file-name.
8855
8856 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8859 Fix last change.
8860 (edebug-update-eval-list): Use `push'.
8861
8862 * emacs-lisp/edebug.el: Use lexical-binding.
8863 Remove the "edebug-" prefix from non-dynamically-scoped variables.
8864 Mark unused args with underscore.
8865 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8866 (edebug-form-data): Use defvar-local.
8867 (edebug-make-before-and-after-form, edebug-make-after-form):
8868 Use backquote.
8869 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8870 Not dynamically scoped any more.
8871 (edebug--enter-trace): Add arguments `function' and `args'.
8872 Rename from edebug-enter-trace.
8873 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
8874 (edebug--update-coverage): Add `after-index' and `value' args.
8875 Rename from edebug-update-coverage.
8876 (edebug-slow-after): Call it accordingly.
8877 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
8878 edebug-recursive-edit.
8879 (edebug--display): Call it accordingly. Add args `value',
8880 `offset-index', and `arg-mode'. Rename from edebug-display.
8881 (edebug-debugger, edebug): Call it accordingly.
8882 (edebug-eval-display-list): Use dolist.
8883
8884 2012-09-12 Juri Linkov <juri@jurta.org>
8885
8886 * info.el (Info-search): Don't check for isearch-mode and
8887 isearch-regexp before let-binding search-spaces-regexp to
8888 Info-search-whitespace-regexp.
8889 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8890 search-whitespace-regexp if isearch-lax-whitespace or
8891 isearch-regexp-lax-whitespace is non-nil.
8892 (Info-mode): Don't set local variable search-whitespace-regexp.
8893 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8894
8895 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8898 (debugger-env-macro): Remove support for unread-command-char.
8899
8900 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8901 the temporary map re-appearing on emulation-mode-map-alists.
8902
8903 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8904 since 22.1.
8905
8906 * ehelp.el (with-electric-help): Accept functions in
8907 electric-help-form-to-execute.
8908 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8909 And replace unread-command-char -> unread-command-events.
8910
8911 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
8912
8913 Sync with Tramp 2.2.6.
8914
8915 * net/tramp.el (tramp-accept-process-output): Don't use
8916 JUST-THIS-ONE in the XEmacs case.
8917
8918 * net/trampver.el: Update release number.
8919
8920 2012-09-12 Martin Rudalics <rudalics@gmx.at>
8921
8922 * emacs-lisp/debug.el (debugger-previous-window-height):
8923 New variable.
8924 (debug): When debugger-jumping-flag is non-nil try to restore
8925 height of debugger window. (Bug#8789)
8926
8927 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8928
8929 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8930 overriding-local-map and pre/post-command-hook here.
8931 (edebug-recursive-edit): Do it here instead (bug#12345).
8932 (edebug-outside-unread-command-char): Remove all uses of
8933 unread-command-char.
8934
8935 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8936 inhibit-debugger is bound instead.
8937
8938 2012-09-11 Bastien Guerry <bzg@gnu.org>
8939
8940 * subr.el (set-temporary-overlay-map): Add a docstring.
8941 (Bug#12346)
8942
8943 2012-09-11 Bastien Guerry <bzg@gnu.org>
8944
8945 * minibuffer.el (completion-table-subvert): Fix docstring.
8946 (Bug#12347)
8947
8948 2012-09-11 Bastien Guerry <bzg@gnu.org>
8949
8950 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
8951
8952 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
8953
8954 * progmodes/sql.el: Version 3.1
8955 (sql-db2-escape-newlines): New variable.
8956 (sql-escape-newlines-filter): Use it.
8957
8958 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8961
8962 2012-09-10 Dan Nicolaescu <dann@gnu.org>
8963
8964 * vc/diff-mode.el (diff-mode-menu):
8965 Bind diff-remove-trailing-whitespace.
8966
8967 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8968
8969 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8970 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8971 (emacs-lisp-byte-code-mode): New functions.
8972 (eval-sexp-add-defvars): Don't skip defvars in column >0.
8973 (eval-defun-2): Remove bogus interactive spec.
8974 (lisp-indent-line): Remove redundant whole-exp code, now done in
8975 indent-according-to-mode.
8976 (save-match-data): Remove redundant indent data.
8977
8978 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8979 Use `declare'.
8980
8981 2012-09-09 Juri Linkov <juri@jurta.org>
8982
8983 * replace.el (replace-regexp-lax-whitespace): New defcustom.
8984 (replace-lax-whitespace, query-replace-regexp)
8985 (query-replace-regexp-eval, replace-regexp): Doc fix.
8986 (perform-replace, replace-highlight): Let-bind
8987 isearch-lax-whitespace to replace-lax-whitespace and
8988 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8989
8990 * isearch.el (isearch-query-replace): Let-bind
8991 replace-lax-whitespace to isearch-lax-whitespace and
8992 replace-regexp-lax-whitespace to
8993 isearch-regexp-lax-whitespace. (Bug#10885)
8994
8995 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8998
8999 2012-09-09 Alan Mackenzie <acm@muc.de>
9000
9001 * progmodes/cc-engine.el (c-state-cache-init):
9002 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
9003 (c-record-parse-state-state):
9004 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
9005
9006 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
9007
9008 * register.el (register-separator): Rename from
9009 separator-register. All uses changed. Doc fix.
9010 (register): Fix version.
9011
9012 2012-09-09 Chong Yidong <cyd@gnu.org>
9013
9014 * replace.el (query-replace-map): Bind four new symbols for
9015 requesting window scrolling.
9016
9017 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
9018 query-replace-map (Bug#8948).
9019
9020 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
9021
9022 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
9023 since they are now in query-replace-map.
9024
9025 * window.el (scroll-other-window-down): Make the arg optional.
9026
9027 2012-09-09 Chong Yidong <cyd@gnu.org>
9028
9029 * files.el (hack-local-variables-confirm): Use quit-window to kill
9030 the *Local Variables* buffer.
9031
9032 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9033
9034 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
9035 not just expect to be at its beginning. Adjust callees.
9036 Succeed when do-end block has no space before the pipe character.
9037 (ruby-brace-to-do-end): When the original block is one-liner,
9038 convert to multiline. Reindent the result.
9039
9040 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
9041
9042 * register.el (register): New group.
9043 (separator-register): New user option.
9044 (increment-register): Route it to `append-to-register', if
9045 register contains text. Implication is that `C-x r +' can now be
9046 used for appending to a text register (bug#12217).
9047 (append-to-register, prepend-to-register): Add separator based on
9048 `separator-register'.
9049
9050 2012-09-08 Alan Mackenzie <acm@muc.de>
9051
9052 AWK Mode: make auto-newline work when there's "==" in the pattern.
9053 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
9054 correctly.
9055 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
9056 Test more rigorously for "=" token.
9057
9058 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
9059
9060 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
9061 Only fail when reached LIMIT.
9062
9063 2012-09-08 Chong Yidong <cyd@gnu.org>
9064
9065 * dired.el (dired-mode-map): Don't bind M-=.
9066
9067 * dired-aux.el (dired-diff): Use backup file as default.
9068
9069 2012-09-08 Drew Adams <drew.adams@oracle.com>
9070
9071 * subr.el (add-to-history): Fix delete usage (Bug#12314).
9072
9073 2012-09-08 Chong Yidong <cyd@gnu.org>
9074
9075 * subr.el (syntax-after, syntax-class): Doc fix.
9076
9077 2012-09-08 Martin Rudalics <rudalics@gmx.at>
9078
9079 * window.el (display-buffer-in-previous-window): New buffer
9080 display action function.
9081
9082 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
9083 (debugger-previous-window): New variable.
9084 (debug): Rewrite using display-buffer-in-previous-window,
9085 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
9086
9087 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
9090
9091 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
9092
9093 * progmodes/python.el (python-shell-send-string):
9094 When default-directory is remote, create temp file on remote
9095 filesystem.
9096 (python-shell-send-file): When file is remote, pass local view of
9097 file paths to remote Python interpreter. (Bug#12340)
9098
9099 2012-09-07 Chong Yidong <cyd@gnu.org>
9100
9101 * window.el (switch-to-buffer): Doc fix (Bug#12181).
9102
9103 * files.el (after-find-file): Don't fail on a read-only buffer if
9104 require-final-newline is `visit' or `visit-save' (Bug#11156).
9105
9106 * subr.el (read-char-choice): Allow quitting via ESC ESC.
9107
9108 * userlock.el (ask-user-about-supersession-threat):
9109 Use read-char-choice (Bug#12093).
9110
9111 2012-09-07 Chong Yidong <cyd@gnu.org>
9112
9113 * subr.el (buffer-narrowed-p): New function.
9114
9115 * ses.el (ses-widen):
9116 * simple.el (count-words--buffer-message):
9117 * net/browse-url.el (browse-url-of-buffer): Use it.
9118
9119 * simple.el (count-words-region): Don't signal an error if there
9120 is a non-nil prefix arg and the mark is not set.
9121
9122 * help.el (describe-key-briefly): Allow the message to be seen
9123 when invoked from the minibuffer (Bug#7014).
9124
9125 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9126
9127 * progmodes/ruby-mode.el (ruby-end-of-defun)
9128 (ruby-beginning-of-defun): Simplify, allow indentation before
9129 block beginning and end keywords.
9130 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
9131 (ruby-end-of-defun): Expect that the point is at the beginning of
9132 the defun.
9133
9134 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9135
9136 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
9137 (bug#12367).
9138 (cl--make-usage-args): Strip _ from argument names.
9139
9140 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9141
9142 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
9143 obsolete alias speedbar-key-map.
9144 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
9145 (vhdl-index-menu-init): Don't use obsolete variable
9146 font-lock-maximum-size.
9147
9148 2012-09-06 Chong Yidong <cyd@gnu.org>
9149
9150 * frame.el (window-system-version): Mark as obsolete.
9151
9152 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
9153 of obsolete variable speedbar-key-map.
9154
9155 2012-09-06 Juri Linkov <juri@jurta.org>
9156
9157 * replace.el (replace-lax-whitespace): New defcustom.
9158 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9159 (replace-string, replace-regexp): Mention it in docstrings.
9160 (perform-replace, replace-highlight): Let-bind
9161 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
9162 to the values of replace-lax-whitespace and regexp-flag.
9163 Don't let-bind search-whitespace-regexp. (Bug#10885)
9164
9165 * isearch.el (isearch-query-replace): Let-bind
9166 replace-lax-whitespace instead of let-binding
9167 replace-search-function and replace-re-search-function.
9168 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
9169 and isearch-regexp-lax-whitespace to lazy-highlight variables.
9170 (isearch-toggle-symbol): Set isearch-regexp to nil
9171 in isearch-word mode (like in isearch-toggle-word).
9172
9173 2012-09-06 Juri Linkov <juri@jurta.org>
9174
9175 * replace.el (replace-search-function)
9176 (replace-re-search-function): Set default values to nil.
9177 (perform-replace): Let-bind isearch-related variables based on
9178 replace-related values, call `isearch-search-fun' and let-bind
9179 the result to `search-function'. Remove code that sets
9180 `search-function' and `search-string' separately for
9181 `delimited-flag'.
9182 (replace-highlight): Add new argument `delimited-flag' and
9183 rename other arguments to the names used in `perform-replace'.
9184 Let-bind `isearch-word' to the argument `delimited-flag'.
9185 (Bug#10885, bug#10887)
9186
9187 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
9188
9189 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
9190 ruby-beginning-of-indent, simplify, allow all keywords to have
9191 indentation before them.
9192 (ruby-beginning-of-indent): Adjust for above. Search until the
9193 found point is not inside a string or comment.
9194 (ruby-font-lock-keywords): Allow symbols to start with "@"
9195 character, give them higher priority than variables.
9196 (ruby-syntax-propertize-function)
9197 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
9198 matchers. Expression expansions are not comments when inside a
9199 string, and there comment syntax status is irrelevant.
9200 (ruby-match-expression-expansion): New function. Check that
9201 expression expansion is inside a string, and it's not escaped.
9202 (ruby-font-lock-keywords): Use it.
9203
9204 2012-09-05 Martin Rudalics <rudalics@gmx.at>
9205
9206 * help.el (temp-buffer-max-height): New default value.
9207 (temp-buffer-resize-frames): New option.
9208 (resize-temp-buffer-window): Optionally resize frame.
9209
9210 * window.el (fit-frame-to-buffer-bottom-margin): New option.
9211 (fit-frame-to-buffer): New function.
9212
9213 2012-09-05 Glenn Morris <rgm@gnu.org>
9214
9215 * emulation/cua-rect.el (cua--init-rectangles):
9216 * textmodes/picture.el (picture-mode-map):
9217 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
9218 like forward-char and backward-char. (Bug#12317)
9219
9220 2012-09-05 Leo Liu <sdl.web@gmail.com>
9221
9222 * progmodes/flymake.el (flymake-warning-re): New variable.
9223 (flymake-parse-line): Use it.
9224
9225 2012-09-05 Glenn Morris <rgm@gnu.org>
9226
9227 * calendar/holidays.el (holiday-christian-holidays):
9228 Rename an entry. (Bug#12289)
9229
9230 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9231
9232 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
9233 (bug#12222).
9234
9235 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * loadup.el: Load macroexp. Remove hack.
9238 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
9239 (macroexp--expand-all): Use it to get better warnings.
9240 (macroexp--backtrace, macroexp--trim-backtrace-frame)
9241 (internal-macroexpand-for-load): New functions.
9242 (macroexp--pending-eager-loads): New var.
9243 (emacs-startup-hook): New hack to replace one in loadup.el.
9244 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
9245 (cl--compiler-macro-cXXr): Move to top, before they can be used.
9246 (cl-psetf): Simplify.
9247 (cl-defstruct): Add indent rule.
9248
9249 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
9250
9251 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
9252 over `user-mail-address' for the SMTP MAIL FROM envelope.
9253 (smtpmail-via-smtp): Ditto.
9254
9255 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
9256
9257 * progmodes/ruby-mode.el: Clean up keybindings.
9258 (ruby-mode-map): Don't bind ruby-electric-brace,
9259 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
9260 backward-kill-word, reindent-then-newline-and-indent.
9261 (ruby-mark-defun): Remove.
9262 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
9263 (ruby-mode): Set local beginning-of-defun-function and
9264 end-of-defun-function values.
9265
9266 2012-09-03 Martin Rudalics <rudalics@gmx.at>
9267
9268 * window.el (temp-buffer-window-setup-hook)
9269 (temp-buffer-window-show-hook): New hooks.
9270 (temp-buffer-window-setup, temp-buffer-window-show)
9271 (with-temp-buffer-window): New functions.
9272 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
9273 (special-display-popup-frame): Make sure the window used shows BUFFER.
9274
9275 * help.el (temp-buffer-resize-mode): Fix doc-string.
9276 (resize-temp-buffer-window): New optional argument WINDOW.
9277
9278 * files.el (recover-file, save-buffers-kill-emacs):
9279 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
9280
9281 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
9282
9283 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
9284 remote definition of `default-directory', ensure we can connect.
9285
9286 2012-09-02 Juri Linkov <juri@jurta.org>
9287
9288 Toggle whitespace matching mode with M-s SPC.
9289 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
9290
9291 * isearch.el (search-whitespace-regexp): Doc fix.
9292 Remove cons cell customization.
9293 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
9294 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
9295 New variables.
9296 (isearch-forward, isearch-forward-regexp): Doc fix.
9297 (isearch-toggle-lax-whitespace): New command.
9298 (search-forward-lax-whitespace, search-backward-lax-whitespace)
9299 (re-search-forward-lax-whitespace)
9300 (re-search-backward-lax-whitespace): New functions.
9301 (isearch-whitespace-regexp): Remove function.
9302 (isearch-query-replace): Let-bind replace-search-function and
9303 replace-re-search-function.
9304 (isearch-occur): Let-bind search-spaces-regexp according to the
9305 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
9306 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
9307 condition for C-q SPC.
9308 (isearch-search-fun-default): Use new functions mentioned above.
9309 (isearch-search-forward, isearch-search-backward): Remove functions.
9310 (isearch-search): Don't let-bind search-spaces-regexp.
9311 (isearch-lazy-highlight-space-regexp): Remove variable.
9312 (isearch-lazy-highlight-lax-whitespace)
9313 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
9314 (isearch-lazy-highlight-new-loop): Use them.
9315 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
9316
9317 2012-09-02 Chong Yidong <cyd@gnu.org>
9318
9319 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
9320
9321 2012-09-02 Glenn Morris <rgm@gnu.org>
9322
9323 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
9324
9325 2012-09-01 Glenn Morris <rgm@gnu.org>
9326
9327 * term.el: Tidy up menu definitions.
9328 (term-mode-map): Use easymenu for In/Out, Complete menus.
9329 (term-pager-break-map): Initialize in the defvar.
9330 (term-terminal-menu, term-signals-menu): Define with easymenu.
9331 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
9332 (term-pager-menu): New, extracted from term-process-pager.
9333 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
9334 (term-update-mode-line): Propertize line/char and page items.
9335 (term-process-pager): Move keymap initialization elsewhere.
9336
9337 2012-09-01 Martin Rudalics <rudalics@gmx.at>
9338
9339 * window.el (switch-to-prev-buffer): Handle additional values of
9340 BURY-OR-KILL argument. Don't switch in minibuffer window.
9341 (switch-to-next-buffer): Don't switch in minibuffer window.
9342 (quit-restore-window): New function based on quit-window.
9343 Handle additional values of former KILL argument.
9344 (quit-window): Call quit-restore-window with appropriate
9345 interpretation of KILL argument.
9346 (display-buffer-below-selected): New buffer display action
9347 function.
9348
9349 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * minibuffer.el (completion-at-point-functions): Complete docstring
9352 (bug#12254).
9353
9354 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
9355
9356 Better seed support for (random).
9357 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
9358 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
9359 * play/mpuz.el, play/tetris.el, play/zone.el:
9360 * calc/calc-comb.el (math-init-random-base):
9361 * play/blackbox.el (bb-init-board):
9362 * play/life.el (life):
9363 * server.el (server-use-tcp):
9364 * type-break.el (type-break):
9365 Remove unnecessary call to (random t).
9366 * net/sasl.el (sasl-unique-id-function):
9367 Change (random t) to (random), now that the latter is more random.
9368 * play/life.el (life-initialized): Remove no-longer-needed var.
9369
9370 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
9371
9372 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9373 Consider frame's buffer predicate when choosing the buffer.
9374 (Bug#12081)
9375
9376 2012-08-30 Richard Stallman <rms@gnu.org>
9377
9378 * simple.el (special-mode-map): Delete binding for `z'.
9379
9380 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
9381
9382 * progmodes/compile.el (compilation-always-kill): Doc fix.
9383
9384 2012-08-30 Chong Yidong <cyd@gnu.org>
9385
9386 * window.el (display-buffer-reuse-frames): Make the obsolescence
9387 message more informative.
9388
9389 2012-08-30 Glenn Morris <rgm@gnu.org>
9390
9391 * paren.el (show-paren-delay):
9392 Add a :set function. Doc fix. (Bug#12297)
9393
9394 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
9395
9396 * progmodes/compile.el (compilation-always-kill): New var.
9397 (compilation-start): Use it.
9398
9399 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9400
9401 * simple.el (read-only-mode): Move from files.el for bootstrapping.
9402 * files.el (read-only-mode): Move to simple.el.
9403
9404 * files.el (read-only-mode): New minor mode.
9405 (toggle-read-only): Use it and mark obsolete.
9406 (find-file--read-only):
9407 * vc/vc.el (vc-next-action, vc-checkout):
9408 * vc/vc-cvs.el (vc-cvs-checkout):
9409 * obsolete/vc-mcvs.el (vc-mcvs-update):
9410 * ffap.el (ffap--toggle-read-only): Update callers.
9411
9412 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
9413
9414 * eshell/esh-ext.el (eshell-external-command): Do not examine
9415 remote shell scripts.
9416 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
9417
9418 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
9419 "/usr/local/sbin".
9420
9421 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9422
9423 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
9424
9425 2012-08-28 Leo Liu <sdl.web@gmail.com>
9426
9427 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
9428 completion-at-point. (Bug#12220)
9429
9430 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
9431
9432 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
9433
9434 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
9437 be buffer-local; add delete-trailing-whitespace (bug#12259).
9438
9439 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
9440
9441 * progmodes/hideif.el (hif-compress-define-list):
9442 Fix typo. (Bug#11951)
9443
9444 2012-08-28 Dan Nicolaescu <dann@gnu.org>
9445
9446 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
9447 buffer local setting.
9448
9449 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
9450 rcirc-encode-coding-system.
9451
9452 2012-08-28 Leo Liu <sdl.web@gmail.com>
9453
9454 * net/rcirc.el (rcirc-split-message): New function.
9455 (rcirc-send-message): Use it. (Bug#12051)
9456
9457 2012-08-28 Juri Linkov <juri@jurta.org>
9458
9459 * info.el (Info-fontify-node): Hide empty lines at the end of
9460 the node. (Bug#12272)
9461
9462 2012-08-27 Drew Adams <drew.adams@oracle.com>
9463
9464 * dired.el (dired-pop-to-buffer): Make window start at beginning
9465 of buffer (Bug#12281).
9466
9467 2012-08-26 Chong Yidong <cyd@gnu.org>
9468
9469 * window.el (special-display-regexps, special-display-frame-alist)
9470 (special-display-buffer-names, special-display-function)
9471 (display-buffer-reuse-frames): Mark as obsolete.
9472
9473 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
9474
9475 * help.el (help-print-return-message): Don't treat
9476 display-buffer-reuse-frames specially.
9477
9478 2012-08-26 Chong Yidong <cyd@gnu.org>
9479
9480 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
9481 New variable, replacing gdb-frame-parameters.
9482 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
9483 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
9484 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
9485 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
9486 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
9487 the functions directly with gdb-display-buffer-other-frame-action.
9488 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
9489 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
9490 (gdb-display-stack-buffer, gdb-display-locals-buffer)
9491 (gdb-display-registers-buffer): Define directly.
9492 (def-gdb-display-buffer): Macro deleted.
9493 (gdb-display-buffer): Remove second and third args, callers don't
9494 use them. Defer to the default display-buffer behavior, apart
9495 from making windows dedicated.
9496 (gdb-setup-windows): Don't call display-buffer unnecessarily.
9497
9498 * progmodes/gud.el (gud-display-line): Just use display-buffer.
9499
9500 * window.el (display-buffer-pop-up-frame): Handle a
9501 pop-up-frame-parameters alist entry.
9502 (display-buffer): Document it.
9503
9504 2012-08-26 Chong Yidong <cyd@gnu.org>
9505
9506 * isearch.el (search-whitespace-regexp): Make string and nil
9507 values apply to both ordinary and regexp search. Allow a cons
9508 cell value to distinguish between the two.
9509 (isearch-whitespace-regexp, isearch-search-forward)
9510 (isearch-search-backward): New functions.
9511 (isearch-occur, isearch-search-fun-default, isearch-search)
9512 (isearch-lazy-highlight-new-loop): Use them.
9513 (isearch-forward, isearch-forward-regexp): Doc fix.
9514
9515 2012-08-26 Chong Yidong <cyd@gnu.org>
9516
9517 * faces.el (help-argument-name): Always inherit from italic
9518 (Bug#12213).
9519
9520 2012-08-25 Martin Rudalics <rudalics@gmx.at>
9521
9522 * window.el (window--even-window-heights): Even heights when
9523 WINDOW and the selected window form a vertical combination.
9524 (display-buffer-use-some-window): Provide that window used gets
9525 sized back by quit-window. (Bug#11880) and (Bug#12091)
9526
9527 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
9528
9529 Fix file time stamp problem with bzr and CVS (Bug#12001).
9530 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
9531 in the file's time stamp, since the version control system loses
9532 that information.
9533
9534 2012-08-22 Juri Linkov <juri@jurta.org>
9535
9536 * info.el (Info-fontify-node): Hide the suffix of the
9537 Info file name in the header line. (Bug#12187)
9538
9539 2012-08-22 Glenn Morris <rgm@gnu.org>
9540
9541 * calendar/cal-tex.el (cal-tex-weekly-common):
9542 Restore leading blank page.
9543
9544 2012-08-22 Le Wang <l26wang@gmail.com>
9545
9546 * misc.el (forward-to-word, backward-to-word): Activate or extend
9547 the region under `shift-select-mode'. (Bug#12231)
9548
9549 2012-08-22 Bastien Guerry <bzg@gnu.org>
9550
9551 * progmodes/executable.el (executable-prefix): Set to "#!" instead
9552 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
9553 gives details on why the space is never needed.
9554
9555 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9556
9557 * window.el (walk-window-tree, window-with-parameter):
9558 New optional argument MINIBUF to control whether these functions
9559 should run on the minibuffer window.
9560 (window-at-side-list): Don't operate on minibuffer window.
9561 (window-in-direction): Simplify and rewrite doc-string.
9562 (window--size-ignore): Rename to window--size-ignore-p.
9563 Update callers.
9564 (display-buffer-in-atom-window, window--major-non-side-window)
9565 (window--major-side-window, display-buffer-in-major-side-window)
9566 (delete-side-window, display-buffer-in-side-window):
9567 New functions.
9568 (window--side-check, window-deletable-p, delete-window)
9569 (delete-other-windows, split-window): Handle side windows and
9570 atomic windows appropriately.
9571 (window--display-buffer): Call display-buffer-record-window also
9572 when the window buffer did not change.
9573
9574 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
9575
9576 * help-fns.el (help-fns--key-bindings):
9577 Abbreviate non-symbol remap targets. (Bug#12174)
9578
9579 2012-08-22 Martin Rudalics <rudalics@gmx.at>
9580
9581 * dired.el (dired-mark-remembered): Don't clobber point.
9582 (Bug#11795)
9583
9584 2012-08-22 Glenn Morris <rgm@gnu.org>
9585
9586 * progmodes/bug-reference.el (bug-reference): New custom group.
9587 (bug-reference-bug-regexp): Make it a defcustom.
9588
9589 2012-08-22 Daiki Ueno <ueno@unixuser.org>
9590
9591 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
9592 (js-paren-indent-offset, js-square-indent-offset)
9593 (js-curly-indent-offset): Add :safe (Bug#12257).
9594
9595 2012-08-22 Edward O'Connor <hober0@gmail.com>
9596
9597 * json.el (json-key-format): Add error properties.
9598 (json-encode-key): New function.
9599 (json-encode-hash-table, json-encode-alist, json-encode-plist):
9600 Use json-encode-key.
9601
9602 2012-08-22 Glenn Morris <rgm@gnu.org>
9603
9604 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
9605 (cal-tex-leftday, cal-tex-rightday): Remove functions.
9606 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
9607 Update for above change.
9608
9609 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
9610
9611 * cus-face.el (custom-face-attributes): Fix customize type for the
9612 :underline attribute. (Bug#11805)
9613
9614 2012-08-21 Martin Rudalics <rudalics@gmx.at>
9615
9616 * window.el (window-point-1, set-window-point-1): Remove.
9617 (window-in-direction, record-window-buffer)
9618 (set-window-buffer-start-and-point, split-window-below)
9619 (window--state-get-1, display-buffer-record-window):
9620 Replace calls to window-point-1 and set-window-point-1 by calls to
9621 window-point and set-window-point respectively.
9622
9623 2012-08-21 Glenn Morris <rgm@gnu.org>
9624
9625 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
9626 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
9627 Use it.
9628
9629 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
9630 (cal-tex-shortday): New function.
9631 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
9632 (cal-tex-cursor-filofax-daily): Use the above.
9633
9634 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
9635 New functions.
9636 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9637 (cal-tex-cursor-filofax-week): Use them.
9638
9639 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
9640 New constants.
9641 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
9642 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
9643
9644 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
9645 (cal-tex-end-document): Don't rely on buffer name.
9646
9647 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
9648 Use cal-tex-vspace.
9649 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
9650 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
9651 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
9652 Use cal-tex-arg.
9653
9654 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
9655 (cal-tex-cursor-week, cal-tex-cursor-week2)
9656 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
9657 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9658 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
9659 (cal-tex-insert-preamble, cal-tex-b-document)
9660 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
9661 Improve cal-tex-cmd usage.
9662
9663 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
9664 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
9665 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
9666 (cal-tex-weekly-paper): New function.
9667 (cal-tex-cursor-week, cal-tex-cursor-week2)
9668 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
9669 (cal-tex-cursor-day): Use it.
9670
9671 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
9672 (cal-tex-cursor-filofax-week): Remove leading blank page.
9673
9674 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9675 Add autoload cookie. For now at least, don't use color, since
9676 no other cal-tex function does.
9677
9678 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
9679 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
9680 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
9681
9682 2012-08-21 Juri Linkov <juri@jurta.org>
9683
9684 * info.el (Info-file-attributes): New variable.
9685 (info-insert-file-contents): Add file attributes to
9686 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
9687 `Info-toc-nodes' when previous modtime of the Info file is less
9688 than new modtime.
9689 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
9690 of info.el. (Bug#12230)
9691
9692 2012-08-20 Glenn Morris <rgm@gnu.org>
9693
9694 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
9695 * calendar/holidays.el (calendar-holiday-list):
9696 Report errors with display-warning rather than beep'n'sleep.
9697
9698 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
9699
9700 * net/tramp.el (tramp-accept-process-output): Accept only output
9701 from PROC. Otherwise, process filters and sentinels might be
9702 confused. (Bug#12145)
9703
9704 2012-08-20 Chong Yidong <cyd@gnu.org>
9705
9706 * descr-text.el (describe-text-properties-1): Use overlays-in to
9707 report on empty overlays (Bug#3322).
9708
9709 2012-08-20 Glenn Morris <rgm@gnu.org>
9710
9711 * mail/rmailout.el (rmail-output-read-file-name):
9712 Trap and report errors in rmail-output-file-alist elements.
9713
9714 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
9715 since most non-font-lock faces are not also variables).
9716
9717 2012-08-20 Edward Reingold <reingold@iit.edu>
9718
9719 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
9720 New function. (Bug12160)
9721
9722 2012-08-19 Glenn Morris <rgm@gnu.org>
9723
9724 * mail/rmailout.el (rmail-output-read-file-name):
9725 Fix previous change (when the alist is nil or does not match).
9726
9727 2012-08-19 Chong Yidong <cyd@gnu.org>
9728
9729 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
9730 (Bug#12228).
9731
9732 2012-08-18 Chong Yidong <cyd@gnu.org>
9733
9734 * simple.el (yank-handled-properties): New defcustom.
9735 (yank-excluded-properties): Add font-lock-face and category.
9736 (yank): Doc fix.
9737
9738 * subr.el (remove-yank-excluded-properties):
9739 Obey yank-handled-properties. The special handling of font-lock-face
9740 and category is now done this way, instead of being hard-coded.
9741 (insert-for-yank-1): Remove font-lock-face handling.
9742 (yank-handle-font-lock-face-property)
9743 (yank-handle-category-property): New function.
9744
9745 2012-08-17 Glenn Morris <rgm@gnu.org>
9746
9747 * mail/rmailout.el (rmail-output-read-file-name):
9748 Check rmail-output-file-alist against the full message body
9749 in the correct rmail buffer. (Bug#12214)
9750
9751 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
9752
9753 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9754 Eliminate superfluous prompt. (Bug#12203)
9755
9756 2012-08-17 Chong Yidong <cyd@gnu.org>
9757
9758 * mouse.el (mouse-appearance-menu): If x-select-font returns a
9759 font spec, set the font directly (Bug#3228).
9760
9761 2012-08-17 Martin Rudalics <rudalics@gmx.at>
9762
9763 * window.el (delete-window): Fix last fix.
9764
9765 2012-08-16 Martin Rudalics <rudalics@gmx.at>
9766
9767 * window.el (window-valid-p): Move to window.c.
9768 (window-child, window-child-count, window-last-child)
9769 (window-normalize-window, window-combined-p)
9770 (window-combinations, window-atom-root, window-min-size)
9771 (window-sizable, window-sizable-p, window-size-fixed-p)
9772 (window-min-delta, window-max-delta, window--resizable)
9773 (window--resizable-p, window-resizable, window-total-size)
9774 (window-full-height-p, window-full-width-p, window-body-size)
9775 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9776 (minimize-window, window-deletable-p, delete-window)
9777 (delete-other-windows, set-window-buffer-start-and-point)
9778 (next-buffer, previous-buffer, split-window, balance-windows-2)
9779 (set-window-text-height, window-buffer-height)
9780 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9781 (truncated-partial-width-window-p): Minor code adjustments.
9782 In doc-strings state whether the argument window has to denote a
9783 live, valid or any window.
9784
9785 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
9786
9787 * progmodes/subword.el (subword-forward-function)
9788 (subword-backward-function, subword-forward-regexp)
9789 (subword-backward-regexp): New variables.
9790 (subword-forward, subword-forward-internal, subword-backward-internal):
9791 Use new variables, eg so that different "word" definitions
9792 can be easily used. (Bug#11411)
9793
9794 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9795
9796 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9797 for composite selectors.
9798 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9799 operation just because we can't find a previous revision.
9800
9801 2012-08-15 Chong Yidong <cyd@gnu.org>
9802
9803 * frame.el (set-frame-font): Accept font objects.
9804
9805 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9806
9807 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9808
9809 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
9810
9811 * man.el (Man-overstrike-face, Man-underline-face)
9812 (Man-reverse-face): Remove variables.
9813 (Man-overstrike, Man-underline, Man-reverse): New faces.
9814 (Man-fontify-manpage): Use them instead of the variables.
9815 (Man-cleanup-manpage): Comment change.
9816 (Man-ansi-color-map): New variable.
9817 (Man-fontify-manpage): Use it.
9818 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9819
9820 Implement ANSI SGR parameters 22-27 (bug#12146).
9821 * ansi-color.el (ansi-colors): Doc fix.
9822 (ansi-color-context, ansi-color-context-region): Doc fix.
9823 (ansi-color--find-face): New function.
9824 (ansi-color-apply, ansi-color-apply-on-region): Use it.
9825 Rename the local variable `face' to `codes' since it is now a list of
9826 ansi codes. Doc fix.
9827 (ansi-color-get-face): Remove.
9828 (ansi-color-parse-sequence): New function, derived from
9829 ansi-color-get-face.
9830 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
9831 codes 22-27.
9832
9833 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
9834
9835 * subr.el (read-passwd): Allow use from a minibuffer.
9836
9837 2012-08-14 Eli Zaretskii <eliz@gnu.org>
9838
9839 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9840 inside comments and strings as identifiers.
9841
9842 * progmodes/gud.el (gud-tooltip-print-command): Quote the
9843 expression to evaluate. This allows to evaluate expressions with
9844 embedded whitespace.
9845 (gud-tooltip-tips): Add a blank before the newline in the
9846 message-box text, for the benefit of message-box emulation on
9847 MS-Windows.
9848
9849 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9850 messages from GDB, pop them up in a tooltip to give feedback to
9851 user.
9852 (gdb-tooltip-print-1): Quote the expression to evaluate.
9853 This allows to evaluate expressions with embedded whitespace.
9854 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9855 if the TTY name is nil or empty (which happens when communicating
9856 with the inferior via pipes, e.g. on MS-Windows).
9857 (gdb-internals): If GDB sends a "&\n" empty debugging message,
9858 don't send that to the GUD buffer.
9859
9860 2012-08-14 Glenn Morris <rgm@gnu.org>
9861
9862 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9863 Optimize away setq-default with no args, as for setq. (Bug#12195)
9864
9865 2012-08-14 Chong Yidong <cyd@gnu.org>
9866
9867 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9868
9869 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9870 (Bug#12085).
9871
9872 2012-08-14 Glenn Morris <rgm@gnu.org>
9873
9874 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9875
9876 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
9877
9878 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9879 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9880 Use cached shell name.
9881
9882 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9883
9884 * progmodes/python.el (python-shell-send-string):
9885 (python-shell-send-setup-code): Do not use `format' with `message'.
9886
9887 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
9888
9889 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9890 (ruby-percent-literal-beg-re): New constant.
9891 (ruby-syntax-general-delimiters-goto-beg): Rename to
9892 `ruby-syntax-enclosing-percent-literal', improve literal type check.
9893 (ruby-syntax-propertize-general-delimiters): Rename to
9894 `ruby-syntax-propertize-percent-literal', it's a shorter and more
9895 popular term. Adjust comments everywhere.
9896 (ruby-syntax-propertize-percent-literal): Only propertize when not
9897 inside a simple string or comment. When the literal is unclosed,
9898 leave the text after it unpropertized.
9899 (ruby-syntax-methods-before-regexp): New constant.
9900 (ruby-syntax-propertize-function): Use it to recognize regexps.
9901 Don't look at the text after regexp, just use the whitelist.
9902
9903 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
9904
9905 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9906 non-nil always load the compiled file if it exists. (Bug#12197)
9907
9908 2012-08-14 Chong Yidong <cyd@gnu.org>
9909
9910 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9911 (hi-lock-set-pattern): When deciding whether to use font lock or
9912 overlays, look at font-lock-mode instead of font-lock-fontified
9913 (Bug#12168).
9914 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9915 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9916
9917 2012-08-14 Daiki Ueno <ueno@unixuser.org>
9918
9919 * subr.el (internal--after-with-selected-window): Fix typo
9920 (Bug#12193).
9921
9922 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
9923
9924 Use `completion-table-dynamic' for completion functions.
9925 * progmodes/python.el
9926 (python-shell-completion--do-completion-at-point)
9927 (python-shell-completion--get-completions):
9928 Remove functions.
9929 (python-shell-completion-complete-at-point): New function.
9930 (python-completion-complete-at-point): Use it.
9931
9932 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
9933
9934 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9935 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9936
9937 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9938
9939 * subr.el (function-get): Refine `autoload' arg so it can also
9940 autoload functions for gv.el (bug#12191).
9941 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9942 autoloads macros.
9943
9944 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9945 Prefer pcase-let over destructuring-bind.
9946 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9947 Also, remove whitespace as we go, rather than after accumulating the
9948 various places.
9949
9950 * subr.el (internal--before-with-selected-window)
9951 (internal--after-with-selected-window): Fix typo seleted->selected.
9952 (with-selected-window): Adjust callers.
9953 Reported by Dmitry Gutov <dgutov@yandex.ru>.
9954
9955 2012-08-13 Bastien Guerry <bzg@gnu.org>
9956
9957 * window.el (special-display-popup-frame): Minor docstring
9958 enhancement. (Bug#12172)
9959
9960 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
9961
9962 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9963 type 1-6.
9964 (tar-header-block-summarize, tar-get-descriptor): Handle pax
9965 extended headers.
9966
9967 * files.el (hack-local-variables-filter): Remove useless eval.
9968
9969 2012-08-13 Martin Rudalics <rudalics@gmx.at>
9970
9971 * subr.el (with-selected-window): Fix last change.
9972
9973 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * subr.el (internal--before-with-seleted-window)
9976 (internal--after-with-seleted-window): New functions.
9977 (with-selected-window): Use them, to replace dependency on
9978 tty-top-frame.
9979
9980 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
9981
9982 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9983 binding for `newline'.
9984 (ruby-move-to-block): When moving backward, stop at block opening,
9985 not indentation.
9986 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9987 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9988 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9989 `ruby-toggle-block'.
9990
9991 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * ibuffer.el (ibuffer-do-toggle-read-only):
9994 * dired.el (dired-toggle-read-only):
9995 * buff-menu.el (Buffer-menu-toggle-read-only):
9996 * bindings.el (mode-line-toggle-read-only):
9997 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9998
9999 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
10000
10001 * descr-text.el (describe-char): Put the overlays over the
10002 "displayed as" character.
10003
10004 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
10005
10006 * calc/calc-units.el (math-default-units-table): Give an
10007 initial value.
10008 (math-put-default-units): Add options to put composite units and
10009 unit systems in the default units table.
10010 (calc-convert-units): Send composite units to
10011 `math-put-default-units' when appropriate.
10012
10013 2012-08-11 Glenn Morris <rgm@gnu.org>
10014
10015 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
10016
10017 * tutorial.el (help-with-tutorial):
10018 * emacs-lisp/copyright.el (copyright-update-directory):
10019 * emacs-lisp/autoload.el (autoload-find-generated-file)
10020 (autoload-find-file): Disable local eval: (for insurance).
10021
10022 * files.el (hack-local-variables-filter): If an eval: form is not
10023 known to be safe, and enable-local-variables is :safe, then ignore
10024 the form totally, as is done for non-eval forms. (Bug#12155)
10025 This is CVE-2012-3479.
10026
10027 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10028
10029 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
10030 (rx-form): Simplify.
10031
10032 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
10033
10034 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
10035 ?, _, and : are symbol constituents, ! is not (but kinda should be).
10036 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
10037 (ruby-syntax-propertize-function): Adjust for changes in
10038 `ruby-syntax-propertize-heredoc'.
10039
10040 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
10041
10042 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
10043 binding (use `M-;' instead).
10044 (ruby-singleton-class-p): New function.
10045 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
10046
10047 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10048
10049 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
10050
10051 2012-08-10 Chong Yidong <cyd@gnu.org>
10052
10053 * progmodes/python.el (python-shell-get-process-name): Don't mess
10054 with same-window-buffer-names.
10055
10056 * eshell/eshell.el (eshell-add-to-window-buffer-names)
10057 (eshell-remove-from-window-buffer-names): Make obsolete.
10058 (eshell-buffer-name, eshell-unload-hook): Don't use them.
10059 (eshell): Just use pop-to-buffer-same-window instead.
10060
10061 2012-08-10 Chong Yidong <cyd@gnu.org>
10062
10063 * bindings.el: Bind M-= back to count-words-region.
10064
10065 * simple.el (count-words-region): Accept a prefix arg for acting
10066 on the entire buffer.
10067 (count-words--buffer-message): New helper function.
10068
10069 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
10070
10071 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
10072 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
10073 (event-start, event-end): Use posn-at-point to return a more
10074 informative posn.
10075 (posnp): New function.
10076 * mouse.el (popup-menu-normalize-position): Use it.
10077
10078 2012-08-10 Masatake YAMATO <yamato@redhat.com>
10079
10080 * mouse.el (popup-menu-normalize-position): New function.
10081 (popup-menu): Use `popup-menu-normalize-position' to normalize
10082 the form for POSITION argument.
10083
10084 * term/x-win.el (x-menu-bar-open):
10085 Use the value returend from (posn-at-point) as position
10086 passed to `popup-menu'.
10087
10088 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10089
10090 * calc/calccomp.el (math-compose-expr): Add extra argument
10091 indicating that parentheses should be put around products in
10092 denominators. Give multiplication precedence over division during
10093 composition.
10094
10095 2012-08-09 Chong Yidong <cyd@gnu.org>
10096
10097 * man.el (Man-switches, Man-sed-command, Man-awk-command)
10098 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
10099 (Man-untabify-command, manual-program): Convert to defcustom
10100 (Bug#10429).
10101
10102 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
10103
10104 * descr-text.el (describe-char): Don't insert extra newlines
10105 (Bug#10127).
10106
10107 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
10108 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
10109
10110 * align.el (align-region): Delete temporary markers (Bug#10047).
10111 Plus some code cleanups.
10112
10113 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10114
10115 * progmodes/python.el (python-pdbtrack-tracked-buffer)
10116 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
10117 (python-shell-internal-last-output): Use make-local-variable
10118 instead of make-variable-buffer-local.
10119
10120 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
10121
10122 * progmodes/python.el: Enhancements to forward-sexp.
10123 (python-nav-forward-sexp): Rename from
10124 python-nav-forward-sexp-function.
10125 (python-nav--forward-sexp, python-nav--backward-sexp):
10126 New functions.
10127
10128 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
10129
10130 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
10131 modes and simplification modes.
10132
10133 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10134
10135 * delsel.el (delete-selection-pre-hook): Don't propagate the
10136 file-supersession signals (bug#12161).
10137
10138 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10139
10140 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
10141 (cl-map-extents): Add compatibility aliases (bug#12135).
10142
10143 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
10144
10145 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
10146 tests by `ignore-error'.
10147 (tramp-find-shell): Open also a new shell, when cache is already
10148 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
10149
10150 2012-08-08 Juri Linkov <juri@jurta.org>
10151
10152 * bookmark.el: Add `defaults' property to the bookmark record.
10153 (bookmark-current-buffer): Doc fix.
10154 (bookmark-make-record): Add `defaults' property with default values
10155 to the bookmark record.
10156 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
10157 with `bookmark-insert-current-bookmark'.
10158 (bookmark-set): Get `defaults' property from the bookmark record
10159 and use it in `read-from-minibuffer'.
10160 (bookmark-insert-current-bookmark): Remove function.
10161
10162 * info.el (Info-bookmark-make-record): Add `defaults' property
10163 with values of canonical Info node name, the current Info file
10164 name and the current Info node name. (Bug#12107)
10165
10166 2012-08-08 Juri Linkov <juri@jurta.org>
10167
10168 * files.el (basic-save-buffer): Use `buffer-name' as the default
10169 of `read-file-name' when buffer is not visiting a file (bug#12128).
10170
10171 2012-08-08 Juri Linkov <juri@jurta.org>
10172
10173 * info.el (Info-isearch-search): Doc fix.
10174 (Info-search): Change search-failed message from "initial node" to
10175 "end of node" (bug#12078).
10176 (Info-isearch-search): Change `isearch-string-state' to
10177 `isearch--state-string'.
10178
10179 2012-08-08 Glenn Morris <rgm@gnu.org>
10180
10181 * language/persian.el: Remove file.
10182 * language/misc-lang.el: Move unique part of persian.el here.
10183 * loadup.el: Remove language/persian.
10184
10185 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
10186
10187 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
10188
10189 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
10190
10191 * progmodes/python.el: Fix defsubst warning.
10192 (python-syntax-context) Rename from python-info-ppss-context.
10193 (python-syntax-context-type): Rename from
10194 python-info-ppss-context-type.
10195 (python-syntax-comment-or-string-p): Rename from
10196 python-info-ppss-comment-or-string-p.
10197
10198 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
10199
10200 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
10201
10202 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
10203
10204 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
10205 a defcustom that is quoted with backquote.
10206
10207 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
10208 Fix handling of interactive spec when the body uses return.
10209 (math-do-arg-check, math-define-function-body): Use backquote forms.
10210 * calc/calc-ext.el (math-defcache): Likewise.
10211 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
10212 * allout.el (allout-new-exposure): Likewise.
10213 * calc/calcalg2.el (math-tracing-integral): Likewise.
10214 * info.el (Info-last-menu-item): Likewise.
10215 * emulation/vip.el (vip-loop): Likewise.
10216 * textmodes/artist.el (artist-funcall): Likewise.
10217 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
10218 Construct menu-item directly.
10219
10220 * progmodes/autoconf.el (font-lock-syntactic-keywords):
10221 Don't declare.
10222
10223 2012-08-07 Chong Yidong <cyd@gnu.org>
10224
10225 * simple.el (deactivate-mark): Preserve text properties when
10226 saving the primary selection (Bug#8384).
10227
10228 2012-08-07 Kevin Ryde <user42@zip.com.au>
10229
10230 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
10231 (woman-parse-numeric-value): On a bad .IP line, issue a warning
10232 and continue processing (Bug#12110).
10233
10234 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10235
10236 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
10237 syntax-propertize-function (bug#10095).
10238
10239 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
10240
10241 * help-fns.el (help-fns--key-bindings, help-fns--signature)
10242 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
10243 describe-function-1.
10244 (describe-function-1): Use them. Move compiler macro after sig.
10245 (help-fns--compiler-macro): Use function-get. Assume we're already in
10246 standard-output. Adjust layout to new call order.
10247
10248 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
10249 re-binding a symbol that has a symbol-macro (bug#12119).
10250
10251 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
10252
10253 * language/persian.el: New file. (Bug#11812)
10254 * loadup.el: Add language/persian.el.
10255
10256 2012-08-06 Chong Yidong <cyd@gnu.org>
10257
10258 * window.el (window--maybe-raise-frame): New function.
10259 (window--display-buffer): Split off from here.
10260 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10261 (display-buffer-pop-up-window, display-buffer-use-some-window):
10262 Obey an inhibit-switch-frame action alist entry.
10263 (display-buffer): Update doc.
10264
10265 * replace.el (occur-after-change-function): Avoid losing focus by
10266 using the inhibit-switch-frame display parameter (Bug#12139).
10267
10268 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
10269
10270 Make internal shell process buffer names start with space.
10271 * progmodes/python.el (python-shell-make-comint): Add optional
10272 argument INTERNAL.
10273 (run-python-internal): Use it.
10274 (python-shell-internal-get-or-create-process): Check for new
10275 internal buffer names.
10276
10277 2012-08-06 Glenn Morris <rgm@gnu.org>
10278
10279 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
10280 Do less getting and setting of environment variables.
10281
10282 2012-08-05 Chong Yidong <cyd@gnu.org>
10283
10284 * proced.el (proced): Add substitution string to docstring to
10285 trigger autoloading of the proced library on C-h f (Bug#1768).
10286
10287 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10288 Don't show defvars which have no second argument (Bug#8638).
10289
10290 * imenu.el (imenu-generic-expression): Move documentation here
10291 from imenu--generic-function.
10292 (imenu--generic-function): Refer to imenu-generic-expression.
10293
10294 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
10295
10296 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
10297 indentation declaration.
10298 (viper-loop): Add indentation declaration (Bug#7025).
10299
10300 2012-08-05 Chong Yidong <cyd@gnu.org>
10301
10302 * help-fns.el (describe-variable): Add hyperlink for
10303 directory-local variables files. Improve buffer-local and
10304 permanent-local reporting; suggested by MON KEY (Bug#6644).
10305
10306 * help-mode.el (help-dir-local-var-def): New button type.
10307
10308 * files.el (kill-buffer-hook): Provide a defvar.
10309
10310 2012-08-05 Glenn Morris <rgm@gnu.org>
10311
10312 * eshell/esh-ext.el (eshell/addpath):
10313 Also update eshell-path-env. (Bug#12013)
10314
10315 2012-08-05 Chong Yidong <cyd@gnu.org>
10316
10317 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
10318
10319 * fringe.el (fringe-styles): Add docstring.
10320 (fringe--check-mode): New function.
10321 (set-fringe-mode, set-fringe-style): Use it.
10322 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
10323
10324 * files.el (set-auto-mode): Fix invalid setq call.
10325
10326 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10327
10328 * isearch.el: Misc simplification; use defstruct.
10329 (isearch-mode-map): Dense maps now work like sparse ones.
10330 (isearch--state): New defstruct.
10331 (isearch-string-state, isearch-message-state, isearch-point-state)
10332 (isearch-success-state, isearch-forward-state)
10333 (isearch-other-end-state, isearch-word-state, isearch-error-state)
10334 (isearch-wrapped-state, isearch-barrier-state)
10335 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
10336 replaced by defstruct's accessors.
10337 (isearch--set-state): Rename from isearch-top-state and change
10338 calling convention.
10339 (isearch-push-state): Use new isearch--get-state.
10340 (isearch-toggle-word): Disable regexp when enabling word.
10341 (isearch-message-prefix): Remove unused arg _c-q-hack.
10342 (isearch-message-suffix): Remove unused arg _ellipsis.
10343
10344 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
10345
10346 * simple.el (list-processes--refresh): For a server use :host or
10347 :local as the address.
10348 (list-processes): Doc fix.
10349
10350 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
10351
10352 * lisp/mpc.el: Support password in host argument.
10353 (mpc--proc-connect): Parse and use new password element.
10354 Set mpc-proc variable instead of returning process.
10355 (mpc-proc): Adjust accordingly.
10356
10357 2012-08-03 Eli Zaretskii <eliz@gnu.org>
10358
10359 * whitespace.el (whitespace-display-mappings): Use Unicode
10360 codepoints, instead of emacs-mule codepoints. See
10361 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
10362 for the details.
10363
10364 * files.el (file-truename): Don't skip symlink-chasing part on
10365 windows-nt. Incorporate the resolution of 8+3 short aliases on
10366 Windows into the loop that recursively chases symlinks.
10367 Compare directory and its parent case-insensitively on MS-Windows and
10368 MS-DOS.
10369
10370 2012-08-03 Chong Yidong <cyd@gnu.org>
10371
10372 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
10373
10374 * sort.el (sort-regexp-fields): Doc fix.
10375
10376 2012-08-03 Tassilo Horn <tsdh@gnu.org>
10377
10378 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
10379 labels regex position point at the expected place.
10380
10381 2012-08-03 MON KEY <monkey@sandpframing.com>
10382
10383 * net/imap.el (imap-interactive-login, imap-authenticate)
10384 (imap-mailbox-lsub, imap-mailbox-list)
10385 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
10386 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
10387 (imap-parse-response): Doc fix.
10388
10389 2012-08-03 João Távora <joaotavora@gmail.com>
10390
10391 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
10392 if sexp scanning does not move point (Bug#5734).
10393
10394 2012-08-02 Tassilo Horn <tsdh@gnu.org>
10395
10396 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
10397 Add listings, minted, and ctable packages.
10398 (reftex-label-alist-builtin): Move listings, minted, and ctable
10399 entries before LaTeX.
10400 (reftex-label-alist): Docfix.
10401
10402 2012-08-02 Bastien Guerry <bzg@gnu.org>
10403
10404 * replace.el (occur): Fix docstring (bug#12122).
10405
10406 2012-08-02 Glenn Morris <rgm@gnu.org>
10407
10408 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
10409
10410 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
10411
10412 Obsolete alias inactivate-current-input-method-function (Bug#10150).
10413 * international/mule-cmds.el: Create
10414 inactivate-current-input-method-function as an obsolete alias for
10415 deactivate-current-input-method-function. See Katsumi Yamaoka in
10416 <http://bugs.gnu.org/10150#46>.
10417
10418 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
10419
10420 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
10421 of nested `if's.
10422
10423 2012-08-01 Glenn Morris <rgm@gnu.org>
10424
10425 * progmodes/autoconf.el (autoconf-definition-regexp):
10426 Add AH_TEMPLATE, adjust submatch numbering.
10427 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
10428 (autoconf-current-defun-function): Update for above change.
10429 (autoconf-current-defun-function): First skip to end of current word.
10430
10431 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
10432
10433 * calendar/cal-html.el (cal-html-insert-agenda-days):
10434 Fix typo. (Bug#12018)
10435
10436 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10437
10438 Shell processes: enhancements to startup and CEDET compatibility.
10439 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
10440 (python-shell-make-comint): accept-process-output at startup.
10441 (run-python-internal): Set inferior-python-mode-hook to nil.
10442 (python-shell-internal-get-or-create-process): call sit-for.
10443 (python-preoutput-result): Add obsolete alias.
10444 (python-shell-internal-send-string): Use it.
10445 (python-shell-send-setup-code): Remove call to
10446 accept-process-output.
10447
10448 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
10449
10450 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
10451 (Bug#12108)
10452
10453 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
10454
10455 * calc-mode.el (calc-basic-simplification-mode): Rename from
10456 `calc-limited-simplification-mode'.
10457 (calc-alg-simplification-mode): New function.
10458 (calc-set-simplify-mode): Adjust message.
10459
10460 * calc.el (calc-set-mode-line): Adjust mode line display for
10461 basic simplification mode.
10462
10463 * calc-help.el (calc-m-prefix-help): Update help message.
10464
10465 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
10466 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
10467
10468 2012-07-31 Bastien Guerry <bzg@gnu.org>
10469
10470 * man.el (man): Fix comment. (bug#12101)
10471
10472 2012-07-31 Martin Rudalics <rudalics@gmx.at>
10473
10474 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
10475 Don't return a non-nil value when no suitable buffer was found.
10476
10477 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
10478
10479 * progmodes/python.el (run-python-internal): Disable font lock for
10480 internal shells.
10481
10482 2012-07-30 Stefan Merten <smerten@oekonux.de>
10483
10484 * textmodes/rst.el: Silence `checkdoc-ispell'.
10485 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10486 (rst-official-version, rst-official-cvs-rev)
10487 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
10488 (rst-mode-map): New key binding.
10489
10490 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
10491
10492 Update .PHONY listings in makefiles.
10493 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
10494 autoloads, update-subdirs, updates, bzr-update, update-authors,
10495 compile-onefile, compile-calc, backup-compiled-files,
10496 compile-after-backup, compile-one-process, mh-autoloads,
10497 bootstrap-clean, distclean, maintainer-clean.
10498
10499 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
10500
10501 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
10502 (calc-set-mode-line): Don't display "AlgSimp ".
10503
10504 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
10505 (calc-lim-simplify-mode): New function.
10506 (calc-set-simplify-mode): Default to 'alg.
10507 (calc-default-simplify-mode): Make algebraic simplifications
10508 the default.
10509
10510 * calc/calc-ext.el (calc-init-extensions): Remove binding for
10511 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
10512
10513 * calc/calc-help.el (calc-m-prefix-help): Change messages to
10514 indicate new simplification modes.
10515
10516 * calc/README: Mention new default simplification mode.
10517
10518 * calc/calc.el (math-normalize-error): New variable.
10519 (math-normalize): Set `math-normalize-error' to t
10520 when there's an error.
10521
10522 * calc/calc-alg.el (math-simplify): Don't simplify when
10523 `math-normalize' returns an error.
10524
10525 2012-07-29 Eli Zaretskii <eliz@gnu.org>
10526
10527 * international/mule-cmds.el (set-locale-environment): Revert last
10528 change, since display-graphic-p returns nil when this function is
10529 called during startup. Instead...
10530
10531 * term/w32console.el (terminal-init-w32console): ...setup the
10532 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
10533
10534 2012-07-29 Juri Linkov <juri@jurta.org>
10535
10536 * simple.el (goto-line): Don't display default line number in the
10537 prompt because it should be displayed by `read-number' (bug#9952).
10538 Add the current line number to the defaults of `goto-line' to
10539 allow its easier modification by users with `M-n' (bug#9201).
10540
10541 * subr.el (read-number): Support multiple default values like in
10542 other minibuffer reading functions. Replace `read' with
10543 `string-to-number' for consistency with `number-to-string'.
10544
10545 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
10546
10547 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
10548 * emulation/viper-init.el (viper-deactivate-input-method-action):
10549 Rename from viper-inactivate-input-method-action.
10550 (viper-deactivate-input-method):
10551 Rename from viper-inactivate-input-method.
10552 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
10553 * international/mule-cmds.el (deactivate-input-method):
10554 Rename from inactivate-input-method.
10555 Also run input-method-deactivate-hook.
10556 (deactivate-current-input-method-function):
10557 Rename from inactivate-current-input-method-function.
10558 (input-method-deactivate-hook): New hook.
10559 (input-method-inactivate-hook): Mark obsolete.
10560 (inactivate-input-method): Mark obsolete.
10561
10562 * international/quail.el (quail-activate):
10563 Also run quail-deactivate-hook.
10564 (quail-deactivate): Rename from quail-inactivate.
10565 * international/robin.el (robin-activate):
10566 Also run robin-deactivate-hook.
10567 (robin-deactivate): Rename from robin-inactivate.
10568
10569 2012-07-29 Chong Yidong <cyd@gnu.org>
10570
10571 * simple.el (indicate-copied-region): New function.
10572 (kill-ring-save): Split off from here.
10573
10574 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
10575 (kill-rectangle): Set deactivate-mark to t on read-only error.
10576
10577 * register.el (copy-to-register, copy-rectangle-to-register):
10578 Deactivate the mark, and use indicate-copied-region (Bug#10056).
10579 (append-to-register, prepend-to-register): Call indicate-copied-region.
10580
10581 2012-07-29 Juri Linkov <juri@jurta.org>
10582
10583 * simple.el (async-shell-command-buffer): New defcustom.
10584 (shell-command): Use it. (Bug#4719)
10585
10586 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10587
10588 * international/mule-cmds.el (set-locale-environment): In a
10589 console session on MS-Windows, set up keyboard and terminal
10590 encoding from the OEM codepage, not the ANSI codepage.
10591 (Bug#12055)
10592
10593 2012-07-28 Chong Yidong <cyd@gnu.org>
10594
10595 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
10596 gdb-get-location.
10597
10598 2012-07-28 Leo Liu <sdl.web@gmail.com>
10599
10600 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
10601 the alist (bug#12029).
10602
10603 2012-07-28 Eli Zaretskii <eliz@gnu.org>
10604
10605 * makefile.w32-in (custom-deps, finder-data, updates, compile)
10606 (compile-always, compile-first)
10607 ($(lisp)/calendar/cal-loaddefs.el)
10608 ($(lisp)/calendar/diary-loaddefs.el)
10609 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10610 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
10611 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
10612 instead of on update-subdirs.
10613 (bootstrap-clean): Delete $(lisp)/subdirs.el.
10614
10615 2012-07-28 Chong Yidong <cyd@gnu.org>
10616
10617 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
10618 directory if vc-deduce-backend returns nil (Bug#7350).
10619
10620 * simple.el (delete-trailing-lines): New option.
10621 (delete-trailing-whitespace): Obey it (Bug#11879).
10622
10623 2012-07-28 David Engster <deng@randomsample.de>
10624
10625 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
10626 Explanation of new 'symbol-qnames feature in doc-strings.
10627 (xml-maybe-do-ns): Return expanded names as plain symbols if
10628 'symbol-qnames was provided in XML-NS argument (Bug#11916).
10629 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
10630
10631 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10632
10633 Consistent completion in inferior python with emacs -nw.
10634 * progmodes/python.el (inferior-python-mode): replace "<tab>"
10635 binding in inferior-python-mode-map with "\t".
10636 (python-shell-completion-complete-at-point)
10637 (python-completion-complete-at-point): Remove interactive spec.
10638
10639 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10640
10641 * calc/calccomp.el (math-compose-expr): Undo previous change.
10642
10643 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
10644
10645 * progmodes/python.el (python-mode-map): Add keybinding for
10646 run-python.
10647 (python-shell-make-comint): Fix pop-to-buffer call.
10648 (run-python): Autoload. New arg SHOW.
10649 (python-shell-get-or-create-process): Do not pop python process
10650 buffer.
10651
10652 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
10653
10654 * notifications.el (notifications-on-action-signal)
10655 (notifications-on-closed-signal): Use also the bus address for the map.
10656 (notifications-notify, notifications-close-notification)
10657 (notifications-get-capabilities): Add optional argument BUS.
10658
10659 2012-07-27 Tassilo Horn <tsdh@gnu.org>
10660
10661 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
10662 Add support for the lstlisting and minted environments, and for the
10663 ctable macro.
10664 * textmodes/reftex.el (reftex-compile-variables): Also recognize
10665 labels written in keyvals syntax.
10666
10667 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
10668
10669 * calc/calccomp.el (math-compose-expr): Use parentheses when
10670 there is a product in the denominator of a fraction.
10671
10672 2012-07-26 Eli Zaretskii <eliz@gnu.org>
10673
10674 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
10675 ($(lisp)/calendar/diary-loaddefs.el)
10676 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
10677 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
10678 Fixes failures in parallel bootstrap because subdirs.el is being
10679 rewritten while the autoload files are built at the same time,
10680 which needs to load subdirs.el.
10681
10682 2012-07-26 Martin Rudalics <rudalics@gmx.at>
10683
10684 * mouse.el (popup-menu): Fix doc-string and re-indent code.
10685 (mouse-drag-line): Don't exit tracking when a switch-frame or
10686 switch-window event occurs (Bug#12006).
10687
10688 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10689
10690 * mouse.el (popup-menu): Fix last change.
10691
10692 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 Autoload from Lisp with more care. Follow aliases when looking for
10695 function properties.
10696 * subr.el (autoloadp): New function.
10697 (symbol-file): Use it.
10698 (function-get): New function.
10699 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
10700 autoload-do-load.
10701 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
10702 (lisp-indent-function):
10703 * emacs-lisp/gv.el (gv-get):
10704 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
10705 * emacs-lisp/byte-opt.el (byte-optimize-form):
10706 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
10707 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
10708 Use function-get.
10709 * emacs-lisp/cl.el: Don't propagate function properties any more.
10710
10711 * speedbar.el (speedbar-add-localized-speedbar-support):
10712 * emacs-lisp/disass.el (disassemble-internal):
10713 * desktop.el (desktop-load-file):
10714 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
10715 (describe-function-1):
10716 * emacs-lisp/find-func.el (find-function-noselect):
10717 * emacs-lisp/elp.el (elp-instrument-function):
10718 * emacs-lisp/advice.el (ad-has-proper-definition):
10719 * apropos.el (apropos-safe-documentation, apropos-macrop):
10720 * emacs-lisp/debug.el (debug-on-entry):
10721 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
10722 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
10723 * calc/calc.el (name): Use autoloadp & autoload-do-load.
10724
10725 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
10726
10727 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
10728 function, not an obsolete variable (Bug#12046).
10729
10730 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10731
10732 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
10733
10734 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
10735
10736 * emacs-lisp/pp.el (pp-display-expression): Select old selected
10737 window only if it is still live (Bug#12034).
10738
10739 2012-07-25 Martin Rudalics <rudalics@gmx.at>
10740
10741 * subr.el (redirect-frame-focus): Add advertised calling
10742 convention (Bug#12030).
10743
10744 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
10745
10746 Prefer typical American spelling for "acknowledgment".
10747 * vc/add-log.el (change-log-acknowledgment): Rename from
10748 change-log-acknowledgement, with an alias for the old name.
10749
10750 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
10751
10752 * calc-alg.el (math-simplify-divide): Don't cross multiply
10753 in an equation when the lhs is a variable.
10754
10755 2012-07-24 Julien Danjou <julien@danjou.info>
10756
10757 * net/netrc.el (netrc-find-service-number, netrc-store-data):
10758 Remove, unused.
10759
10760 2012-07-23 Eli Zaretskii <eliz@gnu.org>
10761
10762 * startup.el (command-line): Don't display an empty user name in
10763 the error message about non-existent home directory, when
10764 init-file-user was set to an empty string. See
10765 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10766 for the details and context.
10767
10768 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
10769
10770 * ses.el (ses-cell-formula-aset): New macro.
10771 (ses-cell-references-aset): New macro.
10772 (ses-cell-p): New function.
10773 (ses-rename-cell): Do no longer rely on complex operations like
10774 ses-cell-set-formula or ses-set-cell to change the cell and handle
10775 the undo at the same time, but rather use lower level new macros
10776 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10777 the undo directly. Refresh the mode line.
10778
10779 2012-07-21 Leo Liu <sdl.web@gmail.com>
10780
10781 * progmodes/cc-cmds.el (c-defun-name):
10782 Use match-string-no-properties instead for consistency.
10783
10784 2012-07-20 Leo Liu <sdl.web@gmail.com>
10785
10786 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10787 (Bug#7879)
10788
10789 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10790
10791 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
10792
10793 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10794 * progmodes/bug-reference.el, misearch.el: Provide themselves
10795 (bug#11915).
10796
10797 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10798 of narrowed buffer (bug#11966).
10799
10800 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
10801
10802 * ses.el (ses-rename-cell): Set new name also in reference list of
10803 cells of which the renamed cell depends.
10804
10805 2012-07-20 Masatake YAMATO <yamato@redhat.com>
10806
10807 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10808 to check whether menu-bar is shown or not. If not shown,
10809 show the menu-bar as a popup menu instead of using tmm.
10810 * mouse.el (popup-menu): Accept `point' as `position' argument.
10811
10812 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
10813
10814 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10815 up inside string symbol literal (bug#11923).
10816
10817 2012-07-20 Eli Zaretskii <eliz@gnu.org>
10818
10819 * startup.el (fancy-startup-text): Read the whole tutorial, not
10820 just its first 256 bytes. Prevents gibberish in display of the
10821 tutorial title.
10822
10823 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
10824
10825 Drop idle buffer compaction due to an absence of the
10826 proved efficiency.
10827 * compact.el: Remove.
10828
10829 2012-07-19 Sam Steingold <sds@gnu.org>
10830
10831 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10832 vc-bzr-pull & vc-bzr-merge-branch.
10833 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10834 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10835 for consistency with compilation-error-regexp-alist.
10836 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10837 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10838 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10839 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10840
10841 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * emacs-lisp/chart.el: Use lexical-binding.
10844 (chart-emacs-storage): Don't hardcode the list of entries.
10845
10846 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10847
10848 Next round of tweaks caused by Fgarbage_collect changes.
10849 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10850
10851 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
10852
10853 Compact buffers when idle.
10854 * compact.el: New file.
10855
10856 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
10857
10858 * subr.el (eventp): Presume that if it looks vaguely like an event,
10859 it's an event (bug#10190).
10860
10861 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
10862
10863 Enhancements to ppss related code (thanks Stefan).
10864 * progmodes/python.el (python-indent-context)
10865 (python-indent-calculate-indentation, python-indent-dedent-line)
10866 (python-indent-electric-colon, python-nav-forward-block)
10867 (python-mode-abbrev-table)
10868 (python-info-assignment-continuation-line-p): Simplify checks
10869 for ppss context.
10870 (python-info-continuation-line-p): Cleanup.
10871 (python-info-ppss-context): Do not catch 'quote.
10872 (python-info-ppss-context-type)
10873 (python-info-ppss-comment-or-string-p): Simplify.
10874
10875 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
10876
10877 * progmodes/python.el: Enhancements to eldoc support.
10878 (python-info-current-symbol): New function.
10879 (python-eldoc-at-point): Use python-info-current-symbol.
10880 (python-info-current-defun): Fix cornercase on first defun scan.
10881 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10882 and signal error when no inferior python process is available.
10883
10884 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
10885
10886 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10887 assume it's always t.
10888 (vc-git-registered): Remove caching, the function is only called
10889 once.
10890 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10891
10892 2012-07-18 Chong Yidong <cyd@gnu.org>
10893
10894 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10895
10896 * simple.el (count-words): Report on narrowing (Bug#9959).
10897
10898 * bindings.el: Bind M-= to count-words.
10899
10900 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10901
10902 2012-07-18 Masatake YAMATO <yamato@redhat.com>
10903
10904 * progmodes/sh-script.el (sh-imenu-generic-expression):
10905 Capture a function with `function' keyword and without parentheses
10906 like "function FOO" (bug#11856).
10907
10908 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
10909
10910 * window.el (split-window-sensibly): Make WINDOW argument
10911 optional.
10912
10913 2012-07-18 Chong Yidong <cyd@gnu.org>
10914
10915 * subr.el (keyboard-translate): Doc fix (Bug#7261).
10916
10917 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10918 and make C-x 8 RET exit isearch (Bug#11439).
10919
10920 * international/iso-transl.el: Move isearch-mode-map key
10921 definitions to isearch.el.
10922
10923 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
10924
10925 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10926 (eieio-defclass): Use gv-define-setter when possible.
10927
10928 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
10929
10930 Reflect recent changes in Fgarbage_collect.
10931 * emacs-lisp/chart.el (chart-emacs-storage): Change to
10932 reflect new format of data returned by Fgarbage_collect.
10933
10934 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10935
10936 New utility functions + python-info-ppss-context fix (Bug#11910).
10937 * progmodes/python.el (python-info-beginning-of-block-statement-p)
10938 (python-info-ppss-comment-or-string-p): New functions.
10939 (python-info-ppss-context): Small fix for string check.
10940
10941 2012-07-17 Juri Linkov <juri@jurta.org>
10942
10943 * dired-aux.el (dired-do-async-shell-command): Doc fix.
10944 (dired-do-async-shell-command): Don't add `*' at the end of the
10945 command (Bug#11815).
10946 (dired-do-shell-command): Doc fix.
10947 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10948 Join the individual commands using either "&" or ";" as the
10949 separator depending on the values of these trailing characters.
10950 At the end re-add the trailing "&". (Bug#10598)
10951
10952 * simple.el (async-shell-command): Sync the interactive spec with
10953 `shell-command'. Doc fix.
10954 (shell-command): Doc fix.
10955
10956 2012-07-17 Juri Linkov <juri@jurta.org>
10957
10958 * descr-text.el (describe-char): Fix format args. (Bug#10129)
10959
10960 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10961
10962 Final renames and doc fixes for movement commands (bug#11899).
10963 * progmodes/python.el (python-nav-beginning-of-statement):
10964 Rename from python-nav-statement-start.
10965 (python-nav-end-of-statement): Rename from
10966 python-nav-statement-end.
10967 (python-nav-beginning-of-block): Rename from
10968 python-nav-block-start.
10969 (python-nav-end-of-block): Rename from python-nav-block-end.
10970
10971 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
10972
10973 * progmodes/python.el (python-shell-send-string-no-output):
10974 Allow accept-process-output to quit, keeping shell process ready for
10975 future interactions (Bug#11868).
10976
10977 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10978
10979 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10980
10981 * emacs-lisp/elint.el (elint-find-args-in-code):
10982 Use help-function-arglist, so as to handle lexical byte-code.
10983
10984 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10985 change (bug#11826).
10986
10987 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
10988
10989 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10990 Avoid spuriously marking the buffer as modified because of c-is-sws.
10991
10992 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10993 as not-a-comment (bug#11946).
10994
10995 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10996 for uninterned vars.
10997
10998 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10999 Use read-event since we don't really want to read chars but bytes.
11000
11001 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
11002 $$..$$ but also $..$ using regexps (bug#11953).
11003 Use tex-verbatim for \url and \path.
11004 (tex-font-lock-keywords): Define as defconst like the others.
11005 (tex-common-initialization): Don't use font-lock-syntax-table any more.
11006
11007 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
11008
11009 * international/mule-cmds.el (ucs-insert): Make it an obsolete
11010 alias for insert-char.
11011
11012 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11013
11014 * progmodes/python.el: Simplified imenu implementation.
11015 (python-nav-jump-to-defun): Remove command.
11016 (python-mode-map): Use `imenu' instead.
11017 (python-nav-list-defun-positions-cache)
11018 (python-imenu-include-defun-type, python-imenu-make-tree)
11019 (python-imenu-subtree-root-label, python-imenu-index-alist):
11020 Remove vars.
11021 (python-nav-list-defun-positions, python-nav-read-defun)
11022 (python-imenu-tree-assoc, python-imenu-make-element-tree)
11023 (python-imenu-make-tree, python-imenu-create-index):
11024 Remove functions.
11025 (python-mode): Update to interact with imenu by setting
11026 `imenu-extract-index-name-function' only.
11027
11028 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
11029
11030 * progmodes/python.el: Enhancements to navigation commands.
11031 (python-nav-backward-sentence)
11032 (python-nav-forward-sentence): Remove.
11033 (python-nav-backward-statement, python-nav-forward-statement)
11034 (python-nav-statement-start, python-nav-statement-end)
11035 (python-nav-backward-block, python-nav-forward-block)
11036 (python-nav-block-start, python-nav-block-end)
11037 (python-nav-forward-sexp-function)
11038 (python-info-current-line-comment-p)
11039 (python-info-current-line-empty-p): New functions.
11040 (python-indent-context): Use `python-nav-statement-start'.
11041
11042 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
11043
11044 * eshell/em-ls.el (eshell/ls): Use `apply'.
11045
11046 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
11047 multi-hops, instead of Tramp internals.
11048
11049 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
11050
11051 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
11052 when F1 and F2 are located on different hosts.
11053
11054 2012-07-14 Chong Yidong <cyd@gnu.org>
11055
11056 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
11057 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
11058 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
11059 (xterm-mouse--read-event-sequence-1000)
11060 (xterm-mouse--read-event-sequence-1006): New functions. For old
11061 mouse protocol, handle M-mouse-X events correctly.
11062 (xterm-mouse-event): New arg specifying mouse protocol.
11063 (turn-on-xterm-mouse-tracking-on-terminal)
11064 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
11065 sequence to toggle extended coordinates on newer XTerms.
11066 This appears to be harmless on terminals which do not support this.
11067
11068 2012-07-14 Leo Liu <sdl.web@gmail.com>
11069
11070 Add fringe bitmap indicators for flymake. (Bug#11253)
11071 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
11072 (flymake-make-overlay): New arg BITMAP.
11073 (flymake-error-bitmap, flymake-warning-bitmap)
11074 (flymake-fringe-indicator-position): New user variables.
11075
11076 * fringe.el: New bitmap exclamation-mark.
11077
11078 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
11079
11080 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
11081 also (Bug#7879).
11082
11083 2012-07-14 Chong Yidong <cyd@gnu.org>
11084
11085 * electric.el (electric-pair-post-self-insert-function): Fix pair
11086 insertion in empty-region case (Bug#11520).
11087
11088 2012-07-14 Chong Yidong <cyd@gnu.org>
11089
11090 * bindings.el: Consolidate ctl-x-r-map bindings.
11091 Bind copy-rectangle-as-kill to C-x r w.
11092
11093 * rect.el, register.el: Move bindings to bindings.el.
11094
11095 2012-07-14 Reuben Thomas <rrt@sc3d.org>
11096
11097 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
11098
11099 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
11100
11101 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
11102
11103 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
11104
11105 * bindings.el (top): Use `mapc' instead of `mapcar'.
11106
11107 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
11108
11109 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
11110
11111 * progmodes/sql.el (sql-comint): Suppress the check for program on
11112 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
11113 (Bug#11908)
11114
11115 2012-07-13 Chong Yidong <cyd@gnu.org>
11116
11117 * bindings.el: Assign a non-nil permanent-local property to
11118 per-buffer variables which lack a default value (Bug#11930).
11119
11120 * help-fns.el (describe-variable): In the "automatically becomes
11121 local" notice, take note of permanent-local variables.
11122
11123 2012-07-13 Chong Yidong <cyd@gnu.org>
11124
11125 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
11126 to allow printing the message when called from Lisp.
11127
11128 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11129 Remove toggle-read-only.
11130
11131 * bs.el (bs-toggle-readonly):
11132 * buff-menu.el (Buffer-menu-toggle-read-only):
11133 Remove with-no-warnings around toggle-read-only.
11134
11135 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
11136 Remove with-no-warnings around toggle-read-only.
11137 (ffap-read-only, ffap-read-only-other-window)
11138 (ffap-read-only-other-frame): Callers changed.
11139
11140 * help-mode.el: Don't require view package.
11141 (help-mode-finish): Set buffer-read-only instead of calling
11142 toggle-read-only.
11143
11144 * bindings.el (mode-line-toggle-read-only):
11145 * dired.el (dired-toggle-read-only):
11146 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
11147 with non-nil second arg.
11148
11149 * emacs-lisp/eieio-custom.el (eieio-customize-object):
11150 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
11151 directly.
11152
11153 2012-07-12 Eli Zaretskii <eliz@gnu.org>
11154
11155 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
11156 not incf.
11157
11158 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 More CL cleanups and reduction of use of cl.el.
11161 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
11162 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
11163 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
11164 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
11165 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
11166 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
11167 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
11168 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
11169 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
11170 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
11171 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
11172 * eshell/em-cmpl.el, eshell/em-banner.el:
11173 * calendar/parse-time.el: Use cl-lib.
11174 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
11175 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
11176 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
11177 * term/ns-win.el, term.el, shell.el, ps-samp.el:
11178 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
11179 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
11180 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
11181 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
11182 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
11183 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
11184 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
11185 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
11186 `lambda' rather than with `quote'.
11187 (eshell-do-opt): Adjust accordingly.
11188 (eshell-process-option): Simplify.
11189 * eshell/esh-var.el:
11190 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
11191 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
11192 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
11193 to `pcase--dontcare'.
11194 * emacs-lisp/cl.el (labels): Mark obsolete.
11195 (cl--letf, letf): Move to cl-lib.
11196 (cl--letf*, letf*): Remove.
11197 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
11198 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
11199 (cl-progv): Rewrite.
11200 (cl--letf, cl-letf): Move from cl.el.
11201 (cl-letf*): New macro.
11202 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
11203
11204 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
11205
11206 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
11207
11208 2012-07-11 Chong Yidong <cyd@gnu.org>
11209
11210 * vc/log-edit.el (log-edit-vc-backend): New variable.
11211 (log-edit): Doc fix.
11212
11213 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
11214 argument of log-edit to set up all local variables.
11215 (vc-start-logentry): New optional arg specifying VC backend.
11216
11217 * vc/vc.el (vc-checkin): Use it.
11218 (vc-deduce-fileset): Handle Log Edit buffers.
11219 (vc-diff): Make first argument optional too.
11220
11221 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
11222
11223 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
11224
11225 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
11226 command, just in case. The function is not needed anymore.
11227 (eshell-external-command): Do not call `eshell-remote-command'.
11228
11229 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
11230
11231 Reduce use of (require 'cl).
11232 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
11233 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
11234 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
11235 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
11236 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
11237 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
11238 * battery.el, avoid.el, abbrev.el: Use cl-lib.
11239 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
11240 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
11241 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
11242 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
11243 * calculator.el, autorevert.el, apropos.el: Don't require CL.
11244 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
11245 (byte-compile-unfold-bcf, byte-compile-check-variable):
11246 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
11247 (byte-compile-nilconstp):
11248 * emacs-lisp/autoload.el (make-autoload): Use pcase.
11249 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
11250
11251 * emacs-lisp/gv.el (cond): Make it a valid place.
11252 (if): Simplify slightly.
11253
11254 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
11255 (pcase--self-quoting-p): New function.
11256 (pcase--u1): Use it.
11257
11258 2012-07-10 Glenn Morris <rgm@gnu.org>
11259
11260 * emacs-lisp/authors.el (authors-fixed-entries):
11261 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
11262
11263 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
11264
11265 Rename configure.in to configure.ac (Bug#11603).
11266 * emacs-lisp/authors.el (authors-canonical-file-name):
11267 * progmodes/autoconf.el (autoconf-mode):
11268 Prefer configure.ac to configure.in.
11269
11270 2012-07-08 Chong Yidong <cyd@gnu.org>
11271
11272 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
11273 Implement the mouse-1-click-follows-link handling properly.
11274
11275 * info.el (Info-link-keymap): Use follow-link mechanism for
11276 header-line links (Bug#374).
11277
11278 * simple.el (deactivate-mark): Do not set the primary selection
11279 if another program has acquired it (Bug#11772).
11280
11281 2012-07-07 Kevin Ryde <user42@zip.com.au>
11282
11283 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
11284 (woman-decode-region): Replace escaped-escapes without destroying
11285 bold or underline (Bug#11552).
11286 (woman2-process-escapes): Handle nofill regions (Bug#11591).
11287
11288 2012-07-07 Chong Yidong <cyd@gnu.org>
11289
11290 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
11291 (interprogram-cut-function, interprogram-paste-function):
11292 Mention that we typically mean the clipboard.
11293
11294 2012-07-06 Glenn Morris <rgm@gnu.org>
11295
11296 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
11297
11298 * files.el (toggle-read-only): Restrict message to interactive use.
11299
11300 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
11301
11302 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
11303
11304 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
11305
11306 2012-07-06 Glenn Morris <rgm@gnu.org>
11307
11308 * Makefile.in (compile-one-process): Rename from "recompile".
11309
11310 * Makefile.in (bzr-update): "compile" is the same as "recompile
11311 autoloads", but parallelizable, so use that instead.
11312
11313 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
11314
11315 * window.el (quit-window): Always restore window height when
11316 it's saved in quit-restore parameter (Bug#11810).
11317
11318 2012-07-06 Glenn Morris <rgm@gnu.org>
11319
11320 * simple.el (kill-whole-line): Doc tweak.
11321
11322 2012-07-06 Eli Zaretskii <eliz@gnu.org>
11323
11324 * files.el (file-relative-name): Compare file names
11325 case-insensitively if on MS-Windows or MS-DOS, or if
11326 read-file-name-completion-ignore-case is non-nil. Don't use
11327 case-fold-search for this purpose. (Bug#11827)
11328
11329 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
11330
11331 * calendar/cal-dst.el (calendar-current-time-zone):
11332 Return calendar-current-time-zone-cache if non-nil.
11333
11334 2012-07-17 Masatake YAMATO <yamato@redhat.com>
11335 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
11336
11337 * calendar/cal-dst.el (calendar-current-time-zone):
11338 Return calendar-current-time-zone-cache if non-nil.
11339
11340 2012-07-06 Glenn Morris <rgm@gnu.org>
11341
11342 * Makefile.in (cvs-update): Remove old alias.
11343
11344 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
11345
11346 Sync with Tramp 2.2.6-pre.
11347
11348 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
11349 compatible declaration.
11350
11351 * net/tramp-cmds.el (tramp-append-tramp-buffers):
11352 Protect `list-load-path-shadows' call.
11353
11354 * net/tramp-compat.el (top): Require packages, which aren't
11355 autoloaded anymore for XEmacs. Protect call of
11356 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
11357 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
11358 it hurts at least for SXEmacs.
11359 (tramp-compat-temporary-file-directory): In XEmacs, there is no
11360 standard-value for `temporary-file-directory'.
11361
11362 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
11363 Redirect stderr to /dev/null.
11364 (tramp-sh-handle-write-region): uid and gid can be floats.
11365 Reported by Russell Sim <russell.sim@gmail.com>.
11366 (tramp-sh-handle-vc-registered): Hide errors.
11367 (tramp-vc-file-name-handler): Use dummy results for `process-file'
11368 and `start-file-process'.
11369 (tramp-maybe-open-connection): Check also whether `non-essential'
11370 is bound.
11371
11372 2012-07-04 Chong Yidong <cyd@gnu.org>
11373
11374 * xml.el (xml--parse-buffer): Use xml-syntax-table.
11375 (xml-parse-tag): Likewise, and avoid changing entity tables.
11376 (xml-syntax-table): Define from scratch, making sure not to give
11377 x2000 and other Unicode spaces whitespace syntax, since those are
11378 not spaces in XML.
11379 (xml-parse-fragment): Delete unused function.
11380 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
11381 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
11382 (xml-entity-ref, xml-pe-reference-re)
11383 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
11384 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
11385 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
11386 (xml-entity-value-re): Use syntax references in regexps where
11387 possible; no need to define inside a let-binding.
11388 (xml-parse-dtd): Use xml-pe-reference-re.
11389 (xml-entity-or-char-ref-re): New defconst.
11390 (xml-parse-string, xml-substitute-special): Use it.
11391
11392 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
11393
11394 * files.el (locate-dominating-file): Allow `name' to be a predicate.
11395 (find-file--read-only): New function.
11396 (find-file-read-only, find-file-read-only-other-window)
11397 (find-file-read-only-other-frame): Use it.
11398 (insert-file-contents-literally): Don't `fset'.
11399 (get-free-disk-space): Use locate-dominating-file.
11400
11401 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
11402 function is already compiled.
11403
11404 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
11405
11406 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
11407
11408 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
11409 files on the same host.
11410
11411 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
11412
11413 * help-fns.el (describe-function-1): Only call
11414 help-fns--autoloaded-p when we have a file name. (Bug#11848)
11415
11416 2012-07-03 Chong Yidong <cyd@gnu.org>
11417
11418 * xml.el: Protect parser against XML bombs.
11419 (xml-entity-expansion-limit): New variable.
11420 (xml-parse-string, xml-substitute-special): Use it.
11421 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
11422
11423 2012-07-03 Glenn Morris <rgm@gnu.org>
11424
11425 * progmodes/bug-reference.el (bug-reference-bug-regexp):
11426 Allow linking to specific messages in debbugs reports (eg 123#5).
11427
11428 2012-07-02 Chong Yidong <cyd@gnu.org>
11429
11430 * xml.el: Fix entity and character reference expansion, allowing
11431 them to expand into markup as per XML spec.
11432 (xml-default-ns): New variable.
11433 (xml-entity-alist): Use XML spec definitions for lt and amp.
11434 (xml-parse-region): Make first two arguments optional.
11435 Discard text properties.
11436 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
11437 All callers changed.
11438 (xml-parse-tag): Call xml-parse-tag-1. For backward
11439 compatibility, this function should not modify buffer contents.
11440 (xml-parse-tag-1): Fix opening-tag regexp.
11441 (xml-parse-string): Rewrite, handling entity and character
11442 references properly.
11443 (xml--entity-replacement-text): Signal an error if a parameter
11444 entity is undefined.
11445
11446 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
11447
11448 * comint.el (comint-output-filter): Filter out repeated prompts.
11449
11450 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
11451 and file-name-absolute-p.
11452 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
11453 internal calls.
11454
11455 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
11456
11457 Spelling fixes.
11458 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
11459 Rename from byte-compile--refiy-function. All uses changed.
11460
11461 2012-07-01 Chong Yidong <cyd@gnu.org>
11462
11463 * xml.el (xml--parse-buffer): New function. Move most of
11464 xml-parse-region here.
11465 (xml-parse-region): Copy region into a temporary buffer, since
11466 parameter entity substitution requires changing buffer contents.
11467 Use xml--parse-buffer.
11468 (xml-parse-file): Use xml--parse-buffer.
11469 (xml-parse-dtd): Make parameter entity substitution work right.
11470 Use proper regexps for ELEMENT declarations (Bug#7172).
11471
11472 2012-06-30 Glenn Morris <rgm@gnu.org>
11473
11474 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
11475
11476 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
11477 Remove outdated and unnecessary dbus declarations.
11478
11479 2012-06-30 Eli Zaretskii <eliz@gnu.org>
11480
11481 * emacs-lisp/timer.el (timer-until): Subtract results of
11482 float-time, instead of taking float-time of the result of
11483 time-subtract, since float-time signals an error for negative time
11484 arguments.
11485
11486 2012-06-30 Chong Yidong <cyd@gnu.org>
11487
11488 * xml.el (xml-*-re): Convert defvars into defconsts, and
11489 eval-and-compile them so eval-and-compile works on derivatives.
11490 (xml--entity-replacement-text): Use eval-and-comple.
11491
11492 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
11493
11494 * vc/vc-git.el (vc-git-registered): Use cache property
11495 `git-registered'.
11496 (vc-git-mode-line-string): Call `vc-working-revision' instead of
11497 `vc-git-working-revision' in order to benefit from the cache.
11498 (vc-git-root): Use cache property `git-root'. (Bug#11757)
11499
11500 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
11501
11502 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
11503 removed (likely outside Emacs). (Bug#11757)
11504
11505 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11506
11507 * emacs-lisp/cl-lib.el: Require macroexp.
11508
11509 2012-06-30 Chong Yidong <cyd@gnu.org>
11510
11511 * xml.el: Implement XML parameter entities.
11512 (xml-parameter-entity-alist): New variable.
11513 (xml-parse-region, xml-parse-fragment): Preserve previous values
11514 of xml-entity-alist and xml-parameter-entity-alist, so that
11515 repeated calls on different documents do not change them.
11516 (xml-parse-tag): Fix doctype regexp.
11517 (xml--entity-replacement-text): New function.
11518 (xml-parse-dtd): Use it. Don't handle system entities; doing that
11519 properly requires url retrieval which is unimplemented.
11520 (xml-escape-string): Doc fix.
11521
11522 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
11525
11526 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
11527
11528 * fringe.el (fringe-mode): Doc fix.
11529
11530 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
11531
11532 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
11533 is non-nil.
11534 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
11535 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
11536
11537 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
11538
11539 * calendar/cal-dst.el (calendar-current-time-zone):
11540 Return calendar-current-time-zone-cache if non-nil.
11541
11542 2012-06-29 Masatake YAMATO <yamato@redhat.com>
11543
11544 * progmodes/which-func.el (which-func-format):
11545 Add mouse-face. (Bug#11698)
11546
11547 2012-06-29 Leo Liu <sdl.web@gmail.com>
11548
11549 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
11550
11551 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * minibuffer.el (minibuffer-confirm-exit-commands):
11554 Add completion-at-point (bug#11725).
11555
11556 2012-06-29 Glenn Morris <rgm@gnu.org>
11557
11558 * progmodes/f90.el (f90-font-lock-keywords-2):
11559 Add some preprocessor elements. (Bug#10499)
11560
11561 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
11562
11563 * progmodes/cperl-mode.el (cperl-update-syntaxification):
11564 Use syntax-propertize (bug#11739).
11565
11566 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
11567
11568 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
11569
11570 2012-06-28 Julien Danjou <julien@danjou.info>
11571
11572 * term.el (term-handle-colors-array): Use a set of new faces to
11573 color the terminal. Also uses :inverse-video property.
11574 (term-default-fg-color): Set to nil by default, deprecate in favor
11575 of `term-face'.
11576 (term-default-bg-color): Set to nil by default, deprecate in favor
11577 of `term-face'.
11578 (term-current-face): Use `term-face' by default.
11579 (term-bold-attribute): Variable deleted.
11580
11581 2012-06-28 Glenn Morris <rgm@gnu.org>
11582
11583 * simple.el (completion-list-mode-finish):
11584 Don't use toggle-read-only. (Since completion-list-mode has
11585 a special mode-class, it wasn't doing anything extra anyway.)
11586
11587 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 Make inlining of other-mode interpreted functions work (bug#11799).
11590 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
11591 (byte-compile): Use it to fix compilation of lexical-binding closures.
11592 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
11593 function, if needed.
11594
11595 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 * help-mode.el (help-make-xrefs): Don't just withstand
11598 cyclic-variable-indirection but any error in documentation-property.
11599
11600 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
11601 memory use.
11602 * bindings.el (bindings--define-key): New function.
11603 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
11604 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
11605 * bindings.el: Use it to purecopy define-key bindings.
11606
11607 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
11608
11609 * emacs-lisp/cl.el (flet): Mark obsolete.
11610 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
11611 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
11612 * progmodes/js.el (js-c-fill-paragraph):
11613 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
11614 (ebrowse-switch-member-buffer-to-derived-class):
11615 * play/5x5.el (5x5-solver): Use cl-flet.
11616
11617 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
11618 (cl--symbol-function): New macro.
11619 (cl--letf, cl--letf*): Use it.
11620
11621 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
11622 Strip "toggle-" if any.
11623
11624 2012-06-27 Glenn Morris <rgm@gnu.org>
11625
11626 * info.el (Info-default-directory-list): Move here from paths.el.
11627 * paths.el: Remove file, which is now empty.
11628 * loadup.el: No longer load "paths".
11629
11630 * custom.el (custom-initialize-delay): Doc fix.
11631
11632 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11633 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
11634 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
11635 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
11636 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
11637 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
11638 * eshell/eshell.el (eshell-defgroup): Remove alias.
11639
11640 2012-06-27 Chong Yidong <cyd@gnu.org>
11641
11642 * help.el (help-enable-auto-load): New variable.
11643
11644 * help-fns.el (help-fns--autoloaded-p): New function.
11645 (describe-function-1): Refer to a function as "autoloaded" if it
11646 was autoloaded at any time in the past. Perform autoloading if
11647 help-enable-auto-load is non-nil.
11648
11649 2012-06-26 Eli Zaretskii <eliz@gnu.org>
11650
11651 * makefile.w32-in (compile, compile-always): Depend on
11652 update-subdirs, not on subdirs.el. Otherwise, several different
11653 sub-targets of 'bootstrap' running in parallel could
11654 simultaneously write to subdirs.el, producing a garbled file.
11655
11656 2012-06-26 Sam Steingold <sds@gnu.org>
11657
11658 * files.el (file-name-base): New convenience function.
11659 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
11660 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
11661 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
11662 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
11663 * textmodes/ispell.el, textmodes/reftex-ref.el:
11664 * textmodes/tex-mode.el: Use it.
11665 Did not touch cedet and org because they are maintained elsewhere.
11666
11667 2012-06-26 Martin Rudalics <rudalics@gmx.at>
11668
11669 * calendar/calendar.el (calendar-exit): Don't try to delete or
11670 iconify last frame. See:
11671 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
11672
11673 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
11674
11675 * server.el (server-process-filter): Remember dir in the
11676 process's `server-client-directory' properties.
11677
11678 2012-06-24 Chong Yidong <cyd@gnu.org>
11679
11680 * xml.el (xml-parse-tag): Correctly handle comment embedded in
11681 non-tag text.
11682
11683 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
11684
11685 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
11686
11687 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11688
11689 * help-fns.el (describe-variable): Don't croak when doc is not found.
11690 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
11691 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
11692 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
11693 * emacs-lisp/smie.el (smie-next-sexp): CSE.
11694 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
11695 ((lambda ..) ..).
11696 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
11697
11698 2012-06-23 Chong Yidong <cyd@gnu.org>
11699
11700 * info.el (Info-mouse-follow-link): Accept symbol values of
11701 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
11702 (Info-fontify-node): Use Info-link-keymap for all navigation
11703 buttons, with link-args property to perform the desired action.
11704 (Info-link-keymap): Doc fix.
11705 (Info-next-link-keymap, Info-prev-link-keymap)
11706 (Info-up-link-keymap): Delete now-unused keymaps.
11707
11708 2012-06-23 Chong Yidong <cyd@gnu.org>
11709
11710 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
11711
11712 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
11713 system abbrevs.
11714
11715 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
11716
11717 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11718
11719 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
11720 (bug#11719).
11721
11722 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
11723 the requote function doesn't work properly (bug#11714).
11724
11725 2012-06-23 Glenn Morris <rgm@gnu.org>
11726
11727 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
11728
11729 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11730
11731 Further GV/CL cleanups.
11732 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
11733 gv-expander.
11734 (gv--defun-declaration): New function.
11735 (defun-declarations-alist): Use it.
11736 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
11737 (gv-place): Autoload.
11738 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
11739 original definition of dotimes and dolist.
11740 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
11741 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
11742 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
11743 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11744 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
11745 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
11746 to the function's definition.
11747 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
11748 * window.el:
11749 * files.el:
11750 * faces.el:
11751 * env.el: Don't use CL.
11752
11753 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
11754
11755 Support higher-resolution time stamps (Bug#9000).
11756
11757 * calendar/time-date.el (with-decoded-time-value): New arg
11758 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
11759 (encode-time-value): New optional arg PICO. New type 3.
11760 (time-to-seconds) [!float-time]: Support the new picoseconds
11761 component if it's used.
11762 (seconds-to-time, time-subtract, time-add):
11763 Support ps-resolution time stamps as well.
11764
11765 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
11766 (timerp): Timer vectors now have length 9, not 8.
11767 (timer--time): Support new-style (4-part) time stamps.
11768 (timer-next-integral-multiple-of-time): Time stamps now have
11769 picosecond resolution, so take a bit more care about rounding.
11770 (timer-relative-time, timer-inc-time): New optional arg psecs.
11771 (timer-set-time-with-usecs): Set psecs to 0.
11772 (timer--activate): Check psecs component, too.
11773
11774 * proced.el (proced-time-lessp): Support ps-resolution stamps.
11775
11776 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11777
11778 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11779 Move the non-essential binding to the post/pre-command-hook where it is
11780 more obviously correct.
11781
11782 * subr.el (read-passwd): Don't use a history at all.
11783 * savehist.el (savehist-save): Remove password saved accidentally
11784 because of the above bug.
11785
11786 2012-06-22 Bastien Guerry <bzg@gnu.org>
11787
11788 * files.el (toggle-read-only): Display a message telling whether
11789 the buffer is read-only or not (bug#11726).
11790
11791 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11792
11793 * emacs-lisp/gv.el: New file.
11794 * subr.el (push, pop): Extend to generalized variables.
11795 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11796 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11797 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
11798 gv-define-simple-setter, and gv-define-expander.
11799 Remove setf-methods defined in gv. Rename cl-setf -> setf.
11800 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11801 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11802 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11803 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11804 gv-letplace.
11805 (cl-defstruct): Don't define setf-method any more.
11806 * emacs-lisp/cl.el (flet): Don't autoload.
11807 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11808 (define-setf-expander, defsetf, define-modify-macro)
11809 (cl-struct-setf-expander): Move from cl-lib.el.
11810 * emacs-lisp/syntax.el:
11811 * emacs-lisp/ewoc.el:
11812 * emacs-lisp/smie.el:
11813 * emacs-lisp/cconv.el:
11814 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11815 (timer--time): Use gv-define-simple-setter.
11816 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11817 to avoid coding-system problems in subr.el. Adjust all users.
11818 (macroexp--maxsize, macroexp-small-p): New functions.
11819 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11820 * scroll-bar.el (scroll-bar-mode):
11821 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11822 (normal-erase-is-backspace-mode): Don't use the `eq' place.
11823 * winner.el (winner-configuration, winner-make-point-alist)
11824 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11825 * files.el (locate-file-completion-table): Avoid list*.
11826
11827 2012-06-22 Chong Yidong <cyd@gnu.org>
11828
11829 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11830 (dired-create-files): Doc fix (Bug#11329).
11831 (dired-do-copy): Doc fix (Bug#11334).
11832 (dired-mark-read-string): Doc fix (Bug#11553).
11833
11834 * dired.el (dired-recursive-copies, dired-recursive-deletes):
11835 Doc fix (Bug#11326).
11836 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
11837 (dired-dwim-target): Doc fix.
11838
11839 * wdired.el (wdired-mode): Doc fix.
11840
11841 2012-06-22 Glenn Morris <rgm@gnu.org>
11842
11843 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11844 (pcmpl-rpm-cache-stamp-file): New constant.
11845 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11846 (pcmpl-rpm-packages): Optionally cache list of packages.
11847
11848 * pcmpl-rpm.el (pcmpl-rpm): New group.
11849 (pcmpl-rpm-query-options): New option.
11850 (pcmpl-rpm-packages): No need to inline it.
11851 Use pcmpl-rpm-query-options.
11852
11853 * calendar/calendar.el (calendar-in-read-only-buffer):
11854 Avoid some needless mode changes.
11855
11856 2012-06-21 Chong Yidong <cyd@gnu.org>
11857
11858 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11859 (desktop-path): Remove . from the default value (Bug#10977).
11860 (desktop-read): Use user-emacs-directory if desktop-path is nil.
11861
11862 2012-06-20 Chong Yidong <cyd@gnu.org>
11863
11864 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11865
11866 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
11867
11868 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11869 (bug#11201).
11870
11871 2012-06-20 Chong Yidong <cyd@gnu.org>
11872
11873 * term.el (term-window-width): Handle the case of a missing right
11874 fringe (Bug#8837).
11875 (term-check-size): Use window-text-height (Bug#5445).
11876 (term-mode): Use define-derived-mode. Minor cleanups.
11877 Set font-lock-defaults (Bug#7692).
11878 (term-move-columns, term-insert-char, term-emulate-terminal)
11879 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11880
11881 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
11882
11883 * net/ange-ftp.el (ange-ftp-get-passwd):
11884 Bind `enable-recursive-minibuffers'.
11885 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11886
11887 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
11888
11889 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11890
11891 2012-06-19 Glenn Morris <rgm@gnu.org>
11892
11893 * progmodes/python.el (python-mode): Derive from prog-mode.
11894
11895 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
11896
11897 * emulation/edt.el (edt-default-menu-bar-update-buffers)
11898 (edt-user-menu-bar-update-buffers): New functions.
11899 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11900
11901 2012-06-19 Chong Yidong <cyd@gnu.org>
11902
11903 * subr.el (with-selected-window): Preserve the selected window's
11904 terminal's top-frame (Bug#4702).
11905
11906 * window.el (save-selected-window): Likewise.
11907
11908 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11909
11910 * progmodes/python.el (python-rx-constituents): Move backquote.
11911 (python-skeleton-define, python-define-auxiliary-skeleton):
11912 Use `declare'.
11913
11914 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
11915
11916 * minibuffer.el (read-file-name-default): Revert the patch from
11917 2012-06-17.
11918
11919 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11922 (pcase--u1, pcase--q1): Don't use apply-partially.
11923
11924 2012-06-18 Glenn Morris <rgm@gnu.org>
11925
11926 * progmodes/python.el (python-proc, python-buffer)
11927 (python-send-receive, python-send-string): Fix obsolete versions.
11928
11929 2012-06-18 Martin Rudalics <rudalics@gmx.at>
11930
11931 * window.el (special-display-p): Completely remove stringp
11932 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11933
11934 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
11935
11936 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11937
11938 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11939
11940 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11941 * net/tramp-sh.el (tramp-maybe-open-connection):
11942 Throw if `non-essential' is non-nil.
11943
11944 2012-06-17 Martin Rudalics <rudalics@gmx.at>
11945
11946 * window.el (special-display-p): Signal an error if BUFFER-NAME
11947 is not a string (Bug#11713).
11948
11949 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
11950
11951 * progmodes/python.el (python-info-beginning-of-backslash):
11952 Rename from python-info-beginning-of-backlash, as a spelling fix.
11953
11954 2012-06-17 Chong Yidong <cyd@gnu.org>
11955
11956 * term.el (term-emulate-terminal): If term-check-size is called,
11957 move point to the process mark without resetting point (Bug#4635).
11958
11959 2012-06-17 Glenn Morris <rgm@gnu.org>
11960
11961 * international/mule-cmds.el (mule-menu-keymap)
11962 (set-language-environment, set-locale-environment): Doc tweaks.
11963
11964 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
11965
11966 * cus-face.el (custom-face-attributes): Add wave-style underline
11967 attribute.
11968 * faces.el (set-face-attribute): Update docstring to describe
11969 wave-style underline attribute.
11970
11971 2012-06-16 Chong Yidong <cyd@gnu.org>
11972
11973 * term/xterm.el (terminal-init-xterm): Discard input before
11974 querying background mode (Bug#10959).
11975
11976 2012-06-16 Stefan Merten <smerten@oekonux.de>
11977
11978 * textmodes/rst.el: Added and corrected some comments.
11979 (rst-re-alist-def): Improve symbol syntax.
11980 (rst-mode-syntax-table): Correct syntax entries.
11981 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11982 (rst-official-version, rst-official-cvs-rev): Update version
11983 information.
11984
11985 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11986
11987 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11988 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11989
11990 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
11991
11992 * progmodes/python.el: New python.el merge.
11993 (python-guess-indent): Obsolete var.
11994 (python-indent-guess-indent-offset): New defcustom.
11995 (python-indent): Obsolete var.
11996 (python-indent-offset): New defcustom.
11997 (python-python-command, python-jython-command): Delete var.
11998 (python-shell-interpreter): New defcustom.
11999 (python-pdbtrack-do-tracking-p): Delete var.
12000 (python-pdbtrack-activate): New defcustom.
12001 (python-use-skeletons): Obsolete var.
12002 (python-skeleton-autoinsert): New defcustom.
12003 (inferior-python-filter-regexp, python-continuation-offset)
12004 (python-honour-comment-indentation, python-indent-string-contents)
12005 (python-jython-packages, python-mode-hook)
12006 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
12007 (python-shell-prompt-alist)
12008 (python-source-modes): Delete defcustoms.
12009 (python-check-buffer-name, python-eldoc-setup-code)
12010 (python-eldoc-string-code, python-ffap-setup-code)
12011 (python-ffap-string-code, python-fill-comment-function)
12012 (python-fill-decorator-function, python-fill-paren-function)
12013 (python-fill-string-function, python-imenu-include-defun-type)
12014 (python-imenu-make-tree, python-imenu-subtree-root-label)
12015 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
12016 (python-shell-compilation-regexp-alist)
12017 (python-shell-completion-module-string-code)
12018 (python-shell-completion-pdb-string-code)
12019 (python-shell-completion-setup-code)
12020 (python-shell-completion-string-code)
12021 (python-shell-enable-font-lock, python-shell-exec-path)
12022 (python-shell-extra-pythonpaths)
12023 (python-shell-internal-buffer-name, python-shell-interpreter-args)
12024 (python-shell-process-environment)
12025 (python-shell-prompt-block-regexp)
12026 (python-shell-prompt-output-regexp)
12027 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
12028 (python-shell-send-setup-max-wait, python-shell-setup-codes)
12029 (python-shell-virtualenv-path): New defcustoms.
12030 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
12031 (inferior-python-mode-syntax-table, python--prompt-regexp)
12032 (python-buffer, python-command python-python-command)
12033 (python-default-template, python-imports, python-indent-index)
12034 (python-indent-list, python-indent-list-length)
12035 (python-mode-running, python-pdbtrack-is-tracking-p)
12036 (python-preoutput-continuation, python-preoutput-leftover)
12037 (python-preoutput-result, python-preoutput-skip-next-prompt)
12038 (python-prev-dir/file, python-recursing)
12039 (python-saved-check-command, python-version-checked)
12040 (python-which-func-length-limit)
12041 (view-return-to-alist): Delete vars.
12042 (python-check-custom-command, python-dotty-syntax-table)
12043 (python-imenu-index-alist, python-indent-current-level)
12044 (python-indent-dedenters, python-indent-levels)
12045 (python-nav-beginning-of-defun-regexp)
12046 (python-nav-list-defun-positions-cache)
12047 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
12048 (python-shell-internal-buffer)
12049 (python-skeleton-available): New vars.
12050 (def-python-skeleton): Delete macro.
12051 (python-skeleton-define): New macro.
12052 (python-define-auxiliary-skeleton, python-rx): New macros.
12053 (python-insert-class): Delete command.
12054 (python-skeleton-class): New command.
12055 (python-insert-def): Delete command.
12056 (python-skeleton-def): New command.
12057 (python-insert-for): Delete command.
12058 (python-skeleton-for): New command.
12059 (python-insert-if): Delete command.
12060 (python-skeleton-if): New command.
12061 (python-insert-try/except, python-insert-try/finally): Delete commands.
12062 (python-skeleton-try): New command.
12063 (python-insert-while): Delete command.
12064 (python-skeleton-while): New command.
12065 (python-backspace): Delete command.
12066 (python-indent-dedent-line-backspace): New command.
12067 (python-electric-colon): Delete command.
12068 (python-indent-electric-colon): New command.
12069 (python-guess-indent): Delete command.
12070 (python-indent-guess-indent-offset): New command.
12071 (python-shift-left): Delete command.
12072 (python-indent-shift-left): New command.
12073 (python-shift-right): Delete command.
12074 (python-indent-shift-right): New command.
12075 (python-find-function): Delete command.
12076 (python-nav-jump-to-defun): New command.
12077 (python-next-statement): Delete command.
12078 (python-nav-forward-sentence): New command.
12079 (python-previous-statement): Delete command.
12080 (python-nav-backward-sentence): New command.
12081 (python-fill-paragraph): Delete command.
12082 (python-fill-paragraph-function): New command.
12083 (python-send-buffer): Delete command.
12084 (python-shell-send-buffer): New command.
12085 (python-send-defun): Delete command.
12086 (python-shell-send-defun): New command.
12087 (python-send-region, python-send-region-and-go): Delete commands.
12088 (python-shell-send-region)
12089 (python-shell-switch-to-shell): New commands.
12090 (python-send-string): Delete command.
12091 (python-shell-send-string): New command.
12092 (python-switch-to-python): Delete command.
12093 (python-shell-switch-to-shell): New command.
12094 (python-describe-symbol): Delete command.
12095 (python-eldoc-at-point): New command.
12096 (python--set-prompt-regexp, python-args-to-list)
12097 (python-after-info-look, python-check-version)
12098 (python-check-comint-prompt, python-find-imports)
12099 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
12100 (python-unload-function, python-expand-template)
12101 (python-maybe-jython, python-preoutput-filter)
12102 (python-pdbtrack-get-source-buffer)
12103 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
12104 (python-pdbtrack-toggle-stack-tracking)
12105 (python-pdbtrack-track-stack-file, python-initial-text)
12106 (python-first-word, python-comment-line-p, python-send-command)
12107 (python-setup-brm, python-sentinel, python-set-proc)
12108 (python-skip-out, python-input-filter, python-outdent-p)
12109 (python-outline-level, python-backslash-continuation-line-p)
12110 (python-end-of-block, python-end-of-statement, python-mark-block)
12111 (python-beginning-of-block, python-beginning-of-statement)
12112 (python-blank-line-p, python-beginning-of-string)
12113 (python-open-block-statement-p): Delete functions.
12114 (python-indent-line, python-indent-line-1): Delete functions.
12115 (python-indent-line): New function.
12116 (python-indentation-levels): Delete function.
12117 (python-indent-calculate-levels): New function.
12118 (python-proc): Delete function.
12119 (python-shell-get-process): New function.
12120 (python-send-receive): Delete function.
12121 (python-shell-send-string-no-output): New function.
12122 (python-module-path): Delete function.
12123 (python-ffap-module-path): New function.
12124 (python-completion-at-point)
12125 (python-symbol-completions): Delete functions.
12126 (python-completion-complete-at-point): New function.
12127 (python-load-file): Delete function.
12128 (python-shell-send-file): New function.
12129 (python-calculate-indentation): Delete function.
12130 (python-indent-calculate-indentation): New function.
12131 (python-skip-comments/blanks): Delete function.
12132 (python-util-forward-comment): New function.
12133 (python-continuation-line-p): Delete function.
12134 (python-info-continuation-line-p): New function.
12135 (python-which-func, python-current-defun): Delete function.
12136 (python-info-current-defun): New function.
12137 (python-beginning-of-defun): Delete function.
12138 (python-nav-beginning-of-defun): New function.
12139 (python-close-block-statement-p)
12140 (python-block-end-p): Delete function.
12141 (python-info-closing-block): New function.
12142 (python-comint-output-filter-function)
12143 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
12144 (python-fill-comment, python-fill-decorator, python-fill-paren)
12145 (python-fill-string, python-imenu-make-element-tree)
12146 (python-imenu-make-tree, python-imenu-tree-assoc)
12147 (python-indent-context, python-indent-dedent-line)
12148 (python-indent-line-function)
12149 (python-indent-post-self-insert-function)
12150 (python-indent-toggle-levels)
12151 (python-info-assignment-continuation-line-p)
12152 (python-info-beginning-of-backlash)
12153 (python-info-block-continuation-line-p)
12154 (python-info-closing-block-message)
12155 (python-info-line-ends-backslash-p)
12156 (python-info-looking-at-beginning-of-defun)
12157 (python-info-ppss-context, python-info-ppss-context-type)
12158 (python-nav-list-defun-positions, python-nav-read-defun)
12159 (python-nav-sentence-end, python-nav-sentence-start)
12160 (python-pdbtrack-comint-output-filter-function)
12161 (python-pdbtrack-set-tracked-buffer)
12162 (python-shell-calculate-exec-path)
12163 (python-shell-calculate-process-environment)
12164 (python-shell-completion--do-completion-at-point)
12165 (python-shell-completion--get-completions)
12166 (python-shell-completion-complete-at-point)
12167 (python-shell-completion-complete-or-indent)
12168 (python-shell-get-or-create-process)
12169 (python-shell-get-process-name)
12170 (python-shell-internal-get-or-create-process)
12171 (python-shell-internal-get-process-name)
12172 (python-shell-internal-send-string, python-shell-make-comint)
12173 (python-shell-parse-command, python-shell-send-setup-code)
12174 (python-skeleton-add-menu-items)
12175 (python-util-clone-local-variables, python-util-position)
12176 (run-python-internal, python-indentation-levels)
12177 (python-nav-beginning-of-defun)
12178 (python-completion-complete-at-point): New functions.
12179 (run-python): Change arguments. New API requirements.
12180
12181 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
12184 (bug#11649).
12185
12186 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
12187 (macroexp--expand-all): Use it.
12188
12189 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
12190 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
12191 Use `cl-function' instead.
12192
12193 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
12194
12195 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
12196 Suggested by Stefan Monnier while discussing bug#11657.
12197
12198 2012-06-14 Sam Steingold <sds@gnu.org>
12199
12200 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
12201
12202 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
12203
12204 * play/doctor.el (doctor-doc): Remove parameter and use
12205 doctor-sent instead of sent.
12206 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
12207
12208 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * files.el: Require cl-lib.
12211 (file-name-non-special): Replace case -> cl-case.
12212
12213 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
12214
12215 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
12216 mapping from #' to function*.
12217
12218 2012-06-13 Chong Yidong <cyd@gnu.org>
12219
12220 * mouse.el (mouse-drag-track): Do not set the mark if the user
12221 releases the mouse without selecting anything (Bug#11588).
12222
12223 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12224
12225 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
12226 as well (bug#11646).
12227
12228 * loadup.el: Count byte-code functions as well.
12229
12230 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
12231 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
12232
12233 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
12234 (bug#11649). Add cl-defun and cl-defmacro.
12235
12236 2012-06-13 Drew Adams <drew.adams@oracle.com>
12237
12238 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12239 Fix last change.
12240
12241 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
12242
12243 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
12244 Otherwise, it blocks in batch mode.
12245
12246 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
12247
12248 * help-mode.el (bookmark-make-record-default): Declare.
12249
12250 2012-06-13 Chong Yidong <cyd@gnu.org>
12251
12252 * emacs-lisp/package.el (list-packages): Compute a list of
12253 packages that are newly-available since the last list-packages
12254 invocation.
12255 (package-menu--new-package-list): New var.
12256 (package-menu--generate, package-menu--print-info)
12257 (package-menu--status-predicate, package-menu-mark-install):
12258 Handle new status label "new".
12259
12260 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
12263 conversion to backquotes.
12264
12265 2012-06-12 Chong Yidong <cyd@gnu.org>
12266
12267 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
12268 Rename from gud-inhibit-global-bindings.
12269
12270 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12271
12272 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
12273 hook from nxml-glyph-set-hook.
12274
12275 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
12276 declaration.
12277
12278 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
12279
12280 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
12281 Convert to defcustom.
12282
12283 2012-06-12 Drew Adams <drew.adams@oracle.com>
12284
12285 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
12286 New functions.
12287 (help-mode): Use them.
12288
12289 2012-06-11 Glenn Morris <rgm@gnu.org>
12290
12291 * progmodes/fortran.el (fortran-font-lock-keywords-3):
12292 Use preprocessor face for directives.
12293 (fortran-directive-re): Doc fix.
12294
12295 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
12298 conversion to backquotes (bug#11652).
12299
12300 Fix compiler-expansion of CL's cXXr functions (bug#11673).
12301 * emacs-lisp/cl-lib.el (cl--defalias): New function.
12302 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
12303 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
12304 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
12305 (cl-ninth, cl-tenth): Mark them as inlinable.
12306 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
12307 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
12308 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
12309 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
12310 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
12311 (cl-list*, cl-adjoin): Don't put an autoload manually.
12312 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
12313 (cl--compiler-macro-list*): Add autoload cookie.
12314 (cl--compiler-macro-cXXr): New function.
12315
12316 * help-fns.el (help-fns--compiler-macro): New function extracted from
12317 describe-function-1; follow aliases and use `compiler-macro' property.
12318 (describe-function-1): Use it.
12319
12320 2012-06-11 Chong Yidong <cyd@gnu.org>
12321
12322 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
12323 is uninstalled, if imagemagick is installed.
12324
12325 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * emacs-lisp/cl-lib.el: Use lexical-binding.
12328 (cl-map-extents, cl-maclisp-member): Remove.
12329 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
12330 (cl--set-substring, cl--block-wrapper, cl--block-throw)
12331 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
12332 * emacs-lisp/cl-extra.el: Use lexical-binding.
12333 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
12334 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
12335 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
12336 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
12337 * emacs-lisp/cl-seq.el: Use lexical-binding.
12338 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
12339 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
12340 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
12341 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
12342 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
12343 CL's internals.
12344
12345 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
12346
12347 Sync with Tramp 2.2.6-pre.
12348
12349 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
12350 `print-length' and `print-level' to nil, in order to avoid
12351 truncation. Reported by Christopher Schmidt
12352 <christopher@ristopher.com>.
12353
12354 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
12355
12356 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
12357 New defmacro.
12358 (tramp-compat-copy-directory): Add optional argument
12359 COPY-CONTENTS. It is not handled yet.
12360
12361 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
12362 (tramp-ftp-file-name-p): Simplify.
12363
12364 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
12365 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
12366 connection vector.
12367
12368 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
12369 (tramp-methods): Do not use `tramp-password-end-of-line'.
12370 (tramp-completion-function-alist-putty): Handle UNIX case.
12371 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
12372 (tramp-do-file-attributes-with-stat)
12373 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
12374 gid as real numbers. They could run out of integer range on cygwin.
12375 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
12376 (tramp-sh-handle-expand-file-name): Handle hops.
12377 (tramp-open-connection-setup-interactive-shell):
12378 Use `tramp-cleanup'. Move check for busyboxes ...
12379 (tramp-find-shell): ... here. Simplify implementation.
12380 Set "remote-shell" property also for alternative shells.
12381 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
12382 If failing, a regular file would be written otherwise.
12383 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
12384 (tramp-find-inline-encoding): Cache the coding commands in the
12385 process cache. Apply test command on the remote side, if defined.
12386 (tramp-find-inline-compress): Cache the compress commands in the
12387 process cache.
12388 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
12389 when requested. Handle hops.
12390 (tramp-current-connection): New defvar.
12391 (tramp-maybe-open-connection): Use `tramp-cleanup'.
12392 Throw `suppress', if there was a failed connection shortly before.
12393 Handle user interrupt. (Bug#10187)
12394 (tramp-get-inline-compress, tramp-get-inline-coding):
12395 Read connection properties from the process cache.
12396
12397 * net/tramp-smb.el (tramp-smb-server-version)
12398 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
12399 New defconsts.
12400 (tramp-smb-prompt): Extend for powershell prompt.
12401 (tramp-smb-file-name-handler-alist): Add handlers for
12402 `process-file', `shell-command' and `start-file-process'.
12403 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
12404 (tramp-smb-winexe-shell-command-switch): New defcustoms.
12405 (tramp-smb-file-name-p): Simplify.
12406 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
12407 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
12408 (tramp-smb-shell-quote-argument): New defuns.
12409 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
12410 Implement using "tar". By this, time-stamps are preserved.
12411 (tramp-smb-handle-copy-file): Handle also the case of directories.
12412 (tramp-smb-do-file-attributes-with-stat)
12413 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
12414 Use `tramp-get-connection-buffer').
12415 (tramp-smb-handle-rename-file): Use "rename", when source and
12416 target are on the same share.
12417 (tramp-smb-maybe-open-connection): Handle wrong passwords.
12418 Use `tramp-smb-server-version'.
12419 (tramp-smb-wait-for-output): Remove prompt.
12420
12421 * net/tramp.el (top): Require 'cl.
12422 (tramp-methods, tramp-rsh-end-of-line):
12423 Remove `tramp-password-end-of-line' from docstring.
12424 (tramp-save-ad-hoc-proxies): New defcustom.
12425 (tramp-completion-function-alist): Adapt docstring.
12426 (tramp-default-password-end-of-line): Remove defcustom.
12427 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
12428 (tramp-user-regexp, tramp-file-name-regexp-unified)
12429 (tramp-file-name-regexp-url): Extend regexp by hop separator.
12430 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
12431 (tramp-remote-file-name-spec-regexp): New defconst.
12432 (tramp-file-name-structure): Extend structure for hops.
12433 (tramp-get-method-parameter): Move up.
12434 (tramp-file-name-p, tramp-dissect-file-name)
12435 (with-parsed-tramp-file-name): Handle hops.
12436 (tramp-file-name-hop): New defun.
12437 (tramp-make-tramp-file-name): New optional arg HOP.
12438 (tramp-message-show-progress-reporter-message): New defvar.
12439 (tramp-with-progress-reporter): Use it. We cannot use
12440 `tramp-message-show-message' here, because this suppresses also
12441 error buffers.
12442 (tramp-error-with-buffer): Suppress buffer view, if
12443 `tramp-message-show-message' is nil.
12444 Use `tramp-get-connection-buffer'.
12445 (tramp-cleanup): New defun.
12446 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
12447 (tramp-file-name-handler): If `debug-on-error' is set, propagate
12448 an error unchanged.
12449 (tramp-completion-handle-file-name-all-completions): Handle hops.
12450 Fix an error when called from ido.
12451 (tramp-completion-dissect-file-name): Use better local variable
12452 name. Add hop to the vector.
12453 (tramp-handle-insert-file-contents): Use progress-reporter for the
12454 whole scenario.
12455 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
12456 to `t'.
12457 (tramp-check-for-regexp): Simplify search.
12458 (tramp-enter-password): Remove it. Move implementation ...
12459 (tramp-action-password): ... here.
12460 (tramp-mode-string-to-int, tramp-local-host-p)
12461 (tramp-make-tramp-temp-file, tramp-read-passwd)
12462 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
12463 Set tramp-autoload cookie.
12464
12465 * net/trampver.el: Update release number.
12466
12467 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12468 Michael Albinus <michael.albinus@gmx.de>
12469
12470 * net/tramp.el (tramp-set-completion-function): Fix docstring.
12471 (tramp-parse-group, tramp-parse-file)
12472 (tramp-parse-shostkeys-sknownhosts): New defuns.
12473 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
12474 (tramp-parse-shosts-group, tramp-parse-sconfig)
12475 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
12476 (tramp-parse-sknownhosts, tramp-parse-hosts)
12477 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
12478 Use them.
12479 (tramp-parse-passwd-group, tramp-parse-netrc-group)
12480 (tramp-parse-putty-group): Don't narrow.
12481 (tramp-parse-putty): Make a loop.
12482 (tramp-file-name-handler): Catch the `suppress' signal.
12483
12484 2012-06-11 Chong Yidong <cyd@gnu.org>
12485
12486 * image.el (imagemagick-register-types): Put the ImageMagick entry
12487 at the end of image-type-file-name-regexps.
12488
12489 2012-06-11 Johan Bockgård <bojohan@gnu.org>
12490
12491 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
12492 (pcase, pcase-let*, pcase-dolist): Use them.
12493
12494 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12495
12496 * emacs-lisp/pcase.el (pcase--let*): New function.
12497 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
12498 (pcase--expand): Use macroexp-let².
12499
12500 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
12503 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
12504 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
12505 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
12506 * emacs-lisp/derived.el: Use pcase instead of `cl'.
12507 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
12508
12509 2012-06-10 Glenn Morris <rgm@gnu.org>
12510
12511 * mail/rmail.el (rmail-yank-current-message): Leave point at
12512 correct position. (Bug#11660)
12513
12514 2012-06-10 Chong Yidong <cyd@gnu.org>
12515
12516 * allout-widgets.el: Fix code header.
12517
12518 2012-06-10 Chong Yidong <cyd@gnu.org>
12519
12520 * cus-edit.el (customize-changed-options-previous-release):
12521 Bump to 24.1.
12522
12523 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
12524
12525 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
12526
12527 2012-06-09 Chong Yidong <cyd@gnu.org>
12528
12529 * ebuff-menu.el (electric-buffer-list): Preserve header line.
12530
12531 2012-06-09 Martin Rudalics <rudalics@gmx.at>
12532
12533 * window.el (special-display-popup-frame): Don't use
12534 window--display-buffer (Bug#11651).
12535
12536 2012-06-09 Eli Zaretskii <eliz@gnu.org>
12537
12538 Fix parallel builds: make sure loaddefs.el is not being written
12539 while Lisp files are compiled.
12540 (compile): Don't depend on 'mh-autoloads'.
12541 (compile-CMD, compile-SH): Depend on 'autoloads'.
12542 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
12543
12544 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
12545
12546 2012-06-09 Chong Yidong <cyd@gnu.org>
12547
12548 * face-remap.el (face-remap-add-relative, face-remap-set-base)
12549 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
12550 Doc fixes (Bug#11225).
12551
12552 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
12553
12554 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
12555 a function if there's a clear indication that it has a compiler-macro.
12556 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
12557 (macro-declarations-alist): Add arglist to declaration functions.
12558 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
12559 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
12560 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
12561 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
12562 Also add autoload to find the compiler macro.
12563 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
12564 (cl--compiler-macro-member, cl--compiler-macro-assoc)
12565 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
12566 (cl--compiler-macro-get): New functions, replacing calls to
12567 cl-define-compiler-macro.
12568 (cl-typep) [compiler-macro]: Use macroexp-let².
12569
12570 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
12571
12572 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
12573 string properly, fixes Bug#11473.
12574
12575 2012-06-08 Chong Yidong <cyd@gnu.org>
12576
12577 * faces.el (set-face-attribute): Doc fix.
12578 (modify-face): Don't use :bold and :italic.
12579 (error, warning, success): Tweak definitions.
12580
12581 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
12582 (custom-modified, custom-set, custom-changed, custom-themed)
12583 (custom-saved, custom-button, custom-button-mouse)
12584 (custom-button-pressed, custom-state, custom-comment-tag)
12585 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
12586 (custom-group-subtitle): Use new-style face specs.
12587 (custom-invalid-face, custom-rogue-face, custom-modified-face)
12588 (custom-set-face, custom-changed-face, custom-saved-face)
12589 (custom-button-face, custom-button-pressed-face)
12590 (custom-documentation-face, custom-state-face)
12591 (custom-comment-face, custom-comment-tag-face)
12592 (custom-variable-tag-face, custom-variable-button-face)
12593 (custom-face-tag-face, custom-group-tag-face-1)
12594 (custom-group-tag-face): Remove obsolete face alias.
12595
12596 * epa.el (epa-validity-high, epa-validity-medium)
12597 (epa-validity-low, epa-mark, epa-field-name, epa-string)
12598 (epa-field-name, epa-field-body):
12599 * font-lock.el (font-lock-comment-face, font-lock-string-face)
12600 (font-lock-keyword-face, font-lock-builtin-face)
12601 (font-lock-function-name-face, font-lock-variable-name-face)
12602 (font-lock-type-face, font-lock-constant-face):
12603 * ido.el (ido-first-match, ido-only-match, ido-subdir)
12604 (ido-virtual, ido-indicator, ido-incomplete-regexp):
12605 * speedbar.el (speedbar-button-face, speedbar-file-face)
12606 (speedbar-directory-face, speedbar-tag-face)
12607 (speedbar-selected-face, speedbar-highlight-face)
12608 (speedbar-separator-face):
12609 * whitespace.el (whitespace-newline, whitespace-space)
12610 (whitespace-hspace, whitespace-tab, whitespace-trailing)
12611 (whitespace-line, whitespace-space-before-tab)
12612 (whitespace-space-after-tab, whitespace-indentation)
12613 (whitespace-empty):
12614 * emulation/cua-base.el (cua-global-mark):
12615 * eshell/em-prompt.el (eshell-prompt):
12616 * net/newst-plainview.el (newsticker-new-item-face)
12617 (newsticker-old-item-face, newsticker-immortal-item-face)
12618 (newsticker-obsolete-item-face, newsticker-date-face)
12619 (newsticker-statistics-face, newsticker-default-face):
12620 * net/newst-reader.el (newsticker-feed-face)
12621 (newsticker-extra-face, newsticker-enclosure-face):
12622 * net/newst-treeview.el (newsticker-treeview-face)
12623 (newsticker-treeview-new-face, newsticker-treeview-old-face)
12624 (newsticker-treeview-immortal-face)
12625 (newsticker-treeview-obsolete-face)
12626 (newsticker-treeview-selection-face):
12627 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
12628 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
12629 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
12630 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
12631 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
12632 (nxml-outline-active-indicator, nxml-outline-ellipsis):
12633 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
12634 (mpuz-text):
12635 * progmodes/vera-mode.el (vera-font-lock-number)
12636 (vera-font-lock-function, vera-font-lock-interface):
12637 * textmodes/table.el (table-cell): Use new-style face specs, and
12638 don't use the old :bold and :italic attributes.
12639
12640 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
12641 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
12642 (ebrowse-member-class, ebrowse-progress): Likewise.
12643 (ebrowse-tree-mark-face, ebrowse-root-class-face)
12644 (ebrowse-file-name-face, ebrowse-default-face)
12645 (ebrowse-member-attribute-face, ebrowse-member-class-face)
12646 (ebrowse-progress-face): Remove obsolete faces.
12647
12648 * progmodes/flymake.el (flymake-errline, flymake-warnline):
12649 Inherit from error and warning faces respectively.
12650
12651 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
12652 Likewise.
12653 (flyspell-incorrect-face, flyspell-duplicate-face):
12654 Remove obsolete aliases.
12655
12656 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
12657
12658 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12659 Avoid infloop.
12660
12661 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * startup.el (argv, argi): Make lexically scoped.
12664 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
12665 * emacs-lisp/cl-macs.el: Use lexical-binding.
12666 Rename cl-bind-* to cl--bind-*.
12667 * files.el: Don't require `cl' since it doesn't use it.
12668 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
12669
12670 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
12671
12672 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
12673 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
12674 instead of calling external sort utility.
12675 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
12676
12677 2012-06-08 Eli Zaretskii <eliz@gnu.org>
12678
12679 * descr-text.el (describe-char): Mention how to insert the
12680 character, if the current input method doesn't support it.
12681 See the discussion in this thread for the details:
12682 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
12683
12684 2012-06-08 Sam Steingold <sds@gnu.org>
12685
12686 * bindings.el (global-map): Bind XF86Forward to next-buffer and
12687 XF86Back to previous-buffer.
12688 (minibuffer-local-map): Bind them to next-history-element and
12689 previous-history-element respectively.
12690 * help-mode.el (help-mode-map): Bind them to help-go-forward and
12691 help-go-back respectively.
12692 * info.el (Info-mode-map): Bind them to Info-history-forward and
12693 Info-history-back respectively.
12694 These are the keys next to Up on the ThinkPad keyboard.
12695
12696 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
12697
12698 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
12699 * emacs-lisp/cl-macs.el: Provide itself.
12700 (cl--labels-convert-cache): New var.
12701 (cl--labels-convert): New function.
12702 (cl-flet, cl-labels): New implementation with new semantics, relying on
12703 lexical-binding.
12704 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
12705 (cl-closure-vars, cl--function-convert-cache)
12706 (cl--function-convert): Move from cl-macs.el.
12707 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
12708 rename by removing the "cl-" prefix.
12709 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
12710
12711 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
12714 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
12715 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
12716 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
12717 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
12718 (cl-hash-table-count): Add old compatibility aliases.
12719
12720 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
12721 Use macroexpand-all-environment instead.
12722 (cl--old-macroexpand): New var.
12723 (cl--sm-macroexpand): New function.
12724 (cl-symbol-macrolet): Use it during macro expansion.
12725 (cl--function-convert-cache): New var.
12726 (cl--function-convert): New function, extracted from
12727 cl-macroexpand-all.
12728 (cl-lexical-let): Use it.
12729
12730 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
12731 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
12732 (cl-member): Remove old alias.
12733
12734 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
12735 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
12736 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
12737 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
12738 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
12739 (cl-macroexpand-cmacs): Remove var.
12740 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
12741 Use macroexpand-all instead.
12742
12743 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
12746 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
12747 (macroexp-copyable-p): New functions and macros.
12748 * emacs-lisp/edebug.el (edebug-unwrap):
12749 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
12750 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
12751 (pcase--let*): Remove.
12752 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
12753 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
12754 macroexp-const-p instead.
12755 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12756
12757 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12758 instead of "cl-" for internal definitions. Use macroexp-const-p.
12759 (cl-old-bc-file-form): Remove var.
12760 (cl-const-exprs-p): Remove fun.
12761 (cl-labels, cl-macrolet): Use backquote.
12762 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
12763 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12764 (cl-define-setf-expander): Rename from cl-define-setf-method.
12765 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12766
12767 * international/mule-cmds.el: Don't require CL.
12768 (view-hello-file): Don't use `letf'.
12769
12770 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12771
12772 * tmm.el (tmm-prompt): Use string-prefix-p.
12773 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12774 (tmm-add-prompt): Use minibuffer-completion-help.
12775 (tmm-delete-map): Remove.
12776
12777 * subr.el (kbd): Make it its own function.
12778
12779 2012-06-07 Stefan Merten <smerten@oekonux.de>
12780
12781 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12782 Silence compiler warnings. Fix versions.
12783 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12784 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12785 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12786 (rst-package-emacs-version-alist): Correct Emacs version to
12787 represent major merge with upstream.
12788 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12789
12790 2012-06-06 Glenn Morris <rgm@gnu.org>
12791
12792 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12793 Only print environment variables if set.
12794
12795 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12796
12797 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12798 (macroexp--cons): Rename from maybe-cons.
12799 (macroexp--accumulate): Rename from macroexp-accumulate.
12800 (macroexp--all-forms): Rename from macroexpand-all-forms.
12801 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12802 (macroexp--expand-all): Rename from macroexpand-all-1.
12803
12804 2012-06-06 Sam Steingold <sds@gnu.org>
12805
12806 * calendar/calendar.el (calendar-in-read-only-buffer):
12807 Call `special-mode' to enable the standard read-only keybindings.
12808
12809 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12812 with "loading" messages (bug#11635).
12813
12814 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
12815
12816 * files.el (enable-remote-dir-locals): New option.
12817 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
12818
12819 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12820 Ensure, that the temp directory is local.
12821
12822 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12823 `temporary-file-directory'.
12824
12825 * progmodes/python.el (python-send-region): Ensure, that the
12826 temporary file is created also in the remote case.
12827
12828 2012-06-06 Glenn Morris <rgm@gnu.org>
12829
12830 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12831 (vc-rcs-update-changelog): Use it.
12832
12833 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12834
12835 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12836 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12837 (vc-sccs-diff): Replace use of the external vcdiff script.
12838
12839 2012-06-05 Glenn Morris <rgm@gnu.org>
12840
12841 * ledit.el: Move to obsolete/.
12842
12843 2012-06-05 Sam Steingold <sds@gnu.org>
12844
12845 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12846 patch (Bug#11140).
12847
12848 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12849
12850 * emacs-lisp/cust-print.el: Move to obsolete.
12851
12852 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12853 compiler-macro expansion.
12854
12855 Add native compiler-macro support.
12856 * emacs-lisp/macroexp.el (macroexpand-all-1):
12857 Support compiler-macros directly. Properly follow aliases and apply
12858 the compiler macros more thoroughly.
12859 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12860 macroexpand now properly follows aliases.
12861 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12862 (cl-compiler-macroexpand): Use new prop.
12863 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12864
12865 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12866
12867 2012-06-05 Martin Rudalics <rudalics@gmx.at>
12868
12869 * window.el (get-lru-window, get-mru-window, get-largest-window):
12870 New argument NOT-SELECTED to avoid picking the selected window.
12871 (window--display-buffer-1, window--display-buffer-2): Replace by
12872 new function window--display-buffer
12873 (display-buffer-same-window, display-buffer-reuse-window)
12874 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12875 Use window--display-buffer.
12876 (display-buffer-use-some-window): Remove temporary dedication
12877 hack by calling get-lru-window and get-largest-window with
12878 NOT-SELECTED argument non-nil. Call window--display-buffer.
12879
12880 2012-06-05 Glenn Morris <rgm@gnu.org>
12881
12882 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12883 Replace external vcdiff script.
12884
12885 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12886
12887 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12888
12889 2012-06-04 Chong Yidong <cyd@gnu.org>
12890
12891 * image.el (imagemagick-types-inhibit): Revert last change.
12892 Add INFO and M.
12893 (imagemagick-enabled-types): Remove CIN and EPS*.
12894
12895 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * emacs-lisp/cl-lib.el: Rename from cl.el.
12898 * emacs-lisp/cl.el: New compatibility file.
12899 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12900 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12901 to obey the "cl-" prefix.
12902 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12903
12904 2012-06-03 Glenn Morris <rgm@gnu.org>
12905
12906 * emacs-lisp/authors.el (authors-aliases): Addition.
12907
12908 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12909 Fix :version.
12910
12911 2012-06-03 Stefan Merten <smerten@oekonux.de>
12912
12913 * textmodes/rst.el: Add comments.
12914 (rst-transition, rst-adornment): New faces.
12915 (rst-adornment-faces-alist): Make default safe to reevaluate.
12916 Fixes
12917 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12918 Improve customization tags.
12919 (rst-define-level-faces): Clarify meaning.
12920
12921 2012-06-03 Chong Yidong <cyd@gnu.org>
12922
12923 * progmodes/compile.el (compilation-mode-line-fail)
12924 (compilation-mode-line-run, compilation-mode-line-exit):
12925 New faces.
12926 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12927
12928 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
12929
12930 * progmodes/which-func.el (which-func-update-ediff-windows):
12931 New function. Use it in ediff-select-hook (Bug#11478).
12932
12933 2012-06-03 Chong Yidong <cyd@gnu.org>
12934
12935 * bindings.el: Remove explicit help text from format-mode-line.
12936 It is now supplied by mode-line-default-help-echo.
12937 (mode-line-front-space, mode-line-end-spaces)
12938 (mode-line-misc-info): New variables.
12939 (mode-line-modes, mode-line-position): Move the default value to
12940 the variable definition.
12941 (mode-line-default-help-echo): New defcustom.
12942 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12943 (mode-line-modified-help-echo): New functions.
12944 (mode-line-mule-info, mode-line-modified): Use them.
12945 (mode-line-eol-desc, propertized-buffer-identification):
12946 Consistency fixes for help text.
12947 (mode-line-coding-system-map): Allow using mouse-3 to invoke
12948 set-buffer-file-coding-system (Bug#289).
12949 (mode-line-mule-info-help-echo): Update help text.
12950
12951 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12952
12953 * simple.el (execute-extended-command): Set real-this-command
12954 (bug#11506).
12955
12956 2012-06-02 Chong Yidong <cyd@gnu.org>
12957
12958 Remove incorrect uses of "modeline" in comments, docstrings, and
12959 function/variable names (Bug#10329).
12960
12961 * cus-edit.el (mode-line):
12962 * dframe.el (dframe-mouse-hscroll):
12963 * emacs-lisp/re-builder.el:
12964 * emacs-lisp/easy-mmode.el (define-minor-mode):
12965 * frame.el (set-frame-name):
12966 * help.el (lookup-minor-mode-from-indicator):
12967 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12968 * progmodes/cc-cmds.el (c-toggle-auto-newline)
12969 (c-toggle-hungry-state):
12970 * progmodes/antlr-mode.el (antlr-language-alist):
12971 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12972 * progmodes/vhdl-mode.el (vhdl-mode):
12973 * progmodes/which-func.el (which-func, which-func-cleanup-function):
12974 * term/ns-win.el (ns-face-at-pos):
12975 * term/sup-mouse.el (sup-mouse-report):
12976 * textmodes/flyspell.el (flyspell-mode-line-string):
12977 * textmodes/ispell.el (ispell-highlight-face):
12978 * textmodes/reftex-global.el:
12979 * vc/vc-arch.el (vc-arch-mode-line-string):
12980 * vc/vc-cvs.el (vc-cvs-mode-line-string):
12981 * vc/vc-git.el (vc-git-mode-line-string):
12982 * vc/vc-hooks.el (vc-display-status)
12983 (vc-default-mode-line-string):
12984 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12985
12986 * ansi-color.el (ansi-color-faces-vector): Change default faces.
12987
12988 * dired.el (dired-sort-set-mode-line): Rename from
12989 dired-sort-set-modeline. All callers changed.
12990
12991 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12992 eshell-status-in-modeline.
12993
12994 * foldout.el (foldout-mode-line-string): Rename from
12995 foldout-modeline-string. All callers changed.
12996 (foldout-update-mode-line): Rename from foldout-update-modeline.
12997
12998 * subr.el (redraw-modeline): Make into obsolete alias.
12999
13000 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
13001 timeclock-modeline-display. Make old name an alias.
13002 (timeclock-update-mode-line): Likewise. All callers changed.
13003 (timeclock-mode-line-display): No need to check before using
13004 add-hook.
13005 (timeclock-relative, timeclock-day-over-hook)
13006 (timeclock-use-elapsed, timeclock-mode-string)
13007 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
13008
13009 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
13010 crisp-mode-modeline-string.
13011
13012 * play/solitaire.el (solitaire-build-mode-line): Rename from
13013 solitaire-build-modeline. All callers changed.
13014
13015 * play/zone.el (zone-hiding-mode-line): Rename from
13016 zone-hiding-modeline. All callers changed.
13017 (zone): Remove unusued `modeline-hidden-level' property.
13018
13019 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
13020 xscheme-modeline-initialize. All callers changed.
13021
13022 * strokes.el (strokes-lighter): Rename from
13023 strokes-modeline-string.
13024
13025 * textmodes/sgml-mode.el (html-face-tag-alist)
13026 (html-tag-face-alist): Use mode-line face instead of obsolete
13027 alias modeline.
13028
13029 2012-06-02 Stefan Merten <smerten@oekonux.de>
13030
13031 * textmodes/rst.el: Always require `cl'.
13032 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
13033
13034 2012-06-02 Chong Yidong <cyd@gnu.org>
13035
13036 * image.el (imagemagick-enabled-types): Rename from
13037 imagemagick-types-enable. Add many more types.
13038 (imagemagick-types-inhibit): Change default to nil.
13039 (imagemagick-filter-types): Caller changed.
13040
13041 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * emacs-lisp/cl-macs.el: Use backquotes.
13044 (cl-transform-function-property): Use eval-and-compile rather than
13045 abusing `require'.
13046 (defstruct): Use declare-function instead of with-no-warnings.
13047
13048 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
13049 (byte-compile-output-docform): Re-add the print-circle bindings.
13050 (byte-compile-fix-header): Use #$ just because it's shorter.
13051 (byte-compile-output-file-form): Remove defun/defmacro.
13052
13053 2012-06-01 Martin Rudalics <rudalics@gmx.at>
13054
13055 * simple.el (choose-completion): Remove now obsolete binding for
13056 owindow.
13057
13058 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
13059
13060 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
13061 in order to avoid "Stack overflow in regexp matcher".
13062
13063 2012-05-31 Glenn Morris <rgm@gnu.org>
13064
13065 * image.el: For clarity, call imagemagick-register-types at
13066 top-level, rather than relying on a custom :initialize.
13067 (imagemagick-types-enable): New option. (Bug#11557)
13068 (imagemagick-filter-types): New function. (Bug#7406)
13069 (imagemagick-register-types): Use imagemagick-filter-types.
13070 If disabling support, remove elements altogether rather
13071 than using an impossible regexp.
13072 (imagemagick-types-inhibit): Give it the default init function.
13073
13074 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
13077 Handle arbitrary file name lengths (Bug#11585).
13078
13079 2012-05-31 Martin Rudalics <rudalics@gmx.at>
13080
13081 * desktop.el (desktop-read): Clear previous and next buffers for
13082 all windows and bury *Messages* buffer (bug#11556).
13083
13084 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 Add `declare' for `defun'. Align `defmacro's with it.
13087 * emacs-lisp/easy-mmode.el (define-minor-mode)
13088 (define-globalized-minor-mode): Don't autoload the var definitions.
13089 * emacs-lisp/byte-run.el: Use lexical-binding.
13090 (defun-declarations-alist, macro-declarations-alist): New vars.
13091 (defmacro, defun): Use them.
13092 (make-obsolete, define-obsolete-function-alias)
13093 (make-obsolete-variable, define-obsolete-variable-alias):
13094 Use `declare'.
13095 (macro-declaration-function): Mark obsolete.
13096 * emacs-lisp/autoload.el: Use lexical-binding.
13097 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
13098
13099 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13100
13101 * textmodes/ispell.el (ispell-with-no-warnings):
13102 Define as a macro.
13103 (ispell-kill-ispell, ispell-change-dictionary):
13104 Use `called-interactively-p' for Emacs instead of obsolete
13105 `interactive-p'.
13106
13107 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13108
13109 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
13110 (macro-declaration-function): Move var from C code.
13111 (macro-declaration-function): Define function with defalias.
13112 * emacs-lisp/macroexp.el (macroexpand-all-1):
13113 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
13114 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
13115 defun/defmacro any more.
13116 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
13117 Provide fallback for unknown arglist.
13118 (byte-compile-arglist-warn): Change calling convention.
13119 (byte-compile-output-file-form): Move print-vars binding.
13120 (byte-compile-output-docform): Simplify accordingly.
13121 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
13122 (byte-compile-defmacro-declaration): Remove.
13123 (byte-compile-file-form-defmumble): Generalize to defalias.
13124 (byte-compile-output-as-comment): Return byte-positions.
13125 Simplify callers accordingly.
13126 (byte-compile-lambda): Use `assert'.
13127 (byte-compile-defun, byte-compile-defmacro): Remove.
13128 (byte-compile-file-form-defalias):
13129 Use byte-compile-file-form-defmumble.
13130 (byte-compile-defalias-warn): Remove.
13131
13132 2012-05-29 Stefan Merten <smerten@oekonux.de>
13133
13134 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
13135 possible. Fix authors. Improve comments. Improve loading of `cl'.
13136
13137 (rst-mode-abbrev-table): Merge definition.
13138 (rst-mode): Make sure `font-lock-defaults' is buffer local.
13139 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
13140
13141 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
13142
13143 * calendar/icalendar.el
13144 (icalendar-export-region): Export UID properly.
13145
13146 2012-05-29 Leo Liu <sdl.web@gmail.com>
13147 * calendar/icalendar.el (icalendar-import-format):
13148 Add `icalendar-import-format-uid' (Bug#11525).
13149 (icalendar-import-format-uid): New.
13150 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
13151 Export UID.
13152
13153 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13154
13155 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
13156 different alternative patterns.
13157 (pcase-codegen): Be more careful to preserve identity.
13158 (pcase--u1): Don't forget to mark vars as used.
13159
13160 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
13161 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
13162 (byte-compile-from-buffer): ...rather than here.
13163
13164 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
13165 functions from byte-compile-function-environment.
13166
13167 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
13168
13169 * window.el (window-deletable-p): Avoid deleting the root window
13170 of a frame with an active minibuffer.
13171
13172 2012-05-29 Martin Rudalics <rudalics@gmx.at>
13173
13174 * simple.el (choose-completion): Use quit-window (Bug#11567).
13175
13176 2012-05-29 Chong Yidong <cyd@gnu.org>
13177
13178 * whitespace.el (whitespace-cleanup): Fix usage of
13179 whitespace-empty-at-bob-regexp (Bug#11492).
13180
13181 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13182
13183 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
13184 revert (Bug#11488).
13185
13186 2012-05-29 Juri Linkov <juri@jurta.org>
13187
13188 * isearch.el (isearch-mode-map): Bind `M-s _' to
13189 `isearch-toggle-symbol'. Bind `M-s c' to
13190 `isearch-toggle-case-fold'.
13191 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
13192 (isearch-forward): Add `M-s _' to the docstring.
13193 (isearch-forward-symbol, isearch-toggle-case-fold)
13194 (isearch-symbol-regexp): New functions. (Bug#11381)
13195
13196 2012-05-29 Juri Linkov <juri@jurta.org>
13197
13198 * isearch.el (isearch-word): Add docstring. (Bug#11381)
13199 (isearch-occur, isearch-search-and-update): If `isearch-word' is
13200 a function, call it to get the regexp.
13201 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
13202 property `isearch-message-prefix' instead of the string "word ".
13203 (isearch-search-fun-default): For the case of `isearch-word',
13204 return a lambda that calls re-search-forward/re-search-backward
13205 with a regexp returned by `word-search-regexp' or by the function
13206 in `isearch-word'.
13207
13208 2012-05-29 Juri Linkov <juri@jurta.org>
13209
13210 * isearch.el (isearch-search-fun-default): New function.
13211 (isearch-search-fun): Move default part to the new function
13212 `isearch-search-fun-default'.
13213 (isearch-search-fun-function): Set the default value to
13214 `isearch-search-fun-default'. (Bug#11381)
13215
13216 * comint.el (comint-history-isearch-end):
13217 Use `isearch-search-fun-default'.
13218 (comint-history-isearch-search): Use `isearch-search-fun-default'
13219 and remove spacial case for `isearch-word'.
13220 (comint-history-isearch-wrap): Remove spacial case for
13221 `isearch-word'.
13222
13223 * hexl.el (hexl-isearch-search-function):
13224 Use `isearch-search-fun-default'.
13225
13226 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
13227 Use `word-search-regexp' for `isearch-word'.
13228
13229 * misearch.el (multi-isearch-search-fun):
13230 Use `isearch-search-fun-default'.
13231
13232 * simple.el (minibuffer-history-isearch-search):
13233 Use `isearch-search-fun-default' and remove spacial case for
13234 `isearch-word'.
13235 (minibuffer-history-isearch-wrap): Remove spacial case for
13236 `isearch-word'.
13237
13238 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
13239 Remove spacial case for `isearch-word'.
13240 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
13241
13242 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13243
13244 Decrease XEmacs incompatibilities.
13245 * textmodes/flyspell.el (flyspell-check-pre-word-p):
13246 Use `string-match'.
13247 (flyspell-delete-region-overlays): Use alternative definition for
13248 XEmacs.
13249 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
13250 (flyspell-word): Use `process-kill-without-query' if XEmacs.
13251 (flyspell-mode-on): Use `interactive-p' if XEmacs.
13252 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
13253 `define-obsolete-face-alias' under XEmacs, but old method.
13254
13255 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
13256 `with-no-warnings' definition or Emacs alias.
13257 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
13258 (ispell-word): Do not use `region-p' if XEmacs.
13259
13260 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13261
13262 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
13263 Check for `ispell-dictionary-base-alist' instead of full
13264 `ispell-dictionary-alist'.
13265 (ispell-init-process): Show spellchecker when starting new Ispell
13266 process.
13267
13268 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
13271 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
13272
13273 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
13274
13275 * version.el (motif-version-string, gtk-version-string)
13276 (ns-version-string): Declare.
13277
13278 2012-05-27 Juri Linkov <juri@jurta.org>
13279
13280 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
13281 after the `eval-defun-1' specialcaseing
13282 like in `edebug-eval-defun' (bug#10181).
13283
13284 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
13285 like in `eval-defun-1'.
13286
13287 2012-05-27 Eli Zaretskii <eliz@gnu.org>
13288
13289 * mail/sendmail.el (mail-yank-region):
13290 Recognize rmail-yank-current-message in addition to insert-buffer.
13291 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
13292 a *mail* buffer created through rmail-start-mail with sendmail as
13293 mail-user-agent.
13294
13295 2012-05-27 Chong Yidong <cyd@gnu.org>
13296
13297 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
13298 Default to 256 (Bug#11267).
13299
13300 * help.el (describe-mode): Doc fix.
13301
13302 2012-05-26 Glenn Morris <rgm@gnu.org>
13303
13304 * w32-fns.el (w32-init-info): Remove.
13305 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
13306
13307 * info.el (info-initialize): For self-contained NS builds, put the
13308 included info/ directory at the front. (Bug#2791)
13309
13310 * paths.el (Info-default-directory-list): Make it a defcustom,
13311 mainly so that we can use custom-initialize-delay.
13312
13313 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
13314
13315 * subr.el (buffer-has-markers-at): Mark obsolete.
13316
13317 * subr.el (lambda): Use declare.
13318
13319 * emacs-lisp/lisp-mode.el (lambda):
13320 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
13321
13322 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13323
13324 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
13325
13326 2012-05-26 Glenn Morris <rgm@gnu.org>
13327
13328 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
13329
13330 2012-05-25 Glenn Morris <rgm@gnu.org>
13331
13332 * paths.el: Remove no-byte-compile.
13333 * loadup.el: No need to load paths.el uncompiled.
13334
13335 * image.el (imagemagick-types-inhibit): Doc fix.
13336
13337 * version.el: Remove no-byte-compile and associated formatting.
13338 * loadup.el: No need to load version.el uncompiled. AFAICS, this
13339 is ancient code from when there was an "inc-vers.el".
13340
13341 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * progmodes/gdb-mi.el: Minor style changes.
13344 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
13345 Turn into minor modes.
13346 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
13347 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
13348 (gdb-shell): Remove unneeded let-binding.
13349 (gdb-get-many-fields): Eliminate O(n²) behavior.
13350
13351 2012-05-25 Eli Zaretskii <eliz@gnu.org>
13352
13353 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
13354 platforms that don't link in fontset.c.
13355
13356 2012-05-25 Juri Linkov <juri@jurta.org>
13357
13358 Use the same diff color scheme as in modern VCSes (bug#10181).
13359
13360 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
13361 to avoid confusion with `diff-added' that now uses green colors.
13362 (diff-removed): Use shades of red.
13363 (diff-added): Use shades of green.
13364 (diff-changed): Leave just the yellow color.
13365 (diff-use-changed-face): New variable.
13366 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
13367 how to highlight context diff changes.
13368 (diff-refine-change): Use shades of yellow.
13369 (diff-refine-removed): New face that uses shades of red.
13370 (diff-refine-added): New face that uses shades of green.
13371 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
13372 `diff-refine-removed' in the call to `smerge-refine-subst'
13373 depending on the value of `diff-use-changed-face'.
13374
13375 * vc/smerge-mode.el (smerge-mine): Use shades of red.
13376 (smerge-other): Use shades of green.
13377 (smerge-base): Use shades of yellow.
13378 (smerge-refined-change): Empty face.
13379 (smerge-refined-removed): New face that uses shades of red.
13380 (smerge-refined-added): New face that uses shades of green.
13381 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
13382 args `props-r' and `props-a', and use them. Doc fix.
13383 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
13384 on its value use different faces `smerge-refined-change',
13385 `smerge-refined-removed', `smerge-refined-added' in the call to
13386 `smerge-refine-subst'.
13387
13388 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
13389 Add face condition `min-colors 88' with shades of red.
13390 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
13391 `min-colors 88' with shades of green.
13392 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
13393 `min-colors 88' with shades of yellow.
13394
13395 2012-05-24 Glenn Morris <rgm@gnu.org>
13396
13397 * paths.el (prune-directory-list, remote-shell-program): Move to...
13398 * files.el (prune-directory-list, remote-shell-program): ...here.
13399 For the latter, delay initialization, prefer ssh, just search PATH.
13400
13401 * paths.el (term-file-prefix): Move to faces.el (the only user).
13402 * faces.el (term-file-prefix): Move here, make it a defcustom.
13403
13404 * paths.el (news-directory, news-path, news-inews-program):
13405 Move to gnus/nnspool.el.
13406
13407 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
13408
13409 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
13410 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13411 Make the latter a defcustom, with a delayed initialization.
13412
13413 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
13414 These were deleted from Gnus itself late 2010.
13415
13416 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
13417
13418 * progmodes/which-func.el (which-func-ff-hook):
13419 Check against user-error, not error.
13420
13421 * emacs-lisp/edebug.el (top): Do not load or set up loading of
13422 cl-specs.el, which no longer exists.
13423
13424 2012-05-22 Glenn Morris <rgm@gnu.org>
13425
13426 * info.el (info-emacs-bug): New command.
13427 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
13428 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
13429
13430 2012-05-21 Glenn Morris <rgm@gnu.org>
13431
13432 * makefile.w32-in (update-subdirs-SH):
13433 * Makefile.in (update-subdirs): Update for moved update-subdirs.
13434
13435 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
13436
13437 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
13438
13439 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13440 Simplify Maven regexp, and make sure the file can't start with a space
13441 (bug#11517).
13442
13443 2012-05-21 Glenn Morris <rgm@gnu.org>
13444
13445 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
13446 Scrap superfluous subshells.
13447
13448 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
13449
13450 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
13451 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
13452
13453 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
13454
13455 * calc/calc.el (calc-ensure-consistent-units): New variable.
13456
13457 * calc/calc-units.el (math-consistent-units-p)
13458 (math-check-unit-consistency): New functions.
13459 (calc-quick-units, calc-convert-units):
13460 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
13461 is non-nil.
13462 (calc-extract-units): Fix typo.
13463
13464 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13465
13466 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
13467
13468 * textmodes/flyspell.el: Commenting style, plus code simplifications.
13469 (flyspell-default-deplacement-commands): Don't spell check after
13470 repeated window/frame switches (e.g. triggered by mouse-movement).
13471 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
13472 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
13473 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
13474 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
13475 Remove unused vars.
13476 (flyspell-get-casechars, flyspell-get-not-casechars):
13477 Simplify; Don't bother removing a ] just to add it back.
13478 * textmodes/ispell.el (ispell-program-name): Use executable-find.
13479
13480 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13481
13482 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
13483 New functions.
13484 (math-function-table): Add support for more C functions.
13485
13486 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13487
13488 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13489 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13490 Protect delay handling for otherchars against empty otherchars.
13491
13492 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
13493
13494 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
13495 their respective macro declarations.
13496 * skeleton.el (define-skeleton):
13497 * progmodes/compile.el (define-compilation-mode):
13498 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
13499 (define-ibuffer-filter):
13500 * emacs-lisp/generic.el (define-generic-mode):
13501 * emacs-lisp/easy-mmode.el (define-minor-mode)
13502 (define-globalized-minor-mode):
13503 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
13504 * emacs-lisp/byte-run.el (defsubst):
13505 * custom.el (deftheme): Add doc-string metadata.
13506
13507 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13508
13509 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
13510
13511 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13512
13513 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
13514
13515 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
13516 * emacs-lisp/cl-macs.el: Idem.
13517 * emacs-lisp/cl-specs.el: Remove.
13518
13519 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 Minor renaming of internal CL functions and variables.
13522 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
13523 (cl--position): Rename from cl-position.
13524 (cl--delete-duplicates): Rename from cl-delete-duplicates.
13525 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
13526 (cl--random-state): Rename from *random-state*.
13527
13528 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
13531 parens around the arg list (bug#11499).
13532
13533 2012-05-17 Juri Linkov <juri@jurta.org>
13534
13535 * isearch.el (word-search-regexp, word-search-backward)
13536 (word-search-forward, word-search-backward-lax)
13537 (word-search-forward-lax): Move functions from search.c
13538 (bug#10145, bug#11381).
13539
13540 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13541
13542 * textmodes/flyspell.el (flyspell-check-pre-word-p)
13543 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
13544 Delay for otherchars as for normal word components.
13545
13546 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * minibuffer.el (completion--sifn-requote): Fix last change.
13549 (minibuffer-local-must-match-filename-map):
13550 Move define-obsolete-variable-alias before its var.
13551
13552 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
13555
13556 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
13557 behavior.
13558 (completion--string-equal-p): New function.
13559 (completion--twq-all): Use it to get better assertion failure data.
13560
13561 Only handle ".." and '..' quoting in shell-mode (bug#11466).
13562 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
13563 (shell--requote-argument): New functions.
13564 (shell-completion-vars): Use them.
13565 (shell--parse-pcomplete-arguments): Rename from
13566 shell-parse-pcomplete-arguments.
13567 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
13568 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
13569 Obey comint-file-name-quote-list.
13570
13571 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
13572 (smie-indent-keyword): Use it.
13573
13574 2012-05-14 Stefan Merten <smerten@oekonux.de>
13575
13576 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
13577
13578 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13579
13580 * net/rlogin.el (rlogin-mode-map): Fix last change.
13581
13582 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
13583
13584 * mail/smtpmail.el (smtpmail-send-command): Send the command and
13585 the following \r\n using a single `process-send-string', since the
13586 Lotus SMTP server refuses to accept any commands if they are sent
13587 with two `process-send-string's (Bug#11444).
13588
13589 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
13590
13591 * shell.el (shell-parse-pcomplete-arguments):
13592 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
13593
13594 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13595
13596 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
13597 (image-transform-scale, image-transform-right-angle-fudge): New vars.
13598 (image-transform-width, image-transform-fit-width): New functions.
13599 (image-transform-properties): Use them.
13600 (image-transform-check-size): New function.
13601 (image-toggle-display-image): Use it (for testing).
13602 (image-transform-set-rotation): Reduce angle mod 360.
13603 Delete obsolete comment.
13604
13605 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
13606
13607 * image-mode.el: Fix scaling (bug#11399).
13608 (image-transform-resize): Doc fix.
13609 (image-transform-properties): Default scale is 1 and height should
13610 be an integer.
13611
13612 2012-05-13 Johan Bockgård <bojohan@gnu.org>
13613
13614 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
13615 than hard-coding `car', to fix misbehavior when moving forward.
13616
13617 2012-05-13 Chong Yidong <cyd@gnu.org>
13618
13619 * emacs-lisp/tabulated-list.el (tabulated-list-format)
13620 (tabulated-list-entries, tabulated-list-padding)
13621 (tabulated-list-sort-key): Make permanent-local.
13622
13623 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
13624 (electric-buffer-list): Put electric buffer menu
13625 command descriptions in this docstring, instead of the docstring
13626 of electric-buffer-menu-mode. Code cleanups.
13627 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
13628 Electric-buffer-menu-mode.
13629 (electric-buffer-update-highlight): Minor code cleanup.
13630
13631 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
13632
13633 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
13634 (Bug#11447)
13635
13636 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13637
13638 Move define-obsolete-variable-alias before the var's definition.
13639 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
13640 * tooltip.el (tooltip-hook):
13641 * textmodes/reftex-toc.el (reftex-toc-map):
13642 * textmodes/reftex-sel.el (reftex-select-label-map)
13643 (reftex-select-bib-map):
13644 * textmodes/reftex-index.el (reftex-index-map)
13645 (reftex-index-phrases-map):
13646 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
13647 * progmodes/meta-mode.el (meta-mode-map):
13648 * novice.el (disabled-command-hook):
13649 * loadhist.el (unload-hook-features-list):
13650 * frame.el (blink-cursor):
13651 * files.el (find-file-not-found-hooks, write-file-hooks)
13652 (write-contents-hooks):
13653 * emulation/tpu-edt.el (GOLD-map):
13654 * emacs-lock.el (emacs-lock-from-exiting):
13655 * emacs-lisp/generic.el (generic-font-lock-defaults):
13656 * emacs-lisp/chart.el (chart-map):
13657 * dos-fns.el (register-name-alist):
13658 * dired-x.el (dired-omit-files-p):
13659 * desktop.el (desktop-enable):
13660 * cus-edit.el (custom-mode-hook):
13661 * buff-menu.el (buffer-menu-mode-hook):
13662 * bookmark.el (bookmark-read-annotation-text-func)
13663 (bookmark-exit-hooks):
13664 * allout.el (allout-mode-deactivate-hook)
13665 (allout-exposure-change-hook, allout-structure-added-hook)
13666 (allout-structure-deleted-hook, allout-structure-shifted-hook):
13667 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
13668 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
13669 comes before the corresponding variable's definition.
13670
13671 2012-05-12 Chong Yidong <cyd@gnu.org>
13672
13673 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
13674 (Buffer-menu-mouse-select): Restore function (Bug#11459).
13675 (Buffer-menu-mode-map): Bind it.
13676 (Buffer-menu--pretty-name): Add a mouse-face property.
13677
13678 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
13679
13680 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
13681 (prolog-upper-case-string, prolog-lower-case-string)
13682 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
13683 (prolog-use-smie, prolog-smie-grammar): New vars.
13684 (prolog-smie-forward-token, prolog-smie-backward-token)
13685 (prolog-smie-rules): New funs.
13686 (prolog-comment-indent): Remove.
13687 (prolog-mode-variables): Use default comment indentation instead.
13688 Setup SMIE.
13689 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
13690 (prolog-mode): Don't call them any more.
13691 (prolog-electric-colon, prolog-electric-dash)
13692 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
13693
13694 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
13695
13696 * minibuffer.el (completion--twq-all): Again, allow case differences.
13697
13698 * term.el: Move keymap initialization code to be more idiomatic.
13699 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
13700 (term-terminal-menu): Move initialization into declaration.
13701 (term-escape-char): Let the user set it in her .emacs.
13702
13703 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
13704 Provide SMIE-based indentation (not enabled by default yet).
13705 (sh-mode-map): Don't bind electric keys.
13706 Use electric-pair-mode instead of skeleton-pair.
13707 (sh-assignment-regexp): Fit within 80 columns.
13708 (sh-indent-supported): Specify actual shell name instead of boolean.
13709 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
13710 (sh-maybe-here-document): Use it. Make obsolete.
13711 (sh-electric-here-document-mode) New minor mode.
13712 (sh-mode): Use it. Don't set sh-indent-supported-here here.
13713 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
13714 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
13715 (sh-smie-rc-grammar, sh-use-smie): New vars.
13716 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
13717 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
13718 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
13719 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
13720 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
13721 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
13722 (sh-set-shell): Use smie-setup if requested.
13723
13724 * term.el (term-set-escape-char): Properly set term-escape-char.
13725 See http://stackoverflow.com/questions/10524656.
13726
13727 2012-05-10 Chong Yidong <cyd@gnu.org>
13728
13729 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
13730 Use url-generic-parse-url, and handle host names and Windows
13731 filenames properly.
13732 (ffap-url-unwrap-remote): Use url-generic-parse-url.
13733 (ffap-url-unwrap-remote): Accept list values, specifying a list of
13734 URL schemes to work on.
13735 (ffap--toggle-read-only): New function.
13736 (ffap-read-only, ffap-read-only-other-window)
13737 (ffap-read-only-other-frame): Use it.
13738 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
13739 necessary for ffap-url-unwrap-remote.
13740
13741 2012-05-10 Dave Abrahams <dave@boostpro.com>
13742
13743 * cus-start.el (create-lockfiles): Add it.
13744
13745 2012-05-09 Chong Yidong <cyd@gnu.org>
13746
13747 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
13748 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
13749
13750 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * shell.el (shell-completion-vars): Fix last change (bug#11348).
13753
13754 2012-05-09 Chong Yidong <cyd@gnu.org>
13755
13756 * ansi-color.el (ansi-color-process-output): Check for validity of
13757 comint-last-output-start before using it. This avoids a bad
13758 interaction with gdb-mi's input/output buffer.
13759
13760 2012-05-09 Glenn Morris <rgm@gnu.org>
13761
13762 * files.el (dir-locals-read-from-file):
13763 Mention dir-locals in any error message.
13764
13765 2012-05-09 Chong Yidong <cyd@gnu.org>
13766
13767 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13768 package (Bug#11410).
13769
13770 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13771 variables into description.
13772
13773 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13774
13775 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13776 shell-delimiter-argument-list (bug#11348).
13777 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13778
13779 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
13780
13781 * textmodes/rst.el: Silence byte-compiler warnings.
13782 (rst-re-alist, rst-reset-section-caches): Move around.
13783 (rst-re): Use `characterp', not `char-valid-p'.
13784 (font-lock-beg, font-lock-end): Declare.
13785
13786 * progmodes/idlw-shell.el (specs): Remove reference to deleted
13787 variable `idlwave-shell-activate-alt-keybindings' and simplify.
13788
13789 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13790
13791 2012-05-08 Glenn Morris <rgm@gnu.org>
13792
13793 * files.el (auto-mode-alist): Treat ".make" like ".mk".
13794
13795 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13796
13797 * vc/log-edit.el: Add GNU coding standards highlighting.
13798 (log-edit-font-lock-gnu-style)
13799 (log-edit-font-lock-gnu-keywords): New vars.
13800 (log-edit-font-lock-keywords): New fun.
13801 (log-edit-mode): Don't fold case in font-lock.
13802 (log-edit-font-lock-keywords): Do not assume case-folding.
13803
13804 * imenu.el: Misc cleanup. Make docstrings out of comments.
13805 Use lexical-binding.
13806 (imenu--index-alist, imenu--last-menubar-index-alist)
13807 (imenu-menubar-modified-tick): Use defvar-local.
13808 (imenu--split-menu): Remove unused var.
13809 (imenu--cleanup-seen): Declare as global.
13810 (imenu--cleanup): Use dolist.
13811
13812 * subr.el (defvar-local): Add debug spec and doc-string position.
13813
13814 2012-05-08 Glenn Morris <rgm@gnu.org>
13815
13816 * language/burmese.el, language/cham.el, language/czech.el:
13817 * language/english.el, language/georgian.el, language/greek.el:
13818 * language/japanese.el, language/khmer.el, language/korean.el:
13819 * language/lao.el, language/misc-lang.el, language/romanian.el:
13820 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13821 * language/thai.el, language/utf-8-lang.el:
13822 Remove no-byte-compile setting.
13823
13824 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
13825
13826 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13827
13828 * progmodes/make-mode.el (makefile-browse):
13829 Remove unnecessary interactive. (Bug#11324)
13830
13831 2012-05-07 Glenn Morris <rgm@gnu.org>
13832
13833 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13834
13835 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13836
13837 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * loadup.el: Preload newcomment.el.
13840 * newcomment.el: Move autoload-only code to toplevel.
13841
13842 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13843 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13844 Handle new :right-align column property.
13845 (tabulated-list-print-col): Idem, plus use `display' text-property to
13846 try and preserve alignment for variable pitch fonts.
13847
13848 2012-05-07 Chong Yidong <cyd@gnu.org>
13849
13850 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13851 (tabulated-list-use-header-line): New var.
13852 (tabulated-list-init-header): Use it.
13853 (tabulated-list-print-fake-header): New function.
13854 (tabulated-list-print): Use it.
13855 (tabulated-list-sort-button-map): Add non-header-line commands.
13856 (tabulated-list-init-header): Add column name property to basic
13857 labels as well.
13858 (tabulated-list-col-sort): Handle non-header-line button case.
13859 (tabulated-list--sort-by-column-name): Fix a corner case.
13860
13861 * buff-menu.el (list-buffers--refresh):
13862 Handle Buffer-menu-use-header-line.
13863
13864 2012-05-06 Chong Yidong <cyd@gnu.org>
13865
13866 * buff-menu.el: Convert to Tabulated List mode.
13867 (Buffer-menu-buffer+size-width): Make obsolete.
13868 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13869 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13870 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
13871 documentation into docstring of buffer-menu.
13872 (Buffer-menu-toggle-files-only): Add an informative message.
13873 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13874 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13875 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13876 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13877 (Buffer-menu-execute, Buffer-menu-select)
13878 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13879 (Buffer-menu-bury): Use Tabulated List machinery.
13880 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13881 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13882 Delete.
13883 (list-buffers--refresh): New function.
13884 (list-buffers-noselect): Use it.
13885 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13886 (Buffer-menu--pretty-file-name): New helper functions.
13887
13888 * loadup.el: Preload tabulated-list.
13889
13890 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13891 tabulated-list-sort-column.
13892 (tabulated-list-init-header): Add the initial aligning space even
13893 if tabulated-list-padding is zero.
13894
13895 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
13896
13897 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13898 whose cdr is not a cons cell correctly (bug#11038).
13899
13900 2012-05-06 Chong Yidong <cyd@gnu.org>
13901
13902 * emacs-lisp/tabulated-list.el (tabulated-list-format):
13903 Accept additional plist in column descriptors.
13904 (tabulated-list-init-header): Obey it.
13905 (tabulated-list-get-entry): New function.
13906 (tabulated-list-put-tag): Use it. Use string-width instead of
13907 length.
13908 (tabulated-list--column-number): New function.
13909 (tabulated-list-print): Use it.
13910 (tabulated-list-print-col): New function.
13911 Set `tabulated-list-column-name' property on each column's text.
13912 (tabulated-list-print-entry): Use it.
13913 (tabulated-list-delete-entry, tabulated-list-set-col):
13914 New functions.
13915 (tabulated-list-sort-column): New command (Bug#11337).
13916
13917 * buff-menu.el (list-buffers): Move C-x C-b binding from
13918 buff-menu.el to bindings.el.
13919
13920 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13921 :advertised-binding feature.
13922
13923 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
13924
13925 * progmodes/compile.el (compilation-internal-error-properties):
13926 Calculate start position correctly when end-col is set but
13927 end-line is not (Bug#11382).
13928
13929 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
13930
13931 * man.el (Man-unindent): Use text-property-default-nonsticky to
13932 prevent untabify from inheriting face properties (Bug#11408).
13933
13934 2012-05-05 Stefan Merten <smerten@oekonux.de>
13935
13936 * textmodes/rst.el: Major merge with upstream development up to
13937 Docutils SVN r7399 / rst.el V1.2.1.
13938
13939 Clarify maintainership and authors.
13940
13941 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13942 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13943 (rst-official-version, rst-official-cvs-rev, rst-version)
13944 (rst-package-emacs-version-alist): New functions and variables
13945 for version information.
13946
13947 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13948 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13949 (rst-mode-syntax-table, rst-mode): New and corrected functions
13950 and variables representing reStructuredText features.
13951
13952 (rst-re): New function for reStructuredText regexes. Use in
13953 many places.
13954
13955 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13956 (rst-mode-map): Rebind keys.
13957
13958 (rst-mode-lazy, rst-font-lock-keywords)
13959 (rst-font-lock-extend-region)
13960 (rst-font-lock-extend-region-internal)
13961 (rst-font-lock-extend-region-extend)
13962 (rst-font-lock-find-unindented-line-limit)
13963 (rst-font-lock-find-unindented-line-match)
13964 (rst-adornment-level, rst-font-lock-adornment-level)
13965 (rst-font-lock-adornment-match)
13966 (rst-font-lock-handle-adornment-pre-match-form)
13967 (rst-font-lock-handle-adornment-matcher): Major revision of
13968 font-locking. Integrate with other code. Use `jit-lock-mode'.
13969
13970 (rst-preferred-adornments, rst-adjust-hook)
13971 (rst-new-adornment-down, rst-preferred-bullets)
13972 (rst-preferred-bullets, rst-indent, rst-indent-width)
13973 (rst-indent-field, rst-indent-literal-normal)
13974 (rst-indent-literal-minimized, rst-indent-comment): Change,
13975 extend and improve customization.
13976
13977 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13978 (rst-normalize-cursor-position, rst-get-decoration)
13979 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13980 (rst-rstrip, rst-toc-insert-find-delete-contents)
13981 (rst-shift-fill-region, rst-compute-bullet-tabs)
13982 (rst-debug-print-tabs, rst-debug-mark-found)
13983 (rst-shift-region-guts, rst-shift-region-right)
13984 (rst-shift-region-left, rst-use-char-classes)
13985 (rst-font-lock-keywords-function)
13986 (rst-font-lock-indentation-point)
13987 (rst-font-lock-find-unindented-line-begin)
13988 (rst-font-lock-find-unindented-line-end)
13989 (rst-font-lock-find-unindented-line)
13990 (rst-font-lock-adornment-point, rst-font-lock-level)
13991 (rst-adornment-level-alist): Remove functions and variables.
13992
13993 (rst-compare-adornments, rst-get-adornment-match)
13994 (rst-suggest-new-adornment, rst-get-adornments-around)
13995 (rst-adornment-complete-p, rst-get-next-adornment)
13996 (rst-adjust-adornment, rst-display-adornments-hierarchy)
13997 (rst-straighten-adornments): Standardize function names to
13998 use "adornment" instead of "decoration". Correct callers.
13999 Similar standardizing in many places.
14000
14001 (rst-update-section, rst-adjust, rst-promote-region)
14002 (rst-enumerate-region, rst-bullet-list-region)
14003 (rst-repeat-last-character): Correct use of `interactive'.
14004
14005 (rst-classify-adornment, rst-find-all-adornments)
14006 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
14007 (rst-find-leftmost-column, rst-repeat-last-character):
14008 Refactor functions.
14009
14010 (rst-find-title-line, rst-reset-section-caches)
14011 (rst-get-adornments-around, rst-adjust-adornment-work)
14012 (rst-arabic-to-roman, rst-roman-to-arabic)
14013 (rst-insert-list-pos, rst-insert-list-new-item)
14014 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
14015 New functions.
14016
14017 (rst-all-sections, rst-section-hierarchy)
14018 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
14019 New variables.
14020
14021 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
14022 configuration instead of only buffer. Change where necessary.
14023
14024 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
14025 (rst-shift-region, rst-adaptive-fill): New functions for
14026 indentation and filling.
14027
14028 (rst-comment-line-break, rst-comment-indent)
14029 (rst-comment-insert-comment, rst-comment-region)
14030 (rst-uncomment-region): New functions for handling comments.
14031
14032 (rst-compile): Quote shell arguments.
14033
14034 (rst-compile-pdf-preview, rst-compile-slides-preview):
14035 Delete temporary files after use.
14036
14037 2012-05-05 Glenn Morris <rgm@gnu.org>
14038
14039 * calendar/cal-html.el: Optionally include holidays in the output.
14040 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
14041 (cal-html-holidays): New option.
14042 (cal-html-css-default): Add holiday entry.
14043 (holiday-in-range): Autoload it.
14044 (cal-html-htmlify-entry): Add optional class argument.
14045 (cal-html-htmlify-list): Add optional holidays argument.
14046 (cal-html-insert-agenda-days): Include holidays in the output.
14047 (cal-html-one-month): Maybe include holidays.
14048
14049 * calendar/holidays.el (holiday-in-range):
14050 Move here from cal-tex-list-holidays.
14051 * calendar/cal-tex.el (cal-tex-list-holidays):
14052 Make it an obsolete alias for holiday-in-range. Update all callers.
14053
14054 2012-05-05 Chong Yidong <cyd@gnu.org>
14055
14056 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
14057 Nextstep.
14058
14059 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
14060
14061 * files.el (file-auto-mode-skip): New var.
14062 (set-auto-mode-1): Use it.
14063
14064 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * repeat.el: Use lexical-binding.
14067 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
14068 (repeat-undo-count): Remove.
14069 (repeat):
14070 * progmodes/octave-mod.el (octave-abbrev-start):
14071 * progmodes/f90.el (f90-abbrev-start):
14072 * face-remap.el (text-scale-adjust):
14073 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
14074
14075 * emacs-lisp/pcase.el (pcase--let*): New function.
14076 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
14077 a bit more.
14078 (pcase--split-pred): Be more clever about ruling out overlap between
14079 a predicate and some constant pattern.
14080 (pcase--q1): Use `null' instead of (eq foo nil).
14081
14082 * subr.el (setq-local, defvar-local): New macros.
14083 (kbd): Redefine as an alias.
14084 (with-selected-window): Leave unrelated frames alone.
14085 (set-temporary-overlay-map): New function.
14086
14087 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14088
14089 * subr.el (user-error): New function.
14090 * window.el (switch-to-buffer):
14091 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
14092 (smerge-match-conflict):
14093 * simple.el (previous-matching-history-element)
14094 (next-matching-history-element, goto-history-element, undo-more)
14095 (undo-start):
14096 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
14097 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
14098 (next-file, tags-loop-scan, list-tags, complete-tag):
14099 * progmodes/compile.el (compilation-loop):
14100 * mouse.el (mouse-minibuffer-check):
14101 * man.el (Man-bgproc-sentinel, Man-goto-page):
14102 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
14103 (Info-history-forward, Info-follow-reference, Info-menu)
14104 (Info-extract-menu-item, Info-extract-menu-counting)
14105 (Info-forward-node, Info-backward-node, Info-next-menu-item)
14106 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
14107 (Info-next-reference, Info-prev-reference, Info-index)
14108 (Info-index-next, Info-follow-nearest-node)
14109 (Info-copy-current-node-name):
14110 * imenu.el (imenu--make-index-alist)
14111 (imenu-default-create-index-function, imenu-add-to-menubar):
14112 * files.el (basic-save-buffer, recover-file):
14113 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14114 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
14115 (checkdoc-message-text, checkdoc-defun):
14116 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
14117 * cus-edit.el (customize-changed-options, customize-rogue)
14118 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
14119 (custom-variable-mark-to-reset-standard)
14120 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
14121 (custom-file):
14122 * completion.el (check-completion-length):
14123 * comint.el (comint-search-arg)
14124 (comint-previous-matching-input-string-position)
14125 (comint-previous-matching-input)
14126 (comint-replace-by-expanded-history-before-point, comint-send-input)
14127 (comint-copy-old-input, comint-backward-matching-input)
14128 (comint-goto-process-mark, comint-set-process-mark):
14129 * calendar/calendar.el (calendar-cursor-to-date): Use it.
14130 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
14131
14132 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14133
14134 * dabbrev.el (dabbrev--ignore-case-p): New function.
14135 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
14136 Use it.
14137
14138 * files.el (automount-dir-prefix): Mark as obsolete.
14139
14140 2012-05-04 Glenn Morris <rgm@gnu.org>
14141
14142 * patcomp.el, play/bruce.el: Move to obsolete/.
14143
14144 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
14145
14146 Fix minor Y10k bugs.
14147 * arc-mode.el (archive-unixdate):
14148 * autoinsert.el (auto-insert-alist):
14149 * calc/calc-forms.el (math-this-year):
14150 * emacs-lisp/copyright.el (copyright-current-year)
14151 (copyright-update-year, copyright):
14152 * tar-mode.el (tar-clip-time-string):
14153 * time.el (display-time-update):
14154 Don't assume years have 4 digits.
14155
14156 2012-05-04 Chong Yidong <cyd@gnu.org>
14157
14158 * dos-w32.el (file-name-buffer-file-type-alist)
14159 (direct-print-region-use-command-dot-com):
14160 * ffap.el (ffap-menu-regexp):
14161 * find-file.el (ff-special-constructs):
14162 * follow.el (follow-debug):
14163 * forms.el (forms--debug):
14164 * iswitchb.el (iswitchb-all-frames):
14165 * ido.el (ido-all-frames):
14166 * emacs-lisp/timer.el (timer-max-repeats):
14167 * mail/feedmail.el (feedmail-mail-send-hook)
14168 (feedmail-mail-send-hook-queued):
14169 * mail/footnote.el (footnote-signature-separator):
14170 * mail/mailabbrev.el (mail-alias-separator-string)
14171 (mail-abbrev-mode-regexp):
14172 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
14173 * progmodes/idlwave.el (idlwave-libinfo-file)
14174 (idlwave-default-completion-case-is-down)
14175 (idlwave-library-routines): Convert defvars to defcustoms.
14176
14177 * mail/rmail.el (rmail-decode-mime-charset):
14178 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
14179 (idlwave-shell-fix-inserted-breaks)
14180 (idlwave-shell-activate-alt-keybindings)
14181 (idlwave-shell-use-breakpoint-glyph):
14182 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
14183
14184 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14185
14186 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
14187
14188 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
14189
14190 * progmodes/verilog-mode.el (font-lock-keywords):
14191 Fix mis-highligting auto. Reported by Craig Barner.
14192 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
14193 defines from global name space. Reported by Dan Dever.
14194 (verilog-auto-reset, verilog-auto-reset-widths)
14195 (verilog-auto-tieoff): Support using unbased numbers for
14196 AUTORESET and AUTOTIEOFF.
14197 (verilog-submit-bug-report): Update variable list.
14198 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
14199 parenthesis from not matching. Reported by Michael Rytting.
14200 (verilog-auto-template-lint): Fix hash error when linting modules
14201 with no used templates.
14202 (verilog-warn, verilog-warn-error)
14203 (verilog-warn-fatal): When non-interactive report multiple
14204 warnings before exiting. Suggested by Brad Dobbie.
14205 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
14206 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
14207 to report unused template errors. Reported by Brad Dobbie.
14208 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
14209 nets, bug438. Reported by Vns Blore.
14210 (verilog-auto-inout-module, verilog-auto-reg)
14211 (verilog-read-decls, verilog-read-sub-decls-sig)
14212 (verilog-signals-edit-wire-reg, verilog-signals-with):
14213 Fix passing of Verilog data types in ANSI input/output ports
14214 such as "output logic" into the AUTOs. Special case "wire" and
14215 "reg" for backwards compatibility presuming Verilog 2001.
14216 (verilog-auto-ascii-enum): Add "auto enum" as alias.
14217 (verilog-preprocess): Fix replication of preprocess output.
14218 Reported by Brad Dobbie.
14219 (verilog-auto-inst-interfaced-ports):
14220 Create verilog-auto-inst-interfaced-ports, bug429.
14221 Reported by Julian Gorfajn.
14222 (verilog-after-save-font-hook)
14223 (verilog-before-save-font-hook): New variable.
14224 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
14225 (verilog-save-font-mods): Wrap disabling fontification, reported
14226 by David Rogoff.
14227 (verilog-do-indent, verilog-pretty-declarations-auto)
14228 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
14229 Reported by Pierre-David Pfister.
14230 (verilog-set-auto-endcomments): Fix endtask auto comments outside
14231 of class declarations, bug292. Reported by Kevin Heilman.
14232 (verilog-read-decls): Fix 'parameter type' not appearing in
14233 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
14234 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
14235 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
14236 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
14237 Reported by David Kravitz.
14238
14239 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
14240
14241 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
14242 assignment with tests in ifs and for loops.
14243 (verilog-extended-complete-re, verilog-complete-reg): Change so
14244 that DPI inport functions don't look like fuction declarations.
14245 (verilog-pretty-expr): Don't line up assignment
14246 operations to the test and increment in if and for loops
14247 (verilog-extended-complete-re, verilog-complete-reg): Change so
14248 that DPI inport functions don't look like fuction declarations.
14249
14250 2012-05-03 Kenichi Handa <handa@m17n.org>
14251
14252 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
14253 decoding, and show a warning message without signaling an error
14254 (Bug#11282).
14255
14256 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * emacs-lisp/bytecomp.el
14259 (byte-compile-file-form-custom-declare-variable): Compile all elements,
14260 since cconv.el might have introduced :fun-body, internal-make-closure,
14261 and friends for bytecomp to handle (bug#11391).
14262 * custom.el (defcustom): Avoid ((λ ..) ..).
14263
14264 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
14265
14266 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
14267
14268 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
14269
14270 * notifications.el (dbus-debug):
14271 * term/linux.el (gpm-mouse-enable):
14272 * term/screen.el (xterm-register-default-colors): Declare.
14273
14274 2012-05-02 Chong Yidong <cyd@gnu.org>
14275
14276 * cus-start.el (gc-cons-percentage, exec-suffixes)
14277 (dos-display-scancodes, dos-hyper-key, dos-super-key)
14278 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
14279 (make-cursor-line-fully-visible, void-text-area-pointer)
14280 (font-list-limit): Add customization data.
14281
14282 * allout.el (allout-exposure-change-functions)
14283 (allout-structure-added-functions)
14284 (allout-structure-deleted-functions)
14285 (allout-structure-shifted-functions): Rename abnormal hooks from
14286 *-hook, and convert to defcustoms.
14287 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
14288 Convert to defcustoms.
14289 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
14290
14291 * allout-widgets.el: Hook callers changed.
14292
14293 2012-05-02 Eli Zaretskii <eliz@gnu.org>
14294
14295 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
14296 the yanked message in preference to the default value of
14297 buffer-file-coding-system.
14298
14299 2012-05-02 Martin Rudalics <rudalics@gmx.at>
14300
14301 * window.el (display-buffer--action-function-custom-type):
14302 Fix entry.
14303
14304 2012-05-02 Alan Mackenzie <acm@muc.de>
14305
14306 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
14307
14308 2012-05-01 Glenn Morris <rgm@gnu.org>
14309
14310 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
14311
14312 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
14313
14314 * cus-edit.el (custom-variable-documentation): Simplify with format.
14315
14316 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14317 Stefan Monnier <monnier@iro.umontreal.ca>
14318
14319 * simple.el (suggest-key-bindings, execute-extended-command):
14320 Move from keyboard.c.
14321
14322 2012-05-01 Chong Yidong <cyd@gnu.org>
14323
14324 * follow.el: Eliminate advice.
14325 (set-process-filter, process-filter, sit-for): Advice deleted.
14326 (follow-mode-off-hook): Obsolete hook removed.
14327 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
14328 Vars deleted.
14329 (follow-auto): Use a :set function.
14330 (follow-mode): Rewritten. Don't advise process filters.
14331 (follow-switch-to-current-buffer-all, follow-scroll-up)
14332 (follow-scroll-down): Assume follow-mode is bound.
14333 (follow-comint-scroll-to-bottom)
14334 (follow-align-compilation-windows): New functions.
14335 (follow--window-sorter): New function.
14336 (follow-all-followers): Use it to explicitly sort windows by their
14337 positions; don't make assumptions about next-window order.
14338 (follow-windows-start-end, follow-delete-other-windows-and-split)
14339 (follow-calc-win-start): Doc fix.
14340 (follow-windows-aligned-p, follow-select-if-visible): Don't call
14341 vertical-motion unnecessarily.
14342 (follow-adjust-window): New function.
14343 (follow-post-command-hook): Use it.
14344 (follow-call-set-process-filter, follow-call-process-filter)
14345 (follow-intercept-process-output, follow-tidy-process-filter-alist)
14346 (follow-stop-intercept-process-output, follow-generic-filter):
14347 Functions deleted.
14348 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
14349 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
14350 New functions, replacing advice on scroll-bar-* commands.
14351 (follow-mwheel-scroll): New function (Bug#4112).
14352
14353 * comint.el (comint-adjust-point): New function.
14354 (comint-postoutput-scroll-to-bottom): Use it.
14355 Call follow-comint-scroll-to-bottom for Follow mode buffers.
14356
14357 2012-05-01 Glenn Morris <rgm@gnu.org>
14358
14359 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
14360 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
14361 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
14362 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
14363 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
14364 Remove no-byte-compile setting.
14365
14366 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
14367
14368 * minibuffer.el (completion-table-with-quoting): Fix compatibility
14369 all-completions code to not return a number in the last cdr.
14370
14371 2012-04-30 Leo Liu <sdl.web@gmail.com>
14372
14373 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
14374 read-only error.
14375
14376 2012-04-29 Chong Yidong <cyd@gnu.org>
14377
14378 * follow.el (follow-calc-win-end): Rewrite to handle partial
14379 screen lines correctly (Bug#8390).
14380 (follow-avoid-tail-recenter): Minor cleanup.
14381
14382 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
14383
14384 Avoid the obsolete `assoc' package.
14385 * speedbar.el (speedbar-refresh): Avoid adelete.
14386 (speedbar-file-lists): Simplify and avoid aput.
14387 * man.el (Man--sections, Man--refpages): New vars, replacing
14388 Man-sections-alist and Man-refpages-alist.
14389 (Man-build-section-alist, Man-build-references-alist):
14390 Use them; avoid aput.
14391 (Man--last-section, Man--last-refpage): New vars.
14392 (Man-follow-manual-reference): Use them.
14393 Use the `default' arg of completing-read.
14394 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
14395
14396 2012-04-27 Chong Yidong <cyd@gnu.org>
14397
14398 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
14399
14400 * startup.el (x-apply-session-resources): New function.
14401
14402 * term/ns-win.el (ns-initialize-window-system):
14403 * term/w32-win.el (w32-initialize-window-system):
14404 * term/x-win.el (x-initialize-window-system): Use it to properly
14405 set menu-bar-mode and other vars from X resources, even if the
14406 initial frame is not a window-system frame (Bug#2299).
14407
14408 * subr.el (read-key): Avoid running filter function when setting
14409 up temporary tool bar entries (Bug#9922).
14410
14411 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14412
14413 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
14414 (Bug#11344)
14415
14416 2012-04-27 Chong Yidong <cyd@gnu.org>
14417
14418 * select.el (xselect--encode-string): New function, split from
14419 xselect-convert-to-string.
14420 (xselect-convert-to-string): Use it.
14421 (xselect-convert-to-filename, xselect-convert-to-os)
14422 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
14423 returned strings are properly encoded (Bug#11315).
14424
14425 2012-04-27 Chong Yidong <cyd@gnu.org>
14426
14427 * simple.el (delete-active-region): Move to killing custom group.
14428
14429 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
14430
14431 * progmodes/which-func.el (which-func-current): Quote %
14432 characters for mode-line processing.
14433
14434 2012-04-27 Chong Yidong <cyd@gnu.org>
14435
14436 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
14437 reaching eob (Bug#11286).
14438
14439 2012-04-27 Eli Zaretskii <eliz@gnu.org>
14440
14441 * progmodes/gdb-mi.el (gdb-control-level): New variable.
14442 (gdb): Make it buffer-local and init to zero.
14443 (gdb-control-commands-regexp): New variable.
14444 (gdb-send): Don't wrap in "-interpreter-exec console" if
14445 gdb-control-level is positive. Increment gdb-control-level
14446 whenever the command matches gdb-control-commands-regexp, and
14447 decrement it each time the command is "end". (Bug#11279)
14448
14449 2012-04-27 Martin Rudalics <rudalics@gmx.at>
14450
14451 * window.el (adjust-window-trailing-edge, enlarge-window)
14452 (shrink-window, window-resize):
14453 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
14454 windows (Bug#11276).
14455
14456 2012-04-27 Chong Yidong <cyd@gnu.org>
14457
14458 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
14459 fix "missing prefix" warning. All callers changed.
14460
14461 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14462
14463 * emacs-lisp/assoc.el: Move to obsolete/.
14464
14465 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14466
14467 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
14468
14469 * term/ns-win.el (ns-define-service):
14470 * progmodes/pascal.el (pascal-goto-defun):
14471 * progmodes/js.el (js--read-tab):
14472 * progmodes/etags.el (tags-lazy-completion-table):
14473 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
14474 * emacs-lisp/ewoc.el (ewoc--wrap):
14475 * emacs-lisp/assoc.el (aput, adelete, amake):
14476 * doc-view.el (doc-view-convert-current-doc):
14477 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
14478
14479 2012-04-26 Chong Yidong <cyd@gnu.org>
14480
14481 * image.el (image-type-from-buffer): Only return supported image
14482 type (Bug#9045).
14483
14484 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
14485 value, for symmetry with diff-end-of-hunk.
14486 (diff-split-hunk, diff-find-source-location)
14487 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
14488 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
14489 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
14490 compute the relevant hunk or file properly (Bug#6005).
14491 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
14492
14493 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14494
14495 * vc/vc-mtn.el:
14496 * vc/vc-hg.el:
14497 * vc/vc-git.el:
14498 * vc/vc-dir.el:
14499 * vc/vc-cvs.el:
14500 * vc/vc-bzr.el:
14501 * vc/vc-arch.el:
14502 * vc/vc.el: Replace lexical-let by lexical-binding.
14503 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
14504 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
14505 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
14506
14507 2012-04-26 Chong Yidong <cyd@gnu.org>
14508
14509 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
14510 (diff-mode-shared-map): Bind it to / and [remap undo].
14511
14512 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
14513 (ediff-window-setup-function): Use it as the default, to set up
14514 windows based on whether the current frame is graphical (Bug#2138).
14515 (ediff-choose-window-setup-function-automatically): Make obsolete.
14516
14517 * vc/ediff-init.el: Always define ediff-pixel-width/height.
14518
14519 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14520
14521 * ffap.el: Remove old code for obsolete package.
14522 (ffap-complete-as-file-p): Remove.
14523
14524 Use completion-table-with-quoting for comint and pcomplete.
14525 * comint.el (comint--unquote&requote-argument)
14526 (comint--unquote-argument, comint--requote-argument): New functions.
14527 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
14528 (comint-quote-filename): Use regexp-opt-charset.
14529 (comint--common-suffix, comint--common-quoted-suffix)
14530 (comint--table-subvert): Remove.
14531 (comint-unquote-function, comint-requote-function): New vars.
14532 (comint--complete-file-name-data): Use them with
14533 completion-table-with-quoting.
14534 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
14535 * pcomplete.el (pcomplete-arg-quote-list)
14536 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
14537 (pcomplete-unquote-argument-function): Default to non-nil.
14538 (pcomplete-unquote-argument): Simplify.
14539 (pcomplete--common-quoted-suffix): Remove.
14540 (pcomplete-requote-argument-function): New var.
14541 (pcomplete--common-suffix): New function.
14542 (pcomplete-completions-at-point): Use completion-table-with-quoting
14543 and completion-table-subvert.
14544
14545 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
14546 (minibuffer--double-dollars): Preserve properties.
14547 (completion--sifn-requote): New function.
14548 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
14549
14550 * minibuffer.el: Add support for completion of quoted/escaped data.
14551 (completion-table-with-quoting, completion-table-subvert): New funs.
14552 (completion--twq-try, completion--twq-all): New functions.
14553 (completion--nth-completion): New function.
14554 (completion-try-completion, completion-all-completions): Use it.
14555
14556 2012-04-25 Leo Liu <sdl.web@gmail.com>
14557
14558 * progmodes/python.el (python-pdbtrack-get-source-buffer):
14559 Use compilation-message if available to find real filename.
14560
14561 2012-04-25 Chong Yidong <cyd@gnu.org>
14562
14563 * vc/diff-mode.el (diff-setup-whitespace): New function.
14564 (diff-mode): Use it.
14565
14566 * vc/diff.el (diff-sentinel):
14567 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
14568 Whitespace mode variables based on diff style (Bug#8612).
14569
14570 2012-04-25 Leo Liu <sdl.web@gmail.com>
14571
14572 * progmodes/python.el (python-send-region): Add suffix .py to the
14573 temp file.
14574
14575 * files.el (auto-mode-alist): Use javascript-mode instead.
14576
14577 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
14578
14579 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
14580
14581 * net/soap-client.el (soap-resolve-references-for-sequence-type)
14582 (soap-resolve-references-for-array-type): Hack to prevent self
14583 references, see Bug#9.
14584 (soap-parse-envelope): Report the contents of the 'detail' node
14585 when receiving a fault reply.
14586 (soap-parse-envelope): Report the contents of the entire 'detail' node.
14587
14588 * net/soap-inspect.el (soap-sample-value-for-simple-type)
14589 (soap-inspect-simple-type): New function.
14590
14591 * net/soap-client.el (soap-simple-type): New struct.
14592 (soap-default-xsd-types, soap-default-soapenc-types)
14593 (soap-decode-basic-type, soap-encode-basic-type):
14594 support unsignedInt and double basic types.
14595 (soap-resolve-references-for-simple-type)
14596 (soap-parse-simple-type, soap-encode-simple-type): New function.
14597 (soap-parse-schema): Parse xsd:simpleType declarations.
14598
14599 * net/soap-client.el (soap-default-xsd-types)
14600 (soap-default-soapenc-types): Add integer, byte and anyURI types.
14601 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
14602 the local name of "soapenc:Array".
14603 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
14604 decoding integer, byte and anyURI xsd types.
14605
14606 2012-04-25 Chong Yidong <cyd@gnu.org>
14607
14608 * cus-edit.el (custom-buffer-create-internal): Update header text.
14609
14610 2012-04-25 Eli Zaretskii <eliz@gnu.org>
14611
14612 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
14613 settings on 'system-type', not on 'window-system'. On MS-Windows,
14614 set interactive-mode on in GDB.
14615
14616 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14617
14618 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
14619 (ruby-syntax-propertize-regexp): Remove.
14620 (ruby-syntax-propertize-function): Split regexp into chunks.
14621 Match following code directly.
14622
14623 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
14624
14625 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
14626 (ruby-syntax-propertize-regexp): New function.
14627 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
14628 by a special keyword.
14629
14630 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
14631 (ruby-syntax-general-delimiters-goto-beg)
14632 (ruby-syntax-propertize-general-delimiters): New functions.
14633 (ruby-syntax-propertize-function): Use them to handle GDL.
14634 (ruby-font-lock-keywords): Move old handling of GDL...
14635 (ruby-font-lock-syntactic-keywords): .. to here.
14636 (ruby-calculate-indent): Adjust indentation for GDL.
14637
14638 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
14639
14640 * notifications.el (top): Remove unneeded declarations.
14641 (notifications-specification-version): Change to "1.2".
14642 (notifications-interface, notifications-notify-method)
14643 (notifications-close-notification-method): Fix docstring.
14644 (notifications-get-capabilities-method): New defconst.
14645 (notifications-notify): Add :action-items, :resident and
14646 :transient hints. Change "image_data" to "image-data" and
14647 "image_path" to "image-path".
14648 (notifications-get-capabilities): New defun.
14649
14650 2012-04-24 Leo Liu <sdl.web@gmail.com>
14651
14652 * progmodes/python.el: Move hideshow setup to the end.
14653
14654 2012-04-24 Martin Rudalics <rudalics@gmx.at>
14655
14656 * window.el (handle-select-window): Clear echo area since this is
14657 no more done by read_char (Bug#11304).
14658
14659 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14660
14661 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
14662 and `/ M' to filter-derived-mode.
14663 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
14664 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
14665 (ibuffer-mark-by-mode): Use default rather than initial-input.
14666 (ibuffer-filter-by-derived-mode): Autoload and require-match.
14667
14668 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
14669
14670 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
14671 (ibuffer-filter-by-derived-mode): New filter.
14672 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
14673
14674 2012-04-23 Andreas Politz <politza@fh-trier.de>
14675
14676 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
14677
14678 2012-04-23 Chong Yidong <cyd@gnu.org>
14679
14680 * cus-edit.el (customize-apropos, customize-apropos-options):
14681 Disable matching of non-option variables (Bug#11176).
14682 (customize-option, customize-option-other-window)
14683 (customize-changed-options): Doc fix.
14684 (customize-apropos-options, customize-apropos-faces)
14685 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
14686
14687 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
14688 Fix word list splitting (Bug#11132).
14689 (apropos-symbol, apropos-keybinding, apropos-label)
14690 (apropos-property, apropos-function-button)
14691 (apropos-variable-button, apropos-misc-button): New faces.
14692 (apropos-symbol-face, apropos-keybinding-face)
14693 (apropos-label-face, apropos-property-face, apropos-match-face):
14694 Variables removed (Bug#8396).
14695 (apropos-library-button, apropos-format-plist, apropos-print)
14696 (apropos-print-doc, apropos-describe-plist): Callers changed.
14697
14698 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
14699
14700 * net/xesam.el (xesam-mode-map): Use let-bound map in
14701 initialization. (Bug#11292)
14702
14703 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14704
14705 Preserve ispell session localwords when switching back to
14706 original buffer.
14707
14708 * textmodes/ispell.el (ispell-buffer-session-localwords):
14709 New buffer-local variable to hold buffer session localwords.
14710 (ispell-kill-ispell): Add option 'clear to delete session
14711 localwords.
14712 (ispell-command-loop, ispell-change-dictionary)
14713 (ispell-buffer-local-words): Preserve session localwords when
14714 needed.
14715
14716 * textmodes/flyspell.el (flyspell-process-localwords)
14717 (flyspell-do-correct): Preserve session localwords when needed.
14718
14719 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14720
14721 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
14722 using obsolete `translation-table-for-input'.
14723 (ispell-word, ispell-process-line, ispell-complete-word):
14724 Use plain `insert' instead of removed `ispell-insert-word'.
14725
14726 2012-04-22 Chong Yidong <cyd@gnu.org>
14727
14728 * cus-edit.el (custom-variable-menu)
14729 (custom-variable-reset-saved, custom-face-menu)
14730 (custom-face-reset-saved): If there is no saved value, make the
14731 "reset-saved" operation bring back the default (Bug#9509).
14732 (custom-face-state): Properly detect themed faces.
14733
14734 * faces.el (face-spec-set): Stop supporting deprecated form of
14735 third arg.
14736
14737 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
14738
14739 Move functions from C to Lisp. Make non-blocking method calls
14740 the default. Implement further D-Bus standard interfaces.
14741
14742 * net/dbus.el (dbus-message-internal): Declare function.
14743 Remove unneeded function declarations.
14744 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
14745 (dbus-message-type-method-return, dbus-message-type-error)
14746 (dbus-message-type-signal): Declare variables. Remove local
14747 definitions.
14748 (dbus-interface-dbus, dbus-interface-peer)
14749 (dbus-interface-introspectable, dbus-interface-properties)
14750 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
14751 Adapt docstring.
14752 (dbus-interface-objectmanager): New defconst.
14753 (dbus-call-method, dbus-call-method-asynchronously)
14754 (dbus-send-signal, dbus-method-return-internal)
14755 (dbus-method-error-internal, dbus-register-service)
14756 (dbus-register-signal, dbus-register-method): New defuns, moved
14757 from dbusbind.c
14758 (dbus-call-method-handler, dbus-setenv)
14759 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14760 New defuns.
14761 (dbus-call-method-non-blocking): Make it an obsolete function.
14762 (dbus-unregister-object, dbus-unregister-service)
14763 (dbus-handle-event, dbus-register-property)
14764 (dbus-property-handler): Obey the new structure of
14765 `bus-registered-objects'.
14766 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
14767 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14768 Use `dbus-call-method'.
14769
14770 2012-04-22 Chong Yidong <cyd@gnu.org>
14771
14772 * cus-edit.el (custom-commands, custom-reset-menu)
14773 (Custom-reset-standard): Tweak labels.
14774 (custom-reset-button-menu): Change default to t.
14775 (custom-buffer-create-internal): For the custom-reset-button-menu
14776 case, put the revert button first.
14777 (custom-group-subtitle): New face.
14778 (custom-group-value-create): Align docstring to a specific column.
14779
14780 * wid-edit.el (widget-documentation-link-add): Don't handle
14781 indentation in this function.
14782 (widget-documentation-string-indent-to): New function.
14783 (widget-documentation-string-value-create): Use it.
14784
14785 * autorevert.el (auto-revert):
14786 * epg-config.el (epg):
14787 * ibuffer.el (ibuffer):
14788 * mpc.el (mpc):
14789 * ses.el (ses):
14790 * eshell/eshell.el (eshell):
14791 * net/ange-ftp.el (ange-ftp):
14792 * progmodes/ebnf2ps.el (postscript):
14793 * progmodes/flymake.el (flymake):
14794 * progmodes/prolog.el (prolog):
14795 * progmodes/verilog-mode.el (verilog-mode):
14796 * progmodes/which-func.el (which-func):
14797 * term/xterm.el (xterm):
14798 * textmodes/picture.el (picture):
14799 * textmodes/tildify.el (tildify):
14800 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14801 customization buffers.
14802
14803 2012-04-22 Alan Mackenzie <acm@muc.de>
14804
14805 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14806 Adding a ) can hide the resulting (..) from searches. Fix it.
14807 Bound the backward search to the position of the existing (.
14808
14809 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
14810
14811 * progmodes/verilog-mode.el (verilog-mode): Check whether
14812 which-func-modes is t before adding verilog-mode.
14813 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14814
14815 2012-04-21 Leo Liu <sdl.web@gmail.com>
14816
14817 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14818
14819 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
14820
14821 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14822 filling of the last column of a table (Bug#5635).
14823 (woman-find-next-control-line): New arg, specifying an additional
14824 regexp component for the control line.
14825 (woman2-roff-buffer): Use it.
14826 (woman-break-table): New function.
14827 (woman2-TS): Use it.
14828
14829 2012-04-21 Chong Yidong <cyd@gnu.org>
14830
14831 * woman.el (woman-set-buffer-display-table, woman-decode-region)
14832 (woman-horizontal-escapes, woman-negative-vertical-space)
14833 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14834 (WoMan-warn-ignored): Use ?\s instead of ?\ .
14835
14836 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14837
14838 * minibuffer.el (completion-file-name-table): Complete user names.
14839
14840 2012-04-20 Leo Liu <sdl.web@gmail.com>
14841
14842 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14843 and pcase-let*.
14844
14845 2012-04-20 Chong Yidong <cyd@gnu.org>
14846
14847 * server.el (server-execute): Respect initial-buffer-choice if it
14848 is a string and there are no files to open (Bug#2825).
14849 (server-create-window-system-frame, server-create-tty-frame):
14850 Don't switch buffers here.
14851 (server-process-filter): Only try to open a window system frame if
14852 compiled with graphical support (Bug#8314).
14853
14854 2012-04-20 Dan Nicolaescu <dann@gnu.org>
14855
14856 * battery.el (battery-echo-area-format): Display remaining time
14857 for sysfs backend too (Bug#11269).
14858 (battery-linux-sysfs): Fix conditional for the charge.
14859
14860 2012-04-20 Chong Yidong <cyd@gnu.org>
14861
14862 * progmodes/gdb-mi.el (gdb): Revert previous change.
14863 (gdb-inferior-io--init-proc): New function.
14864 (gdb-init-1): Use it.
14865 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14866 responsible for allocating a new pty and hooking it to gdb when
14867 the old pty gets an EIO due to process exit.
14868 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
14869 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14870 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14871
14872 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14873
14874 * window.el (window-min-size, window-sizable, window-min-delta)
14875 (window-max-delta, window--resizable, window-resizable)
14876 (window-total-size, window-full-height-p, window-full-width-p)
14877 (window-in-direction, window--resize-mini-window, window-resize)
14878 (window--resize-child-windows-normal)
14879 (window--resize-child-windows, window--resize-siblings)
14880 (window--resize-this-window, adjust-window-trailing-edge)
14881 (enlarge-window, shrink-window): Doc fixes.
14882
14883 2012-04-20 Chong Yidong <cyd@gnu.org>
14884
14885 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14886 New function to call delete-process on the gdb-inferior buffer's pty.
14887 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14888 pty process (Bug#11273).
14889 (gdb-update): New arg to suppress talking to the gdb process.
14890 (gdb-done-or-error): Use it.
14891 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14892 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14893 sentinel not being called.
14894
14895 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14896
14897 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14898
14899 2012-04-20 Glenn Morris <rgm@gnu.org>
14900
14901 * net/network-stream.el (open-network-stream): Doc fix.
14902
14903 2012-04-20 Chong Yidong <cyd@gnu.org>
14904
14905 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14906
14907 2012-04-20 Alan Mackenzie <acm@muc.de>
14908
14909 Ensure searching for keywords is case sensitive.
14910
14911 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14912 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14913 (c-defun-name, c-mark-function, c-cpp-define-name)
14914 (c-comment-indent, c-scan-conditionals, c-indent-defun)
14915 (c-context-line-break): Bind case-fold-search to nil.
14916
14917 * progmodes/cc-mode.el (c-font-lock-fontify-region):
14918 Bind case-fold-search to nil.
14919
14920 2012-04-20 Chong Yidong <cyd@gnu.org>
14921
14922 * mail/sendmail.el (mail-bury): Call return action with the right
14923 Rmail buffer (Bug#11242).
14924
14925 * server.el (server-process-filter): Handle corner case where both
14926 tty and nowait options are present (Bug#11102).
14927
14928 2012-04-20 Eli Zaretskii <eliz@gnu.org>
14929
14930 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14931 (top level): Put into the executable the ident-style '$Id:' tag on
14932 windows-nt as well.
14933
14934 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * electric.el (electric-indent-post-self-insert-function): Check that
14937 electric-indent-mode is enabled in current buffer.
14938
14939 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14940
14941 * imenu.el (imenu-progress-message): Restore; it is "used" in
14942 erc/erc-imenu.el and net/snmp-mode.el.
14943
14944 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
14945
14946 * avoid.el (mouse-avoidance-mode): Mark unused arg.
14947 (mouse-avoidance-nudge-mouse): Remove unused binding.
14948
14949 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14950
14951 * descr-text.el (describe-char):
14952 * progmodes/python.el (python-describe-symbol):
14953 Don't call `toggle-read-only', set `buffer-read-only'.
14954
14955 * imenu.el (imenu-default-goto-function): Mark unused args.
14956 (imenu-progress-message): Remove obsolete macro; all callers changed.
14957
14958 * subr.el (keymap-canonicalize): Remove unused binding.
14959 (read-passwd): Mark unused arg.
14960
14961 * tutorial.el (tutorial--display-changes): Remove unused binding.
14962 (tutorial--save-tutorial-to): Remove unused variable.
14963
14964 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14965 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14966 (package-generate-autoloads, package-menu--generate)
14967 (package-menu--find-upgrades): Remove unused bindings.
14968
14969 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14970 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
14971 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14972 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14973 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14974 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14975 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14976 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14977 (cua-delete-char-rectangle): Mark unused args.
14978 (cua-align-rectangle): Remove unused binding.
14979
14980 * mail/rmail.el (compilation--message->loc)
14981 (epa--find-coding-system-for-mime-charset): Declare.
14982
14983 * net/dbus.el (dbus-register-service): Declare.
14984 (dbus-name-owner-changed-handler): Remove unused binding.
14985
14986 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14987 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14988 (nxml-scan-backward-within): Mark unused arg.
14989 (nxml-dynamic-markup-word): Remove unused binding.
14990
14991 * mouse.el (mouse-menu-major-mode-map):
14992 * emacs-lisp/authors.el (authors-scan-change-log)
14993 (authors-add-to-author-list):
14994 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14995 * emacs-lisp/smie.el (smie-auto-fill):
14996 * mail/sendmail.el (mail-bury):
14997 * mail/unrmail.el (unrmail):
14998 * net/tls.el (open-tls-stream):
14999 * textmodes/picture.el (picture-mouse-set-point):
15000 Remove unused bindings.
15001
15002 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
15003
15004 * net/tramp.el (tramp-action-password): Let-bind
15005 `enable-recursive-minibuffers' to t.
15006
15007 2012-04-18 Sam Steingold <sds@gnu.org>
15008
15009 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
15010 instead of 'string to accommodate values like [f11].
15011 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
15012 * progmodes/gdb-mi.el: Likewise.
15013
15014 2012-04-18 Leo Liu <sdl.web@gmail.com>
15015
15016 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
15017 current buffer.
15018 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
15019 LOCAL is nil.
15020
15021 2012-04-18 Chong Yidong <cyd@gnu.org>
15022
15023 * simple.el (line-move): Use forward-line if in batch mode
15024 (Bug#11053).
15025
15026 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
15027
15028 * files.el (after-find-file): Do not try to add a final newline if
15029 the buffer is read-only (Bug#11156).
15030
15031 2012-04-17 Richard Stallman <rms@gnu.org>
15032
15033 * mail/rmail.el (rmail-start-mail):
15034 Pass (rmail-mail-return...) for the return-action.
15035 Pass (rmail-yank-current-message...) for the yank-action.
15036 (rmail-yank-current-message): New function.
15037 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
15038 (rmail-reply): Likewise.
15039 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
15040
15041 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
15042 buffer, not the last. Reject temp buffers. Use the rmail-mode
15043 buffer, not newbuf.
15044
15045 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
15046
15047 * server.el (server-ensure-safe-dir): Simplify.
15048
15049 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15050
15051 * emacs-lisp/smie.el: Provide smarter auto-filling.
15052 (smie-auto-fill): New function.
15053 (smie-setup): Use it.
15054
15055 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
15056
15057 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
15058
15059 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
15060 (comment-indent): Use it.
15061
15062 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
15063
15064 * ses.el: The overall change is to add cell renaming, that is
15065 setting fancy names for cell symbols other than name matching
15066 "\\`[A-Z]+[0-9]+\\'" regexp .
15067 (ses-localvars): Add ses--renamed-cell-symb-list.
15068 (ses-create-cell-variable): New defun.
15069 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
15070 (ses-relocate-formula): Relocate formulas only for cells the
15071 symbols of which are not renamed, i.e. symbols whose names do not
15072 match regexp "\\`[A-Z]+[0-9]+\\'".
15073 (ses-relocate-all): Relocate values only for cells the symbols of
15074 which are not renamed.
15075 (ses-load): Create cells variables as the (ses-cell ...) are read,
15076 in order to check row col consistency with cell symbol name only
15077 for cells that are not renamed.
15078 (ses-replace-name-in-formula): New defun.
15079 (ses-rename-cell): New defun.
15080
15081 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
15082
15083 * progmodes/perl-mode.el (perl-indent-parens-as-block):
15084 New option (bug#11118).
15085 (perl-calculate-indent): Respect it.
15086
15087 2012-04-17 Glenn Morris <rgm@gnu.org>
15088
15089 * dired-aux.el (dired-mark-read-string): Doc fix.
15090
15091 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
15092
15093 * dired-aux.el (dired-mark-read-string): Offer optional completion.
15094 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
15095
15096 2012-04-17 Glenn Morris <rgm@gnu.org>
15097
15098 * mouse.el (mouse-drag-track):
15099 * speedbar.el (speedbar-frame-mode):
15100 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
15101
15102 2012-04-16 Leo Liu <sdl.web@gmail.com>
15103
15104 * progmodes/python.el: Trivial cleanup.
15105
15106 2012-04-16 Glenn Morris <rgm@gnu.org>
15107
15108 * vc/vc.el (vc-string-prefix-p):
15109 * vc/pcvs-util.el (cvs-string-prefix-p):
15110 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
15111 * mpc.el (mpc-string-prefix-p):
15112 Make all of these into obsolete aliases for string-prefix-p.
15113 Update callers.
15114 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
15115
15116 * textmodes/two-column.el: Move custom options to the start.
15117 (frame-width): Remove compat definition.
15118 (2C-associate-buffer, 2C-dissociate):
15119 Use with-current-buffer rather than save-excursion.
15120 (2C-dissociate): Force a mode-line update.
15121 (2C-autoscroll): Use ignore-errors.
15122
15123 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
15124 Autoload trivia.
15125
15126 * emacs-lisp/cl-extra.el (*random-state*):
15127 Remove unnecessary declaration.
15128
15129 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
15130
15131 * play/cookie1.el (cookie-snarf):
15132 Give an explicit error if input file cannot be read.
15133
15134 * play/yow.el (yow-file): Use expand-file-name rather than concat.
15135
15136 * progmodes/perl-mode.el (c-macro-expand):
15137 Remove unnecessary autoload (it is in loaddefs.el).
15138
15139 * textmodes/picture.el (picture-desired-column)
15140 (picture-update-desired-column): Convert comments to doc-strings.
15141 (picture-substitute): Remove function.
15142 (picture-mode-map): Initialize in the defvar.
15143
15144 * woman.el: Remove eval-after-load for tar-mode.
15145 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
15146 (woman-tar-extract-file): Autoload it.
15147
15148 * frame.el (automatic-hscrolling): Make this alias obsolete.
15149
15150 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15151
15152 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
15153 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
15154 (ispell-dictionary-base-alist): Revert to original XEmacs
15155 friendly version for default. [:alpha:] will be added in
15156 `ispell-set-spellchecker-params' if needed.
15157
15158 2012-04-16 Chong Yidong <cyd@gnu.org>
15159
15160 * image.el (imagemagick--file-regexp): New variable.
15161 (imagemagick-register-types): Use it.
15162 (imagemagick-types-inhibit): Add :set function. Allow new value
15163 of t to inhibit all types.
15164
15165 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
15166 so we can preload it.
15167
15168 * loadup.el (fboundp): Preload regexp-opt, needed by
15169 imagemagick-register-types.
15170
15171 2012-04-15 Chong Yidong <cyd@gnu.org>
15172
15173 * frame.el (scrolling): Remove nearly unused customization group.
15174
15175 * scroll-all.el (scroll-all-mode): Move to windows group.
15176
15177 2012-04-15 Chong Yidong <cyd@gnu.org>
15178
15179 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
15180
15181 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15182
15183 Avoid the use of ((lambda ...) ...) in lexical-binding code.
15184 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
15185
15186 2012-04-15 Glenn Morris <rgm@gnu.org>
15187
15188 * simple.el (process-file-side-effects): Doc fix.
15189
15190 2012-04-15 Glenn Morris <rgm@gnu.org>
15191
15192 * international/mule-cmds.el (set-language-environment): Doc fix.
15193
15194 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15195
15196 * server.el (server-auth-key, server-generate-key): Doc fixes.
15197 (server-get-auth-key): Doc fix. Use `string-match-p'.
15198 (server-start): Reflow docstring.
15199
15200 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
15201
15202 * server.el (server-generate-key): `called-interactively-p'
15203 requires a parameter.
15204
15205 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
15206
15207 * server.el (server-auth-key): New variable.
15208 (server-generate-key, server-get-auth-key): New function.
15209 (server-start): Use the new variable and functions to allow
15210 setting a permanent server key (bug#9423).
15211
15212 2012-04-14 Leo Liu <sdl.web@gmail.com>
15213
15214 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
15215
15216 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
15217
15218 Spelling fixes.
15219 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
15220 Emacs uses American spelling.
15221
15222 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
15223
15224 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
15225 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
15226 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
15227 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
15228
15229 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15230
15231 * progmodes/which-func.el (which-func-modes): Change default.
15232
15233 2012-04-14 Kim F. Storm <storm@cua.dk>
15234
15235 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
15236 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
15237
15238 2012-04-14 Chong Yidong <cyd@gnu.org>
15239
15240 * custom.el (custom-theme-set-variables): Doc fix.
15241
15242 2012-04-14 Glenn Morris <rgm@gnu.org>
15243
15244 * international/mule.el (set-auto-coding-for-load): Doc fix.
15245
15246 2012-04-14 Alan Mackenzie <acm@muc.de>
15247
15248 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
15249 imenu work again for Objective C Mode. Correct the *-index values,
15250 these having been disturbed by a previous change in 2011-08.
15251
15252 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
15253 Correct two search limits.
15254
15255 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15256
15257 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
15258
15259 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
15260
15261 * international/characters.el: Fix sorting.
15262
15263 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15264
15265 * international/characters.el: Add more missing Latin case pairs.
15266
15267 2012-04-14 Glenn Morris <rgm@gnu.org>
15268
15269 * files.el (dir-locals-set-class-variables): Doc fix.
15270
15271 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15272
15273 * international/characters.el: Add set-case-syntax-pair call for
15274 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
15275 counterpart. (Bug#11209)
15276
15277 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
15278
15279 2012-04-14 Glenn Morris <rgm@gnu.org>
15280
15281 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15282
15283 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15284
15285 * textmodes/ispell.el (ispell-dictionary-base-alist):
15286 Add data for Hebrew.
15287
15288 2012-04-14 Chong Yidong <cyd@gnu.org>
15289
15290 * net/rcirc.el (rcirc-cmd-quit):
15291 Revert 2012-03-18 change (Bug#11192).
15292
15293 2012-04-14 Glenn Morris <rgm@gnu.org>
15294
15295 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
15296
15297 2012-04-14 Eli Zaretskii <eliz@gnu.org>
15298
15299 * minibuffer.el (completion-in-region-mode-map):
15300 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
15301
15302 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
15303
15304 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
15305
15306 2012-04-13 Masatake YAMATO <yamato@redhat.com>
15307
15308 * minibuffer.el (minibuffer-local-filename-syntax): New variable
15309 to allow `C-M-f' and `C-M-b' to move to the nearest path
15310 separator (bug#9511).
15311
15312 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
15313
15314 * avoid.el: Require cl when compiling. And also move the
15315 `provide' to the end.
15316
15317 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15318
15319 * avoid.el (mouse-avoidance-banish-position): New variable.
15320 (mouse-avoidance-banish-destination): Use it (bug#10165).
15321
15322 2012-04-13 Leo Liu <sdl.web@gmail.com>
15323
15324 * progmodes/which-func.el (which-func-modes): Add objc-mode.
15325
15326 2012-04-13 Ken Brown <kbrown@cornell.edu>
15327
15328 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
15329 this is no longer needed now that cygstart understands file:// URLs.
15330 (browse-url-filename-alist): For the same reason, don't modify
15331 file:// URLs on Cygwin.
15332
15333 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
15334
15335 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
15336 the region on shift if the binding is already shifted (bug#11221).
15337
15338 2012-04-12 Glenn Morris <rgm@gnu.org>
15339
15340 * mail/mailpost.el: Move to obsolete/.
15341
15342 2012-04-12 Drew Adams <drew.adams@oracle.com>
15343
15344 * imenu.el (imenu--generic-function): Ignore invisible definitions
15345 (bug#10123).
15346
15347 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
15348
15349 * hexl.el (hexl-bits): New variable.
15350 (hexl-options): Mention the variable in the doc string.
15351 (hexl-rulerise, hexl-line-displen): New functions.
15352 (hexl-mode): Mention the new variable.
15353 (hexl-mode, hexl-current-address, hexl-current-address):
15354 Use the displen.
15355 (hexl-ascii-start-column): New function.
15356 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
15357 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
15358
15359 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15360
15361 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
15362 '("-i" ENCODING), in 2 separate command-line arguments, to specify
15363 the encoding, as expected by hunspell.
15364
15365 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * battery.el (battery--linux-sysfs-regexp): New const.
15368 (battery-status-function): Use it. Remove yeeloong special case.
15369 (battery-yeeloong-sysfs): Remove.
15370 (battery-echo-area-format): Remove yeeloong special case.
15371
15372 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15373
15374 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
15375 Reported by Noah Friedman.
15376
15377 * subr.el (read-passwd): Use read-string.
15378
15379 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15380
15381 * vcursor.el (vcursor-move): Increase the priority of the overlay
15382 (bug#9663).
15383
15384 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15385
15386 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
15387 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
15388
15389 2012-04-11 William Stevenson <yhvh2000@gmail.com>
15390
15391 * textmodes/artist.el (artist-mode): Convert artist-mode to use
15392 define-minor-mode (bug#10760).
15393
15394 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
15395
15396 * progmodes/grep.el (rgrep): Tweak the find command line so
15397 that directories matching `grep-find-ignored-files' won't be
15398 pruned (bug#10351).
15399
15400 2012-04-11 Chong Yidong <cyd@gnu.org>
15401
15402 * startup.el (command-line): Remove support for long-obsolete
15403 variable font-lock-face-attributes.
15404
15405 2012-04-11 Glenn Morris <rgm@gnu.org>
15406
15407 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
15408
15409 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15410
15411 * window.el (window--state-get-1): Obey window-point-insertion-type.
15412
15413 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
15414
15415 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
15416 to previous function when point is on the first character of a
15417 function. Take care of that in `narrow-to-defun' (bug#6157).
15418
15419 2012-04-11 Glenn Morris <rgm@gnu.org>
15420
15421 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
15422 not just file-errors.
15423
15424 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
15425 (vc-bzr-sha1): Use internal sha1.
15426
15427 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
15428
15429 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
15430
15431 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
15432
15433 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
15434 that start in the middle of the line (bug#10496).
15435
15436 2012-04-10 Dan Nicolaescu <dann@gnu.org>
15437
15438 * battery.el (battery-linux-proc-acpi): Only one battery is
15439 discharged at a time, but that seems to confuse battery.el when
15440 computing `rate-type' for the battery not being discharged
15441 (bug#10332).
15442
15443 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15444
15445 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
15446
15447 * international/quail.el: Use dolist and simplify.
15448 (quail-define-package, quail-update-keyboard-layout)
15449 (quail-define-rules): Use dolist.
15450 (quail-insert-kbd-layout, quail-get-translation): CSE.
15451
15452 * tmm.el: Use dolist, remove left over hook.
15453 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
15454 Use dolist.
15455 (calendar-load-hook): Don't mess with it.
15456
15457 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
15458 Use derived-mode-p. Run the diff asynchronously.
15459
15460 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15461
15462 * obsolete/mouse-sel.el: Add an Obsolete-since header.
15463
15464 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
15465
15466 * misc.el: Display absolute path of loaded DLLs (bug#10424).
15467 (list-dynamic-libraries--loaded): New function.
15468 (list-dynamic-libraries--refresh): Use it.
15469
15470 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
15471
15472 * progmodes/python.el (python-fill-paragraph):
15473 Make python-fill-region in a multiline string work when font-lock is
15474 disabled (bug#7018).
15475
15476 2012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
15477
15478 * language/european.el (cp775): Add oem/legacy (en)coding on
15479 DOS/MS Windows for the Baltic languages. There are still plenty
15480 of texts written in this encoding/codepage (bug#6519).
15481
15482 2012-04-10 Glenn Morris <rgm@gnu.org>
15483
15484 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
15485 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
15486
15487 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
15488
15489 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
15490 next-line "n" and previous-line "p" in order to make recentf more
15491 consistent with ibuffer, dired or org-mode (bug#9387).
15492
15493 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15494
15495 * image.el (put-image): Return the overlay created instead of the
15496 optional input string (bug#7834). Note that this may break code
15497 that is (for some reason or other) depending on `put-image'
15498 returning the string.
15499
15500 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
15501
15502 * simple.el (zap-to-char): Allow zapping using input methods
15503 (bug#1580).
15504
15505 * textmodes/fill.el (fill-region): Leave point and mark where they
15506 were before filling (bug#5399).
15507
15508 2012-04-09 Glenn Morris <rgm@gnu.org>
15509
15510 * version.el (emacs-bzr-get-version):
15511 Handle lightweight checkouts of local branches.
15512
15513 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
15514
15515 * international/characters.el: Recover lost case pairs. (Bug#11209)
15516
15517 2012-04-09 Chong Yidong <cyd@gnu.org>
15518
15519 * custom.el (custom-variable-p): Return nil for non-symbol
15520 arguments instead of signaling an error.
15521 (user-variable-p): Obsolete alias for custom-variable-p.
15522
15523 * apropos.el (apropos-variable):
15524 * files-x.el (read-file-local-variable):
15525 * simple.el (set-variable):
15526 * woman.el (woman-mini-help):
15527 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
15528
15529 2012-04-09 Glenn Morris <rgm@gnu.org>
15530
15531 * startup.el (normal-top-level): Don't look for leim-list.el
15532 in places where it will not be found. (Bug#910)
15533
15534 * international/mule-cmds.el (set-default-coding-systems):
15535 * files.el (normal-mode):
15536 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
15537 This function was removed with ucs-tables.el in 2008.
15538
15539 2012-04-08 Eli Zaretskii <eliz@gnu.org>
15540
15541 * textmodes/ispell.el (ispell-check-version): For hunspell, set
15542 ispell-encoding8-command to "-i", without a trailing space.
15543 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
15544 separate command-line arguments, to specify the encoding, since
15545 that's how hunspell expects it.
15546
15547 2012-04-08 Glenn Morris <rgm@gnu.org>
15548
15549 * loadup.el: Load bindings before cus-start.
15550 This reduces somewhat the number of "rogue" settings in emacs -Q.
15551
15552 2012-04-07 Glenn Morris <rgm@gnu.org>
15553
15554 * version.el (emacs-bzr-get-version): New function.
15555 (emacs-bzr-version): New variable.
15556 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
15557 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
15558
15559 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15560
15561 * international/uni-bidi.el, international/uni-category.el:
15562 * international/uni-combining.el, international/uni-decimal.el:
15563 * international/uni-decomposition.el, international/uni-digit.el:
15564 * international/uni-lowercase.el, international/uni-mirrored.el:
15565 * international/uni-name.el, international/uni-numeric.el:
15566 * international/uni-titlecase.el, international/uni-uppercase.el:
15567 Update for Unicode 6.1.
15568
15569 2012-04-07 Eli Zaretskii <eliz@gnu.org>
15570
15571 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
15572
15573 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
15574
15575 * window.el (shrink-window): Mention the `window-min-height'
15576 variable in the doc string.
15577
15578 2012-04-05 Bastien Guerry <bzg@altern.org>
15579
15580 * color.el (color-lighten-name): Fix typo.
15581
15582 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15583
15584 * server.el (server--on-display-p): New function.
15585 (server--on-display-p): Use it.
15586
15587 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
15588
15589 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
15590 (bug#11145).
15591
15592 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15593
15594 * comint.el (comint--common-quoted-suffix): Check string boundary
15595 before comparing (bug#11158).
15596 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
15597
15598 2012-04-04 Chong Yidong <cyd@gnu.org>
15599
15600 * minibuffer.el (completion-extra-properties): Doc fix.
15601
15602 * subr.el (delayed-warnings-hook): Doc fix.
15603
15604 2012-04-04 Daiki Ueno <ueno@unixuser.org>
15605
15606 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
15607 selection (Bug#11159).
15608 (epa-insert-keys): Inform that the default public key will be
15609 exported if no key is selected.
15610
15611 2012-04-04 Richard Stallman <rms@gnu.org>
15612
15613 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
15614
15615 2012-04-03 Chong Yidong <cyd@gnu.org>
15616
15617 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
15618 mail-insert-file, not its obsolete alias mail-attach-file.
15619
15620 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
15621
15622 * notifications.el (notifications-notify): Fix docstring.
15623
15624 2012-04-02 Glenn Morris <rgm@gnu.org>
15625
15626 * emacs-lisp/authors.el (authors-aliases): Another addition.
15627
15628 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
15629
15630 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
15631 `tramp-compat-call-process' instead of `tramp-local-call-process'.
15632 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
15633
15634 2012-04-01 Chong Yidong <cyd@gnu.org>
15635
15636 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
15637 Handle root directory properly.
15638 (copy-directory): Caller changed.
15639
15640 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15641 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
15642
15643 2012-03-31 Glenn Morris <rgm@gnu.org>
15644
15645 * term/xterm.el (xterm-extra-capabilities): Doc fix.
15646
15647 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
15648
15649 * calendar/calendar.el (calendar-window-list)
15650 (calendar-hide-window): Restore. (Bug#11140)
15651 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
15652
15653 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
15654
15655 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15656
15657 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
15658 Check if file is a symlink (Bug#10489).
15659
15660 * files.el (copy-directory): Likewise.
15661
15662 2012-03-30 Chong Yidong <cyd@gnu.org>
15663
15664 * image.el (imagemagick-types-inhibit)
15665 (imagemagick-register-types): Doc fix.
15666
15667 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15668
15669 * textmodes/ispell.el (ispell-get-extended-character-mode):
15670 Disable extended-char-mode for hunspell. hunspell does not support it
15671 and treats ~word as ordinary words in pipe mode.
15672
15673 2012-03-30 Glenn Morris <rgm@gnu.org>
15674
15675 * tutorial.el (help-with-tutorial): Ensure local variables don't
15676 happen to make the buffer read-only. (Bug#11127)
15677
15678 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
15679
15680 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
15681 (perl-calculate-indent): Return `noindent' in strings.
15682
15683 2012-03-28 Sam Steingold <sds@gnu.org>
15684
15685 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
15686 instead of the broken adhockery which does not prevent calendar
15687 buffers from being displayed at random after exit.
15688 (calendar-window-list, calendar-hide-window): Remove the broken
15689 adhockery.
15690
15691 2012-03-28 Glenn Morris <rgm@gnu.org>
15692
15693 * replace.el (query-replace-map): Doc fix.
15694
15695 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
15696
15697 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
15698 contents. (Bug#11109)
15699
15700 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15701
15702 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
15703 (bug#11077).
15704 (avl-tree--check, avl-tree--check-node): New funs.
15705
15706 2012-03-27 Martin Rudalics <rudalics@gmx.at>
15707
15708 * window.el (switch-to-visible-buffer): New option.
15709 (switch-to-prev-buffer, switch-to-next-buffer):
15710 Observe switch-to-visible-buffer. Make sure that checking for a window
15711 showing a buffer already is done on the same frame.
15712
15713 2012-03-27 Glenn Morris <rgm@gnu.org>
15714
15715 * startup.el (mail-host-address): Doc fix.
15716
15717 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15718
15719 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
15720 than 197 variables.
15721
15722 2012-03-26 Ami Fischman <ami@fischman.org>
15723
15724 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
15725
15726 2012-03-26 Glenn Morris <rgm@gnu.org>
15727
15728 * files.el (save-buffers-kill-emacs): Doc fix.
15729
15730 * startup.el (normal-top-level, command-line, command-line-1):
15731 Give them doc strings.
15732
15733 2012-03-25 Eli Zaretskii <eliz@gnu.org>
15734
15735 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
15736 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
15737
15738 2012-03-25 Chong Yidong <cyd@gnu.org>
15739
15740 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
15741 theme if it was previously enabled before (Bug#11031).
15742
15743 * cus-theme.el (custom-theme-write-faces): Retrieve current face
15744 spec with custom-face-get-current-spec if its :shown-value is not
15745 determined yet (Bug#9337).
15746 (customize-create-theme, custom-theme-revert): Doc fixes.
15747
15748 * button.el (button-at): Minor addition to docstring.
15749
15750 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
15751
15752 * vc/vc.el (vc-merge): Fix a prompt.
15753
15754 2012-03-24 Chong Yidong <cyd@gnu.org>
15755
15756 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15757 point (Bug#9623).
15758
15759 * button.el (button-at): Minor addition to docstring.
15760
15761 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
15762
15763 * newcomment.el (comment-choose-indent): No space after BOL.
15764
15765 2012-03-22 Sam Steingold <sds@gnu.org>
15766
15767 * window.el (switch-to-prev-buffer): Revert last patch because the
15768 bug turned out to be an advertised feature (Elisp manual 28.14).
15769
15770 2012-03-22 Glenn Morris <rgm@gnu.org>
15771
15772 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
15773 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15774
15775 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
15776
15777 * net/network-stream.el (network-stream-open-starttls): Make error
15778 message under Windows be less misleading.
15779
15780 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
15781
15782 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15783 understands (bug#9942).
15784
15785 2012-03-22 Chong Yidong <cyd@gnu.org>
15786
15787 * simple.el (end-of-visible-line): Handle return value of
15788 next-single-property-change properly (Bug#9371).
15789
15790 2012-03-22 Kenichi Handa <handa@m17n.org>
15791
15792 * international/quail.el (quail-insert-kbd-layout): Fix previous
15793 change. To avoid unwanted bidi reordering, use
15794 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15795
15796 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
15797
15798 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15799 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15800 (ruby-beginning-of-indent): Be more careful with the difference
15801 between word-boundary and symbol boundary.
15802 (ruby-mode-syntax-table): Make : a symbol constituent.
15803
15804 2012-03-21 Andreas Politz <politza@fh-trier.de>
15805
15806 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15807
15808 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15809
15810 * progmodes/etags.el (tags-completion-at-point-function):
15811 Improve last fix.
15812
15813 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15814
15815 2012-03-21 Sam Steingold <sds@gnu.org>
15816
15817 * progmodes/etags.el (tags-completion-at-point-function):
15818 Avoid the error when point is inside the pattern.
15819
15820 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
15821
15822 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15823 line (Bug#10855).
15824
15825 2012-03-21 Drew Adams <drew.adams@oracle.com>
15826
15827 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15828
15829 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
15830
15831 * ido.el (ido-set-current-directory, ido-read-internal)
15832 (ido-choose-completion-string, ido-completion-help): Handle nil
15833 value of ido-completion-buffer (Bug#11008).
15834
15835 2012-03-21 Sam Steingold <sds@gnu.org>
15836
15837 * window.el (switch-to-prev-buffer): Do not switch to a visible
15838 window previous buffer, just like with the frame previous buffers.
15839
15840 2012-03-21 Chong Yidong <cyd@gnu.org>
15841
15842 * faces.el (make-face, make-empty-face, copy-face):
15843 * face-remap.el (face-remap-add-relative, face-remap-set-base):
15844 Doc fixes.
15845
15846 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15847
15848 * wid-edit.el (widget-complete-field): Remove (bug#11051).
15849 (widget-complete): Remove broken use of it.
15850
15851 2012-03-20 Chong Yidong <cyd@gnu.org>
15852
15853 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15854 Use string-width and truncate-string-width to handle arbitrary
15855 characters.
15856
15857 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
15858
15859 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15860 to draw rectangles, not squares. (Regression introduced by revno
15861 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15862
15863 2012-03-18 Chong Yidong <cyd@gnu.org>
15864
15865 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15866 it is not yet defined (for temacs).
15867
15868 2012-03-18 Leo Liu <sdl.web@gmail.com>
15869
15870 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15871 prefix.
15872
15873 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15874
15875 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15876 (ispell-choices-win-default-height, ispell-silently-savep)
15877 (ispell-dictionary-alist, ispell-encoding8-command)
15878 (ispell-check-version, ispell-aspell-find-dictionary)
15879 (ispell-valid-dictionary-list, ispell-words-keyword)
15880 (ispell-get-word, ispell-internal-change-dictionary)
15881 (ispell-region, ispell-skip-region-list)
15882 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15883 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15884 (ispell-message-text-end, ispell-message)
15885 (ispell-buffer-local-parsing): Doc fix.
15886
15887 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
15888
15889 * htmlfontify.el: Add support for code block fontification for ODT
15890 export (Bug #9914).
15891 (hfy-optimisations): Define new option
15892 `body-text-only'
15893 (hfy-fontify-buffer): Honor above setting.
15894 (hfy-begin-span, hfy-end-span): New routines factored out form
15895 `hfy-fontify-buffer'.
15896 (hfy-begin-span-handler, hfy-end-span-handler): New variables
15897 that permit insertion of custom tags.
15898 (hfy-fontify-buffer): Use above handlers.
15899 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15900 (hfy-face-to-css): Re-defined to be a variable.
15901 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
15902 over multiple runs. This is made possible by having the caller let
15903 bind a special variable `hfy-user-sheet-assoc'.
15904 (htmlfontify-string): New defun.
15905 (hfy-compile-face-map): Make sure that the last char in the
15906 buffer is correctly fontified.
15907 (hfy-face-resolve-face): Whitespace only change.
15908
15909 2012-03-17 Eli Zaretskii <eliz@gnu.org>
15910
15911 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15912 message more clear.
15913
15914 2012-03-16 Leo Liu <sdl.web@gmail.com>
15915
15916 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15917
15918 2012-03-16 Alan Mackenzie <acm@muc.de>
15919
15920 Further optimize the handling of large macros.
15921
15922 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15923 limit to a call of `c-literal-limits'.
15924 (c-determine-+ve-limit): New function.
15925 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15926 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15927 In CASE 5B, restrict a search limit to 500.
15928 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15929
15930 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15931 Restrict macro bounds to +-500 from after-change's BEG END.
15932
15933 2012-03-16 Leo Liu <sdl.web@gmail.com>
15934
15935 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15936
15937 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
15938
15939 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15940 `special-mode' setting of `buffer-read-only'. (Bug#11010)
15941
15942 2012-03-16 Glenn Morris <rgm@gnu.org>
15943
15944 * view.el (view-buffer, view-buffer-other-window)
15945 (view-buffer-other-frame): Doc fixes re special mode-class.
15946
15947 * subr.el (eval-after-load): If named feature is provided not from
15948 a file, run after-load forms. (Bug#10946)
15949
15950 * calendar/calendar.el (calendar-insert-at-column):
15951 Handle non-unit-width characters a bit better. (Bug#10978)
15952
15953 2012-03-15 Chong Yidong <cyd@gnu.org>
15954
15955 * emacs-lisp/ring.el (ring-extend): New function.
15956 (ring-insert+extend): Extend the ring correctly (Bug#11019).
15957
15958 * comint.el (comint-read-input-ring)
15959 (comint-add-to-input-history): Grow comint-input-ring lazily.
15960
15961 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15962
15963 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15964 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15965
15966 * imenu.el: Fix multiple inheritance breakage (bug#9199).
15967 (imenu-add-to-menubar): Don't add a redundant index.
15968 (imenu-update-menubar): Handle a dynamically composed keymap.
15969
15970 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
15971
15972 * mail/sendmail.el (mail-encode-header):
15973 Bind rfc2047-encode-encoded-words to nil.
15974
15975 2012-03-13 Glenn Morris <rgm@gnu.org>
15976
15977 * calendar/calendar.el (calendar-string-spread):
15978 Handle non-unit-width characters a bit better. (Bug#10978)
15979
15980 2012-03-13 Leo Liu <sdl.web@gmail.com>
15981
15982 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15983 directory and file as argument (Bug#10822).
15984
15985 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15986
15987 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15988 For dynamically generated code, follow $PC.
15989 (gdb-disassembly-handler-custom): Handle no function name case.
15990
15991 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
15992
15993 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15994 * emulation/ws-mode.el (ws-query-replace):
15995 * sort.el (sort-regexp-fields):
15996 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
15997
15998 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15999
16000 * dabbrev.el: Fix cycle completion order (bug#10963).
16001 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
16002 (dabbrev-completion): Don't use an obarray; provide
16003 a cycle-sort-function.
16004
16005 2012-03-12 Leo Liu <sdl.web@gmail.com>
16006
16007 * simple.el (kill-new): Use equal-including-properties for comparison.
16008 (kill-do-not-save-duplicates): Doc fix.
16009
16010 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16011
16012 * dabbrev.el: Fix cycle completion (bug#10963).
16013 Use lexical binding and wrap to 80 columns.
16014 (dabbrev-completion): Delay computing the list of completions.
16015
16016 2012-03-12 Kenichi Handa <handa@m17n.org>
16017
16018 * international/quail.el (quail-insert-kbd-layout): Surround each
16019 row by LRO and PDF instead of inserting many LRMs. Pad the left
16020 and right of each non-spacing marks. Insert invisible space
16021 between lower and upper characters to prevent composition.
16022
16023 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16024
16025 * minibuffer.el (minibuffer-complete): Don't get confused when the
16026 function is run twice via different commands (bug#10958).
16027 (complete-with-action): Fix docstring.
16028
16029 2012-03-12 Chong Yidong <cyd@gnu.org>
16030
16031 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
16032 (nxml-completion-at-point-function): New function.
16033 (nxml-mode): Use it.
16034 (nxml-bind-meta-tab-to-complete-flag): Default to t.
16035
16036 * emacs-lisp/package.el (package-unpack, package-unpack-single):
16037 Load generated autoloads file before byte compiling (Bug#10970).
16038 (package--make-autoloads-and-compile): New helper fun.
16039
16040 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
16041
16042 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
16043
16044 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
16045
16046 * autorevert.el (auto-revert-handler): Ensure, that
16047 file-readable-p is applied only for local files or in
16048 auto-revert-tail-mode.
16049
16050 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
16051
16052 * server.el (server-eval-at): Handle non-tcp connections.
16053 Decode result string.
16054
16055 * server.el (server-msg-size): New constant.
16056 (server-reply-print): New function.
16057 (server-eval-and-print): Use it.
16058 (server-eval-at): Use server-quote-arg and server-unquote-arg.
16059 Handle -print-nonl.
16060
16061 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
16062
16063 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
16064 (Bug#10987).
16065
16066 2012-03-11 Chong Yidong <cyd@gnu.org>
16067
16068 * simple.el (goto-line): Doc fix (Bug#9938).
16069
16070 * subr.el (save-window-excursion): Doc fix (Bug#9979).
16071
16072 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
16073 when finished (Bug#10963).
16074
16075 2012-03-11 Martin Rudalics <rudalics@gmx.at>
16076
16077 * window.el (split-window-below): Fix bug in case where
16078 split-window-keep-point is nil (Bug#10971).
16079
16080 2012-03-11 Juri Linkov <juri@jurta.org>
16081
16082 * replace.el (replace-highlight): Set isearch-word to nil
16083 unconditionally. (Bug#10887)
16084
16085 2012-03-10 Eli Zaretskii <eliz@gnu.org>
16086
16087 * net/mairix.el (mairix-replace-invalid-chars): Rename from
16088 mairix-replace-illegal-chars; all callers changed. Don't remove
16089 ^, ~, and = characters: they are meaningful in mairix search specs.
16090 (mairix-widget-create-query): Add usage information about mairix
16091 search forms: negating words, searching for substrings, etc.
16092
16093 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
16094
16095 * international/fontset.el (font-encoding-alist): Add an entry for
16096 ksx1001 (Bug#5667).
16097
16098 2012-03-10 Richard Stallman <rms@gnu.org>
16099
16100 * mail/sendmail.el (mail-encode-header):
16101 Set rfc2047-encode-encoded-words.
16102
16103 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
16104
16105 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
16106 view buffer means not swapped.
16107 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
16108 (rmail-write-region-annotate): Error if real text has disappeared.
16109
16110 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
16111
16112 2012-03-10 Chong Yidong <cyd@gnu.org>
16113
16114 * emulation/cua-rect.el (cua--init-rectangles):
16115 * emulation/cua-base.el (cua--init-keymaps):
16116 Add delete-forward-char to remappings (Bug#9666).
16117
16118 2012-03-10 Martin Rudalics <rudalics@gmx.at>
16119
16120 * speedbar.el (speedbar-unhighlight-one-tag-line):
16121 Avoid unhighlighting due to frame switching (Bug#10275).
16122
16123 2012-03-10 Chong Yidong <cyd@gnu.org>
16124
16125 * minibuffer.el (completion-in-region, completion-help-at-point):
16126 Give the completion field overlay a high priority (Bug#6830).
16127
16128 * dired.el (dired-goto-file): Recognize absolute file name
16129 listings (Bug#7126).
16130 (dired-goto-file-1): New helper function.
16131 (dired-toggle-read-only): Inhibit warnings.
16132
16133 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
16134
16135 * net/dbus.el (dbus-property-handler): Return empty array if
16136 there are no properties.
16137
16138 2012-03-09 Leo Liu <sdl.web@gmail.com>
16139
16140 * savehist.el (savehist-printable): Stricter check for string
16141 value (Bug#10937).
16142
16143 2012-03-09 Eli Zaretskii <eliz@gnu.org>
16144
16145 * mail/smtpmail.el (smtpmail-send-it):
16146 Bind coding-system-for-write to *-unix, so that FCC files are kept in
16147 valid mbox format.
16148
16149 2012-03-09 Glenn Morris <rgm@gnu.org>
16150
16151 * files.el (dir-locals-find-file):
16152 Don't check result is regular, readable.
16153 (dir-locals-read-from-file): Demote errors.
16154
16155 2012-03-08 Eli Zaretskii <eliz@gnu.org>
16156
16157 * international/quail.el (quail-insert-kbd-layout):
16158 Insert invisible LRM characters before each character in a keyboard
16159 layout cell, to prevent their reordering by bidi display engine.
16160 For details, see the discussion in
16161 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
16162
16163 2012-03-08 Alan Mackenzie <acm@muc.de>
16164
16165 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
16166 the starting position; make it extend the marked region when
16167 invoked repeatedly - all under appropriate circumstances.
16168 Fixes bugs #5525, #10906.
16169
16170 2012-03-08 Glenn Morris <rgm@gnu.org>
16171
16172 * files.el (locate-dominating-file, dir-locals-find-file):
16173 Undo 2012-03-06 change.
16174
16175 2012-03-07 Eli Zaretskii <eliz@gnu.org>
16176
16177 * international/quail.el (quail-help):
16178 Force bidi-paragraph-direction be left-to-right. See discussion in
16179 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
16180 for the reason.
16181
16182 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
16183
16184 Avoid superfluous registering of signals. (Bug#10807)
16185
16186 * notifications.el (notifications-on-action-object)
16187 (notifications-on-close-object): New defvars.
16188 (notifications-on-action-signal, notifications-on-closed-signal):
16189 Unregister the signal if not needed any longer.
16190 (notifications-notify): Register `notifications-action-signal' or
16191 `notifications-closed-signal', if :on-action or :on-close has been
16192 passed as argument.
16193
16194 2012-03-07 Chong Yidong <cyd@gnu.org>
16195
16196 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
16197 non-X platforms.
16198
16199 2012-03-06 Glenn Morris <rgm@gnu.org>
16200
16201 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16202 (x-disown-selection-internal, x-get-selection-internal):
16203 Doc fix (add arglist signatures). (Bug#10783)
16204
16205 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
16206
16207 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16208 Handle breakpoints with no "type".
16209
16210 2012-03-06 Glenn Morris <rgm@gnu.org>
16211
16212 * files.el (locate-dominating-file): Add optional predicate argument.
16213 (dir-locals-find-file): Make use of above change.
16214
16215 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
16216
16217 * info.el (Info-insert-dir): Also try "dir.gz".
16218
16219 2012-03-06 Glenn Morris <rgm@gnu.org>
16220
16221 * files.el (dir-locals-find-file):
16222 Ignore non-readable or non-regular files. (Bug#10928)
16223
16224 * files.el (locate-dominating-file): Doc fix.
16225
16226 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
16227
16228 * calendar/calendar.el (calendar-set-mode-line):
16229 `getenv' returns a string. (Bug#10951)
16230
16231 2012-03-05 Leo Liu <sdl.web@gmail.com>
16232
16233 * simple.el (backward-delete-char-untabify): Constrain point to
16234 field (Bug#10939).
16235
16236 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
16237
16238 2012-03-05 Chong Yidong <cyd@gnu.org>
16239
16240 * simple.el (count-words): If called from Lisp, return the word
16241 count, for symmetry with `count-lines'. Arglist changed.
16242 (count-words--message): Args changed. Consolidate counting code
16243 from count-words and count-words-region.
16244 (count-words-region): Caller changed.
16245 (count-lines-region): Make it an obsolete alias.
16246
16247 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
16248
16249 * saveplace.el (save-place-to-alist)
16250 (save-place-ignore-files-regexp): Allow value nil to disable this
16251 feature.
16252
16253 2012-03-04 Chong Yidong <cyd@gnu.org>
16254
16255 * faces.el (face-spec-reset-face): For the default face, reset the
16256 attributes to default values (Bug#10748).
16257
16258 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16259
16260 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
16261 previous patch: Check `message-send-mail-function', and not the
16262 default function (bug#10897).
16263
16264 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
16265
16266 * notifications.el (notifications-on-action-signal)
16267 (notifications-on-closed-signal): Check for unique service name of
16268 incoming event. Fix error in removing entry.
16269 (top): Register for signals with wildcard service name.
16270 (notifications-notify): Use daemon unique service name for map entries.
16271
16272 2012-03-04 Chong Yidong <cyd@gnu.org>
16273
16274 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
16275
16276 2012-03-04 Glenn Morris <rgm@gnu.org>
16277
16278 * abbrev.el (copy-abbrev-table, abbrev-table-p)
16279 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
16280 (expand-abbrev, define-abbrev-table): Doc fixes.
16281
16282 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16283
16284 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
16285 `message-default-send-mail-function' and not `send-mail-function'
16286 when doing the prompting for `sendmail-query-once' before sending
16287 in Message buffers (bug#10897).
16288
16289 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
16290 This is inconsistent with all the other stream functions, which leave
16291 the setting up to the higher levels (if so wanted) (bug#10931).
16292
16293 2012-03-02 Alan Mackenzie <acm@muc.de>
16294
16295 Depessimize the handling of very large macros.
16296
16297 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
16298 (c-macro-cache-syntactic): New variables to implement a one
16299 element macro cache.
16300 (c-invalidate-macro-cache): New function.
16301 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
16302 Adapt to use the new cache.
16303 (c-state-safe-place): Use better the cache of safe positions.
16304 (c-state-semi-nonlit-pos-cache)
16305 (c-state-semi-nonlit-pos-cache-limit):
16306 New variables for...
16307 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
16308 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
16309 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
16310 Use c-state-semi-safe-place.
16311
16312 * progmodes/cc-langs.el (c-get-state-before-change-functions):
16313 Add c-invalidate-macro-cache to the C, C++, Obj entries.
16314
16315 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
16316
16317 * jka-compr.el (jka-compr-call-process):
16318 Apply `file-accessible-directory-p' only when the default directory is
16319 not remote.
16320
16321 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
16322
16323 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
16324 access of FILE2, if FILE1 does not exist.
16325
16326 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
16327 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
16328
16329 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
16330 Add "PAGER=" to `process-environment'.
16331
16332 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
16333
16334 * progmodes/sql.el: Bug fix
16335 (sql-get-login-ext): Save login values in globals.
16336 (sql-get-login): Use new version of `sql-get-login-ext'.
16337 (sql-interactive-mode): Set global `sql-connection' to nil.
16338 (sql-connect): Set global values for connection.
16339 (sql-product-interactive): Save global values as buffer local.
16340
16341 2012-02-29 Leo Liu <sdl.web@gmail.com>
16342
16343 * abbrev.el (define-abbrevs): Reset sys to nil.
16344
16345 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16346
16347 * files.el (file-equal-p): Rename from `files-equal-p'.
16348 Return nil when one or both files don't exist.
16349 (file-subdir-of-p): Now only top directory must exists,
16350 return nil if it doesn't.
16351 (copy-directory): No need to test with `file-subdir-of-p' after
16352 creating dir.
16353 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
16354 to `file-equal-p'.
16355
16356 2012-02-28 Glenn Morris <rgm@gnu.org>
16357
16358 * shell.el (shell-mode):
16359 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
16360 * play/landmark.el (landmark-font-lock-face-O):
16361 * play/handwrite.el (handwrite):
16362 * play/gomoku.el (gomoku-O):
16363 * net/browse-url.el (browse-url-browser-display):
16364 * international/mule.el (define-charset):
16365 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
16366 * filesets.el (filesets-find-file-delay):
16367 * eshell/em-xtra.el (eshell-xtra):
16368 * eshell/em-unix.el (eshell-grep):
16369 * emulation/viper.el (viper-mode):
16370 * emacs-lisp/regexp-opt.el (regexp-opt-group):
16371 * emacs-lisp/easymenu.el (easy-menu-define):
16372 * calendar/timeclock.el (timeclock-use-display-time):
16373 * bs.el (bs-mode):
16374 * bookmark.el (bookmark-save-flag):
16375 Doc fix (standardize possessive apostrophe usage).
16376
16377 2012-02-27 Chong Yidong <cyd@gnu.org>
16378
16379 * emulation/viper-cmd.el (viper-intercept-ESC-key):
16380 Fix key-binding lookup for ESC key (Bug#9146).
16381
16382 * font-lock.el (font-lock-specified-p): Rename from
16383 font-lock-spec-present. Callers changed.
16384
16385 2012-02-27 Daniel Hackney <dan@haxney.org>
16386
16387 * emacs-lisp/package.el (package-compute-transaction):
16388 Handle holding a package version to t in package-load-list.
16389
16390 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
16391
16392 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
16393 (tramp-get-inode, tramp-get-device): Use cached values.
16394
16395 2012-02-26 Alan Mackenzie <acm@muc.de>
16396
16397 Check there is a font-lock specification before doing initial
16398 fontification.
16399
16400 * font-core.el (font-lock-mode): Move the conditional from
16401 :after-hook to font-lock-initial-fontify.
16402 (font-lock-default-function): Move the check for a specification
16403 to font-lock-spec-present.
16404
16405 * font-lock.el (font-lock-initial-fontify): Call ...
16406 (font-lock-spec-present): New function.
16407
16408 2012-02-26 Jim Blandy <jimb@red-bean.com>
16409
16410 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
16411 (gdb-send): Apply it to the operand of the '-interpreter-exec
16412 console' command, so that we can pass arguments with (say) quotes
16413 in them. Store exact string sent in gdb-debug-log (Bug#10765).
16414
16415 2012-02-26 Chong Yidong <cyd@gnu.org>
16416
16417 * help-fns.el (describe-function-1): Clarify description of
16418 remapping (Bug#10844).
16419
16420 * files.el (files-equal-p): Doc fix.
16421 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
16422 and quit the loop once a mismatch is found.
16423
16424 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
16425
16426 * bs.el (bs--show-with-configuration): Don't throw an error
16427 if the window cannot be split; otherwise, subsequent calls to
16428 bs-show fail, restoring a stale window config. (Bug#10882)
16429
16430 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
16431
16432 * term/ns-win.el (global-map): Bind ns-drag-file to
16433 ns-find-file (Bug#5855, Bug#10050).
16434
16435 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
16436
16437 * calendar/parse-time.el (parse-time-string): Allow extractor to
16438 return nil.
16439
16440 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
16441
16442 * net/tramp.el (tramp-file-name-for-operation):
16443 Add `files-equal-p' and `file-subdir-of-p'.
16444
16445 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
16446 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
16447 Add COPY-CONTENTS argument.
16448
16449 2012-02-25 Chong Yidong <cyd@gnu.org>
16450
16451 Add custom groups for VC backends, for consistency with vc-bzr.
16452
16453 * vc/vc-arch.el (vc-arch):
16454 * vc/vc-cvs.el (vc-cvs):
16455 * vc/vc-git.el (vc-git):
16456 * vc/vc-hg.el (vc-hg):
16457 * vc/vc-mtn.el (vc-mtn):
16458 * vc/vc-rcs.el (vc-rcs):
16459 * vc/vc-sccs.el (vc-sccs):
16460 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
16461 All relevant defcustoms reassigned.
16462
16463 2012-02-25 Chong Yidong <cyd@gnu.org>
16464
16465 * newcomment.el (comment-styles): Add autoload (Bug#10868).
16466
16467 * term/x-win.el (x-initialize-window-system): Reduce default for
16468 x-selection-timeout to 5 seconds (Bug#8869).
16469
16470 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16471
16472 * files.el (files-equal-p, file-subdir-of-p): New functions.
16473 (copy-directory): Error when trying to copy a directory on itself.
16474 Add missing copy-contents arg to tramp handler.
16475 * dired-aux.el (dired-copy-file-recursive): Same.
16476 (dired-create-files): Modify destination when source is equal to
16477 dest when copying files.
16478 Return also when dest is a subdir of source. (Bug#10489)
16479
16480 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
16481
16482 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
16483 (Bug#10874)
16484
16485 2012-02-23 Alan Mackenzie <acm@muc.de>
16486
16487 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
16488 parameter "after-hook:" to allow the expansion to run code after
16489 the execution of the mode hooks.
16490
16491 * font-lock.el (font-lock-initial-fontify): New function extracted
16492 from font-lock-mode-internal.
16493
16494 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
16495 :after-hook.
16496
16497 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16498
16499 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
16500 (completion--cache-all-sorted-completions): New function.
16501 (completion-all-sorted-completions): Use it.
16502 (completion--do-completion, minibuffer-force-complete):
16503 Use it to re-instate the flush hook.
16504
16505 * icomplete.el (icomplete-completions): Replace last fix with a better
16506 one (bug#10850).
16507
16508 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
16509
16510 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
16511 when it might call us back infinitely (bug#10797).
16512
16513 2012-02-23 Glenn Morris <rgm@gnu.org>
16514
16515 * minibuffer.el (completion-category-overrides): Doc fix.
16516
16517 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
16518
16519 * minibuffer.el (completion-table-with-context): Fix inf-loop.
16520 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
16521
16522 2012-02-23 Glenn Morris <rgm@gnu.org>
16523
16524 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
16525 (authors-obsolete-files-regexps, authors-ignored-files)
16526 (authors-ambiguous-files, authors-renamed-files-alist):
16527 Add more entries.
16528
16529 2012-02-23 Juri Linkov <juri@jurta.org>
16530
16531 * isearch.el (isearch-occur): Sync interactive spec with occur's
16532 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
16533
16534 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
16535
16536 2012-02-22 Juri Linkov <juri@jurta.org>
16537
16538 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
16539 (ucs-insert): Doc fix. Check for hex digits in the string.
16540 Don't display `nil' in the error message. (Bug#10857)
16541
16542 2012-02-22 Alan Mackenzie <acm@muc.de>
16543
16544 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
16545
16546 2012-02-22 Glenn Morris <rgm@gnu.org>
16547
16548 * ffap.el (ffap-c-path):
16549 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
16550
16551 2012-02-22 Chong Yidong <cyd@gnu.org>
16552
16553 * custom.el (load-theme): Doc fix.
16554
16555 2012-02-22 Glenn Morris <rgm@gnu.org>
16556
16557 * dired-x.el (dired-guess-shell-alist-default):
16558 Remove escape sequences from nroff output. (Bug#172)
16559
16560 2012-02-21 Glenn Morris <rgm@gnu.org>
16561
16562 * vc/emerge.el (emerge-defvar-local):
16563 Set `permanent-local' property rather than unused `preserved'.
16564
16565 * textmodes/picture.el (picture-delete-char): New alias.
16566 (picture-mode-map): Use it. (Bug#10860)
16567 (picture-mode): Doc fix.
16568
16569 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
16570
16571 * newcomment.el (uncomment-region-default): Remove unused binding.
16572
16573 2012-02-21 Glenn Morris <rgm@gnu.org>
16574
16575 * textmodes/picture.el (picture-motion, picture-motion-reverse)
16576 (picture-self-insert, picture-tab-chars): Doc fix.
16577 (picture-mode-map): Fix C-a, C-e.
16578
16579 2012-02-20 Glenn Morris <rgm@gnu.org>
16580
16581 * emacs-lisp/authors.el (authors-aliases): Add another entry.
16582
16583 2012-02-20 Leo Liu <sdl.web@gmail.com>
16584
16585 * icomplete.el (icomplete-completions): Check FROM arg before
16586 passing to substring (Bug#10850).
16587
16588 2012-02-19 Chong Yidong <cyd@gnu.org>
16589
16590 * comint.el: Require ansi-color.
16591 (comint-output-filter-functions): Add ansi-color-process-output.
16592
16593 * ansi-color.el: Don't set comint-output-filter-functions; it is
16594 now in the initial value defined in comint.el.
16595 (ansi-color-apply-face-function): New variable.
16596 (ansi-color-apply-on-region): Use it.
16597 (ansi-color-apply-overlay-face): New function.
16598
16599 * shell.el (shell): No need to require ansi-color.
16600 (shell-mode): Use ansi-color-apply-face-function to highlight
16601 color escapes using font-lock-face property (Bug#10835).
16602
16603 2012-02-19 Chong Yidong <cyd@gnu.org>
16604
16605 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
16606 mode-line formats (Bug#10839).
16607
16608 2012-02-18 Glenn Morris <rgm@gnu.org>
16609
16610 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
16611
16612 * mail/undigest.el (unforward-rmail-message): Doc fix.
16613
16614 * saveplace.el (save-place-ignore-files-regexp): Add :version.
16615
16616 2012-02-18 Eli Zaretskii <eliz@gnu.org>
16617
16618 * international/characters.el (script-list): Sync with the latest
16619 Unicode Character Database.
16620
16621 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
16622
16623 * international/titdic-cnv.el: Remove duplicate coding tag.
16624 * language/cham.el: Likewise.
16625 * language/tai-viet.el: Likewise.
16626
16627 2012-02-18 Glenn Morris <rgm@gnu.org>
16628
16629 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
16630 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
16631 (calendar-bahai-all-holidays-flag, calendar-other-dates):
16632 * calendar/diary-lib.el (diary-abbreviated-year-flag):
16633 * calendar/holidays.el (holiday-bahai-holidays)
16634 (calendar-holidays, list-holidays):
16635 Use utf-8 Bahá'í in doc-strings, menus, etc.
16636
16637 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
16638
16639 * saveplace.el (save-place-ignore-files-regexp): New variable
16640 allowing for excluding files from saving their location of point.
16641 The default value matches the temporary commit message editing
16642 files from Git, SVN, Bazaar, and Mercurial.
16643 (save-place-to-alist): Use it.
16644
16645 2012-02-17 Lawrence Mitchell <wence@gmx.li>
16646 Stefan Monnier <monnier@iro.umontreal.ca>
16647
16648 * newcomment.el (uncomment-region-default): Don't leave extra space
16649 when an arg is provided (bug#8150).
16650
16651 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
16652
16653 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
16654
16655 2012-02-17 Glenn Morris <rgm@gnu.org>
16656
16657 * net/socks.el: Require network-stream. (Bug#10599)
16658
16659 2012-02-17 Kenichi Handa <handa@m17n.org>
16660
16661 * international/charprop.el:
16662 * international/uni-name.el:
16663 * international/uni-old-name.el:
16664 * international/uni-comment.el: Regenerate.
16665
16666 2012-02-16 Glenn Morris <rgm@gnu.org>
16667
16668 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
16669 Interactively in calendar buffer, give an error if not on a date.
16670
16671 2012-02-15 Glenn Morris <rgm@gnu.org>
16672
16673 * shell.el (shell-delimiter-argument-list):
16674 Revert 2011-02-17 change. (Bug#8027)
16675
16676 2012-02-15 Chong Yidong <cyd@gnu.org>
16677
16678 * minibuffer.el (completion-at-point-functions): Doc fix.
16679
16680 * custom.el (defcustom): Doc fix; note use of defvar.
16681
16682 2012-02-15 Glenn Morris <rgm@gnu.org>
16683
16684 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
16685 Doc fixes.
16686
16687 2012-02-14 Glenn Morris <rgm@gnu.org>
16688
16689 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
16690
16691 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
16692
16693 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
16694 way the ports list is computed.
16695 (smtpmail-query-smtp-server): Prompt the user for a port number if
16696 we can't connect to any of the standard ports (bug#10810).
16697
16698 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
16699
16700 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
16701
16702 2012-02-13 Glenn Morris <rgm@gnu.org>
16703
16704 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
16705
16706 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
16707
16708 * net/gnutls.el (gnutls-trustfiles): New variable.
16709 (gnutls-negotiate): Use it.
16710
16711 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
16712
16713 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
16714 does its stuff if Gnus is running.
16715
16716 2012-02-13 Alan Mackenzie <acm@muc.de>
16717
16718 Fix a loop in c-set-fl-decl-start.
16719
16720 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
16721 c-backward-syntactic-ws actually moves backwards.
16722
16723 2012-02-13 Leo Liu <sdl.web@gmail.com>
16724
16725 * net/rcirc.el (rcirc-markup-attributes): Move point to the
16726 beginning so that all \C-o chars are removed.
16727
16728 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
16729
16730 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
16731
16732 2012-02-12 Alan Mackenzie <acm@muc.de>
16733
16734 Fix infinite loop with long macros.
16735 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
16736
16737 2012-02-12 Chong Yidong <cyd@gnu.org>
16738
16739 * window.el (display-buffer): Doc fix (Bug#10785).
16740
16741 2012-02-12 Glenn Morris <rgm@gnu.org>
16742
16743 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
16744 (x-disown-selection-internal, x-get-selection-internal):
16745 Sync docs with the xselect.c versions.
16746
16747 * allout-widgets.el: Add missing license notice.
16748
16749 2012-02-11 Glenn Morris <rgm@gnu.org>
16750
16751 * select.el (x-get-selection-internal, x-own-selection-internal)
16752 (x-disown-selection-internal):
16753 * x-dnd.el (x-get-selection-internal): Update declarations.
16754
16755 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16756
16757 * window.el (window-sides-slots):
16758 * tool-bar.el (tool-bar-position):
16759 * term/xterm.el (xterm-extra-capabilities):
16760 * ses.el (ses-self-reference-early-detection):
16761 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16762 (verilog-auto-wire-type)
16763 (verilog-auto-delete-trailing-whitespace)
16764 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16765 (verilog-auto-tieoff-declaration):
16766 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16767 (sql-oracle-statement-starters, sql-oracle-scan-on):
16768 * progmodes/prolog.el (prolog-align-comments-flag)
16769 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16770 (prolog-left-indent-regexp, prolog-paren-indent-p)
16771 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16772 (prolog-types, prolog-mode-specificators)
16773 (prolog-determinism-specificators, prolog-directives)
16774 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16775 (prolog-electric-dot-flag)
16776 (prolog-electric-dot-full-predicate-template)
16777 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16778 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16779 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16780 (prolog-program-switches, prolog-prompt-regexp)
16781 (prolog-debug-on-string, prolog-debug-off-string)
16782 (prolog-trace-on-string, prolog-trace-off-string)
16783 (prolog-zip-on-string, prolog-zip-off-string)
16784 (prolog-use-standard-consult-compile-method-flag)
16785 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16786 (prolog-imenu-max-lines, prolog-info-predicate-index)
16787 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16788 (prolog-char-quote-workaround):
16789 * progmodes/cc-vars.el (c-defun-tactic):
16790 * net/tramp.el (tramp-encoding-command-interactive)
16791 (tramp-local-end-of-line):
16792 * net/soap-client.el (soap-client):
16793 * net/netrc.el (netrc-file):
16794 * net/gnutls.el (gnutls):
16795 * minibuffer.el (completion-category-overrides)
16796 (completion-cycle-threshold)
16797 (completion-pcm-complete-word-inserts-delimiters):
16798 * man.el (Man-name-local-regexp):
16799 * mail/feedmail.el (feedmail-display-full-frame):
16800 * international/characters.el (glyphless-char-display-control):
16801 * eshell/em-ls.el (eshell-ls-date-format):
16802 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16803 (lisp-lambda-list-keyword-parameter-indentation)
16804 (lisp-lambda-list-keyword-parameter-alignment):
16805 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16806 * dired-x.el (dired-omit-verbose):
16807 * cus-theme.el (custom-theme-allow-multiple-selections):
16808 * calc/calc.el (calc-highlight-selections-with-faces)
16809 (calc-lu-field-reference, calc-lu-power-reference)
16810 (calc-note-threshold):
16811 * battery.el (battery-mode-line-limit):
16812 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16813 (archive-7z-update):
16814 * allout.el (allout-prefixed-keybindings)
16815 (allout-unprefixed-keybindings)
16816 (allout-inhibit-auto-fill-on-headline)
16817 (allout-flattened-numbering-abbreviation):
16818 * allout-widgets.el (allout-widgets-auto-activation)
16819 (allout-widgets-icons-dark-subdir)
16820 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16821 (allout-widgets-theme-dark-background)
16822 (allout-widgets-theme-light-background)
16823 (allout-widgets-item-image-properties-emacs)
16824 (allout-widgets-item-image-properties-xemacs)
16825 (allout-widgets-run-unit-tests-on-load)
16826 (allout-widgets-time-decoration-activity)
16827 (allout-widgets-hook-error-post-time)
16828 (allout-widgets-track-decoration):
16829 Add missing :version tags to new defcustoms and defgroups.
16830
16831 * progmodes/sql.el (sql-ansi-statement-starters)
16832 (sql-oracle-statement-starters): Add custom type.
16833
16834 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16835 (prolog-system-version): Give it a type.
16836
16837 2012-02-11 Eli Zaretskii <eliz@gnu.org>
16838
16839 * term/pc-win.el (x-select-text, x-selection-owner-p)
16840 (x-own-selection-internal, x-disown-selection-internal)
16841 (x-get-selection-internal): Sync doc strings and argument lists
16842 with xselect.c, common-win.el and x-win.el. (Bug#10783)
16843
16844 2012-02-11 Leo Liu <sdl.web@gmail.com>
16845
16846 * progmodes/python.el (python-end-of-statement): Fix infinite
16847 loop. (Bug#10788)
16848
16849 2012-02-10 Glenn Morris <rgm@gnu.org>
16850
16851 * international/mule-cmds.el (unify-8859-on-encoding-mode)
16852 (unify-8859-on-decoding-mode): Properly mark as obsolete.
16853
16854 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
16855
16856 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16857 about SMTP before checking the From header.
16858
16859 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16860 into own function for reuse by emacsbug.el.
16861
16862 2012-02-10 Leo Liu <sdl.web@gmail.com>
16863
16864 * subr.el (condition-case-unless-debug): Rename from
16865 condition-case-no-debug. All callers changed.
16866 (with-demoted-errors): Fix caller.
16867
16868 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16869 * nxml/rng-valid.el (rng-do-some-validation):
16870 * emacs-lisp/package.el (package-refresh-contents)
16871 (package-menu-execute):
16872 * desktop.el (desktop-create-buffer):
16873 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16874
16875 2012-02-10 Glenn Morris <rgm@gnu.org>
16876
16877 * textmodes/bibtex.el:
16878 Add missing :version tags for new/changed defcustoms.
16879
16880 * files.el (remote-file-name-inhibit-cache): Doc fixes.
16881
16882 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
16883
16884 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16885 (smtpmail-via-smtp): Use it, or fall back on the From address.
16886 (smtpmail-send-it): Ditto.
16887
16888 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
16889
16890 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16891 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
16892 (byte-compile-tmp-var): New const.
16893 (byte-compile-defvar): Use it to minimize .elc size.
16894 Just use `defvar' rather than simulate it (bug#10761).
16895
16896 2012-02-09 Glenn Morris <rgm@gnu.org>
16897
16898 * files.el (rename-uniquely): Doc fix. (Bug#3806)
16899
16900 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16901 Add :version tags.
16902
16903 * progmodes/compile.el (compilation-error-screen-columns)
16904 (compilation-first-column, compilation-filter-start): Doc fixes.
16905
16906 * vc/log-view.el (log-view-toggle-entry-display):
16907 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16908
16909 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16910 (report-emacs-bug-can-use-xdg-email):
16911 (report-emacs-bug-insert-to-mailer): Doc fixes.
16912 (report-emacs-bug): Message fix.
16913
16914 * net/browse-url.el (browse-url-can-use-xdg-open)
16915 (browse-url-xdg-open): Doc fixes.
16916
16917 * electric.el (electric-indent-mode, electric-pair-mode)
16918 (electric-layout-rules, electric-layout-mode): Doc fixes.
16919 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16920
16921 2012-02-08 Martin Rudalics <rudalics@gmx.at>
16922
16923 * server.el (server-unselect-display): Don't inadvertently kill
16924 the current buffer. (Bug#10729)
16925
16926 2012-02-08 Glenn Morris <rgm@gnu.org>
16927
16928 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16929 (sql-list-table): Doc fixes.
16930
16931 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16932 Comment out (does nothing).
16933
16934 * completion.el (dynamic-completion-mode):
16935 * dirtrack.el (dirtrack-debug-mode):
16936 * electric.el (electric-layout-mode):
16937 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16938 * face-remap.el (text-scale-mode, buffer-face-mode):
16939 * iimage.el (iimage-mode):
16940 * image-mode.el (image-transform-mode):
16941 * minibuffer.el (completion-in-region-mode):
16942 * scroll-lock.el (scroll-lock-mode):
16943 * simple.el (next-error-follow-minor-mode):
16944 * tar-mode.el (tar-subfile-mode):
16945 * tooltip.el (tooltip-mode):
16946 * vcursor.el (vcursor-use-vcursor-map):
16947 * wid-browse.el (widget-minor-mode):
16948 * emulation/tpu-edt.el (tpu-edt-mode):
16949 * emulation/tpu-extras.el (tpu-cursor-free-mode):
16950 * international/iso-ascii.el (iso-ascii-mode):
16951 * language/thai-util.el (thai-word-mode):
16952 * mail/supercite.el (sc-minor-mode):
16953 * net/goto-addr.el (goto-address-mode):
16954 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16955 * progmodes/cwarn.el (cwarn-mode):
16956 * progmodes/flymake.el (flymake-mode):
16957 * progmodes/glasses.el (glasses-mode):
16958 * progmodes/hideshow.el (hs-minor-mode):
16959 * progmodes/pascal.el (pascal-outline-mode):
16960 * textmodes/enriched.el (enriched-mode):
16961 * vc/smerge-mode.el (smerge-mode):
16962 Doc fixes (minor mode argument).
16963
16964 2012-02-07 Eli Zaretskii <eliz@gnu.org>
16965
16966 * ls-lisp.el (ls-lisp-sanitize): New function.
16967 (ls-lisp-insert-directory): Use it to fix or remove any elements
16968 in file-alist with missing attributes. (Bug#4673)
16969
16970 2012-02-07 Alan Mackenzie <acm@muc.de>
16971
16972 Fix spurious recognition of c-in-knr-argdecl.
16973
16974 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16975 putative K&R region.
16976
16977 2012-02-07 Alan Mackenzie <acm@muc.de>
16978
16979 * progmodes/cc-engine.el (c-forward-objc-directive):
16980 Prevent looping in "#pragma mark @implementation".
16981
16982 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
16983
16984 * notifications.el (notifications-on-closed-signal): Make `reason'
16985 optional. (Bug#10744)
16986
16987 2012-02-07 Glenn Morris <rgm@gnu.org>
16988
16989 * emacs-lisp/easy-mmode.el (define-minor-mode):
16990 Doc fixes for the macro and the mode it defines.
16991
16992 * image.el (imagemagick-types-inhibit): Doc fix.
16993
16994 * cus-start.el (imagemagick-render-type): Add it.
16995
16996 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
16997
16998 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16999 Set the default at load time, too, so that `font-lock-fontify-buffer'
17000 can be called without setting up the entire mode first. This fixes
17001 a bug in `mm-inline-text' with C MIME parts.
17002
17003 2012-02-06 Chong Yidong <cyd@gnu.org>
17004
17005 * simple.el (list-processes--refresh): Delete exited processes
17006 (Bug#8094).
17007
17008 * comint.el (comint-next-prompt): next-single-char-property-change
17009 and prev-single-char-property-change never return nil (Bug#8657).
17010
17011 * custom.el (defcustom): Doc fix (Bug#9711).
17012
17013 2012-02-05 Chong Yidong <cyd@gnu.org>
17014
17015 * cus-edit.el (custom-variable-reset-backup): Quote the value
17016 before storing it in the customized-value property (Bug#6712).
17017 (custom-display): Add a customization type tag.
17018 (custom-buffer-create-internal): Improve tooltip message.
17019
17020 * wid-edit.el (widget-field-value-get): New optional arg to
17021 suppress trailing whitespace truncation.
17022 (character): Use it (Bug#2689).
17023
17024 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
17025
17026 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
17027 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
17028
17029 2012-02-05 Chong Yidong <cyd@gnu.org>
17030
17031 * cus-edit.el (custom-variable-value-create): For mismatched
17032 types, show the current value (Bug#7600).
17033
17034 * custom.el (defcustom): Doc fix.
17035
17036 2012-02-05 Glenn Morris <rgm@gnu.org>
17037
17038 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
17039
17040 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
17041
17042 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
17043 (pp-buffer): Use `ignore-errors', `looking-at-p'.
17044 (pp-last-sexp): Use `looking-at-p'.
17045
17046 2012-02-04 Glenn Morris <rgm@gnu.org>
17047
17048 * files.el (revert-buffer):
17049 Doc fix (mention revert-buffer-in-progress-p).
17050
17051 * emacs-lisp/ert-x.el (ert-simulate-command):
17052 Check deferred-action-list (which is obsolete) is bound.
17053
17054 * subr.el (with-wrapper-hook): Doc fixes.
17055
17056 * simple.el (filter-buffer-substring-functions)
17057 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
17058
17059 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
17060
17061 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
17062 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
17063
17064 2012-02-04 Leo Liu <sdl.web@gmail.com>
17065
17066 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
17067
17068 2012-02-04 Glenn Morris <rgm@gnu.org>
17069
17070 * image.el (image-extension-data): Add obsolete alias.
17071
17072 * isearch.el (isearch-update): Doc fix.
17073
17074 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
17075
17076 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
17077
17078 2012-02-03 Glenn Morris <rgm@gnu.org>
17079
17080 * image.el (image-animated-p): Doc fix. Use image-animated-types.
17081 (image-animate-timeout): Doc fix.
17082
17083 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
17084
17085 2012-02-02 Glenn Morris <rgm@gnu.org>
17086
17087 * server.el (server-auth-dir): Doc fix.
17088 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
17089
17090 * subr.el (run-mode-hooks): Doc fix.
17091
17092 2012-02-02 Juri Linkov <juri@jurta.org>
17093
17094 * image-mode.el (image-toggle-display-image): Remove tautological
17095 `major-mode' from the `derived-mode-p' test.
17096
17097 2012-02-02 Kenichi Handa <handa@m17n.org>
17098
17099 * composite.el (compose-region): Cancel previous change.
17100
17101 2012-02-02 Kenichi Handa <handa@m17n.org>
17102
17103 * composite.el (compose-region, compose-string): Signal error for
17104 a null string component (Bug#6988).
17105
17106 2012-02-01 Chong Yidong <cyd@gnu.org>
17107
17108 * view.el (view-buffer-other-window, view-buffer-other-frame):
17109 Handle special modes like view-buffer (Bug#10650).
17110 (view-buffer): Simplify.
17111
17112 * frame.el (set-frame-font): Tweak meaning of third argument.
17113
17114 * dynamic-setting.el (font-setting-change-default-font):
17115 Use set-frame-font (Bug#9982).
17116
17117 2012-02-01 Glenn Morris <rgm@gnu.org>
17118
17119 * progmodes/compile.el (compilation-internal-error-properties):
17120 Respect compilation-first-column in the "*compilation*" buffer.
17121
17122 * emacs-lisp/easy-mmode.el (define-minor-mode):
17123 Relax :variable's test for a named function.
17124
17125 2012-01-31 Alan Mackenzie <acm@muc.de>
17126
17127 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
17128 off by one error.
17129
17130 2012-01-31 Chong Yidong <cyd@gnu.org>
17131
17132 * frame.el (set-frame-font): New arg ALL-FRAMES.
17133
17134 * menu-bar.el (menu-set-font): Use set-frame-font.
17135
17136 * faces.el (face-spec-reset-face): Don't apply unspecified
17137 attribute values to the default face.
17138
17139 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
17140
17141 * progmodes/cwarn.el (cwarn): Remove dead link.
17142 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
17143 Remove * from defcustom docstrings.
17144 (turn-on-cwarn-mode): Make obsolete.
17145 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
17146 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
17147
17148 2012-01-31 Glenn Morris <rgm@gnu.org>
17149
17150 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
17151 Fix :variable handling of mode a symbol not equal to modefun.
17152 Allow named functions to be used as the cdr of :variable.
17153
17154 2012-01-30 Glenn Morris <rgm@gnu.org>
17155
17156 * emacs-lisp/authors.el (authors-fixed-entries):
17157 Remove reference to deleted file rnewspost.el.
17158
17159 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
17160
17161 * window.el (window-with-parameter): Remove unused variable `windows'.
17162 (window--side-check): Remove unused variable `code'.
17163 (window--resize-siblings): Remove unused variable `first'.
17164 (adjust-window-trailing-edge): Remove unused variable `failed'.
17165 (window-deletable-p, window--delete): Remove unused variable `buffer'.
17166 Use `let', not `let*'.
17167 (balance-windows-2): Remove unused variable `found'.
17168 (window--state-put-2): Remove unused variable `splits'.
17169 (window-state-put): Remove unused variable `selected'.
17170 (same-window-p): Use `string-match-p'.
17171 (display-buffer-assq-regexp): Remove unused variable `value'.
17172 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17173 Mark argument ALIST as ignored.
17174 (pop-to-buffer): Remove unused variable `old-window'.
17175
17176 2012-01-29 Eli Zaretskii <eliz@gnu.org>
17177
17178 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
17179 and .lzma compressed files.
17180
17181 2012-01-29 Chong Yidong <cyd@gnu.org>
17182
17183 * frame.el (window-system-default-frame-alist): Doc fix.
17184
17185 * dynamic-setting.el (font-setting-change-default-font): Don't
17186 change the default face if SET-FONT argument is non-nil (Bug#9982).
17187
17188 2012-01-29 Samuel Bronson <naesten@gmail.com>
17189
17190 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
17191
17192 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
17193
17194 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
17195 breakpoints in files outside current directory (Bug#6098).
17196
17197 2012-01-29 Chong Yidong <cyd@gnu.org>
17198
17199 * progmodes/python.el: Require ansi-color at top-level.
17200
17201 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
17202 Define and use in Emacs Lisp mode (Bug#9360).
17203 (lisp-mode-abbrev-table): Add doc.
17204 (lisp-mode-variables): Don't set local-abbrev-table.
17205 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
17206
17207 2012-01-28 Roland Winkler <winkler@gnu.org>
17208
17209 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
17210
17211 2012-01-28 Roland Winkler <winkler@gnu.org>
17212
17213 * textmodes/bibtex.el (bibtex-entry-alist): New function.
17214 (bibtex-set-dialect): Use it. Either set global values of
17215 dialect-dependent variables or bind these variables buffer-locally
17216 (Bug#10254).
17217 (bibtex-mode): Call bibtex-set-dialect via
17218 hack-local-variables-hook.
17219 (bibtex-dialect): Update docstring.
17220 Add safe-local-variable predicate.
17221 (bibtex-entry-alist, bibtex-field-alist): Initialize via
17222 bibtex-set-dialect.
17223 (bibtex-mode-map): Define menu for each dialect.
17224 (bibtex-entry): Fix docstring.
17225
17226 2012-01-28 Chong Yidong <cyd@gnu.org>
17227
17228 * eshell/esh-arg.el (eshell-quote-argument): New function.
17229
17230 * eshell/esh-ext.el (eshell-invoke-batch-file):
17231 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
17232 first arg to eshell-parse-command (Bug#10523).
17233
17234 2012-01-28 Drew Adams <drew.adams@oracle.com>
17235
17236 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
17237 `default-directory' is non-nil.
17238
17239 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17240
17241 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
17242 line that displays system-configuration-options. (Bug#9924)
17243
17244 2012-01-28 Drew Adams <drew.adams@oracle.com>
17245
17246 * descr-text.el (describe-char): Show information about POS, in
17247 addition to information about the character at POS. Improve and
17248 update the doc string. Change "code point" to "code point in
17249 charset", to avoid confusion with the character's Unicode code
17250 point shown above that. (Bug#10129)
17251
17252 2012-01-28 Eli Zaretskii <eliz@gnu.org>
17253
17254 * descr-text.el (describe-char): Show the raw character, not only
17255 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
17256 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
17257 for the reasons.
17258
17259 2012-01-28 Phil Hagelberg <phil@hagelb.org>
17260
17261 * emacs-lisp/package.el (package-install):
17262 Run package-refresh-contents if there is no archive yet (Bug#9798).
17263
17264 2012-01-28 Chong Yidong <cyd@gnu.org>
17265
17266 * emacs-lisp/package.el (package-maybe-load-descriptor):
17267 New function, split from package-maybe-load-descriptor.
17268 (package-maybe-load-descriptor): Use it.
17269 (package-download-transaction): Fully load required packages
17270 inside the loop, so that `require' calls work (Bug#10593).
17271 (package-install): No need to call package-initialize now.
17272
17273 2012-01-28 Chong Yidong <cyd@gnu.org>
17274
17275 * simple.el (deactivate-mark): Doc fix (Bug#8614).
17276
17277 * tooltip.el (tooltip-mode): Doc fix.
17278 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
17279
17280 * frame.el (set-cursor-color): Doc fix (Bug#352).
17281
17282 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
17283 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
17284
17285 * cus-edit.el (custom-buffer-create-internal): Fix search button
17286 action (Bug#10542).
17287 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
17288
17289 2012-01-27 Eduard Wiebe <usenet@pusto.de>
17290
17291 * dired.el (dired-mark-files-regexp):
17292 Include any subdirectory components. (Bug#10445)
17293
17294 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
17295
17296 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
17297 Handle [host]:port syntax. (Bug#10533)
17298
17299 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
17300
17301 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
17302
17303 2012-01-26 Glenn Morris <rgm@gnu.org>
17304
17305 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
17306 * term.el (term-raw-escape-map): Use Control-X-prefix.
17307 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
17308
17309 2012-01-25 Martin Rudalics <rudalics@gmx.at>
17310
17311 * window.el (window-state-get, window--state-get-1): Don't deal
17312 with fixed-sizeness of windows. Simplify code.
17313
17314 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
17315
17316 * window.el (window--state-get-1, window--state-put-2):
17317 Don't save and restore the mark.
17318
17319 2012-01-25 Chong Yidong <cyd@gnu.org>
17320
17321 * custom.el (custom-variable-p): Doc fix.
17322
17323 2012-01-25 Glenn Morris <rgm@gnu.org>
17324
17325 * dired.el (dired-goto-file): Handle some of the more common
17326 characters that `ls -b' escapes. (Bug#10596)
17327
17328 * progmodes/compile.el (compilation-next-error-function):
17329 Respect compilation-first-column in the "*compilation*" buffer.
17330 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
17331
17332 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
17333
17334 2012-01-24 Glenn Morris <rgm@gnu.org>
17335
17336 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
17337
17338 2012-01-24 Julien Danjou <julien@danjou.info>
17339
17340 * color.el (color-rgb-to-hsl): Fix value computing.
17341 (color-hue-to-rgb): New function.
17342 (color-hsl-to-rgb): New function.
17343 (color-clamp, color-saturate-hsl, color-saturate-name)
17344 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
17345 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
17346
17347 2012-01-24 Glenn Morris <rgm@gnu.org>
17348
17349 * vc/vc-rcs.el (vc-rcs-create-tag):
17350 * vc/vc-sccs.el (vc-sccs-create-tag):
17351 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
17352
17353 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
17354
17355 * eshell/esh-util.el (eshell-read-hosts-file):
17356 Skip comment lines. (Bug#10549)
17357
17358 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
17359
17360 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
17361
17362 * subr.el (display-delayed-warnings): Doc fix.
17363 (collapse-delayed-warnings): New function to collapse identical
17364 adjacent warnings.
17365 (delayed-warnings-hook): Add it.
17366
17367 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
17368
17369 * net/tramp.el (tramp-action-login): Set connection property "login-as".
17370
17371 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
17372 (tramp-default-user-alist): Don't add "pscp".
17373 (tramp-do-copy-or-rename-file-out-of-band): Use connection
17374 property "login-as", if set. (Bug#10530)
17375
17376 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
17377
17378 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
17379 "plink1" and "psftp". (Bug#10530)
17380
17381 2012-01-21 Kenichi Handa <handa@m17n.org>
17382
17383 * international/mule-cmds.el (prefer-coding-system): Show a
17384 warning message if the default value of file-name-coding-system
17385 was not changed.
17386
17387 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17388
17389 * windmove.el (windmove-reference-loc):
17390 Fix windmove-reference-loc miscalculation.
17391
17392 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
17393
17394 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
17395 default unit.
17396
17397 2012-01-21 Glenn Morris <rgm@gnu.org>
17398
17399 * international/mule.el (auto-coding-alist): Add .tbz.
17400
17401 * files.el (local-enable-local-variables): Doc fix.
17402 (inhibit-local-variables-regexps): Rename from
17403 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
17404 Doc fix. Add some extensions from auto-coding-alist.
17405 (inhibit-local-variables-suffixes):
17406 Rename from inhibit-first-line-modes-suffixes. Doc fix.
17407 (inhibit-local-variables-p):
17408 New function, extracted from set-auto-mode-1.
17409 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
17410 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
17411 (hack-local-variables): Doc fix. Make the mode-only case
17412 respect enable-local-variables and friends.
17413 Respect inhibit-local-variables-regexps for file-locals, but
17414 not for directory-locals.
17415 (set-visited-file-name):
17416 Take account of inhibit-local-variables-regexps.
17417 Whether it applies may change as the file name is changed.
17418 * jka-cmpr-hook.el (jka-compr-install):
17419 * jka-compr.el (jka-compr-uninstall):
17420 Update for inhibit-first-line-modes-suffixes name change.
17421
17422 2012-01-20 Martin Rudalics <rudalics@gmx.at>
17423
17424 * help-macro.el (make-help-screen): Temporarily restore original
17425 binding for minor-mode-map-alist (Bug#10454).
17426
17427 2012-01-19 Julien Danjou <julien@danjou.info>
17428
17429 * color.el (color-name-to-rgb): Use the white color to find the max
17430 color component value and return correctly computed values.
17431 (color-name-to-rgb): Add missing float conversion for max value.
17432
17433 2012-01-19 Martin Rudalics <rudalics@gmx.at>
17434
17435 * window.el (window--state-get-1, window-state-get): Do not use
17436 special state value for window-persistent-parameters.
17437 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
17438 (window--state-put-2): Reset all window parameters to nil before
17439 assigning values of persistent parameters.
17440
17441 2012-01-18 Alan Mackenzie <acm@muc.de>
17442
17443 Eliminate sluggishness and hangs in fontification of "semicolon
17444 deserts".
17445
17446 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
17447 Change value 10000 -> 3000.
17448 (c-state-safe-place): Reformulate so it doesn't stack up an
17449 infinite number of wrong entries in c-state-nonlit-pos-cache.
17450 (c-determine-limit-get-base, c-determine-limit): New functions to
17451 determine backward search limits disregarding literals.
17452 (c-find-decl-spots): Amend commenting.
17453 (c-cheap-inside-bracelist-p): New function which detects "={".
17454
17455 * progmodes/cc-fonts.el
17456 (c-make-font-lock-BO-decl-search-function): Give a limit to a
17457 backward search.
17458 (c-font-lock-declarations): Fix an occurrence of point being
17459 undefined. Check additionally for point being in a bracelist or
17460 near a macro invocation without a semicolon so as to avoid a
17461 fruitless time consuming search for a declarator. Give a more
17462 precise search limit for declarators using the new
17463 c-determine-limit.
17464
17465 2012-01-18 Glenn Morris <rgm@gnu.org>
17466
17467 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
17468 (set-auto-mode): Doc fixes.
17469
17470 2012-01-17 Glenn Morris <rgm@gnu.org>
17471
17472 * isearch.el (search-nonincremental-instead): Fix doc typo.
17473
17474 * dired.el (dired-insert-directory): Handle newlines in directory name.
17475 (dired-build-subdir-alist): Unescape newlines in directory name.
17476
17477 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
17478
17479 * net/tramp.el (tramp-local-end-of-line): New defcustom.
17480 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
17481 (tramp-action-terminal): Use it. (Bug#10530)
17482
17483 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
17484
17485 * minibuffer.el (completion--replace): Strip properties (bug#10062).
17486
17487 2012-01-16 Martin Rudalics <rudalics@gmx.at>
17488
17489 * window.el (window-state-ignored-parameters): Remove variable.
17490 (window--state-get-1): Rename argument MARKERS to IGNORE.
17491 Handle persistent window parameters. Make copy of clone-of
17492 parameter only if requested. (Bug#10348)
17493 (window--state-put-2): Install a window parameter only if it has
17494 a non-nil value or an existing parameter shall be overwritten.
17495
17496 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
17497
17498 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
17499
17500 2012-01-14 Eli Zaretskii <eliz@gnu.org>
17501
17502 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
17503 don't pass the (nil) value of `upnode' to string-match.
17504
17505 2012-01-14 Chong Yidong <cyd@gnu.org>
17506
17507 * startup.el (command-line): Fix X resource class for cursorColor.
17508 Fix values recognized by the cursorBlink resource.
17509
17510 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
17511
17512 * epg.el (epg--make-temp-file): Avoid permission race condition
17513 when running on old Emacs versions (bug#10403).
17514
17515 2012-01-14 Glenn Morris <rgm@gnu.org>
17516
17517 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
17518
17519 2012-01-13 Alan Mackenzie <acm@muc.de>
17520
17521 Fix filling for when filladapt mode is enabled.
17522
17523 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
17524 c-mask-paragraph, pass in `fill-paragraph' rather than
17525 `fill-region-as-paragraph'. (This is a reversion of a previous
17526 change.)
17527 * progmodes/cc-mode.el (c-basic-common-init):
17528 Make fill-paragraph-handle-comment buffer local and set it to nil.
17529
17530 2012-01-13 Glenn Morris <rgm@gnu.org>
17531
17532 * dired.el (dired-switches-escape-p): New function.
17533 (dired-insert-directory): Use dired-switches-escape-p.
17534 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
17535
17536 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
17537
17538 2012-01-12 Glenn Morris <rgm@gnu.org>
17539
17540 * mail/sendmail.el (mail-mode): Update paragraph-separate for
17541 changes in adaptive-fill-regexp. (Bug#10276)
17542
17543 2012-01-11 Alan Mackenzie <acm@muc.de>
17544
17545 Fix Emacs bug #10463 - put `widen's around the critical spots.
17546
17547 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
17548 widen around each invocation of c-state-pp-to-literal. Remove an
17549 unused let variable.
17550
17551 2012-01-11 Glenn Morris <rgm@gnu.org>
17552
17553 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
17554 Doc fix.
17555
17556 2012-01-10 Chong Yidong <cyd@gnu.org>
17557
17558 * net/network-stream.el (network-stream-open-starttls):
17559 Avoid emitting a confusing error message when the server gives a bad
17560 response to the capability command.
17561
17562 2012-01-10 Glenn Morris <rgm@gnu.org>
17563
17564 * mail/unrmail.el (unrmail): Tweak previous change.
17565
17566 2012-01-09 Chong Yidong <cyd@gnu.org>
17567
17568 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
17569
17570 2012-01-08 Alan Mackenzie <acm@muc.de>
17571
17572 Optimize font locking in long enum definitions.
17573
17574 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
17575 arm to a cond form to handle enums.
17576 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
17577 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
17578
17579 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
17580
17581 * files.el (move-file-to-trash): Preserve default file modes on error.
17582 (Bug#10401)
17583
17584 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17585
17586 * faces.el (set-face-attribute): Clarify the meaning of the nil
17587 frame (bug#10294).
17588
17589 * subr.el (with-selected-frame): Mention that the selected frame
17590 is restored (bug#9980).
17591
17592 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
17593 (bug#9759).
17594
17595 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
17596 (password-read): Don't autoload unused function.
17597
17598 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
17599
17600 * progmodes/which-func.el (which-func-mode): Turn into a
17601 non-interactive function and mark as obsolete (bug#10428).
17602
17603 2012-01-06 Chong Yidong <cyd@gnu.org>
17604
17605 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
17606 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
17607 functions, along with 1 and -1.
17608
17609 2012-01-06 Eli Zaretskii <eliz@gnu.org>
17610
17611 * time.el (display-time-load-average)
17612 (display-time-default-load-average): Doc fixes. See the thread
17613 starting at
17614 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
17615 for the details.
17616
17617 2012-01-06 Glenn Morris <rgm@gnu.org>
17618
17619 * mail/unrmail.el (unrmail): Give an explicit error if the input file
17620 has no messages. (Bug#10377)
17621
17622 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
17623 than Info-edit. (Bug#10385)
17624
17625 * time.el (display-time-load-average, display-time-next-load-average):
17626 Doc fixes.
17627
17628 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
17629 local setting of buffer-read-only to the input buffer. (Bug#10419)
17630
17631 * calendar/calendar.el (calendar-mode):
17632 Locally set scroll-margin to 0. (Bug#10379)
17633
17634 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
17635
17636 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
17637
17638 2012-01-05 Glenn Morris <rgm@gnu.org>
17639
17640 * eshell/em-unix.el (diff-no-select): Autoload it.
17641 (eshell/diff): Use diff-no-select. (Bug#10420)
17642
17643 2012-01-05 Chong Yidong <cyd@gnu.org>
17644
17645 * shell.el (shell-dynamic-complete-functions): Revert last change.
17646 (shell-command-completion-function): New function.
17647 (shell-completion-vars): Use it to implement
17648 shell-completion-execonly (Bug#10417).
17649
17650 * custom.el (enable-theme): Don't set custom-safe-themes.
17651
17652 * cus-theme.el (custom-theme-merge-theme):
17653 Ignore custom-enabled-themes and custom-safe-themes.
17654
17655 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
17656
17657 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
17658 first prompt in `sql-interacive-mode'.
17659 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
17660 keywords.
17661 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
17662 (sql-product-interactive): Bug fix: Set `sql-buffer' in
17663 context of original buffer. Invoke `sql-login-hook'.
17664
17665 2012-01-04 Eli Zaretskii <eliz@gnu.org>
17666
17667 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
17668 letters in cite-prefix.
17669
17670 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17671
17672 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
17673
17674 2012-01-03 Chong Yidong <cyd@gnu.org>
17675
17676 * shell.el (shell-dynamic-complete-functions):
17677 Put pcomplete-completions-at-point, so as to try
17678 comint-filename-completion first (Bug#10417).
17679
17680 2012-01-02 Richard Stallman <rms@gnu.org>
17681
17682 * battery.el (battery-status-function):
17683 Detect when to use battery-yeeloong-sysfs.
17684 (battery-echo-area-format): Add string for Yeeloong.
17685 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
17686 (battery-yeeloong-sysfs): New function.
17687
17688 2012-01-02 Chong Yidong <cyd@gnu.org>
17689
17690 * dirtrack.el (dirtrack-list): Eliminate unused third element.
17691 (dirtrack): Merge code for handling relative filenames in prompt
17692 from shell-dir-cookie-watcher.
17693 (dirtrack-debug-message): New arg to avoid excess format calls.
17694
17695 * shell.el (shell-dir-cookie-re): Variable deleted.
17696 (shell-dir-cookie-watcher): Function deleted.
17697 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
17698 with dirtrack-mode.
17699
17700 2012-01-01 Eli Zaretskii <eliz@gnu.org>
17701
17702 * term/w32-win.el (dynamic-library-alist) <gnutls>:
17703 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
17704 libgnutls-26.dll.
17705
17706 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
17707
17708 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
17709
17710 2011-12-31 Eli Zaretskii <eliz@gnu.org>
17711
17712 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
17713 headers of non-MIME messages, when rmail-enable-mime is non-nil.
17714
17715 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
17716
17717 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
17718 also for alternative shells.
17719 (tramp-open-connection-setup-interactive-shell): Check, whether
17720 the shell is a busybox.
17721 (tramp-send-command): Don't suppress multiple prompts for
17722 busyboxes, it hurts.
17723
17724 2011-12-28 Chong Yidong <cyd@gnu.org>
17725
17726 * progmodes/gdb-mi.el (gdb-get-source-file-list)
17727 (gdb-get-source-file): Move mode line update to
17728 gdb-get-source-file (Bug#10087).
17729
17730 2011-12-25 Chong Yidong <cyd@gnu.org>
17731
17732 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
17733 gud-gdb-marker-filter without taking it as an argument.
17734 (gud-gdb-run-command-fetch-lines): Caller changed.
17735 (gud-gdb-completion-function): New variable.
17736 (gud-gdb-completion-at-point): Use it.
17737 (gud-gdb-completions-1): Split from gud-gdb-completions.
17738
17739 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
17740 function as separate arguments.
17741 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
17742 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
17743 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
17744 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
17745 (gdb-stopped, def-gdb-auto-update-trigger)
17746 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
17747 (gdb-get-changed-registers, gdb-get-main-selected-frame):
17748 Callers changed.
17749 (gud-gdbmi-completions): New function.
17750 (gdb): Use it for generating the completion table.
17751
17752 2011-12-24 Alan Mackenzie <acm@muc.de>
17753
17754 Introduce a mechanism to widen the region used in context font
17755 locking. Use this to protect declarations from losing their contexts.
17756
17757 * progmodes/cc-langs.el (c-before-font-lock-functions):
17758 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17759 (c-before-context-fontification-functions): New defvar, a list of
17760 functions to be run just before context (etc.) font locking.
17761
17762 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17763 New, functionality extracted from
17764 c-neutralize-syntax-in-and-mark-CPP.
17765 (c-in-after-change-fontification): New variable.
17766 (c-after-change): Set c-in-after-change-fontification.
17767 (c-set-fl-decl-start): Rejig its interface, so it can be called
17768 from both after-change and context fontifying.
17769 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17770 New functions.
17771 (c-standard-font-lock-fontify-region-function): New variable.
17772 (c-font-lock-fontify-region): New function.
17773
17774 2011-12-24 Juri Linkov <juri@jurta.org>
17775
17776 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17777 (Bug#10348)
17778
17779 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
17780
17781 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17782 existence of source file. (Bug#10325)
17783
17784 2011-12-23 Alan Mackenzie <acm@muc.de>
17785
17786 Fix unstable fontification inside templates.
17787
17788 * progmodes/cc-langs.el (c-before-font-lock-functions):
17789 Newly created from the singular version. The (c c++ objc) entry now
17790 additionally has c-set-fl-decl-start. The other languages (apart
17791 from AWK) have that as a single entry.
17792
17793 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17794 The functionality for "local" declarations has been extracted to
17795 c-set-fl-decl-start.
17796
17797 * progmodes/cc-mode.el (c-common-init, c-after-change):
17798 Changes due to pluralisation of c-before-font-lock-functions.
17799 (c-set-fl-decl-start): New function, extracted from
17800 c-font-lock-enclosing-decls and enhanced.
17801
17802 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
17803
17804 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17805
17806 2011-12-22 Juri Linkov <juri@jurta.org>
17807
17808 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
17809
17810 2011-12-22 Chong Yidong <cyd@gnu.org>
17811
17812 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17813
17814 2011-12-21 Drew Adams <drew.adams@oracle.com>
17815
17816 * files.el (file-remote-p): Fix docstring. (Bug#10319)
17817
17818 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
17819
17820 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17821
17822 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
17823
17824 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
17825 highlighting and support. Fix up comments for capitalization.
17826 (cfengine-mode-debug): New var.
17827 (cfengine3-mode): Change the modeline indicator to "CFE3".
17828 (cfengine3-font-lock-keywords): Improve defun highlighting.
17829 (cfengine2-actions): Rename from `cfengine-actions'.
17830 (cfengine2-font-lock-keywords): Rename from
17831 `cfengine-font-lock-keywords'.
17832 (cfengine2-imenu-expression): Rename from
17833 `cfengine-imenu-expression'.
17834 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17835 (cfengine2-beginning-of-defun): Rename from
17836 `cfengine-beginning-of-defun'.
17837 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17838 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17839 (cfengine2-mode): Rename from `cfengine-mode'. Change the
17840 modeline indicator to "CFE2".
17841 (cfengine-mode): Defalias to `cfengine-auto-mode'.
17842 (cfengine-mode-abbrevs): Mark obsolete.
17843
17844 2011-12-21 Chong Yidong <cyd@gnu.org>
17845
17846 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17847 filename argument.
17848
17849 2011-12-20 Martin Rudalics <rudalics@gmx.at>
17850
17851 * window.el (window-normalize-buffer-to-display): Remove.
17852 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17853
17854 2011-12-19 Chong Yidong <cyd@gnu.org>
17855
17856 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17857 Don't signal an error in a predicate function; return non-nil.
17858 (vc-dir-mark-file): Move the error here.
17859 (vc-dir-mark-unmark): If acting on the region, keep going if one
17860 of the entries cannot be marked/unmarked.
17861 (vc-dir-mark-all-files): If current entry is a directory, mark
17862 only child files, as documented.
17863
17864 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
17865
17866 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17867 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17868 addition.
17869
17870 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
17871
17872 * term/ns-win.el (ns-get-selection-internal)
17873 (ns-store-selection-internal): Declare.
17874 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17875 Declare as obsolete.
17876 (ns-get-pasteboard, ns-paste-secondary):
17877 Use ns-get-selection-internal.
17878 (ns-set-pasteboard, ns-copy-including-secondary):
17879 Use ns-store-selection-internal.
17880
17881 2011-12-17 Chong Yidong <cyd@gnu.org>
17882
17883 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17884 (vc-deduce-fileset): Doc fix.
17885
17886 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
17887
17888 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17889
17890 2011-12-13 Sam Steingold <sds@gnu.org>
17891
17892 * man.el (Man-getpage-in-background): When running under a
17893 window-system, ignore $MANWIDTH and $COLUMNS.
17894
17895 2011-12-15 Kenichi Handa <handa@m17n.org>
17896
17897 * language/ethio-util.el: Change coding tag to utf-8-emacs.
17898 (setup-ethiopic-environment-internal): Comment out key-binding for
17899 ethio-toggle-punctuation.
17900
17901 2011-12-13 Alan Mackenzie <acm@muc.de>
17902
17903 Add the switch statement to AWK Mode.
17904
17905 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17906 "default" to the keywords regexp.
17907
17908 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17909 expression as the rest.
17910 (c-nonlabel-token-key): Allow string literals for AWK.
17911 Refactor for the other modes.
17912
17913 Large brace-block initialisation makes CC Mode slow: Fix.
17914 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17915 routines. Limit backward searching in c-font-lock-enclosing.decl.
17916
17917 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17918 pp-state and literal type in addition to the limits.
17919 (c-state-safe-place): New defun, extracted from c-state-literal-at.
17920 (c-state-literal-at): Use the above new defun.
17921 (c-slow-in-literal, c-fast-in-literal): Remove.
17922 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17923
17924 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17925 being in a literal. Add a limit for backward searching.
17926
17927 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17928 c-slow-in-literal.
17929
17930 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
17931
17932 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17933
17934 2011-12-13 Martin Rudalics <rudalics@gmx.at>
17935
17936 * window.el (delete-other-windows): Use correct frame in call to
17937 window-with-parameter.
17938
17939 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
17940
17941 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17942 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17943 (makefile-gmake-statements, makefile-makepp-statements):
17944 Use it and add new makepp keywords.
17945 (makefile-makepp-font-lock-keywords): Add new patterns.
17946 (makefile-match-function-end): Match new [...] and [[...]].
17947
17948 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
17949
17950 * ses.el (ses-call-printer-return, ses-cell-property-get)
17951 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17952 (ses-create-cell-variable, ses-reset-header-string)
17953 (ses-cell-set-formula, ses-repair-cell-reference-all)
17954 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17955 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17956 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17957 (ses-aset-with-undo, ses-load, ses-truncate-cell)
17958 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17959 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17960 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17961 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17962 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17963 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17964 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17965 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17966
17967 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
17968
17969 * ses.el: The overall change is to add cell renaming, that is
17970 setting fancy names for cell symbols other than name matching
17971 "\\`[A-Z]+[0-9]+\\'" regexp .
17972 (ses-create-cell-variable): New defun.
17973 (ses-relocate-formula): Relocate formulas only for cells the
17974 symbols of which are not renamed, i.e. symbols whose names do not
17975 match regexp "\\`[A-Z]+[0-9]+\\'".
17976 (ses-relocate-all): Relocate values only for cells the symbols of
17977 which are not renamed.
17978 (ses-load): Create cells variables as the (ses-cell ...) are read,
17979 in order to check row col consistency with cell symbol name only
17980 for cells that are not renamed.
17981 (ses-replace-name-in-formula): New defun.
17982 (ses-rename-cell): New defun.
17983
17984 2011-12-11 Chong Yidong <cyd@gnu.org>
17985
17986 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17987 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17988
17989 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
17990
17991 * window.el (other-window): Fix docstring.
17992
17993 2011-12-10 Eli Zaretskii <eliz@gnu.org>
17994
17995 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17996 `from' or `to' address before taking its substring.
17997 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17998 encoded name is chopped in the middle of the encoded string, and
17999 thus displayed encoded.
18000
18001 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
18002
18003 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
18004
18005 2011-12-10 Eli Zaretskii <eliz@gnu.org>
18006
18007 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
18008 to use texinfo-update-node and commands that call it if the
18009 Texinfo file uses @node lines without next/prev/up pointers.
18010 Correct outdated description about texinfo-master-menu.
18011 (texinfo-all-menus-update, texinfo-master-menu)
18012 (texinfo-update-node, texinfo-every-node-update)
18013 (texinfo-multiple-files-update): Doc fix. Warn against updating
18014 all the @node lines.
18015 (texinfo-master-menu): Only call texinfo-update-node if the prefix
18016 argument is numeric. Explain better in the doc string what the
18017 function really does.
18018 (texinfo-insert-master-menu-list): Improve the error message
18019 displayed if there's no menu in the Top node.
18020 (Bug#2975) See also this thread:
18021 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
18022
18023 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
18024
18025 * speedbar.el (speedbar-supported-extension-expressions):
18026 Add .adb and .ads, commonly used for Ada source code (bug#10256).
18027
18028 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
18029
18030 * printing.el (pr-mode-alist):
18031 * simple.el (filter-buffer-substring-functions)
18032 (completion-list-insert-choice-function):
18033 * window.el (window-with-parameter, window-atom-root)
18034 (window-sides-slots, window-size-fixed, window-min-delta)
18035 (window-max-delta, window--resize-mini-window)
18036 (window--resize-child-windows-normal, window-tree)
18037 (delete-other-windows, quit-window, split-window)
18038 (display-buffer-record-window, special-display-buffer-names)
18039 (special-display-regexps, special-display-popup-frame)
18040 (same-window-p, split-window-sensibly)
18041 (display-buffer-overriding-action, display-buffer-alist)
18042 (display-buffer-base-action, display-buffer, switch-to-buffer)
18043 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
18044 (fit-window-to-buffer, recenter-positions)
18045 (mouse-autoselect-window-state, mouse-autoselect-window-select):
18046 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
18047 and remove unneeded backslashes in docstrings.
18048
18049 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
18050
18051 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
18052
18053 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
18054 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
18055 end in ".mk".
18056 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
18057 when reading the makefile (bug#10116).
18058
18059 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
18060
18061 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
18062 (bug#10116).
18063
18064 2011-12-06 Glenn Morris <rgm@gnu.org>
18065
18066 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
18067
18068 2011-12-06 Chong Yidong <cyd@gnu.org>
18069
18070 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
18071
18072 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
18073
18074 * textmodes/table.el (table-shorten-cell): Fix typo.
18075
18076 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
18077
18078 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
18079
18080 2011-12-05 Eli Zaretskii <eliz@gnu.org>
18081
18082 * descr-text.el (describe-char): Fix display of strong
18083 right-to-left characters and directional embeddings and overrides.
18084
18085 * simple.el (what-cursor-position): Fix display of codepoints of
18086 strong right-to-left characters.
18087
18088 2011-12-05 Chong Yidong <cyd@gnu.org>
18089
18090 * faces.el (read-color): Doc fix.
18091
18092 2011-12-05 Glenn Morris <rgm@gnu.org>
18093
18094 * align.el (align--set-marker): Add doc-string.
18095 Don't try to move something that is not a marker. (Bug#10216)
18096
18097 2011-12-04 Glenn Morris <rgm@gnu.org>
18098
18099 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
18100 overly zealous deletion of trailing whitespace.
18101
18102 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
18103
18104 * server.el (server-delete-client): On Windows, do not try to delete
18105 the only terminal.
18106 (server-process-filter): On Windows, treat requests for a tty frame as
18107 if they were for a GUI frame if the running server is in GUI mode.
18108
18109 2011-12-03 Glenn Morris <rgm@gnu.org>
18110
18111 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
18112
18113 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
18114
18115 * electric.el: Streamline electric-indent's hook.
18116 (electric-indent-chars): Revert to simple list.
18117 (electric-indent-functions): New var.
18118 (electric-indent-post-self-insert-function): Use it.
18119
18120 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
18121 there's no inferior buffer (bug#10196).
18122 (prolog-consult-compile): Don't use toggle-read-only.
18123
18124 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
18125
18126 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
18127 interrupt. (Bug#10187)
18128
18129 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
18130
18131 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
18132 (bug#9160).
18133
18134 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
18135 (bug#10191).
18136
18137 2011-12-02 Juri Linkov <juri@jurta.org>
18138
18139 * info.el (Info-search): Display "end of manual" when Isearch
18140 reaches the end of single-file Info manual. (Bug#9918)
18141
18142 2011-12-02 Eli Zaretskii <eliz@gnu.org>
18143
18144 * isearch.el (isearch-message-prefix): Run the input method part
18145 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
18146
18147 2011-12-02 Juri Linkov <juri@jurta.org>
18148
18149 * isearch.el (isearch-occur): Use `word-search-regexp' for
18150 `isearch-word'.
18151 (isearch-search-and-update): Add condition for `isearch-word' and
18152 call `word-search-regexp'. (Bug#10145)
18153
18154 2011-12-01 Glenn Morris <rgm@gnu.org>
18155
18156 * eshell/em-hist.el (eshell-hist-initialize):
18157 Handle eshell-history-size nil and HISTSIZE set or unset.
18158 (eshell-history-file-name, eshell-history-size): Fix custom type.
18159
18160 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
18161
18162 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
18163
18164 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
18165
18166 * progmodes/verilog-mode.el (verilog-pretty-expr):
18167 Rework verilog-pretty-expr to handle new assignment operators in system
18168 verilog, such as += *= and the like.
18169 (verilog-assignment-operator-re): Regular expression to find the
18170 assigment operator in a verilog assignment.
18171 (verilog-assignment-operation-re): Regular expression to find an
18172 assignment statement for pretty-expr.
18173 (verilog-in-attribute-p): Query returns true if point is in an
18174 attribute context; used to skip these for expression line up from
18175 pretty-expr.
18176 (verilog-in-parameter-p): Query returns true if point is in an
18177 parameter definition context; used to skip these for expression
18178 line up from pretty-expr.
18179 (verilog-in-parenthesis-p): Query returns true if point is in a
18180 parenthetical expression, specifically ( ) but not [ ] or { };
18181 used by pretty-expr.
18182 (verilog-just-one-space): If there is no space, don't add one.
18183 (verilog-get-lineup-indent-2): Specifically skip just attribute
18184 contexts for expression lineup, rather than skipping all
18185 parenthetical expressions.
18186 (verilog-calculate-indent): Fix comment, and fix indent.
18187 (verilog-do-indent): Indent declarations in lists (suggested by
18188 Joachim Lechner).
18189 (verilog-mode-abbrev-table): Populate abbrev mode with the various
18190 skeleton items.
18191 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
18192 by Alain Mellan).
18193
18194 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
18195
18196 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
18197 parameters with embedded comments. Reported by Ray Stevens.
18198 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
18199 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
18200 Reported by Tim Holt.
18201 (verilog-auto): Fix AUTOing a upper module then AUTOing module
18202 instantiated by upper module causing wrong expansion until AUTOed a
18203 second time. Reported by K C Buckenmaier.
18204 (verilog-diff-auto): Fix showing .* as a difference when
18205 `verilog-auto-star-save' off. Reported by Dan Dever.
18206 (verilog-auto-reset, verilog-read-always-signals)
18207 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
18208 temporary signals in reset list if
18209 verilog-auto-reset-blocking-in-non is nil, and match assignment
18210 style to each signal's assignment type, bug381.
18211 Reported by Thomas Esposito.
18212 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
18213 (verilog-uvm-statement-re): Support UVM indentation and
18214 highlighting, with old OVM keywords only.
18215 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
18216 Support AUTOTIEOFF creating non-wire data types.
18217 Suggested by Jonathan Greenlaw.
18218 (verilog-auto-insert-lisp, verilog-delete-to-paren)
18219 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
18220 (verilog-inject-sense, verilog-read-inst-pins)
18221 (verilog-read-sub-decls, verilog-read-sub-decls-line):
18222 Fix mismatching parenthesis inside commented out code when deleting
18223 AUTOINST, bug383. Reported by Jonathan Greenlaw.
18224 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
18225 non-numeric vector width. Reported by Alex Reed.
18226 (verilog-auto-ascii-enum): Add "onehot" option to work around not
18227 detecting signals with parameter widths. Reported by Alex Reed.
18228 (verilog-auto-delete-trailing-whitespace):
18229 With `verilog-auto-delete-trailing-whitespace' remove trailing
18230 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
18231 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
18232 Fix verilog-scan-cache corruption when running user AUTO expansion
18233 hooks that call indentation routines.
18234 (verilog-simplify-range-expression): Fix typo ignoring lower case
18235 identifiers.
18236 (verilog-delete-auto): Fix delete-autos to also remove user created
18237 automatics, as long as they start with AUTO.
18238 (verilog-batch-diff-auto, verilog-diff-auto)
18239 (verilog-diff-function): Add `verilog-diff-auto' and bind to
18240 "C-c?" to report differences in AUTO expansion, ignoring spaces.
18241 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
18242 (verilog-in-paren-quick, verilog-re-search-backward-quick)
18243 (verilog-re-search-forward-quick, verilog-syntax-ppss):
18244 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
18245 is disabled and its cache will get corrupt, causing AUTOS not to
18246 expand. Instead use only -quick functions.
18247 (verilog-scan-region): Fix scanning over escaped quotes.
18248 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
18249 (verilog-re-search-backward-quick)
18250 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
18251 related functions now ignore strings, to fix misparsing of strings
18252 with magic comments embedded in them.
18253 (verilog-read-auto-template):
18254 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
18255 Reported by Brad Dobbie.
18256 (verilog-read-auto-template):
18257 Fix 'verilog-auto-inst-template-numbers' with comments.
18258 Reported by Brad Dobbie.
18259 (verilog-auto-inst, verilog-auto-inst-param)
18260 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
18261 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
18262 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
18263 debugging templates without merge conflicts, bug357.
18264 Reported by Brad Dobbie.
18265 (verilog-read-auto-template):
18266 Fix verilog-auto-inst-template-numbers with multiple templates.
18267 Reported by Brad Dobbie.
18268 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
18269 abbrevs so user won't be asked to save.
18270 (verilog-read-auto-lisp-present): Fix to start at beginning of
18271 buffer in case called outside of verilog-auto.
18272 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
18273 to "X-2". Reported by Matthew Myers.
18274 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
18275 all inputs from module templates. Reported by Leith Johnson.
18276 (verilog-module-inside-filename-p): Fix locating programs as with
18277 modules.
18278 (verilog-auto-inst-port): Fix vl-width expressions when using
18279 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
18280 (verilog-decls-get-regs, verilog-decls-get-signals,
18281 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
18282 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
18283 verilog-read-decls): Combine reg and wire structures into one var
18284 structure to represent SystemVerilog concepts.
18285 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
18286 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
18287 (verilog-auto-wire-type, verilog-insert-definition):
18288 Add verilog-auto-wire-type and AUTOLOGIC to support using
18289 SystemVerilog "logic" keyword instead of "wire"/"reg".
18290 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
18291 to declares outputs that also have assignments (presumably in an
18292 ifdef or generate if so there's not a driver conflict).
18293 Reported by Matthew Myers.
18294 (verilog-auto-declare-nettype, verilog-insert-definition):
18295 Add verilog-auto-declare-nettype to fix declarations using
18296 `default_nettype none. Reported by Julian Gorfajn.
18297 (verilog-read-always-signals-recurse, verilog-read-decls)
18298 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
18299 malformed end statement, bug325. Reported by Joshua Wise and
18300 Andrew Drake.
18301 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
18302 (verilog-inst-comment-re): Fix not deleting Interfaced comment
18303 when expanding .* in interfaces, bug320.
18304 Reported by Pierre-David Pfister.
18305 (verilog-read-module-name): Fix import statements between module
18306 name and open parenthesis, bug317.
18307 Reported by Pierre-David Pfister.
18308 (verilog-simplify-range-expression): Fix simplification of
18309 multiplications inside AUTOWIRE connections, bug303.
18310 (verilog-auto-inst-port): Support parameter expansion in
18311 multidimensional arrays.
18312 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
18313 after "assert property". Reported by Julian Gorfajn.
18314 (verilog-simplify-range-expression): Fix "couldn't merge" errors
18315 with multiplication, bug303.
18316 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
18317 Reported by Jan Frode Lonnum.
18318
18319 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
18320
18321 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
18322 (hfy-shell-file-name, hfy-shell):
18323 * international/fontset.el (x-decompose-font-name): Fix typos.
18324
18325 2011-11-29 Ken Brown <kbrown@cornell.edu>
18326
18327 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
18328 (gdb-version): Remove defvar.
18329 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
18330 (gdb-gud-context-command, gdb-non-stop-handler)
18331 (gdb-current-context-command, gdb-stopped): Use it.
18332 (gdb-init-1): Enable pretty printing here.
18333 (gdb-non-stop-handler): Don't enable pretty-printing here.
18334 Check to see if the target supports non-stop mode; if not, turn off
18335 non-stop mode. Use the following.
18336 (gdb-check-target-async): New defun.
18337 (gud-watch, gdb-stopped): Fix whitespace.
18338 (gdb-get-source-file): Don't try to display the source file if
18339 `gdb-main-file' is nil.
18340
18341 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18342
18343 * align.el: Try to generate fewer markers (bug#10047).
18344 (align--set-marker): New macro.
18345 (align-region): Use it.
18346
18347 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
18348
18349 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
18350
18351 2011-11-29 Chong Yidong <cyd@gnu.org>
18352
18353 * indent.el (indent-for-tab-command, indent-according-to-mode):
18354 Doc fix.
18355 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
18356
18357 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
18358
18359 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
18360 aware of remote file names. (Bug#10124)
18361
18362 2011-11-29 Chong Yidong <cyd@gnu.org>
18363
18364 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
18365
18366 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
18367
18368 * files.el (find-file): Don't use force-same-window (bug#10144).
18369 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
18370 use pop-to-buffer if the selected window can't be used.
18371 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
18372
18373 2011-11-28 Eli Zaretskii <eliz@gnu.org>
18374
18375 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
18376 special-mode-map.
18377
18378 2011-11-28 Chong Yidong <cyd@gnu.org>
18379
18380 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
18381
18382 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
18383
18384 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
18385 gdb-get-source-file-list on gdb-create-source-file-list.
18386
18387 2011-11-26 Eli Zaretskii <eliz@gnu.org>
18388
18389 * whitespace.el (whitespace-newline): Use a different foreground
18390 color for 16-color light-background displays.
18391
18392 2011-11-24 Chong Yidong <cyd@gnu.org>
18393
18394 * window.el (display-buffer--special-action): Doc fix.
18395
18396 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
18397
18398 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
18399 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
18400 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
18401 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
18402 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
18403 (avl-tree-stack-first):
18404 * emacs-lisp/cconv.el (cconv--analyse-use):
18405 * net/gnutls.el (gnutls-negotiate): Fix typos.
18406
18407 2011-11-24 Glenn Morris <rgm@gnu.org>
18408
18409 * lpr.el (lpr-windows-system, lpr-lp-system):
18410 * mail/binhex.el (binhex-begin-line):
18411 * progmodes/grep.el (grep-history, grep-find-history):
18412 * textmodes/flyspell.el:
18413 * vc/pcvs-defs.el (cvs-global-menu):
18414 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
18415 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
18416 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
18417
18418 * net/tls.el: Fix case of "GnuTLS".
18419
18420 * paths.el (rmail-file-name): Format doc-string for make-docfile.
18421
18422 * version.el (emacs-build-system): Give it a doc-string.
18423
18424 2011-11-24 Juri Linkov <juri@jurta.org>
18425
18426 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
18427
18428 2011-11-24 Glenn Morris <rgm@gnu.org>
18429
18430 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
18431 if called on a non-mime message just toggle the headers. (Bug#8006)
18432
18433 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
18434
18435 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
18436 (allout-lead-with-comment-string, allout-structure-deleted-hook)
18437 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
18438 (allout-rebullet-heading, allout-open-sibtopic)
18439 (allout-toggle-current-subtree-encryption)
18440 (allout-toggle-subtree-encryption, allout-encrypt-string)
18441 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
18442 (allout-distinctive-bullets-string, allout-auto-activation):
18443 * window.el (window-normalize-buffer-to-display):
18444 * progmodes/verilog-mode.el (verilog-batch-indent):
18445 * textmodes/bibtex.el (bibtex-field-braces-opt)
18446 (bibtex-field-strings-opt):
18447 * vc/cvs-status.el (cvs-tree-merge):
18448 Fix typos.
18449
18450 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
18451
18452 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
18453 `non-essential' to t, in order to avoid remote connections.
18454
18455 2011-11-23 Eli Zaretskii <eliz@gnu.org>
18456
18457 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18458 On MS-DOS and MS-Windows, compare with loaddefs.el
18459 case-insensitively.
18460
18461 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18462
18463 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
18464
18465 2011-11-23 Glenn Morris <rgm@gnu.org>
18466
18467 * paths.el (rmail-file-name): Reformat the doc-string so that it
18468 is picked up.
18469
18470 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
18471 (rmail-auto-file): Ignore case in the "special" field names,
18472 as mail-fetch-field does for all others.
18473
18474 * mail/rmail.el (rmail-forward):
18475 * mail/rmailkwd.el (rmail-set-label):
18476 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
18477 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
18478
18479 * mail/rmail.el (rmail-current-message): Doc fix.
18480
18481 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
18482
18483 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
18484
18485 * server.el (server-eval-and-print): Allow C-g (bug#6585).
18486
18487 2011-11-22 Glenn Morris <rgm@gnu.org>
18488
18489 * mail/rmailmm.el (test-rmail-mime-handler)
18490 (test-rmail-mime-bulk-handler)
18491 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
18492
18493 2011-11-21 Juri Linkov <juri@jurta.org>
18494
18495 * calc/calc.el (calc-read-key-sequence):
18496 Let-bind `input-method-function' to nil. (Bug#10018)
18497
18498 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18499
18500 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
18501 Tell the caller that the next line needs recomputation, even
18502 though it doesn't start a sexp (bug#10094).
18503
18504 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
18505
18506 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
18507
18508 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18509
18510 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18511 Use force-same-window.
18512
18513 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18514
18515 * descr-text.el (describe-char-unicode-data):
18516 * json.el (json-string-escape):
18517 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
18518 (Footnote-unicode, Footnote-style-p):
18519 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
18520
18521 2011-11-20 Chong Yidong <cyd@gnu.org>
18522
18523 * window.el (replace-buffer-in-windows): Restore interactive spec.
18524
18525 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
18526
18527 * electric.el (electric-indent-mode): Fix last change (too optimistic).
18528
18529 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
18530 (byte-compile-global-not-obsolete-vars): New var.
18531 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
18532 Use it.
18533 (byte-compile-warn-obsolete): Align text with the one in *Help*.
18534
18535 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
18536
18537 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
18538 * progmodes/pascal.el (electric-pascal-equal):
18539 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
18540 * xml.el (xml-substitute-special): Fix typos.
18541
18542 2011-11-20 Glenn Morris <rgm@gnu.org>
18543
18544 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
18545 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
18546 Doc fixes.
18547 (rmail-decode-mime-charset): Mark as obsolete.
18548
18549 * mail/rmailsum.el (rmail-message-regexp-p-1):
18550 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
18551 Before using mime functions, check they are set. (Bug#10077)
18552
18553 2011-11-19 Juri Linkov <juri@jurta.org>
18554
18555 * info.el (Info-finder-find-node): Use `package--builtins' instead
18556 of `package-alist'. Use node names formed by the pattern "Keyword "
18557 and the keyword name.
18558
18559 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18560
18561 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
18562
18563 2011-11-19 Juri Linkov <juri@jurta.org>
18564
18565 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
18566 that calls `revert-buffer' on all Info buffers. (Bug#9915)
18567 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
18568 `old-history', `old-history-forward'. Add let-binding
18569 `window-selected'. Remove calls to `kill-buffer',
18570 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
18571 before calling `Info-find-node', so `Info-find-node-2' will reread
18572 the Info file. Restore window positions only when `window-selected'
18573 is non-nil.
18574
18575 2011-11-19 Juri Linkov <juri@jurta.org>
18576
18577 * isearch.el (isearch-lazy-highlight-new-loop):
18578 Remove condition `(not isearch-error)'. (Bug#9918)
18579
18580 * misearch.el (multi-isearch-search-fun): Add condition
18581 `(not bound)' to ignore lazy-highlighting search.
18582 Add the search-failed message "end of multi" when the end of
18583 multi-sequence is reached. Uncapitalize the search-failed
18584 message "Repeat for next buffer".
18585
18586 * info.el (Info-search): Add the search-failed message
18587 "end of the manual" when the end of the manual is reached
18588 in Isearch mode.
18589
18590 2011-11-19 Juri Linkov <juri@jurta.org>
18591
18592 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
18593 Use non-destructive `remove' instead of `delete' because
18594 `Info-history-list' stored to `Info-isearch-initial-history-list' in
18595 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
18596
18597 2011-11-19 Juri Linkov <juri@jurta.org>
18598
18599 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
18600 to nil instead of binding `search-ring' and `regexp-search-ring'.
18601 (Bug#9185)
18602
18603 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18604
18605 * simple.el (line-move): Force movement by logical lines for any
18606 hscrolled window, not only when auto-hscroll-mode is on.
18607 (line-move-visual): Update doc string to that effect. (Bug#10076)
18608
18609 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
18610
18611 * language/european.el (macintosh): Define as alias for mac-roman.
18612
18613 2011-11-19 Eli Zaretskii <eliz@gnu.org>
18614
18615 * mail/rmailmm.el (rmail-mime-display-header)
18616 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
18617 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
18618 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
18619 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
18620 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
18621 of a raw aref.
18622 (rmail-mime-entity-segment): To get past the tagline, move forward
18623 2 more lines, to account for the 2 empty lines that precede and
18624 follow the line with the buttons.
18625 (rmail-mime-update-tagline): Move one more line, to get past the
18626 empty line that follows the buttons in the tagline. (Bug#9520)
18627
18628 2011-11-19 Martin Rudalics <rudalics@gmx.at>
18629
18630 * window.el (window-max-delta-1, window-min-delta-1)
18631 (window-min-size-1, window-state-get-1, window-state-put-1)
18632 (window-state-put-2): Use "window--" prefix.
18633
18634 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
18635
18636 * emacs-lisp/smie.el: Improve warnings and conflict detection.
18637 (smie-warning-count): New var.
18638 (smie-set-prec2tab): Use it.
18639 (smie-bnf->prec2): Improve warnings. Add docstring.
18640 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
18641 (smie-bnf--set-class): New function.
18642 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
18643 corner case.
18644
18645 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
18646 (compilation-error-properties, compilation-move-to-column):
18647 Handle compilation-first-column while in the target buffer.
18648
18649 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
18650 Don't hardcode point-min==1.
18651
18652 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
18653 (eshell-rewrite-for-command): Remove workaround.
18654 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
18655 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
18656 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
18657
18658 * files-x.el (modify-file-local-variable): Obey commenting conventions.
18659
18660 2011-11-17 Glenn Morris <rgm@gnu.org>
18661
18662 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
18663 Ignore buffer-local generated-autoload-file if it is the same
18664 as the global value. (Bug#10049)
18665
18666 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
18667
18668 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
18669 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
18670 (reftex-toc-previous-heading, reftex-toc-max-level)
18671 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
18672 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
18673 (reftex-toc-do-promote, reftex-toc-promote-prepare)
18674 (reftex-toc-promote-action, reftex-toc-extract-section-number)
18675 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
18676 (reftex-toc-rename-label, reftex-toc-visit-location)
18677 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
18678 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
18679 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
18680 leaving "*toc*" only for references to the buffer.
18681
18682 2011-11-17 Martin Rudalics <rudalics@gmx.at>
18683
18684 * window.el (window-resize, delete-window, split-window):
18685 Replace window-splits by window-combination-resize.
18686 * cus-start.el (window-splits): Replace by window-combination-resize.
18687
18688 2011-11-17 Glenn Morris <rgm@gnu.org>
18689
18690 * progmodes/sh-script.el (sh-font-lock-keywords-var):
18691 Make bash entry derive from sh entry, not shell entry.
18692
18693 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
18694
18695 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
18696 local file name.
18697
18698 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18699
18700 * menu-bar.el (menu-bar-file-menu):
18701 * printing.el (pr-ps-utility):
18702 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
18703 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
18704 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
18705 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
18706 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
18707 (icalendar--convert-cyclic-to-ical)
18708 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
18709 (icalendar--convert-ical-to-diary)
18710 (icalendar--convert-recurring-to-diary)
18711 (icalendar--convert-non-recurring-all-day-to-diary)
18712 (icalendar-import-format-sample):
18713 * progmodes/idlw-shell.el (idlwave-shell-mode):
18714 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
18715 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
18716 (vhdl-ps-print-init): Fix typos.
18717
18718 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
18719
18720 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
18721 FSF and collapse date sequence, obscure author/maintainer email address
18722 better, remove extra version line, track relocation of author's webpage.
18723
18724 * progmodes/python.el (python-pdbtrack-input-prompt)
18725 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
18726 regular python pdb prompts. Adjustments shamelessly taken exactly as
18727 suggested in EmacsWiki page (tiny change):
18728 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
18729
18730 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
18731
18732 * expand.el (expand-pos, expand-index, expand-point):
18733 Remove redundant info from docstring.
18734 (expand-add-abbrevs): Doc fix.
18735 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
18736 (expand-sample-perl-mode-expand-list): Fix typos.
18737
18738 * net/dbus.el (dbus-event-member-name):
18739 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
18740 * term/pc-win.el (msdos-create-frame-with-faces):
18741 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
18742
18743 2011-11-16 Martin Rudalics <rudalics@gmx.at>
18744
18745 * window.el (split-window, window-state-get-1)
18746 (window-state-put-1, window-state-put-2): Rename occurrences of
18747 window-nest to window-combination-limit.
18748 * cus-start.el (window-nest): Rename to window-combination-limit.
18749
18750 2011-11-16 Chong Yidong <cyd@gnu.org>
18751
18752 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
18753 regexp (Bug#10033).
18754
18755 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
18756
18757 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18758 `completing-read' will remove *Completions* and will preserve
18759 current-buffer for us.
18760 (tmm-add-prompt): Users of *Completions* will always (re)set its
18761 major mode.
18762 (tmm-old-comp-map): Remove.
18763
18764 2011-11-16 Glenn Morris <rgm@gnu.org>
18765
18766 * mail/rmailedit.el: Require rmailmm when compiling.
18767 (rmail-old-mime-state): New declaration.
18768 (rmail-edit-current-message): If editing a mime message,
18769 edit the "raw" message from the mbox buffer.
18770 (rmail-cease-edit): Handle mime messages. (Bug#9840)
18771
18772 2011-11-15 Glenn Morris <rgm@gnu.org>
18773
18774 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18775 which wasn't being used. Add optional arg to force given state.
18776 (rmail-mime): Add optional arg to force given state.
18777
18778 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18779
18780 * allout.el (allout-encryption-plaintext-sanitization-regexps):
18781 * frame.el (display-mm-dimensions-alist):
18782 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18783 (outline-move-subtree-down):
18784 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18785 (newsticker--treeview-do-get-node):
18786 * net/quickurl.el (quickurl-list-buffer-name):
18787 * progmodes/dcl-mode.el (dcl-mode):
18788 * progmodes/gdb-mi.el (gdb-mapcar*):
18789 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18790
18791 2011-11-15 Glenn Morris <rgm@gnu.org>
18792
18793 * mail/rmail.el (rmail-file-coding-system): It's only ever used
18794 in a boolean sense, so just make it a boolean, and fix the doc.
18795 (rmail-show-mime-function, rmail-mime-feature)
18796 (rmail-require-mime-maybe): Doc fixes.
18797 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18798
18799 * mail/rmailmm.el (rmail-show-mime): Doc fix.
18800
18801 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
18802
18803 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18804 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18805 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18806 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18807
18808 2011-11-15 Glenn Morris <rgm@gnu.org>
18809
18810 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18811 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18812 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18813 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18814 (rmail-mime, rmail-show-mime): Doc fixes.
18815
18816 * term/ns-win.el (mode-line-frame-identification):
18817 Leave it alone. (Bug#10051)
18818
18819 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
18820
18821 * mail/rmailout.el (rmail-output-to-rmail-buffer):
18822 Handle empty buffers. (Bug#9978)
18823
18824 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
18825
18826 * international/mule.el (define-charset):
18827 * mail/rmailmm.el (rmail-mime-find-header-encoding):
18828 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18829 * progmodes/verilog-mode.el (verilog-backward-token):
18830 * textmodes/ispell.el (lookup-words):
18831 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18832
18833 2011-11-14 Glenn Morris <rgm@gnu.org>
18834
18835 * progmodes/executable.el
18836 (executable-make-buffer-file-executable-if-script-p):
18837 Handle file-modes returning nil.
18838
18839 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18840 message - not necessary, and causes problems. (Bug#9831)
18841
18842 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18843
18844 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18845
18846 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18847 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
18848 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18849
18850 2011-11-12 Martin Rudalics <rudalics@gmx.at>
18851
18852 * window.el (window-resize, delete-window): Use window-splits
18853 variable instead of function.
18854 (window-state-get-1, window-state-put-2, window-state-put):
18855 Don't deal with windows' splits status.
18856
18857 2011-11-12 Glenn Morris <rgm@gnu.org>
18858
18859 * apropos.el (apropos-do-all, apropos-library, apropos-value)
18860 (apropos-documentation): Doc fixes.
18861
18862 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
18863
18864 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18865 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18866
18867 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
18868
18869 * electric.el (electric-indent-post-self-insert-function): Make it
18870 possible for a char to only indent in some circumstances.
18871 (electric-indent-mode): Simplify.
18872
18873 2011-11-11 Martin Rudalics <rudalics@gmx.at>
18874
18875 * window.el (windows-with-parameter): Remove unused function.
18876 (windows-at-side): Rename to window-at-side-list.
18877 (window-check, window-atom-check, window-atom-check-1)
18878 (window-side-check, window-size-ignore, window-size-fixed-1)
18879 (window-in-direction-2): Prefix with "window--".
18880 (window-tree-1): Rename to window--subtree, fix doc-string.
18881
18882 2011-11-11 Glenn Morris <rgm@gnu.org>
18883
18884 * subr.el (eval-after-load): If FILE is already loaded,
18885 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
18886
18887 2011-11-10 Glenn Morris <rgm@gnu.org>
18888
18889 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18890 Call svn via vc-svn-command rather than vc-do-command.
18891 (vc-svn-command): Add --non-interactive. (Bug#9993)
18892 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18893
18894 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18895 Add toggle-read-only. (Bug#7292)
18896 * files.el (toggle-read-only): Mention that it should only
18897 be used interactively. (Bug#10006)
18898
18899 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
18900
18901 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18902 Adjust regexp for OCaml warnings.
18903
18904 * electric.el (electric-pair-post-self-insert-function): Let user
18905 turn it off buffer-locally (bug#9932).
18906
18907 * progmodes/python.el (python-beginning-of-statement):
18908 Rewrite (bug#2703).
18909
18910 * progmodes/compile.el: Better handle TABs (bug#9749).
18911 (compilation-internal-error-properties)
18912 (compilation-next-error-function): Obey the target buffer's
18913 compilation-error-screen-columns.
18914
18915 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
18916
18917 * progmodes/meta-mode.el: Remove obsolete comments.
18918 (meta-right-comment-regexp, meta-ignore-comment-regexp):
18919 Fix typos in docstrings.
18920
18921 2011-11-09 Martin Rudalics <rudalics@gmx.at>
18922
18923 * window.el (window-size-fixed-p): Rewrite doc-string.
18924 (window-resizable-p): Rename to window--resizable-p. Update callers.
18925 (window--resizable): New function. Make all callers of
18926 window-resizable call window--resizable instead.
18927 (window-resizable): Rewrite in terms of window--resizable.
18928
18929 2011-11-08 Glenn Morris <rgm@gnu.org>
18930
18931 * progmodes/delphi.el (delphi-mode-syntax-table):
18932 Let define-derived-mode define a proper syntax table. (Bug#9994)
18933
18934 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18935
18936 * window.el: Stay away from defsubst.
18937 (window-list-no-nils): Remove.
18938 (window-state-get-1, window-state-get): Use backquote instead.
18939
18940 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18941
18942 * emacs-lisp/find-func.el (find-function-read):
18943 Fix incorrect use of default argument in `completing-read'.
18944
18945 2011-11-08 Martin Rudalics <rudalics@gmx.at>
18946
18947 * window.el (display-buffer-function, special-display-function):
18948 Mention display-buffer-record-window but do not mention
18949 help-setup parameter in doc-strings.
18950 (window-min-delta): Fix doc-string typo.
18951
18952 2011-11-08 Chong Yidong <cyd@gnu.org>
18953
18954 * window.el (window-total-height, window-total-width): Doc fix.
18955 (window-body-size): Move from C.
18956 (window-body-height, window-body-width): Move to C.
18957
18958 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
18959
18960 * window.el: Make special-display like display-buffer-alist (bug#9532).
18961 (display-buffer--special-action): New function, morphed
18962 from display-buffer--special.
18963 (display-buffer): Use it to handle special-display-buffers at higher
18964 priority (just after display-buffer-alist).
18965 (display-buffer-fallback-action, display-buffer--other-frame-action)
18966 (pop-to-buffer-same-window): Remove display-buffer--special.
18967
18968 2011-11-07 Glenn Morris <rgm@gnu.org>
18969
18970 * calendar/cal-menu.el (cal-menu-set-date-title):
18971 Do nothing if not in a calendar. (Bug#9976)
18972
18973 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
18974
18975 * files.el (find-file): Always use selected-window.
18976
18977 2011-11-07 Martin Rudalics <rudalics@gmx.at>
18978
18979 * window.el (window-combinations): Make WINDOW argument
18980 mandatory. Rewrite doc-string.
18981 (walk-window-subtree, window-atom-check, window-min-delta)
18982 (window-max-delta, window--resize-this-window)
18983 (window--resize-root-window-vertically, window-tree)
18984 (balance-windows, window-state-put): Rewrite doc-strings as to
18985 not mention the term "subwindow".
18986 (window--resize-subwindows-skip-p): Rename to
18987 window--resize-child-windows-skip-p.
18988 (window--resize-subwindows-normal): Rename to
18989 window--resize-child-windows-normal.
18990 (window--resize-subwindows): Rename to
18991 window--resize-child-windows.
18992 (window-or-subwindow-p): Rename to window--in-subtree-p.
18993
18994 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18995
18996 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18997 Ensure that mbox format messages end in two newlines (Bug#9974).
18998
18999 2011-11-06 Chong Yidong <cyd@gnu.org>
19000
19001 * window.el (window-combination-p): Function deleted; its
19002 side-effect is not used in any existing code.
19003 (window-combinations, window-combined-p): Call window-*-child
19004 directly.
19005
19006 2011-11-05 Chong Yidong <cyd@gnu.org>
19007
19008 * window.el (window-valid-p): Rename from window-any-p.
19009 (window-size-ignore, window-state-get): Callers changed.
19010 (window-normalize-window): Rename from window-normalize-any-window.
19011 New arg LIVE-ONLY, replacing window-normalize-live-window.
19012 (window-normalize-live-window): Delete.
19013 (window-combination-p, window-combined-p, window-combinations)
19014 (walk-window-subtree, window-atom-root, window-min-size)
19015 (window-sizable, window-sizable-p, window-size-fixed-p)
19016 (window-min-delta, window-max-delta, window-resizable)
19017 (window-resizable-p, window-full-height-p, window-full-width-p)
19018 (window-current-scroll-bars, window-point-1, set-window-point-1)
19019 (window-at-side-p, window-in-direction, window-resize)
19020 (adjust-window-trailing-edge, maximize-window, minimize-window)
19021 (window-deletable-p, delete-window, delete-other-windows)
19022 (record-window-buffer, unrecord-window-buffer)
19023 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
19024 (quit-window, split-window, window-state-put)
19025 (set-window-text-height, fit-window-to-buffer)
19026 (shrink-window-if-larger-than-buffer): Callers changed.
19027
19028 2011-11-04 Eli Zaretskii <eliz@gnu.org>
19029
19030 * mail/rmail.el (rmail-simplified-subject): Decode subject with
19031 rfc2047-decode-string.
19032 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
19033 warnings.
19034
19035 * window.el (window-body-height, window-body-width): Mention in
19036 the doc string that the return values are in frame's canonical
19037 units. (Bug#9949)
19038
19039 2011-11-03 Alan Mackenzie <acm@muc.de>
19040
19041 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
19042 change in cc-engine.el.
19043
19044 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
19045
19046 * window.el (switch-to-buffer): Use `force-same-window' interactively.
19047
19048 2011-11-02 Martin Rudalics <rudalics@gmx.at>
19049
19050 * window.el (quit-window): Call unrecord-window-buffer after
19051 showing another buffer in the window. (Bug#9937)
19052 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
19053
19054 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
19055
19056 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
19057 Accept status with more than 9 shelves. (Bug#9935)
19058 Reported by Colin D Bennett <colin@gibibit.com>.
19059
19060 2011-11-01 Martin Rudalics <rudalics@gmx.at>
19061
19062 * help.el (with-help-window): Don't reference
19063 temp-buffer-show-specifiers in doc-string.
19064
19065 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
19066
19067 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
19068 menu-item.
19069
19070 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19071
19072 * whitespace.el: New version 13.2.2.
19073 (whitespace-newline-mode): Disable properly. Reported by Sarah
19074 <EmacsWiki>.
19075
19076 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
19077
19078 * net/newst-treeview.el: Remove "Time-stamp".
19079 (newsticker--group-manage-orphan-feeds): Do not call
19080 newsticker--treeview-tree-update.
19081 (newsticker-treeview-update, newsticker-treeview):
19082 Call newsticker--treeview-tree-update if necessary.
19083
19084 2011-10-30 Martin Rudalics <rudalics@gmx.at>
19085
19086 * window.el (window-iso-combination-p, window-iso-combined-p)
19087 (window-iso-combinations): Remove "iso-" infix.
19088 Suggested by Chong Yidong.
19089 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
19090 (window-max-delta-1, window-resize, window--resize-siblings)
19091 (window--resize-this-window, adjust-window-trailing-edge)
19092 (split-window, balance-windows-1)
19093 (shrink-window-if-larger-than-buffer):
19094 * calendar/calendar.el (calendar-generate-window):
19095 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
19096
19097 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
19098
19099 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
19100 in place (bug#9907).
19101 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
19102 (eshell-rewrite-if-command, eshell-rewrite-for-command)
19103 (eshell-structure-basic-command, eshell-rewrite-while-command)
19104 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
19105 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
19106 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
19107 (eshell-do-pipelines-synchronously, eshell-eval-command):
19108 Use backquotes and prefer setq to set.
19109 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
19110 (eshell-macrop): Use functionp.
19111 (eshell-do-eval): Handle multiple expressions in `while' body.
19112
19113 2011-10-30 Chong Yidong <cyd@gnu.org>
19114
19115 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19116 instead of set-mark (Bug#9810).
19117
19118 2011-10-30 Chong Yidong <cyd@gnu.org>
19119
19120 * window.el (split-window-below, split-window-right): Rename from
19121 split-window-above-each-other and split-window-side-by-side
19122 respectively. All callers changed.
19123 (split-window-sensibly, split-window-sensibly): Use them.
19124 (split-window-keep-point): Doc fix.
19125
19126 * isearch.el: Add isearch-scroll property to split-window-below
19127 and split-window-right.
19128
19129 * follow.el (follow-mode):
19130 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
19131 * progmodes/ada-xref.el (ada-gdb-application):
19132 * emulation/vip.el (vip-buffer-in-two-windows):
19133 * image-dired.el (image-dired-dired-with-window-configuration):
19134 * dired-x.el (dired-do-find-marked-files):
19135 * dired.el (dired-pop-to-buffer):
19136 * bs.el (bs--show-with-configuration):
19137 * vc/emerge.el (emerge-setup-windows):
19138 * textmodes/two-column.el (2C-two-columns):
19139 * textmodes/reftex-toc.el (reftex-toc):
19140 * progmodes/gdb-mi.el (gdb-setup-windows):
19141 * progmodes/fortran.el (fortran-window-create):
19142 * net/newst-treeview.el (newsticker--treeview-window-init):
19143 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
19144 * emulation/tpu-edt.el (tpu-gold-map):
19145 * emulation/crisp.el (crisp-mode-map):
19146 * calendar/calendar.el (calendar-basic-setup): Callers changed.
19147
19148 2011-10-29 Chong Yidong <cyd@gnu.org>
19149
19150 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
19151
19152 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
19153
19154 * textmodes/flyspell.el (flyspell-word): Fix char offset for
19155 forged Ispell output (Bug#7904).
19156
19157 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
19158
19159 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19160
19161 * doc-view.el: Avoid ugly errors about not finding nil.
19162 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
19163 (doc-view-dvipdf-program, doc-view-unoconv-program)
19164 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
19165 Avoid nil or absolute file name as default value.
19166 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
19167
19168 2011-10-28 Alan Mackenzie <acm@muc.de>
19169
19170 * progmodes/cc-defs.el (c-version): -> 5.32.2.
19171
19172 2011-10-28 Alan Mackenzie <acm@muc.de>
19173
19174 Amend the handling of c-beginning/end-of-defun in nested declaration
19175 scopes.
19176
19177 * progmodes/cc-vars.el (c-defun-tactic): Move here from
19178 cc-langs.el. Change it to a defcustom.
19179
19180 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
19181 cc-vars.el.
19182
19183 * progmodes/cc-engine.el (c-beginning-of-statement-1):
19184 Prevent "class foo : bar" being spuriously recognized as a label.
19185
19186 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
19187 Add parameter `inclusive' (to include enclosing braces in the region).
19188 (c-widen-to-enclosing-decl-scope): New function.
19189 (c-while-widening-to-decl-block): New macro.
19190 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
19191 outward for defun boundaries, and correspondingly change symbol
19192 `respect-enclosure' to `go-outward'.
19193 (c-declaration-limits): Change algorithm to report only the "innermost"
19194 defun's boundaries.
19195
19196 2011-10-28 Deniz Dogan <deniz@dogan.se>
19197
19198 * net/rcirc.el (rcirc-mode): Use hard newlines.
19199
19200 2011-10-28 Alan Mackenzie <acm@muc.de>
19201
19202 Amend to indent and fontify macros "which include their own semicolon"
19203 correctly, using the "virtual semicolon" mechanism.
19204
19205 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
19206
19207 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
19208 Recode to scan one line at a time rather than having \n and \r
19209 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
19210 (c-forward-label): Amend for virtual semicolons.
19211 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
19212
19213 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
19214 of the new C macros.
19215
19216 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
19217 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
19218 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
19219 (c-opt-cpp-macro-define): Make into a full language variable.
19220 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
19221 AWK Mode (including \n, \r) removed, no longer needed.
19222
19223 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
19224 Invoke c-make-macro-with-semi-re.
19225
19226 * progmodes/cc-vars.el (c-macro-with-semi-re):
19227 (c-macro-names-with-semicolon): New variables.
19228 (c-make-macro-with-semi-re): New function.
19229
19230 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19231
19232 * vc/log-edit.el: Fill empty field rather than adding new one.
19233 (log-edit-add-field): New function.
19234 (log-edit-insert-changelog): Use it.
19235
19236 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
19237
19238 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
19239
19240 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
19241
19242 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
19243 (gdb--check-interpreter): New function.
19244 (gdb): Use it.
19245
19246 2011-10-27 Glenn Morris <rgm@gnu.org>
19247
19248 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
19249 (least-positive-float, least-negative-float)
19250 (least-positive-normalized-float, least-negative-normalized-float)
19251 (float-epsilon, float-negative-epsilon):
19252 Remove unnecessary declarations.
19253
19254 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
19255 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
19256 (least-positive-float, least-negative-float)
19257 (least-positive-normalized-float, least-negative-normalized-float)
19258 (float-epsilon, float-negative-epsilon): Add doc-strings,
19259 based on those in cl.texi.
19260
19261 * files.el (set-visited-file-name): If the major-mode changed,
19262 reload the local variables. (Bug#9796)
19263
19264 2011-10-27 Chong Yidong <cyd@gnu.org>
19265
19266 * subr.el (change-major-mode-after-body-hook): New hook.
19267 (run-mode-hooks): Run it.
19268
19269 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19270 Use change-major-mode-before-body-hook.
19271
19272 * simple.el (fundamental-mode):
19273 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
19274 change introducing fundamental-mode-hook.
19275
19276 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
19277
19278 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
19279
19280 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
19281
19282 * ido.el (ido-file-name-all-completions-1): Do not require
19283 tramp.el explicitly. (Bug#7583)
19284
19285 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
19286
19287 * progmodes/octave-mod.el:
19288 * progmodes/octave-inf.el: Update maintainer.
19289
19290 2011-10-26 Chong Yidong <cyd@gnu.org>
19291
19292 * subr.el (with-wrapper-hook): Rewrite doc.
19293
19294 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
19295
19296 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
19297 filenames "/method:foo:". (Bug#9793)
19298
19299 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
19300
19301 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
19302 (bug#9865).
19303
19304 2011-10-24 Glenn Morris <rgm@gnu.org>
19305
19306 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
19307
19308 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
19309
19310 * notifications.el: Add the requirement of a running D-Bus session
19311 bus to the Commentary.
19312
19313 2011-10-24 Juri Linkov <juri@jurta.org>
19314
19315 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19316 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
19317 (Bug#9364)
19318
19319 2011-10-24 Juri Linkov <juri@jurta.org>
19320
19321 * info.el (Info-following-node-name-re): Add newline to the list
19322 of allowed characters for leading space. (Bug#9824)
19323
19324 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
19325
19326 * progmodes/octave-inf.el (inferior-octave-mode-map):
19327 Fix C-c C-h binding.
19328 * progmodes/octave-mod.el (octave-help): Remove.
19329
19330 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
19331
19332 Sync with Tramp 2.2.3.
19333
19334 * net/tramp-cache.el (top): Pacify byte-compiler using
19335 `init-file-user' and `site-run-file'.
19336
19337 * net/trampver.el: Update release number.
19338
19339 2011-10-23 Chong Yidong <cyd@gnu.org>
19340
19341 * files.el (toggle-read-only): Remove obsolete comment about
19342 version control.
19343
19344 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
19345 for toggle-read-only. Note that this hasn't called vc-next-action
19346 since 2008-05-02, though it wasn't documented at the time.
19347
19348 * vc/ediff-init.el (ediff-toggle-read-only-function):
19349 Use toggle-read-only.
19350
19351 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
19352
19353 Fix bug #9560, sporadic wrong indentation; improve instrumentation
19354 of c-parse-state.
19355
19356 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
19357 correct faulty logical expression.
19358 (c-parse-state-state, c-record-parse-state-state):
19359 (c-replay-parse-state-state): New defvar/defuns.
19360 (c-debug-parse-state): Use new functions.
19361
19362 2011-10-22 Martin Rudalics <rudalics@gmx.at>
19363
19364 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
19365 last fix. Use window-in-direction correctly.
19366
19367 2011-10-21 Chong Yidong <cyd@gnu.org>
19368
19369 * progmodes/idlwave.el (idlwave-mode):
19370 * progmodes/vera-mode.el (vera-mode): No need to set
19371 require-final-newline; that's done in prog-mode.
19372 Suggested by Stefan Monnier.
19373
19374 2011-10-21 Martin Rudalics <rudalics@gmx.at>
19375
19376 * mouse.el (mouse-drag-window-above)
19377 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
19378 (mouse-drag-mode-line-1, mouse-drag-header-line)
19379 (mouse-drag-vertical-line-rightward-window): Remove.
19380 (mouse-drag-line): New function.
19381 (mouse-drag-mode-line, mouse-drag-header-line)
19382 (mouse-drag-vertical-line): Call mouse-drag-line.
19383 * window.el (window-at-side-p, windows-at-side): New functions.
19384
19385 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
19386
19387 * tar-mode.el (tar-grind-file-mode):
19388 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
19389
19390 2011-10-21 Chong Yidong <cyd@gnu.org>
19391
19392 * progmodes/idlwave.el (idlwave-mode):
19393 * progmodes/vera-mode.el (vera-mode):
19394 Use mode-require-final-newline.
19395
19396 2011-10-20 Glenn Morris <rgm@gnu.org>
19397
19398 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
19399
19400 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
19401
19402 * emulation/cua-base.el (cua-set-mark): Fix case of string.
19403
19404 2011-10-20 Chong Yidong <cyd@gnu.org>
19405
19406 * emulation/cua-base.el (cua-mode):
19407 * mail/footnote.el (footnote-mode):
19408 * mail/mailabbrev.el (mail-abbrevs-mode):
19409 * net/xesam.el (xesam-minor-mode):
19410 * progmodes/bug-reference.el (bug-reference-mode):
19411 * progmodes/cap-words.el (capitalized-words-mode):
19412 * progmodes/compile.el (compilation-minor-mode)
19413 (compilation-shell-minor-mode):
19414 * progmodes/gud.el (gud-tooltip-mode):
19415 * progmodes/hideif.el (hide-ifdef-mode):
19416 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
19417 * progmodes/subword.el (subword-mode):
19418 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
19419 * progmodes/which-func.el (which-function-mode):
19420 * term/tvi970.el (tvi970-set-keypad-mode):
19421 * term/vt100.el (vt100-wide-mode):
19422 * textmodes/flyspell.el (flyspell-mode):
19423 * textmodes/ispell.el (ispell-minor-mode):
19424 * textmodes/nroff-mode.el (nroff-electric-mode):
19425 * textmodes/paragraphs.el (use-hard-newlines):
19426 * textmodes/refill.el (refill-mode):
19427 * textmodes/reftex.el (reftex-mode):
19428 * textmodes/rst.el (rst-minor-mode):
19429 * textmodes/sgml-mode.el (html-autoview-mode)
19430 (sgml-electric-tag-pair-mode):
19431 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
19432 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
19433 * emulation/crisp.el (crisp-mode):
19434 * emacs-lisp/eldoc.el (eldoc-mode):
19435 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
19436 minor mode behavior.
19437
19438 2011-10-19 Juri Linkov <juri@jurta.org>
19439
19440 * descr-text.el (describe-char): Add #x2010 and #x2011 to
19441 the list of hard-coded chars with escape-glyph face.
19442
19443 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
19444
19445 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
19446
19447 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
19448
19449 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
19450 running process.
19451
19452 2011-10-19 Glenn Morris <rgm@gnu.org>
19453
19454 * vc/vc-bzr.el (vc-bzr-after-dir-status):
19455 Ignore ignored files. (Bug#9726)
19456
19457 2011-10-19 Chong Yidong <cyd@gnu.org>
19458
19459 Doc fix for minor modes, stating that an omitted argument enables
19460 the mode unconditionally when called from Lisp.
19461
19462 * abbrev.el (abbrev-mode):
19463 * allout.el (allout-mode):
19464 * autoinsert.el (auto-insert-mode):
19465 * autoarg.el (autoarg-mode, autoarg-kp-mode):
19466 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
19467 (global-auto-revert-mode):
19468 * battery.el (display-battery-mode):
19469 * composite.el (global-auto-composition-mode)
19470 (auto-composition-mode):
19471 * delsel.el (delete-selection-mode):
19472 * desktop.el (desktop-save-mode):
19473 * dired-x.el (dired-omit-mode):
19474 * dirtrack.el (dirtrack-mode):
19475 * doc-view.el (doc-view-minor-mode):
19476 * double.el (double-mode):
19477 * electric.el (electric-indent-mode, electric-pair-mode):
19478 * emacs-lock.el (emacs-lock-mode):
19479 * epa-hook.el (auto-encryption-mode):
19480 * follow.el (follow-mode):
19481 * font-core.el (font-lock-mode):
19482 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
19483 * help.el (temp-buffer-resize-mode):
19484 * hilit-chg.el (highlight-changes-mode)
19485 (highlight-changes-visible-mode):
19486 * hi-lock.el (hi-lock-mode):
19487 * hl-line.el (hl-line-mode, global-hl-line-mode):
19488 * icomplete.el (icomplete-mode):
19489 * ido.el (ido-everywhere):
19490 * image-file.el (auto-image-file-mode):
19491 * image-mode.el (image-minor-mode):
19492 * iswitchb.el (iswitchb-mode):
19493 * jka-cmpr-hook.el (auto-compression-mode):
19494 * linum.el (linum-mode):
19495 * longlines.el (longlines-mode):
19496 * master.el (master-mode):
19497 * mb-depth.el (minibuffer-depth-indicate-mode):
19498 * menu-bar.el (menu-bar-mode):
19499 * minibuf-eldef.el (minibuffer-electric-default-mode):
19500 * mouse-sel.el (mouse-sel-mode):
19501 * msb.el (msb-mode):
19502 * mwheel.el (mouse-wheel-mode):
19503 * outline.el (outline-minor-mode):
19504 * paren.el (show-paren-mode):
19505 * recentf.el (recentf-mode):
19506 * reveal.el (reveal-mode, global-reveal-mode):
19507 * rfn-eshadow.el (file-name-shadow-mode):
19508 * ruler-mode.el (ruler-mode):
19509 * savehist.el (savehist-mode):
19510 * scroll-all.el (scroll-all-mode):
19511 * scroll-bar.el (scroll-bar-mode):
19512 * server.el (server-mode):
19513 * shell.el (shell-dirtrack-mode):
19514 * simple.el (auto-fill-mode, transient-mark-mode)
19515 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
19516 (line-number-mode, column-number-mode, size-indication-mode)
19517 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
19518 * strokes.el (strokes-mode):
19519 * time.el (display-time-mode):
19520 * t-mouse.el (gpm-mouse-mode):
19521 * tool-bar.el (tool-bar-mode):
19522 * tooltip.el (tooltip-mode):
19523 * type-break.el (type-break-mode-line-message-mode)
19524 (type-break-query-mode):
19525 * view.el (view-mode):
19526 * whitespace.el (whitespace-mode, whitespace-newline-mode)
19527 (global-whitespace-mode, global-whitespace-newline-mode):
19528 * xt-mouse.el (xterm-mouse-mode): Doc fix.
19529
19530 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
19531 Fix autogenerated docstring.
19532
19533 2011-10-19 Juri Linkov <juri@jurta.org>
19534
19535 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
19536 by checking environment variables "DESKTOP_SESSION" and
19537 "XDG_CURRENT_DESKTOP". (Bug#9779)
19538
19539 2011-10-19 Juri Linkov <juri@jurta.org>
19540
19541 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
19542 (browse-url-chromium-program, browse-url-chromium-arguments):
19543 New defcustoms.
19544 (browse-url-default-browser): Check for `browse-url-chromium' and
19545 call `browse-url-chromium-program'.
19546 (browse-url-chromium): New command. (Bug#9779)
19547
19548 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
19549
19550 * facemenu.el (list-colors-duplicates): On Windows, detect more
19551 duplicates by assuming that only colors matching "^System" are
19552 special "system colors". (Bug#9722)
19553
19554 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
19555
19556 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
19557 to distinguish the author from the committer.
19558
19559 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
19560
19561 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
19562
19563 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
19564
19565 * international/mule.el (sgml-html-meta-auto-coding-function):
19566 Add support for detecting encoding in HTML5 specified only as
19567 <meta charset="UTF-8">. Implementation just makes http-equiv and
19568 content-type parts from HTML4 encoding string optional. (Bug#9716)
19569
19570 2011-10-18 Glenn Morris <rgm@gnu.org>
19571
19572 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
19573
19574 2011-10-18 Chong Yidong <cyd@gnu.org>
19575
19576 * faces.el (cursor): Doc fix.
19577
19578 2011-10-17 Chong Yidong <cyd@gnu.org>
19579
19580 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
19581
19582 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
19583
19584 * dirtrack.el (dirtrack): Support shell buffers with path
19585 prefixes, e.g. tramp-based remote shells. (Bug#9647)
19586
19587 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
19588
19589 * json.el: Bump version to 1.3 and note change in History.
19590 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
19591
19592 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
19593
19594 * comint.el (comint-insert-input, comint-send-input)
19595 (comint-get-old-input-default, comint-backward-matching-input)
19596 (comint-next-prompt): Use nil instead of `input' for field property of
19597 past user input (bug#114).
19598
19599 * minibuffer.el (completion--replace): Inherit surrounding properties
19600 (bug#114).
19601 (minibuffer-complete-and-exit): Use it.
19602
19603 * comint.el (comint--table-subvert): Quote the all-completions output
19604 (bug#9160).
19605
19606 2011-10-17 Martin Rudalics <rudalics@gmx.at>
19607
19608 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
19609
19610 * menu-bar.el (menu-bar-file-menu): Add entry for making new
19611 window on right of selected. (Bug#9350) Reword other window
19612 entries and separate them from frame entries.
19613
19614 2011-10-15 Glenn Morris <rgm@gnu.org>
19615
19616 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
19617 Doc fixes.
19618
19619 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
19620
19621 * net/network-stream.el (network-stream-open-starttls):
19622 Improve detection of failure due to lack of TLS support.
19623
19624 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
19625 putting the input text in front and in bold.
19626
19627 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
19628
19629 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
19630
19631 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
19632 empty buffer.
19633
19634 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
19635 unread-command-events rather than pushing yet-another event.
19636
19637 2011-10-14 Eli Zaretskii <eliz@gnu.org>
19638
19639 * mail/sendmail.el (sendmail-query-once): Improve the wording of
19640 the explanation of the possible choices. Make the options passed
19641 to completing-read shorter.
19642
19643 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19644
19645 * textmodes/flyspell.el (flyspell-large-region): Make sure
19646 extended character mode is used if defined (Bug#1339).
19647
19648 2011-10-13 Eli Zaretskii <eliz@gnu.org>
19649
19650 * simple.el (what-cursor-position): Fix the display of the
19651 character info for LRE, LRO, RLE, and RLO characters by appending
19652 an invisible PDF.
19653
19654 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
19655
19656 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
19657 even in case of error; add debug spec; simplify data flow.
19658 (with-timeout-handler): Remove.
19659
19660 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
19661
19662 Fix Bug#6019, Bug#9315.
19663
19664 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
19665 complete `buffer-file-name', the local file name part could look
19666 remotely (for example on VMS).
19667
19668 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
19669 `tramp-run-real-handler'.
19670 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
19671 already quoted by '"'.
19672
19673 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
19674 Let `file-name-handler-alist' be nil, the local file name part
19675 could look remotely (for example on VMS).
19676
19677 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
19678
19679 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
19680 from here...
19681 (flyspell-post-command-hook): ...to here.
19682
19683 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19684
19685 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
19686 if not needed.
19687 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
19688 using completion. Protect against "slow" callers.
19689 Remove the "message hack".
19690
19691 2011-10-11 Juri Linkov <juri@jurta.org>
19692
19693 * isearch.el (isearch-lazy-highlight-word): New variable.
19694 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
19695 Use it. (Bug#9727)
19696
19697 2011-10-11 Glenn Morris <rgm@gnu.org>
19698
19699 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
19700 like f90-previous-statement does.
19701
19702 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19703
19704 * eshell/eshell.el (eshell-command): History should be saved
19705 only in interactive use, to avoid error.
19706
19707 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
19708
19709 * minibuffer.el (completion-file-name-table): Fix last change,
19710 i.e. ignore normal errors but not the other ones.
19711
19712 2011-10-10 Martin Rudalics <rudalics@gmx.at>
19713
19714 * window.el (special-display-buffer-names)
19715 (special-display-regexps): Remove some remnants of earlier
19716 changes from doc-strings.
19717 (quit-windows-on): New function.
19718
19719 * vc/vc.el (vc-revert, vc-rollback):
19720 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
19721 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
19722 (Bug#6183) (Bug#7074) (Bug#7447)
19723
19724 2011-10-09 Martin Rudalics <rudalics@gmx.at>
19725
19726 * window.el (frame-auto-hide-function): Add version tag.
19727 (Bug#9699)
19728
19729 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
19730
19731 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
19732 condition.
19733
19734 2011-10-09 Leo Liu <sdl.web@gmail.com>
19735
19736 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
19737 (Bug#9701)
19738
19739 2011-10-08 Glenn Morris <rgm@gnu.org>
19740
19741 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
19742 before the first code statement zero indent. (Bug#9690)
19743
19744 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
19745
19746 * simple.el (count-words-region): Always count in the region.
19747 Report the number of lines and characters too.
19748 (count-words): New command, which counts in the buffer if the
19749 region is inactive, as count-words-region used to.
19750 (count-words--message): New function. Handle plurals.
19751 (count-lines-region): Make it an alias for count-words-region.
19752
19753 * bindings.el (esc-map): Replace count-lines-region with
19754 count-words-region.
19755
19756 2011-10-08 Martin Rudalics <rudalics@gmx.at>
19757
19758 * window.el (window--delete): Delete dedicated frame
19759 unconditionally when argument KILL is non-nil. (Bug#9699)
19760 (switch-to-buffer): Fix doc-string typo.
19761
19762 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19763
19764 * eshell/eshell.el (eshell-command): Avoid using hooks.
19765
19766 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
19767
19768 * bindings.el ([M-left],[M-right]): Bind to left-word and
19769 right-word respectively.
19770
19771 2011-10-07 Glenn Morris <rgm@gnu.org>
19772
19773 * cus-start.el (debug-on-quit): Fix custom type.
19774
19775 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19776
19777 * subr.el (define-key-after): Clarify that the function is not
19778 useful for non-menu keymaps.
19779
19780 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19781
19782 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19783
19784 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19785 in current minibuffer (Fix bug with recursive minibuffers).
19786
19787 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
19788
19789 * progmodes/gdb-mi.el (gdb): Doc fix.
19790
19791 2011-10-05 Martin Rudalics <rudalics@gmx.at>
19792
19793 * window.el (frame-auto-hide-function): New option replacing
19794 frame-auto-delete. Suggested by Stefan Monnier.
19795 (window--delete): Call frame-auto-hide-function instead of
19796 investigating frame-auto-delete.
19797 (window-point-1, set-window-point-1): New functions.
19798 (window-in-direction, record-window-buffer, window-state-get-1)
19799 (display-buffer-record-window): Use window-point-1 instead of
19800 window-point.
19801 (set-window-buffer-start-and-point): Use set-window-point-1.
19802
19803 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19804
19805 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19806
19807 2011-10-05 Glenn Morris <rgm@gnu.org>
19808
19809 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19810 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
19811
19812 2011-10-05 Leo Liu <sdl.web@gmail.com>
19813
19814 * subr.el (read-char-choice): Fix argument to buffer-live-p which
19815 works with buffer object.
19816
19817 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
19818
19819 * mpc.el (mpc-tool-bar-map): Add labels.
19820
19821 2011-10-04 Glenn Morris <rgm@gnu.org>
19822
19823 * calendar/holidays.el (calendar-check-holidays): Doc fix.
19824
19825 2011-10-04 Martin Rudalics <rudalics@gmx.at>
19826
19827 * window.el (window--delete): New function.
19828 (frame-auto-delete): Resuscitate option.
19829 (bury-buffer, replace-buffer-in-windows)
19830 (quit-window): Rewrite using window--delete.
19831 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19832 Pass display-buffer-mark-dedicated to window--display-buffer-2
19833 (Bug#9639).
19834
19835 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19836
19837 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19838 returns a list (bug#9554). Add remote file name completion.
19839 * comint.el (comint--table-subvert): Curry and get quote&unquote
19840 functions as arguments.
19841 (comint--complete-file-name-data): Adjust call accordingly.
19842 * pcomplete.el (pcomplete--table-subvert): Remove.
19843 (pcomplete-completions-at-point): Use comint--table-subvert instead.
19844
19845 * minibuffer.el (completion-table-case-fold): Use currying.
19846 (completion--styles-type, completion--cycling-threshold-type):
19847 New constants.
19848 (completion-styles, completion-category-overrides)
19849 (completion-cycle-threshold): Use them.
19850 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19851 completion-table-case-fold.
19852
19853 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
19854
19855 * minibuffer.el (completion-category-overrides): Fix type of styles
19856 and add more user friendly tags (bug#9660).
19857
19858 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
19859
19860 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19861 (mule-input-method-string): New widget.
19862 (default-input-method, language-info-custom-alist): Use it.
19863
19864 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
19865
19866 * pcomplete.el: Require comint.
19867 (pcomplete--common-suffix): Remove.
19868 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19869 (pcomplete--table-subvert): Sync with comint--table-subvert.
19870 (pcomplete--entries): Use comint-completion-file-name-table.
19871 * comint.el (comint-unquote-filename): Simplify.
19872 (comint-completion-file-name-table): New function (bug#9616).
19873 (comint--complete-file-name-data): Use it.
19874
19875 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19876 (pcmpl-gnu-tar-buffer): Remove.
19877 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19878 around. Make sure pcomplete-suffix-list is only changed temporarily.
19879 Don't look inside the tar's file if it's too large.
19880
19881 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
19882
19883 * cus-edit.el (custom-mode-map):
19884 * epa.el (epa-key-list-mode-map):
19885 * man.el (Man-mode-map):
19886 * startup.el (splash-screen-keymap):
19887 * simple.el (special-mode-map): Use scroll-up-command and
19888 scroll-down-command.
19889
19890 * progmodes/idlw-help.el (idlwave-help-mode-map):
19891 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19892 * net/newst-plainview.el (newsticker-mode-map):
19893 * emulation/ws-mode.el (wordstar-mode-map):
19894 * emulation/vi.el (vi-com-map):
19895 * calc/calc-graph.el (calc-graph-show-dumb):
19896 * term/sun.el (terminal-init-sun):
19897 * term/ns-win.el (global-map):
19898 * progmodes/grep.el (grep-mode-map):
19899 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19900 * mail/rmail.el (rmail-mode-map):
19901 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19902
19903 * custom.el (custom-safe-themes, load-theme): Treat value of t for
19904 custom-safe-themes as special.
19905
19906 2011-10-01 Julien Danjou <julien@danjou.info>
19907
19908 * notifications.el (notifications-notify): Fix docstring.
19909
19910 2011-10-01 Per Starbäck <per@starback.se>
19911
19912 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
19913
19914 2011-09-30 Martin Rudalics <rudalics@gmx.at>
19915
19916 * startup.el (command-line-1): Fix last fix by inserting
19917 initial-scratch-message into *scratch* before displaying it.
19918 (Bug#9605) and (Bug#9636)
19919
19920 2011-09-29 Eli Zaretskii <eliz@gnu.org>
19921
19922 * simple.el (line-move): If auto-hscroll-mode is disabled and the
19923 window is hscrolled, move by logical lines. (Bug#9607)
19924 (line-move-visual): Update the doc string to the above effect.
19925
19926 2011-09-29 Martin Rudalics <rudalics@gmx.at>
19927
19928 * window.el (display-buffer-record-window): When WINDOW is the
19929 selected window use `point' instead of `window-point'. (Bug#9626)
19930
19931 * startup.el (command-line-1): Use insert-before-markers when
19932 inserting initial-scratch-message. (Bug#9605)
19933
19934 * help.el (help-window): Remove variable.
19935
19936 2011-09-29 Glenn Morris <rgm@gnu.org>
19937
19938 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19939
19940 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
19941
19942 * descr-text.el (describe-char-categories): Accept category
19943 descriptions more than one line long.
19944
19945 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
19946
19947 * simple.el (delete-trailing-whitespace): Fix last change.
19948
19949 * progmodes/perl-mode.el (perl-syntax-propertize-function):
19950 Don't confuse "y => 3" as the beginning of a `y' operation.
19951
19952 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19953 object has more than 4 slots (bug#9613).
19954
19955 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
19956
19957 * subr.el (with-output-to-temp-buffer):
19958 * net/quickurl.el (quickurl, quickurl-browse-url):
19959 Fix typos in docstrings.
19960
19961 2011-09-27 Eli Zaretskii <eliz@gnu.org>
19962
19963 * minibuffer.el (completion-styles)
19964 (completion-category-overrides): Cross reference each other in doc
19965 strings.
19966
19967 2011-09-27 Glenn Morris <rgm@gnu.org>
19968
19969 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19970 to split-string. (Bug#9606)
19971
19972 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
19973
19974 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19975 (bug#9615).
19976
19977 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
19978
19979 * emacs-lisp/package.el (list-packages): Fix echo area message.
19980
19981 2011-09-27 Leo Liu <sdl.web@gmail.com>
19982
19983 * ido.el (ido-read-internal): Accept cons cell HIST arg.
19984
19985 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
19986
19987 * net/dbus.el (dbus-unregister-object): Don't release services for
19988 registered signals. (Bug#9581)
19989
19990 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
19991
19992 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19993 function that picks between cfengine 2 and 3 support
19994 automatically. Update docs accordingly.
19995
19996 2011-09-22 Kenichi Handa <handa@m17n.org>
19997
19998 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19999 ZERO.
20000 (indian-itrans-v5-table-for-tamil): New variable.
20001 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
20002
20003 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
20004
20005 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
20006 that's true if the current command involved collapsing of text.
20007 It's reset to false at the beginning of the next command.
20008 (allout-post-command-business): Move the cursor to the beginning
20009 of entry if the cursor is hidden and collapsing activity just
20010 happened.
20011
20012 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
20013
20014 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
20015 tracking (Bug#9541).
20016
20017 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
20018
20019 * net/newst-reader.el (newsticker-html-renderer)
20020 (newsticker-show-news): Automatically load html rendering package
20021 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
20022 because w3m-fill-column is let-bound" and the error "Symbol's value
20023 as variable is void: w3m-fill-column".
20024
20025 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
20026
20027 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
20028 Release services only if they are defined. (Bug#9581)
20029
20030 2011-09-23 Richard Stallman <rms@gnu.org>
20031
20032 * textmodes/paragraphs.el (forward-sentence): For backwards case,
20033 distinguish start of paragraph from start of its text.
20034
20035 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
20036
20037 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
20038 (rmail-generate-viewer-buffer): Put that hook on view buffer.
20039 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
20040
20041 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
20042
20043 * international/mule-diag.el (mule-diag): Insert a newline after
20044 each fontset description.
20045
20046 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20047
20048 * simple.el (delete-trailing-whitespace):
20049 Document last change; simplify.
20050
20051 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
20052
20053 * simple.el (delete-trailing-whitespace): Also delete
20054 extra newlines at the end of the buffer.
20055
20056 * textmodes/picture.el: Make motion commands obey shift-select-mode.
20057 (picture-newline): Use forward-line so as to ignore fields.
20058
20059 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
20060
20061 * subr.el (with-wrapper-hook): Fix edebug spec.
20062
20063 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
20064
20065 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
20066 (bug#4538).
20067
20068 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
20069
20070 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
20071 Fix nasty bug using wrong cached values.
20072
20073 2011-09-23 Alan Mackenzie <acm@muc.de>
20074
20075 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
20076
20077 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
20078
20079 * window.el (pop-to-buffer): Ensure right window is selected if we
20080 chose another frame.
20081
20082 2011-09-22 Eli Zaretskii <eliz@gnu.org>
20083
20084 * simple.el (what-cursor-position): Use get-char-property-change
20085 and next-single-char-property-change, to be able to show display
20086 properties that come from overlays as well as text properties.
20087
20088 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
20089
20090 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
20091
20092 * cmuscheme.el (run-scheme, switch-to-scheme):
20093 * cus-edit.el (customize-group, custom-buffer-create)
20094 (customize-browse):
20095 * info.el (info):
20096 * shell.el (shell):
20097 * mail/sendmail.el (mail):
20098 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
20099
20100 2011-09-22 Richard Stallman <rms@gnu.org>
20101
20102 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
20103 move back only to line beg, don't move back over blank lines.
20104
20105 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
20106
20107 * files.el (copy-directory): Set directory attributes only in case
20108 they could be retrieved from the source directory. (Bug#9565)
20109
20110 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
20111
20112 * progmodes/hideshow.el (hs-looking-at-block-start-p)
20113 (hs-find-block-beginning, hs-hide-level-recursive):
20114 Ignore strings as well as comments. (Bug#9502)
20115
20116 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
20117
20118 * progmodes/sql.el (sql-comint-postgres):
20119 Convert port number to a string. (Bug#9566)
20120
20121 2011-09-22 Martin Rudalics <rudalics@gmx.at>
20122
20123 * window.el (quit-window): Undedicate window when switching to
20124 previous buffer. Reported by Thierry Volpiatto
20125 <thierry.volpiatto@gmail.com>.
20126 (special-display-popup-frame): When popping up a new frame reset
20127 its previous buffers to nil. Simplify code.
20128
20129 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
20130
20131 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
20132 and process filter, as done also in `shell-command'.
20133
20134 2011-09-21 Martin Rudalics <rudalics@gmx.at>
20135
20136 * window.el (set-window-buffer-start-and-point):
20137 Call set-window-start with NOFORCE argument t.
20138 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20139 (quit-window): Reword doc-string. Handle new format of
20140 quit-restore parameter. Don't delete window if it has a
20141 previous buffer we can show instead of the present one.
20142 (display-buffer-record-window): Rewrite using a new format for
20143 the quit-restore window parameter
20144 (special-display-popup-frame, display-buffer-same-window)
20145 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20146 (display-buffer-pop-up-window, display-buffer-use-some-window):
20147 Adapt symbol passed to display-buffer-record-window.
20148 * help.el (help-window-setup): Handle new format of quit-restore
20149 parameter.
20150
20151 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
20152
20153 * faces.el (face-list): Fix docstring (bug#9564).
20154
20155 * window.el (display-buffer--action-function-custom-type):
20156 Don't include internal functions in the Custom interface.
20157
20158 2011-09-20 Juri Linkov <juri@jurta.org>
20159
20160 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
20161 (Info-forward-node, Info-backward-node, Info-next-preorder)
20162 (Info-last-preorder): Use it. (Bug#9528)
20163
20164 2011-09-20 Juri Linkov <juri@jurta.org>
20165
20166 * info.el (Info-last-preorder): Visit last menu item only when
20167 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
20168
20169 2011-09-20 Julien Danjou <julien@danjou.info>
20170
20171 * password-cache.el (password-cache-remove): Remove entries even if the
20172 value is nil, so that password with a nil value (negative caching) is
20173 possible to invalidate.
20174
20175 2011-09-20 Lawrence Mitchell <wence@gmx.li>
20176
20177 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
20178 all whitespace around breakpoint. (Bug#9553)
20179 (f90-find-breakpoint): Only break at whitespace inside a comment.
20180
20181 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
20182
20183 * minibuffer.el (completion-file-name-table): Keep track of errors.
20184 (completion-table-with-predicate): Handle the case where pred1 is nil.
20185 * pcomplete.el (pcomplete-completions-at-point): Simplify.
20186
20187 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20188
20189 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
20190 (debugger-return-value): Signal an error if the debugging context does
20191 not await any return value.
20192
20193 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
20194 * image-mode.el (image-toggle-display-text)
20195 (image-toggle-display-image): Stay away from evil `intangible'.
20196
20197 2011-09-19 Leo Liu <sdl.web@gmail.com>
20198
20199 * replace.el (occur-revert-arguments): Make it permanent-local.
20200 (occur-mode): Don't call font-lock-defontify.
20201
20202 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
20203
20204 * net/ldap.el (ldap-search-internal): Don't push empty search
20205 result (Bug#9508).
20206
20207 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
20208
20209 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
20210
20211 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
20212
20213 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
20214 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
20215
20216 2011-09-18 Juri Linkov <juri@jurta.org>
20217
20218 * buff-menu.el (Buffer-menu-mode-map):
20219 * dired.el (dired-mode-map):
20220 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
20221 (lisp-interaction-mode-map):
20222 * emacs-lisp/package.el (package-menu-mode-map):
20223 * epa.el (epa-key-list-mode-map):
20224 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
20225 (menu-bar-options-menu):
20226 * outline.el (outline-mode-menu-bar-map):
20227 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
20228 * vc/vc-dir.el (vc-dir-menu-map):
20229 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
20230 Capitalize non-function content words in menu item strings.
20231
20232 * dired.el (dired-mode-map): Add menu item for
20233 `image-dired-dired-toggle-marked-thumbs'.
20234
20235 2011-09-18 Juri Linkov <juri@jurta.org>
20236
20237 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
20238 to `isearch-case-fold-search' and restore its original value
20239 after the `isearch-mode' call.
20240
20241 2011-09-18 Juri Linkov <juri@jurta.org>
20242
20243 * progmodes/grep.el (grep-process-setup): Don't check code for 1
20244 because `zgrep' returns 1 for successful matches (bug#9226).
20245
20246 2011-09-18 Juri Linkov <juri@jurta.org>
20247
20248 * info.el (Info-extract-menu-node-name): Check the second match
20249 for empty string (second test-case of bug#9528).
20250 (Info-last-preorder): Let-bind `Info-history' to nil to not add
20251 intermediate nodes to the history (first test-case of bug#9528).
20252
20253 2011-09-18 Juri Linkov <juri@jurta.org>
20254
20255 * info.el (Info-mode-syntax-table): New variable.
20256 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
20257
20258 2011-09-18 Juri Linkov <juri@jurta.org>
20259
20260 * info.el (Info-file-supports-index-cookies):
20261 Increment line-beginning-position's arg from 3 to 4 because makeinfo
20262 outputs one more line for long file names (bug#4142).
20263
20264 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20265
20266 * newcomment.el (comment-normalize-vars): If prompting for
20267 comment-start, set comment-start-skip too (Bug#8424).
20268
20269 2011-09-18 Johan Bockgård <bojohan@gnu.org>
20270
20271 * icomplete.el: Fix previous fix of Bug#5849.
20272 (icomplete-mode): Don't set completion-show-inline-help.
20273 (icomplete-minibuffer-setup): Set completion-show-inline-help
20274 locally during icompletion.
20275
20276 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
20277
20278 * woman.el (woman2-process-escapes): Don't delete unrecognized
20279 escapes (Bug#7843).
20280
20281 * files.el (inhibit-first-line-modes-regexps): Add image files.
20282 (hack-local-variables-prop-line): Return nil for malformed
20283 prop-lines (Bug#9044).
20284
20285 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
20286
20287 * net/tramp.el (top): Don't require 'shell.
20288 (tramp-methods): Fix docstring.
20289 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
20290 Return complete remote file name. Handle "smb" case.
20291 Use `tramp-tmpdir', if defined for the respective method.
20292 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
20293
20294 * net/tramp-compat.el (top): Require 'shell.
20295
20296 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
20297 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
20298 `tramp-current-host'.
20299 (tramp-get-remote-tmpdir): Remove.
20300
20301 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
20302 `tramp-tmpdir' entries.
20303 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
20304 (tramp-smb-handle-file-attributes): Ignore errors.
20305 (tramp-smb-wait-for-output): Check also for process end.
20306
20307 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
20308
20309 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
20310 when sending QUIT (bug#9312).
20311
20312 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
20313
20314 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
20315 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
20316 occur-mode-display-occurrence.
20317 (occur-edit-mode): Add usage message.
20318 (occur-cease-edit): New command.
20319 (occur-after-change-function): Use text properties to find the
20320 position of the prefix text.
20321 (occur-engine): Set stickiness of prefix text properties.
20322
20323 2011-09-17 Glenn Morris <rgm@gnu.org>
20324
20325 * progmodes/etags.el (complete-tag):
20326 Fix call to completion-in-region. (Bug#9526)
20327
20328 2011-09-17 Juri Linkov <juri@jurta.org>
20329
20330 * textmodes/ispell.el (ispell-word): Add to the error message
20331 the word, ispell program name and current dictionary (bug#9121).
20332 (ispell-tex-arg-end): Capitalize "error" in the error message.
20333
20334 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
20335
20336 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
20337 check. (Bug#4251)
20338
20339 2011-09-17 Juri Linkov <juri@jurta.org>
20340
20341 * window.el (window-safe-min-height, window-safe-min-width):
20342 Fix typos (followup to bug#9522).
20343
20344 2011-09-17 Sven Joachim <svenjoac@gmx.de>
20345
20346 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
20347
20348 2011-09-16 Eli Zaretskii <eliz@gnu.org>
20349
20350 * simple.el (line-move): If goal-column is set, move by logical
20351 lines, not by display lines. (Bug#971)
20352 (next-line, previous-line, goal-column, line-move-visual): Doc fix
20353 to reflect the above change.
20354
20355 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
20356
20357 * image.el (imagemagick-register-types): Use regexp-opt.
20358
20359 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20360
20361 * window.el (display-buffer-base-action): Rename from
20362 display-buffer-default-action. Make default value empty.
20363 (display-buffer-overriding-action): Convert to defvar.
20364 (display-buffer-fallback-action): New var.
20365
20366 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
20367
20368 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
20369 declaration.
20370 (package--add-to-archive-contents): If there is a duplicate entry
20371 with an older version, remove it.
20372 (package-menu-mark-delete, package-menu-mark-install)
20373 (package-menu-mark-unmark): Make unused args optional.
20374 (package-menu-mark-obsolete-for-deletion):
20375 Use package-menu-get-status instead of a regexp search.
20376 (package-menu-get-status): Use tabulated-list-entry.
20377 (package-menu-mark-upgrades): New command.
20378 (package-menu-mode-map): Bind it to U. Add it to menu bar.
20379 (package-menu-execute): Do installation before deletion.
20380 (package-menu-refresh, package-menu-execute): Use derived-mode-p
20381 instead of checking major-mode.
20382 (package-menu--find-upgrades): New function.
20383
20384 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20385
20386 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
20387 passwords in the log buffer.
20388 (smtpmail-process-filter): Update the process marker so that the
20389 "broken by peer" status message is inserted in the right place.
20390
20391 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
20392
20393 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
20394 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
20395 bibtex-completion-at-point-function.
20396 (bibtex-completion-at-point-function): Use them.
20397
20398 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
20399
20400 * mpc.el (mpc-constraints-tag-lookup): New function.
20401 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
20402 also to browser "album|playlist".
20403
20404 2011-09-14 Juri Linkov <juri@jurta.org>
20405
20406 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
20407 (isearch-edit-string): Use length of `isearch-string' when
20408 `isearch-fail-pos' returns nil.
20409 (isearch-message): Remove duplicate code and call
20410 `isearch-fail-pos' with arg `t'.
20411
20412 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
20413
20414 * replace.el (occur-mode-goto-occurrence): Don't force using other
20415 window (Bug#9499).
20416
20417 * dired-aux.el (dired-do-chmod): Don't provide initial input.
20418
20419 2011-09-14 Martin Rudalics <rudalics@gmx.at>
20420
20421 * window.el (display-buffer-window): Remove.
20422 (display-buffer-record-window): Use help-setup window parameter
20423 instead of variable display-buffer-window.
20424 (display-buffer-function, special-display-buffer-names)
20425 (special-display-function): Mention help-setup parameter instead
20426 of display-buffer-window in doc-string.
20427 * help.el (help-window-setup): New argument help-window.
20428 Use help-window-setup parameter instead of display-buffer-window.
20429 Reword some messages.
20430 (with-help-window): Pass window used for displaying the buffer
20431 to help-window-setup. Don't set display-buffer-window.
20432
20433 2011-09-13 Glenn Morris <rgm@gnu.org>
20434
20435 * emacs-lisp/debug.el (debugger-make-xrefs):
20436 Preserve point. (Bug#9462)
20437
20438 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20439
20440 * window.el (window-deletable-p): Use next-frame.
20441
20442 2011-09-13 Martin Rudalics <rudalics@gmx.at>
20443
20444 * window.el (window-auto-delete): Remove.
20445 (window-deletable-p): Remove argument FORCE. Don't deal with
20446 dedication and previous buffers.
20447 (switch-to-prev-buffer): Don't delete window.
20448 (delete-windows-on): Delete a window's frame if and only if the
20449 window is dedicated.
20450 (replace-buffer-in-windows): Delete buffer's window or frame if
20451 and only if window is dedicated.
20452 (quit-window): Handle quit-restore as before last change.
20453 (bury-buffer): Delete window only if window-deletable-p returns t.
20454
20455 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
20456
20457 * window.el (window-deletable-p): Never delete the last frame on a
20458 given terminal.
20459
20460 2011-09-13 Glenn Morris <rgm@gnu.org>
20461
20462 * help.el (describe-key-briefly): Copy previous standard-output change.
20463
20464 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
20465
20466 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
20467
20468 2011-09-13 Glenn Morris <rgm@gnu.org>
20469
20470 * emacs-lisp/lisp-mode.el (lisp-indent-function):
20471 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
20472
20473 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
20474
20475 * dired-aux.el (dired-mark-read-string): Don't return default
20476 value on empty input (Bug#9361).
20477 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
20478 Omit initial minibuffer contents.
20479 (dired-do-chmod): Signal an error on empty input.
20480 (dired-mark-read-string): Don't return default on empty input.
20481
20482 * files.el (file-modes-symbolic-to-number): Doc fix.
20483
20484 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
20485
20486 * international/mule-cmds.el (ucs-completions): Remove.
20487 (read-char-by-name): Use complete-with-action instead; add metadata.
20488
20489 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20490
20491 * window.el (display-buffer--action-function-custom-type)
20492 (display-buffer--action-custom-type): New vars.
20493 (display-buffer-alist, display-buffer-default-action)
20494 (display-buffer-overriding-action): Add defcustom types.
20495
20496 * frame.el (delete-other-frames): Doc fix (Bug#276).
20497
20498 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20499
20500 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
20501
20502 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
20503
20504 Change modes that used same-window-* vars to use switch-to-buffer.
20505
20506 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
20507 Use switch-to-buffer.
20508
20509 * cus-edit.el (customize-group, custom-buffer-create)
20510 (customize-browse, custom-buffer-create-other-window):
20511 Use switch-to-buffer or switch-to-buffer-other-window.
20512
20513 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
20514 (Info-prev, Info-up, Info-speedbar-goto-node)
20515 (info-display-manual): Use switch-to-buffer.
20516 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
20517
20518 * mail/sendmail.el (mail): Use switch-to-buffer.
20519 (mail-recover): Use switch-to-buffer-other-window.
20520
20521 * cmuscheme.el (run-scheme, switch-to-scheme):
20522 * ielm.el (ielm):
20523 * shell.el (shell):
20524 * net/rlogin.el (rlogin):
20525 * net/telnet.el (telnet, rsh):
20526 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
20527
20528 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
20529
20530 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
20531
20532 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20533
20534 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
20535 so don't mention it (bug#9301).
20536 (dired-sort-toggle-or-edit): Clarify string further.
20537
20538 * faces.el (face-spec-set-match-display): Make `(type graphic)'
20539 match `x', `w32' and `ns', like the manual says (bug#9029).
20540
20541 * subr.el (eval-after-load): Doc string clarification (bug#9125).
20542 (process-kill-buffer-query-function): Mention the buffer name in
20543 the query.
20544
20545 * image-mode.el (image-next-line): The line parameter is mandatory
20546 (bug#9258).
20547
20548 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
20549 which can be useful (bug#9301).
20550
20551 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
20552
20553 * subr.el (match-string): Mention that the current buffer should
20554 be the same as the search was done in (bug#9282).
20555
20556 * facemenu.el: Disable the remove-* commands if the mark isn't
20557 active (bug#9162).
20558
20559 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20560
20561 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
20562 of display-buffer.
20563 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
20564
20565 * replace.el (occur-mode-goto-occurrence)
20566 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
20567 and display-buffer.
20568
20569 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
20570 display-buffer.
20571
20572 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
20573 special-display and same-window variables.
20574 (mail-other-window): Use switch-to-buffer-other-window.
20575 (mail-other-frame): USe switch-to-buffer-other-frame.
20576
20577 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
20578 Use display-buffer-other-frame.
20579 (gdb-display-gdb-buffer): Use pop-to-buffer.
20580
20581 * progmodes/gud.el (gud-goto-info): Use info-other-window.
20582
20583 * progmodes/python.el: Don't set same-window-buffer-names.
20584
20585 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
20586
20587 * window.el (display-buffer-alist): Add *Python*.
20588
20589 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
20590
20591 * window.el (display-buffer-alist): Add entry for buffers
20592 previously handled same-window-*.
20593 (display-buffer-alist, display-buffer-default-action)
20594 (display-buffer-overriding-action): Mark as risky.
20595 (display-buffer-alist): Document action function changes.
20596 (display-buffer--same-window-action)
20597 (display-buffer--other-frame-action): New variables.
20598 (switch-to-buffer, display-buffer-other-frame): Use them.
20599 (display-buffer): Rename reuse-frame entry to reusable-frames.
20600 (display-buffer-reuse-selected-window): Function deleted.
20601 (display-buffer-reuse-window): Handle reusable-frames alist entry.
20602 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
20603 (display-buffer-special): New function.
20604 (display-buffer--maybe-pop-up-frame-or-window): Rename from
20605 display-buffer-reuse-or-pop-window. Split off special-display
20606 part into display-buffer-special.
20607 (display-buffer-use-some-window): Don't perform any special
20608 pop-up-frames handling.
20609 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
20610 (display-buffer--maybe-same-window): Rename from
20611 display-buffer-maybe-same-window.
20612
20613 * info.el: Don't set same-window-regexps.
20614 (info-setup): New function.
20615 (info-other-window, info): Call it.
20616
20617 * cus-edit.el: Don't set same-window-regexps.
20618 (customize-group): New argument.
20619 (customize-group-other-window): Use it.
20620 (customize-face, customize-face-other-window): Likewise.
20621 (custom-buffer-create-other-window): Use pop-to-buffer directly.
20622
20623 * net/rlogin.el:
20624 * net/telnet.el:
20625 * progmodes/gud.el: Don't set same-window-regexps.
20626
20627 * cmuscheme.el:
20628 * ielm.el:
20629 * shell.el:
20630 * mail/sendmail.el:
20631 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
20632
20633 2011-09-10 Juri Linkov <juri@jurta.org>
20634
20635 * isearch.el (isearch-edit-string): Remove obsolete mention of
20636 `C-w' (`isearch-yank-word-or-char') from docstring.
20637 (isearch-query-replace): Fix typo in docstring (bug#9466).
20638
20639 2011-09-10 Juri Linkov <juri@jurta.org>
20640
20641 * paren.el (show-paren-function): Don't show escaped parens.
20642 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
20643
20644 2011-09-10 Eli Zaretskii <eliz@gnu.org>
20645
20646 * mail/sendmail.el (mml-to-mime, mml-attach-file)
20647 (mm-default-file-encoding): Remove autoload forms, they are
20648 replaced with autoload cookies in mml.el and mm-encode.el.
20649 (mail-add-attachment): New command.
20650 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
20651 (mail-mode): Mention mail-insert-file and mail-add-attachment in
20652 the doc string.
20653 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
20654
20655 2011-09-10 Reuben Thomas <rrt@sc3d.org>
20656
20657 * simple.el (count-words-region): Use buffer if there's no region
20658 (bug#9429).
20659
20660 2011-09-09 Juri Linkov <juri@jurta.org>
20661
20662 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
20663 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
20664 (wdired-isearch-filter-read-only): New function. (Bug#6362)
20665
20666 2011-09-09 Alan Mackenzie <acm@muc.de>
20667
20668 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
20669 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
20670
20671 2011-09-09 Eli Zaretskii <eliz@gnu.org>
20672
20673 Fix for Savannah bug#9392.
20674 * simple.el (mail-encode-mml): New defvar.
20675
20676 * mail/rmail.el (mail-encode-mml): Add a defvar.
20677 (rmail-enable-mime-composing): Default to t.
20678 (rmail-forward): Use MIME method of forwarding only if both
20679 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
20680 Set mail-encode-mml non-nil if the MIME method was used.
20681
20682 * mail/sendmail.el (mml-to-mime): Add autoload form.
20683 (mail-encode-mml): Add a defvar.
20684 (mail-mode): Make mail-encode-mml buffer-local and initialize it
20685 to nil.
20686 (mail-send): If mail-encode-mml is non-nil, run the outgoing
20687 message through mml-to-mime, and reset mail-encode-mml to nil.
20688
20689 2011-09-09 Glenn Morris <rgm@gnu.org>
20690
20691 * woman.el (woman-if-body): When processing an .el block,
20692 do not delete the next .el block as well. (Bug#9447)
20693 (woman-special-characters): Add oq, cq, and hy characters.
20694
20695 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20696
20697 * window.el (window-deletable-p): Make sure window is live before
20698 invoking window-prev-buffers.
20699
20700 2011-09-08 Leo Liu <sdl.web@gmail.com>
20701
20702 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
20703
20704 2011-09-08 Juri Linkov <juri@jurta.org>
20705
20706 * progmodes/compile.el (compilation-environment): Make it
20707 a defcustom (bug#8340).
20708
20709 2011-09-08 Martin Rudalics <rudalics@gmx.at>
20710
20711 * window.el (frame-auto-delete): Rename to window-auto-delete.
20712 Make it control auto-deletion of windows and/or frames.
20713 (window-deletable-p): New argument FORCE. Rewrite conditions
20714 for deleting window/frame. (Bug#9419)
20715 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
20716 Rewrite handling of case when window/frame can be deleted.
20717 (delete-windows-on): Call window-deletable-p with new FORCE
20718 argument t. (Bug#9456)
20719
20720 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
20721
20722 * help-mode.el (help-mode): Restore autoload.
20723
20724 2011-09-07 Juri Linkov <juri@jurta.org>
20725
20726 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
20727 `compilation-environment'. Set buffer-local
20728 `compilation-environment' to `thisenv' later after (funcall mode).
20729 (Bug#8340)
20730
20731 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
20732 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
20733 instead of replacing its value. (Bug#8340)
20734
20735 2011-09-07 Juri Linkov <juri@jurta.org>
20736
20737 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
20738 based on text properties put by `grep-filter' instead of matching
20739 escape sequences.
20740 (grep-mode): Set buffer-local `compilation-error-screen-columns'
20741 to the value of `grep-error-screen-columns' (bug#9438).
20742
20743 2011-09-07 Juri Linkov <juri@jurta.org>
20744
20745 * simple.el (next-error-highlight, next-error-highlight-no-select):
20746 Doc fix (bug#9432).
20747
20748 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
20749
20750 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20751 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
20752
20753 2011-09-07 Leo Liu <sdl.web@gmail.com>
20754
20755 * net/rcirc.el (rcirc-mode): Conditionally initialize
20756 rcirc-input-ring.
20757
20758 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
20759
20760 * emacs-lisp/find-func.el (find-function-C-source): Only set
20761 find-function-C-source-directory after checking that we found a source
20762 file there (bug#9440).
20763
20764 2011-09-06 Alan Mackenzie <acm@muc.de>
20765
20766 * isearch.el (isearch-other-meta-char): Wherever a key list is
20767 unread, "unread" the prefix arg, too. This fixes bug #8901.
20768
20769 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
20770
20771 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20772
20773 2011-09-05 Juri Linkov <juri@jurta.org>
20774
20775 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20776
20777 2011-09-05 Juri Linkov <juri@jurta.org>
20778
20779 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20780 keeping point where processing of grep matches begins, and
20781 continue to delete remaining escape sequences from the same point.
20782 (grep-filter): Make leading zero optional in "0?1;31m" because
20783 git-grep emits "\033[1;31m" escape sequences unlike expected
20784 "\033[01;31m" as GNU Grep does (bug#9408).
20785 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20786
20787 2011-09-05 Juri Linkov <juri@jurta.org>
20788
20789 * subr.el (y-or-n-p): Capitalize "yes".
20790
20791 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
20792
20793 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
20794 `tramp-cache-unload-hook' where appropriate.
20795 (tramp-methods): Rename `tramp-remote-sh' to
20796 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
20797 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20798
20799 * net/tramp-sh.el (top): Don't require 'shell.
20800 (tramp-methods): Add `tramp-remote-shell' and
20801 `tramp-remote-shell-args' entries.
20802 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20803 (tramp-sh-handle-shell-command): Remove.
20804 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20805 Use `tramp-remote-shell'.
20806
20807 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
20808
20809 * mail/sendmail.el (sendmail-query-once-function): Delete.
20810 (sendmail-query-once): Save directly to send-mail-function.
20811 Update message-send-mail-function too.
20812
20813 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20814
20815 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20816
20817 * progmodes/python.el (python-mode-map): Use correct function to
20818 start python interpreter from menu-bar (as reported by Geert
20819 Kloosterman).
20820 (inferior-python-mode-map): Fix typo.
20821 (python-shell-map): Remove.
20822
20823 2011-09-03 Deniz Dogan <deniz@dogan.se>
20824
20825 * net/rcirc.el (rcirc-print): Simplify code for
20826 rcirc-scroll-show-maximum-output. There is no need to walk
20827 through all windows to find the right one.
20828
20829 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
20830
20831 * help.el (help-return-method): Doc fix.
20832
20833 2011-09-03 Martin Rudalics <rudalics@gmx.at>
20834
20835 * window.el (window-deletable-p): Don't return a non-nil value
20836 when there's a buffer that was shown in the window before.
20837 (Bug#9419)
20838 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20839 Set window's previous buffers to nil.
20840
20841 2011-09-03 Eli Zaretskii <eliz@gnu.org>
20842
20843 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20844 newline before and after the tag line, so it doesn't interfere
20845 with determining the paragraph direction of bidirectional text.
20846
20847 2011-09-03 Leo Liu <sdl.web@gmail.com>
20848
20849 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
20850
20851 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20852
20853 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20854 (pop-to-buffer): Change interactive spec. Pass second argument
20855 directly to display-buffer.
20856 (display-buffer): Fix interactive spec. Use functionp to
20857 distinguish between a function and a list of functions.
20858
20859 * abbrev.el (edit-abbrevs):
20860 * arc-mode.el (archive-extract):
20861 * autoinsert.el (auto-insert):
20862 * bookmark.el (bookmark-bmenu-list):
20863 * files.el (find-file):
20864 * view.el (view-buffer):
20865 * progmodes/compile.el (compilation-goto-locus):
20866 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20867
20868 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
20869
20870 * window.el (display-buffer-alist): Doc fix.
20871 (display-buffer): Add docstring. Don't treat
20872 display-buffer-default specially.
20873 (display-buffer-reuse-selected-window)
20874 (display-buffer-same-window, display-buffer-maybe-same-window)
20875 (display-buffer-reuse-window, display-buffer-pop-up-frame)
20876 (display-buffer-pop-up-window)
20877 (display-buffer-reuse-or-pop-window)
20878 (display-buffer-use-some-window): New functions.
20879 (display-buffer-default-action): Use them.
20880 (display-buffer-default): Delete.
20881 (pop-to-buffer-1): Fix choice of actions.
20882
20883 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
20884
20885 * minibuffer.el (completion--insert-strings): Don't get confused by
20886 completion entries that end with an LF char.
20887
20888 2011-09-01 Eli Zaretskii <eliz@gnu.org>
20889
20890 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20891
20892 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
20893
20894 * window.el (display-buffer): Restore interactive spec.
20895 (display-buffer-same-window, display-buffer-other-window):
20896 New functions.
20897 (pop-to-buffer-1): New function. Use the above.
20898 (pop-to-buffer, pop-to-buffer-same-window): Use it.
20899 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20900
20901 * view.el (view-buffer-other-window, view-buffer-other-frame):
20902 Just use pop-to-buffer.
20903
20904 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
20905
20906 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
20907
20908 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
20909
20910 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
20911
20912 2011-08-31 Richard Stallman <rms@gnu.org>
20913
20914 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20915 of the separation of rmail-view-buffer from rmail-buffer.
20916 If you say no to "replace original", the decrypt is in the
20917 view buffer. If you say yes, the decrypt goes into the
20918 rmail buffer also.
20919
20920 2011-08-31 Martin Rudalics <rudalics@gmx.at>
20921
20922 * window.el (display-buffer-window): Rewrite doc-string.
20923 (display-buffer-record-window): New function.
20924 (display-buffer-macro-specifiers)
20925 (display-buffer-even-window-sizes, display-buffer-set-height)
20926 (display-buffer-set-width, display-buffer-in-window)
20927 (display-buffer-reuse-window, display-buffer-split-specifiers)
20928 (display-buffer-side-specifiers, display-buffer-split-window-1)
20929 (display-buffer-split-window, display-buffer-split-atom-window)
20930 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20931 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20932 (display-buffer-other-window-means-other-frame)
20933 (display-buffer-normalize-special)
20934 (display-buffer-normalize-default)
20935 (display-buffer-normalize-argument)
20936 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20937 (display-buffer-normalize-specifiers, display-buffer-frame)
20938 (display-buffer-same-window, display-buffer-same-frame)
20939 (display-buffer-other-window)
20940 (display-buffer-same-frame-other-window)
20941 (display-buffer-other-frame, pop-to-buffer-same-window)
20942 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20943 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20944 (switch-to-buffer-same-frame)
20945 (switch-to-buffer-other-window-same-frame)
20946 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20947 (display-buffer-alist-set-1, display-buffer-alist-set-2)
20948 (display-buffer-alist-set): Remove.
20949 (display-buffer-function, special-display-buffer-names)
20950 (special-display-regexps, special-display-function):
20951 In doc-string refer to display-buffer-window and quit-restore
20952 parameter.
20953 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20954 (special-display-frame-alist, special-display-popup-frame)
20955 (same-window-buffer-names, same-window-regexps, same-window-p)
20956 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20957 (split-window-preferred-function, split-height-threshold)
20958 (split-width-threshold, window-splittable-p)
20959 (split-window-sensibly, window--try-to-split-window)
20960 (window--frame-usable-p, even-window-heights)
20961 (window--even-window-heights, window--display-buffer-1)
20962 (window--display-buffer-2, display-buffer-other-frame):
20963 Restore old Emacs 23 code, order and doc-strings where applicable.
20964 (display-buffer-default, display-buffer-assq-regexp): New functions.
20965 (display-buffer-alist): Rewrite doc-string.
20966 (display-buffer-default-action)
20967 (display-buffer-overriding-action): New variables.
20968 (display-buffer, switch-to-buffer): Rewrite.
20969 (pop-to-buffer): Restore Emacs 23 behavior but use
20970 window-normalize-buffer-to-display.
20971 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20972 Restore Emacs 23 behavior but use
20973 window-normalize-buffer-to-switch-to.
20974 (pop-to-buffer-same-window): Rewrite.
20975 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20976 Rewrite using Emacs 23 options.
20977
20978 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
20979
20980 * net/tramp.el (tramp-root-regexp): Remove.
20981 (tramp-completion-file-name-regexp-unified)
20982 (tramp-completion-file-name-regexp-separate)
20983 (tramp-completion-file-name-regexp-url): Don't use leading volume
20984 letter on w32 systems. (Bug#5303, Bug#9311)
20985 (tramp-drop-volume-letter): Simplify definition.
20986 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20987
20988 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
20989
20990 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20991 (bug#9356).
20992
20993 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
20994
20995 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20996
20997 2011-08-29 Juri Linkov <juri@jurta.org>
20998
20999 * isearch.el (isearch-done): Don't display message "Mark saved"
21000 when arg `edit' is non-nil to prevent its flicker in the echo area.
21001
21002 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21003
21004 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
21005 obsolete packages for deletion.
21006
21007 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
21008
21009 * help-mode.el (help-mode-map): Add special-mode-map to parent.
21010 (help-mode): Derive help-mode from special-mode. Don't invoke
21011 view-mode from help-mode.
21012 (help-xref-override-view-map): Remove.
21013 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
21014 view-mode is not used anymore.
21015
21016 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
21017
21018 * server.el (server-port): Doc fix.
21019
21020 * cus-theme.el (custom-theme-choose-mode): Inherit from
21021 special-mode (Bug#9124).
21022 (custom-theme-choose-mode-map): Add special-mode to parent.
21023
21024 2011-08-28 Alan Mackenzie <acm@muc.de>
21025
21026 * progmodes/cc-fonts.el
21027 (c-make-font-lock-BO-decl-search-function): New function.
21028 (c-basic-matchers-after - "Fontify the clauses after various
21029 keywords"): Extract the three keyword lists for the 3 erroneous
21030 constructs from the list of four, and use the new function above
21031 in place of an old one.
21032
21033 2011-08-28 Deniz Dogan <deniz@dogan.se>
21034
21035 * net/rcirc.el (rcirc-insert-prev-input)
21036 (rcirc-insert-next-input): Remove unused argument.
21037
21038 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
21039
21040 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
21041
21042 2011-08-27 Alan Mackenzie <acm@muc.de>
21043
21044 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
21045 handle function pointer parameters properly.
21046
21047 2011-08-27 Martin Rudalics <rudalics@gmx.at>
21048
21049 * window.el (display-buffer-reuse-window): Fix case where
21050 selected window was reused with non-nil OTHER-WINDOW argument.
21051 (Bug#9381)
21052
21053 2011-08-27 Deniz Dogan <deniz@dogan.se>
21054
21055 * net/rcirc.el (rcirc-check-auth-status): Adding support for
21056 oftc's NickServ messages.
21057
21058 2011-08-27 Glenn Morris <rgm@gnu.org>
21059
21060 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
21061
21062 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
21063
21064 * emacs-lisp/package.el (package-install): Call package-initialize
21065 if called interactively.
21066
21067 2011-08-26 Leo Liu <sdl.web@gmail.com>
21068
21069 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
21070
21071 2011-08-25 Juri Linkov <juri@jurta.org>
21072
21073 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
21074 `search-whitespace-regexp' (bug#9364).
21075
21076 2011-08-25 Juri Linkov <juri@jurta.org>
21077
21078 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
21079 `regexp-search-ring' to their global values to protect from
21080 updating by `read-from-minibuffer' (bug#9185).
21081
21082 2011-08-25 Juri Linkov <juri@jurta.org>
21083
21084 * textmodes/ispell.el (ispell-command-loop): Add newline
21085 at the end of the "Use option `i'..." line.
21086
21087 2011-08-25 Juri Linkov <juri@jurta.org>
21088
21089 * battery.el (display-battery-mode): If `battery-status-function'
21090 or `battery-mode-line-format' is nil, display the message and set
21091 `display-battery-mode' to nil (bug#9363).
21092
21093 2011-08-25 Eli Zaretskii <eliz@gnu.org>
21094
21095 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
21096 bidi-string-mark-left-to-right; they are unnecessary now.
21097
21098 2011-08-25 Deniz Dogan <deniz@dogan.se>
21099
21100 * net/quickurl.el: Documentation typo fixes.
21101
21102 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
21103
21104 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
21105
21106 2011-08-25 Glenn Morris <rgm@gnu.org>
21107
21108 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
21109
21110 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
21111 (smtpmail-via-smtp): Handle nil response from smtp.
21112
21113 2011-08-24 Juri Linkov <juri@jurta.org>
21114
21115 * proced.el (proced-marked): Inherit from `error' instead of
21116 `font-lock-warning-face'.
21117
21118 * ibuffer.el (ibuffer-marked-face): Change default face from
21119 `font-lock-warning-face' to `warning'.
21120 (ibuffer-deletion-face): Change default face from
21121 `font-lock-type-face' to `error'.
21122
21123 * battery.el (battery-update): Use the face `error' instead of
21124 `font-lock-warning-face' (bug#6117).
21125
21126 2011-08-24 Juri Linkov <juri@jurta.org>
21127
21128 * faces.el (success): Change face color from "Green3" to
21129 "ForestGreen" on light background (bug#9353).
21130
21131 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
21132
21133 * window.el (quit-window): Rename from quit-restore-window.
21134 Use same arglist as old quit-window.
21135 (frame-auto-delete): Doc fix.
21136
21137 * view.el (view-mode-exit): Use quit-window.
21138
21139 2011-08-24 Juri Linkov <juri@jurta.org>
21140
21141 * isearch.el (isearch-ring-adjust1): Start visiting previous
21142 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
21143 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
21144 for empty search string (when the last search string is reused
21145 automatically) to adjust the isearch ring to the last element and
21146 prepare the correct index for further M-p commands (bug#9185).
21147
21148 2011-08-24 Kenichi Handa <handa@m17n.org>
21149
21150 * international/ucs-normalize.el: If decomposition property of
21151 CHAR is the default one (i.e. a list of CHAR itself), treat it as
21152 nil.
21153 (nfd, nfkd): Likewise.
21154
21155 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
21156
21157 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
21158 from process filters aren't reliably transmitted to the surrounding
21159 accept-process-output.
21160 (mpc-proc-check): New function.
21161 (mpc-proc-sync): Use it (bug#8293)
21162
21163 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21164
21165 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
21166 Add compatibility functions (bug#9313).
21167
21168 2011-08-23 Eli Zaretskii <eliz@gnu.org>
21169
21170 * cus-start.el (all): Add entry for bidi-paragraph-direction.
21171
21172 * international/uni-bidi.el: Regenerate.
21173
21174 2011-08-23 Kenichi Handa <handa@m17n.org>
21175
21176 * international/charprop.el:
21177 * international/uni-bidi.el:
21178 * international/uni-category.el:
21179 * international/uni-combining.el:
21180 * international/uni-comment.el:
21181 * international/uni-decimal.el:
21182 * international/uni-decomposition.el:
21183 * international/uni-digit.el:
21184 * international/uni-lowercase.el:
21185 * international/uni-mirrored.el:
21186 * international/uni-name.el:
21187 * international/uni-numeric.el:
21188 * international/uni-old-name.el:
21189 * international/uni-titlecase.el:
21190 * international/uni-uppercase.el: Regenerate.
21191
21192 2011-08-23 Martin Rudalics <rudalics@gmx.at>
21193
21194 * help.el (help-window-setup): Fix message displayed when other
21195 window is reused. (Bug#9341)
21196
21197 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
21198
21199 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
21200 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
21201
21202 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
21203 Mark obsolete.
21204 * shell.el (shell-parse-pcomplete-arguments): New function.
21205 (shell-completion-vars): Use it instead (bug#9160).
21206
21207 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
21208
21209 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
21210 strings and comments (bug#9333).
21211
21212 * emacs-lisp/debug.el (debug-arglist): New function.
21213 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
21214 (debug-on-entry-1): Handle interpreted closures (bug#9120).
21215
21216 2011-08-22 Juri Linkov <juri@jurta.org>
21217
21218 * progmodes/compile.el (compilation-mode-font-lock-keywords):
21219 Revert regexp that highlights output switches to its old
21220 pre-2010-10-28 value and remove one `?' from it (bug#9319).
21221
21222 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
21223 to check for empty output (bug#9226).
21224
21225 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
21226
21227 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
21228 symbol-constituent as the default, as that stops font-lock from
21229 working properly (Bug#8843).
21230
21231 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21232
21233 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
21234 `coding-system-for-*' around the process open call to avoid
21235 auth-source side effects.
21236 (smtpmail-try-auth-methods): Expand the secret password.
21237 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
21238 probe hangs.
21239
21240 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21241
21242 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
21243
21244 * emacs-lisp/find-func.el (find-function-noselect): New arg
21245 lisp-only.
21246
21247 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
21248 signal an error for built-in functions (Bug#6664).
21249
21250 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21251
21252 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
21253 (smtpmail-try-auth-methods): Use it.
21254
21255 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
21256
21257 * font-lock.el (font-lock-fontify-region)
21258 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
21259 (font-lock-default-unfontify-buffer)
21260 (font-lock-default-fontify-region)
21261 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
21262
21263 * progmodes/compile.el (compilation-error-properties):
21264 Fix confusion between file struct and message struct (Bug#9319).
21265 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
21266 `ant' regexp.
21267
21268 * net/browse-url.el (browse-url-firefox): Don't call
21269 browse-url-firefox-sentinel unless using -remote (Bug#9328).
21270
21271 2011-08-20 Glenn Morris <rgm@gnu.org>
21272
21273 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
21274
21275 * tutorial.el (tutorial--default-keys): Update some default bindings.
21276
21277 * files.el (hack-local-variables): Fully ignore case for "mode:".
21278
21279 2011-08-20 Alan Mackenzie <acm@muc.de>
21280
21281 Resolve invalid use of a regexp in regexp-opt.
21282
21283 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
21284 detection for a java annotation.
21285
21286 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
21287 detection for a java annotation.
21288
21289 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
21290 handling for java.
21291 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
21292
21293 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
21294
21295 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
21296 (Bug#9274).
21297
21298 2011-08-20 Alan Mackenzie <acm@muc.de>
21299
21300 Fontify CPP expressions correctly when starting in the middle of
21301 such a construct. Mainly for when jit-lock etc. starts a chunk
21302 here.
21303
21304 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
21305 variable.
21306 (c-make-font-lock-search-form): New function, extracted from
21307 c-make-font-lock-search-function.
21308 (c-make-font-lock-search-function): Use the above function.
21309 (c-make-font-lock-context-search-function): New function.
21310 (c-cpp-matchers): Enhance the preprocessor expression case with
21311 the above function
21312 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
21313 which takes an expression.
21314
21315 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
21316
21317 2011-08-20 Martin Rudalics <rudalics@gmx.at>
21318
21319 * window.el (display-buffer-reuse-window)
21320 (display-buffer-pop-up-window): Don't reuse or split a side
21321 window.
21322
21323 2011-08-19 Glenn Morris <rgm@gnu.org>
21324
21325 * files.el (hack-local-variables-prop-line, hack-local-variables):
21326 Downcase "Mode:". (Bug#9331)
21327
21328 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
21329
21330 * international/characters.el: Add L and R categories.
21331
21332 * subr.el (bidi-string-mark-left-to-right): Rename from
21333 string-mark-left-to-right. Use category search.
21334
21335 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
21336
21337 2011-08-18 Juri Linkov <juri@jurta.org>
21338
21339 * faces.el (error, warning, success): New faces with definitions
21340 copied from old default values of `font-lock-warning-face',
21341 `compilation-warning', `compilation-info' (bug#6117).
21342
21343 * font-lock.el (font-lock-warning-face): Inherit from `error'.
21344
21345 * progmodes/compile.el (compilation-error): Inherit from `error'.
21346 (compilation-warning): Inherit from `warning'.
21347 (compilation-info): Inherit from `success'.
21348
21349 * dired.el (dired-marked): Inherit from `warning'.
21350 (dired-flagged): Inherit from `error'.
21351
21352 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21353
21354 * mail/smtpmail.el (auth-source): Require to avoid problems with
21355 binding variables (bug#9298). Also clean up some unused
21356 autoloads.
21357
21358 * net/network-stream.el (network-stream-open-starttls):
21359 Support using starttls.el without using gnutls-cli.
21360
21361 2011-08-17 Juri Linkov <juri@jurta.org>
21362
21363 * progmodes/grep.el (rgrep): Handle the case when
21364 `grep-find-command' is a cons cell (bug#9278).
21365
21366 2011-08-17 Martin Rudalics <rudalics@gmx.at>
21367
21368 * window.el (display-buffer-pop-up-frame): Run frame creation
21369 function with BUFFER current (as special-display-popup-frame
21370 does). Reported by Drew Adams.
21371
21372 2011-08-17 Daiki Ueno <ueno@unixuser.org>
21373
21374 * epa-mail.el: Simplify GnuPG group expansion using
21375 epg-expand-group.
21376 (epa-mail-group-alist, epa-mail-group-modtime)
21377 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
21378 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
21379 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
21380 Remove.
21381
21382 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
21383
21384 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
21385
21386 2011-08-16 Alan Mackenzie <acm@muc.de>
21387
21388 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
21389 Correct, to avoid the inside of macros.
21390
21391 2011-08-16 Richard Stallman <rms@gnu.org>
21392
21393 * epa-mail.el: Handle GnuPG group definitions.
21394 (epa-mail-group-alist, epa-mail-group-modtime)
21395 (epa-mail-gnupg-conf-file): New variables.
21396 (epa-mail-parse-groups, epa-mail-sync-groups)
21397 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
21398 (epa-mail-expand-recipients): New functions.
21399 (epa-mail-encrypt): Call epa-mail-expand-recipients.
21400
21401 * mail/rmail.el (rmail-epa-decrypt): New command.
21402
21403 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
21404 Don't bind buffer-read-only, just inhibit-read-only.
21405 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
21406 (epa-decrypt-armor-in-region): Make error message clearer.
21407
21408 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
21409
21410 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
21411 and "a2b" to "ab" for `prefix'.
21412
21413 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
21414
21415 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
21416 filter groups.
21417 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
21418 Fourquet (Bug#8804).
21419
21420 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
21421
21422 * startup.el (argi): Declare as global variable (bug#9275).
21423
21424 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
21425
21426 * subr.el (string-mark-left-to-right): Search the entire string
21427 for RTL script, not just the terminating character. Doc fix.
21428
21429 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
21430
21431 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
21432 New function.
21433 (js--regexp-literal, js-syntax-propertize-function): Remove.
21434 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
21435 (js-mode-map): Don't rebind electric keys.
21436 (js-insert-and-indent): Remove.
21437 (js-mode): Setup electric-layout and electric-indent instead.
21438
21439 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
21440
21441 2011-08-12 Daiki Ueno <ueno@unixuser.org>
21442
21443 * epa.el (epa-progress-callback-function): Fix the logic of
21444 displaying progress.
21445 * epa-file.el (epa-file-insert-file-contents): Make progress
21446 display more user-friendly.
21447 (epa-file-write-region): Ditto.
21448
21449 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
21450
21451 * subr.el (string-mark-left-to-right): New function.
21452
21453 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
21454 Use string-mark-left-to-right.
21455 (list-buffers-noselect): Caller changed.
21456
21457 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21458 Use string-mark-left-to-right.
21459 (tabulated-list-print): Recenter after moving point.
21460
21461 2011-08-10 Juri Linkov <juri@jurta.org>
21462
21463 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
21464 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
21465 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
21466
21467 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
21468
21469 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
21470 (Bug#7554).
21471
21472 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
21473
21474 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
21475 character. (Bug#6594)
21476
21477 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
21478
21479 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
21480 (image-dired--with-db-file): New macro.
21481 (image-dired-write-tags, image-dired-remove-tag)
21482 (image-dired-create-gallery-lists, image-dired-write-comments)
21483 (image-dired-get-comment, image-dired-mark-tagged-files)
21484 (image-dired-list-tags, image-dired-gallery-generate): Use it.
21485 (image-dired-gallery-generate): Use insert-file-contents.
21486
21487 * time.el (display-time-world-list, display-time-world-display):
21488 * time-stamp.el (time-stamp-string):
21489 * vc/add-log.el (add-change-log-entry): Use setenv instead of
21490 set-time-zone-rule (Bug#7337).
21491
21492 2011-08-08 Daiki Ueno <ueno@unixuser.org>
21493
21494 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
21495 (epg-error-to-string, epg-errors-to-string): New function.
21496 (epg-wait-for-completion): Reverse errors list.
21497 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
21498 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
21499 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
21500 (epg-sign-keys, epg-generate-key-from-file)
21501 (epg-generate-key-from-string): Format errors by using
21502 epg-errors-to-string (bug#9255).
21503 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
21504
21505 2011-08-07 Juri Linkov <juri@jurta.org>
21506
21507 * faces.el (list-faces-display): Remove extra angle bracket
21508 from `help-mode-map'.
21509
21510 * info.el (Info-history-toc-nodes): Doc fix.
21511
21512 * longlines.el (longlines-mode): Doc fix.
21513
21514 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
21515
21516 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
21517 of statements and in a few more cases (bug#9183).
21518
21519 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
21520 New functions.
21521 (cl-transform-lambda): Use them (bug#9239).
21522
21523 2011-08-05 Martin Rudalics <rudalics@gmx.at>
21524
21525 * window.el (display-buffer-same-window)
21526 (display-buffer-same-frame, display-buffer-other-window)
21527 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21528 (pop-to-buffer-other-window)
21529 (pop-to-buffer-same-frame-other-window)
21530 (pop-to-buffer-other-frame): Make them defuns.
21531 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
21532
21533 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21534
21535 * subr.el (make-composed-keymap): Move from C. Change calling
21536 convention, and improve docstring to bring attention to a subtle point.
21537 * minibuffer.el (completing-read-default): Adjust accordingly.
21538
21539 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
21540
21541 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
21542 (tramp-open-shell): Use `tramp-shell-quote-argument'.
21543
21544 * net/trampver.el: Update release number.
21545
21546 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
21547
21548 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
21549 "in" (bug#9190).
21550
21551 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21552
21553 * mail/sendmail.el (sendmail-query-once): Restore the current
21554 buffer after querying (bug#9074).
21555
21556 * dired.el (dired-flagged): Use different faces for marked and
21557 flagged files (bug#6117).
21558
21559 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
21560 (bug#4433).
21561
21562 * ido.el (ido-mode): Switch off the message if called
21563 non-interactively.
21564
21565 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
21566 before 587, since it appears that that's more likely to work for
21567 more people.
21568
21569 * cus-edit.el (custom-file): When running under emacs -q, always
21570 refuse to save the customizations, even if the .emacs file doesn't
21571 exist.
21572
21573 * info.el: Remove the `Info-beginning-of-buffer' function
21574 (bug#8325).
21575
21576 * net/network-stream.el (network-stream-open-starttls):
21577 Use `starttls-available-p' to see whether starttls.el can be used.
21578
21579 2011-08-01 Martin Rudalics <rudalics@gmx.at>
21580
21581 * window.el (display-buffer-in-window): Don't set dedicated status
21582 of window here (Bug#9215).
21583 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
21584 (display-buffer-pop-up-side-window)
21585 (display-buffer-in-side-window): Set dedicated status of window here.
21586
21587 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
21588
21589 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
21590 before binding generated-autoload-file.
21591
21592 2011-08-01 Deniz Dogan <deniz@dogan.se>
21593
21594 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
21595
21596 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
21597
21598 Sync with Tramp 2.2.2.
21599
21600 * net/trampver.el: Update release number.
21601
21602 2011-07-30 Juri Linkov <juri@jurta.org>
21603
21604 * dired-aux.el (dired-touch-initial): Remove function.
21605 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
21606 current time, and `default' to the last modification time of the
21607 current marked file (bug#6887).
21608
21609 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
21610
21611 * simple.el (goto-line): Use string-to-number to provide a
21612 numeric argument to read-number (bug#9163).
21613
21614 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
21615
21616 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
21617 connection process, it could be nil.
21618
21619 2011-07-27 Leo Liu <sdl.web@gmail.com>
21620
21621 Simplify url handling in rcirc-mode.
21622
21623 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
21624 (rcirc-browse-url-at-mouse): Remove.
21625 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
21626
21627 2011-07-26 Alan Mackenzie <acm@muc.de>
21628
21629 Fontify bitfield declarations properly.
21630
21631 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
21632 (c-symbol-chars): Now exported as a lang variable.
21633 (c-not-primitive-type-keywords): New lang variable.
21634
21635 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
21636 QT keyword "more" to prevent "more slots: ...." being spuriously
21637 parsed as a bitfield declaration.
21638
21639 * progmodes/cc-engine.el (c-beginning-of-statement-1):
21640 Refactor and enhance to handle bitfield declarations.
21641 (c-punctuation-in): New function.
21642 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
21643 declarations properly.
21644
21645 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
21646
21647 * calendar/icalendar.el (icalendar--all-events): Take care of
21648 multiple vcalendars in a single file.
21649 (icalendar--convert-float-to-ical): Checkdoc fixes.
21650
21651 2011-07-25 Deniz Dogan <deniz@dogan.se>
21652
21653 * image.el (insert-image): Clarifying docstring.
21654
21655 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
21656
21657 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
21658 `tramp-send-command-and-check' if there is no error.
21659 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
21660
21661 2011-07-22 Alan Mackenzie <acm@muc.de>
21662
21663 Prevent cc-langs.elc being loaded at run time.
21664
21665 * progmodes/cc-mode.el: Remove two autoload forms which loaded
21666 cc-langs.
21667
21668 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
21669 "(require 'cc-langs)". Quote a form so it will evaluate at
21670 (cc-mode's) compilation time.
21671
21672 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
21673
21674 * net/tramp.el (tramp-file-name-handler): Avoid recursive
21675 loading. (Bug#9114)
21676
21677 2011-07-21 Martin Rudalics <rudalics@gmx.at>
21678
21679 * window.el (display-buffer-pop-up-window)
21680 (display-buffer-pop-up-side-window)
21681 (display-buffer-in-side-window): Call display-buffer-set-height
21682 and display-buffer-set-width after setting the new window's
21683 buffer so `fit-window-to-buffer' and friends work on the right buffer.
21684
21685 2011-07-20 Sam Steingold <sds@gnu.org>
21686
21687 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
21688 (etags-tags-included-tables): Call `convert-standard-filename' on
21689 the file names contained in TAGS so that windows Emacs can handle
21690 TAGS files created by cygwin ctags.
21691
21692 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
21693
21694 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
21695 which apparently didn't work.
21696
21697 2011-07-19 Roland Winkler <winkler@gnu.org>
21698
21699 * proced.el (proced-send-signal): For *Marked Processes* buffer
21700 put point at beginning of buffer.
21701
21702 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
21703
21704 * proced.el (proced-format): Make header lines align with the text
21705 (bug#1779).
21706
21707 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
21708
21709 * view.el (view-buffer): Allow running in `special' modes if we're
21710 visiting a file (bug#8615).
21711
21712 2011-07-19 Martin Rudalics <rudalics@gmx.at>
21713
21714 * window.el (display-buffer-alist-of-strings-p)
21715 (display-buffer-alist-set-1, display-buffer-alist-set-2):
21716 New functions.
21717 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
21718 more accurately.
21719
21720 2011-07-18 Alan Mackenzie <acm@muc.de>
21721
21722 Fontify declarators properly when, e.g., a jit-lock chunk begins
21723 inside a declaration.
21724
21725 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
21726
21727 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
21728 New function.
21729 (c-complex-decl-matchers): Insert reference to
21730 c-font-lock-enclosing-decls.
21731
21732 * progmodes/cc-engine.el (c-backward-single-comment):
21733 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
21734 to nil around calls to (forward-comment -1).
21735
21736 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21737
21738 * image.el (put-image): Doc typo fix.
21739
21740 * progmodes/etags.el (tags-search): Doc typo fix.
21741
21742 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
21743 password if we get errors 550 to 554.
21744
21745 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
21746
21747 * net/gnutls.el (gnutls-log-level): Remove.
21748
21749 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
21750 indentation character (bug#6380).
21751
21752 * files.el (buffer-offer-save): Made permanently local (bug#6241).
21753
21754 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21755 to clarify what the problem is (bug#4291).
21756
21757 * simple.el (current-kill): Clarify what
21758 `interprogram-paste-function' does (bug#7500).
21759 (auto-fill-mode): Document `auto-fill-function' in relation to
21760 `auto-fill-mode' (bug#2470).
21761
21762 2011-07-16 Lawrence Mitchell <wence@gmx.li>
21763
21764 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21765 method if slot is read-only (bug#9035).
21766
21767 2011-07-16 Martin Rudalics <rudalics@gmx.at>
21768
21769 * frame.el (select-frame-set-input-focus): New argument NORECORD.
21770 * window.el (pop-to-buffer): Select window used even if it was
21771 selected before, see discussion of (Bug#8615), (Bug#6954).
21772 Pass argument NORECORD on to select-frame-set-input-focus.
21773
21774 2011-07-15 Glenn Morris <rgm@gnu.org>
21775
21776 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
21777 Respect help-form.
21778
21779 2011-07-09 Lawrence Mitchell <wence@gmx.li>
21780
21781 * net/gnutls.el (gnutls-min-prime-bits): New variable.
21782 (gnutls-negotiate): Use it.
21783
21784 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21785
21786 * net/gnutls.el (gnutls-negotiate):
21787 Upcase `gnutls-algorithm-priority'.
21788
21789 2011-07-15 Glenn Morris <rgm@gnu.org>
21790
21791 * jka-compr.el (jka-compr-verbose): Move from here...
21792 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
21793 Add missing :version tag.
21794 * info.el: No need to require jka-compr when compiling.
21795
21796 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21797
21798 * net/gnutls.el (gnutls-algorithm-priority): New variable.
21799 (gnutls-negotiate): Use it.
21800
21801 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21802
21803 * info.el (Info-beginning-of-buffer): New command.
21804 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21805 announcing `b' as the key (bug#8325).
21806 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21807
21808 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21809
21810 * international/mule-cmds.el
21811 (describe-specified-language-support): Make the error message
21812 clearer (bug#8905).
21813
21814 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21815
21816 * isearch.el (isearch-barrier): Add a doc string, since it's
21817 mentioned in a function doc string (bug#8678).
21818
21819 2011-07-15 Martin Rudalics <rudalics@gmx.at>
21820
21821 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21822 buffer argument (Bug#9083) and self-identifying label argument.
21823
21824 2011-07-15 Glenn Morris <rgm@gnu.org>
21825
21826 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
21827
21828 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21829
21830 * man.el (Man-fontify-manpage): Fix message when formatting the
21831 man page (bug#7929).
21832
21833 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21834
21835 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21836 argument LRM; if non-nil, append an invisible LRM character to the
21837 buffer name.
21838 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21839 last argument non-nil, when formatting buffer names.
21840 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21841 paragraph direction.
21842
21843 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
21844
21845 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21846 the man page name (bug#7929).
21847
21848 * image.el (put-image): Mention the `put-image' overlay property
21849 (bug#7834).
21850
21851 * scroll-bar.el (set-scroll-bar-mode): Mention that
21852 `scroll-bar-mode' lists the values (bug#7772).
21853
21854 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21855 command (bug#7729).
21856
21857 * rect.el (apply-on-rectangle): Return the point after the last
21858 operation.
21859 (string-rectangle): Go to the point after the last operation
21860 (bug#7522).
21861
21862 * printing.el (pr-toggle-region): Clarify the documentation
21863 slightly (bug#7493).
21864
21865 * time.el (display-time-update):
21866 Allow `display-time-mail-function' to return nil (bug#7158).
21867 Fix suggested by Detlev Zundel.
21868
21869 * vc/diff.el (diff): Clarify the order the file names are read
21870 (bug#7111).
21871
21872 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21873 the doc string (bug#7015).
21874
21875 * font-lock.el (font-lock-maximum-decoration): Mention what
21876 numeric levels mean (bug#6935).
21877
21878 * startup.el (initial-buffer-choice): Don't mention the `none'
21879 selection, which is against policy.
21880
21881 2011-07-14 Martin Rudalics <rudalics@gmx.at>
21882
21883 * window.el (display-buffer-normalize-special):
21884 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21885
21886 2011-07-14 Eli Zaretskii <eliz@gnu.org>
21887
21888 * subr.el (version<, version<=, version=): Mention "-CVS" and
21889 "-12345" alpha version numbers.
21890
21891 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21892
21893 * bindings.el: Add advertised binding for set-mark-command
21894 (Bug#5772).
21895
21896 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
21897
21898 * bindings.el (mode-line-other-buffer):
21899 * bookmark.el (bookmark-bmenu-2-window):
21900 * bs.el (bs-cycle-next, bs-cycle-previous):
21901 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21902 switch-to-buffer.
21903
21904 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21905 Delete.
21906
21907 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
21908
21909 * follow.el (follow-debug-message, follow-redisplay):
21910 * jka-cmpr-hook.el (with-auto-compression-mode):
21911 Fix typos in docstrings.
21912
21913 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21914
21915 * subr.el (with-silent-modifications): Clarify somewhat what the
21916 macro inhibits (bug#6525).
21917
21918 * simple.el (eval-expression): Note what it does if called
21919 interactively (bug#6495).
21920
21921 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21922
21923 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21924 Use pop-to-buffer buffer-or-name if it is nil.
21925
21926 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21927 Remove switch-to-buffer.
21928
21929 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21930
21931 * files.el (make-directory): Clarify that an error will be raised
21932 if there's an error (bug#6397).
21933
21934 * startup.el (initial-buffer-choice): Add `none' as a choice
21935 (bug#6234).
21936
21937 * subr.el (add-hook): Clarify section about buffer-local hooks
21938 (bug#6218).
21939
21940 * dired.el (dired-flagged): Clarify doc string (bug#6117).
21941
21942 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21943
21944 * tabify.el (untabify): Preserve the current column so that point
21945 doesn't move (bug#6032).
21946
21947 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21948
21949 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21950 Rewrite to avoid awkward possessive "s" (bug#5986).
21951
21952 2011-07-13 Glenn Morris <rgm@gnu.org>
21953
21954 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
21955 (dired-insert-directory): Give a message the first time
21956 if ls is found not to support --dired.
21957
21958 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21959
21960 * simple.el (toggle-truncate-lines): Clarify what is toggled
21961 (bug#5580). Text by Drew Adams.
21962
21963 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
21964
21965 * simple.el (blink-matching-open): Make the error message from the
21966 last change less verbose.
21967
21968 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
21969
21970 * font-lock.el (font-lock-comment-face): Use the high contrast
21971 "yellow" color for font-lock-comment-face on low color terminals
21972 using a dark background color (bug#4221).
21973
21974 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
21975
21976 * dired.el (dired-insert-set-properties): Make the doc string
21977 reflect what it does now (bug#5325).
21978
21979 * simple.el (blink-matching-open): Say that we were unable to find
21980 the match within the limit, if we're limited (bug#5122).
21981
21982 * international/mule-cmds.el (prefer-coding-system): Add an
21983 example (bug#4869).
21984
21985 * progmodes/etags.el (tags-search): Document `file-list-form'
21986 (bug#4731).
21987
21988 2011-07-13 Lawrence Mitchell <wence@gmx.li>
21989
21990 * net/browse-url.el (browse-url-default-browser)
21991 (browse-url-browser-function): Make the default browser choice a
21992 bit more logical (bug#4300). Also clean up the doc string.
21993
21994 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
21995
21996 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21997 binary endings (bug#4440).
21998
21999 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
22000
22001 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
22002 which can be pretty annoying (bug#8971).
22003
22004 * jka-compr.el (jka-compr-verbose): New variable, and use
22005 throughout (bug#8971).
22006
22007 * info.el (Info-find-file): Fall back on the installation
22008 directory if we can't find the info node anywhere else.
22009
22010 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
22011
22012 * vc/vc.el (vc-revert-file):
22013 Don't set file time-stamp in the past. (Bug#5181)
22014
22015 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22016
22017 * files.el (after-find-file): Give a better error message when
22018 trying to find a symlink that points to a file that doesn't exist
22019 (bug#4398).
22020
22021 * progmodes/cc-vars.el: Remove (probably) misleading comment
22022 (bug#4396).
22023
22024 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22025
22026 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
22027
22028 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22029
22030 * mouse-sel.el: Hack restoring functionality, while keeping
22031 compatibility with 2010-07-03 changes to mouse selection.
22032 (mouse-sel-primary-overlay): New var.
22033 (mouse-sel-selection-alist): Use it.
22034 (mouse-sel-mode): Doc fix; remove points that are default features
22035 of mouse.el.
22036
22037 2011-07-12 Johan Bockgård <bojohan@gnu.org>
22038
22039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22040 Fix previous fix (bug#2490).
22041
22042 2011-07-12 Roland Winkler <winkler@gnu.org>
22043
22044 * textmodes/bibtex.el (bibtex-initialize):
22045 Use pop-to-buffer-same-window.
22046 (bibtex-search-entries): Fix interactive call.
22047
22048 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
22049
22050 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22051 Fontise bytecomp Error lines more correctly (bug#2490).
22052 Fix suggested by Johan Bockgård.
22053
22054 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
22055
22056 * dired-x.el (dired-guess-default): Use `delete-dups'.
22057
22058 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
22059
22060 * dired.el (dired-mark-prompt):
22061 * dired-aux.el (dired-read-shell-command): Doc fix.
22062
22063 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22064
22065 * mail/sendmail.el (sendmail-query-once):
22066 Use `customize-save-variable' unconditionally, now that it works under
22067 emacs -Q.
22068
22069 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22070
22071 * cus-edit.el (custom-file): Take an optional no-error variable.
22072 (customize-save-variable): Set the variable, and give a warning if
22073 running under "emacs -q".
22074
22075 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
22076
22077 * loadhist.el (unload-feature-special-hooks):
22078 Add `auto-coding-functions', `fill-nobreak-predicate' and
22079 `find-directory-functions' (bug#5327).
22080
22081 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22082
22083 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
22084
22085 * cus-edit.el (custom-guess-name-alist): -alist variables should
22086 use the `alist' type (bug#3120). Suggested by Drew Adams.
22087
22088 * printing.el: Add documentation to all the `pr-toggle-' commands.
22089
22090 2011-07-11 Leo Liu <sdl.web@gmail.com>
22091
22092 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
22093 backends where it makes sense (bug#2623).
22094
22095 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
22096
22097 * dired-x.el (dired-guess-default): Remove duplicate shell command
22098 entries (bug#2028).
22099 (dired-guess-default): Fix grammar in doc string (bug#2028).
22100 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
22101
22102 * subr.el (remove-duplicates): New conveniency function.
22103
22104 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
22105
22106 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
22107 (bug#1526).
22108
22109 2011-07-10 Martin Rudalics <rudalics@gmx.at>
22110
22111 * window.el (display-buffer-normalize-default): Don't invert
22112 meaning of even-window-heights. Reported by Eli Zaretskii
22113 <eliz@gnu.org>.
22114
22115 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
22116
22117 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
22118
22119 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
22120
22121 * window.el (display-buffer): Fix arguments to
22122 display-buffer-reuse-window in last change.
22123
22124 * faces.el (link): Use a less saturated blue on light backgrounds.
22125
22126 * startup.el (fancy-startup-text, fancy-about-text)
22127 (fancy-startup-tail): Use font-lock faces, for background safety.
22128
22129 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
22130
22131 * emulation/viper-cmd.el (viper-change-state-to-vi):
22132 Limit triggering of abbrev expansion (Bug#9038).
22133
22134 2011-07-09 Martin Rudalics <rudalics@gmx.at>
22135
22136 * window.el (display-buffer-default-specifiers): Remove.
22137 (display-buffer-macro-specifiers): Remove default specifiers.
22138 (display-buffer-alist): Default to nil.
22139 (display-buffer-reuse-window): New optional argument other-window.
22140 (display-buffer-pop-up-window): Allow splitting internal
22141 windows. Check whether a live window was created.
22142 (display-buffer-other-window-means-other-frame)
22143 (display-buffer-normalize-arguments): Rename to
22144 display-buffer-normalize-argument and rewrite. Set the
22145 other-window specifier.
22146 (display-buffer-normalize-special): New function.
22147 (display-buffer-normalize-options): Rename to
22148 display-buffer-normalize-default and rewrite.
22149 (display-buffer-normalize-options-inhibit): Remove.
22150 (display-buffer-normalize-specifiers): Rewrite.
22151 (display-buffer): Process other-window specifier and call
22152 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
22153 more faithfully.
22154 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
22155 (display-buffer-alist-set): Don't handle 'unset default values.
22156 (display-buffer-in-window, display-buffer-alist-set):
22157 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
22158 <tassilo@member.fsf.org>.
22159
22160 2011-07-09 Leo Liu <sdl.web@gmail.com>
22161
22162 * register.el (insert-register): Restore accidental change on
22163 2011-06-26. (Bug#9028)
22164
22165 2011-07-09 Glenn Morris <rgm@gnu.org>
22166
22167 * subr.el (remq): Handle the empty list. (Bug#9024)
22168
22169 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
22170
22171 * mail/sendmail.el (send-mail-function): No longer delay custom
22172 initialization.
22173 * custom.el (custom-initialize-delay): Doc fix.
22174
22175 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22176
22177 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
22178
22179 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
22180
22181 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
22182 human-friendly prompt.
22183
22184 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
22185
22186 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
22187 provided by a particular plugin.
22188
22189 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
22190
22191 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
22192 save customizations (with "emacs -Q"), just set the variable
22193 instead of erroring out.
22194
22195 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
22196
22197 2011-07-08 Juri Linkov <juri@jurta.org>
22198
22199 * arc-mode.el (archive-zip-expunge, archive-zip-update)
22200 (archive-zip-update-case): Use 7z if found by `executable-find'.
22201 The order of searching the available programs is the same as in
22202 `archive-zip-extract' (bug#8968).
22203
22204 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22205
22206 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
22207 (menu-bar-options-menu): Tweak descriptions.
22208
22209 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22210
22211 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
22212 menu items into verb phrases (bug#1421). Also refill to fit under
22213 80 columns.
22214
22215 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22216
22217 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
22218 (Info-read-node-name): Doc fix (Bug#1084).
22219
22220 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
22221 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
22222 (end-of-sexp, beginning-of-sexp)
22223 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
22224 (forward-symbol, forward-same-syntax, word-at-point)
22225 (sentence-at-point): Doc fix (Bug#1144).
22226
22227 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
22228
22229 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
22230 should cover it (bug#1281).
22231
22232 * cus-edit.el (custom-show): Mark as obsolete.
22233
22234 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
22235 negotiation fails, then possibly try again with a non-encrypted
22236 connection (bug#9017).
22237
22238 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
22239 be used.
22240
22241 2011-07-07 Richard Stallman <rms@gnu.org>
22242
22243 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
22244 property, and handle its changed format.
22245 Look for the correct line number.
22246 Use file's line contents (but not past first =) to find
22247 correct line in message.
22248
22249 2011-07-07 Kenichi Handa <handa@m17n.org>
22250
22251 * international/characters.el (build-unicode-category-table):
22252 Delete it.
22253 (unicode-category-table): Set it by unicode-property-table-internal.
22254
22255 * international/mule-cmds.el (char-code-property-alist): Move to
22256 to src/chartab.c.
22257 (get-char-code-property): Call unicode-property-table-internal to
22258 load a file. Call get-unicode-property-internal where necessary.
22259 (put-char-code-property): Call unicode-property-table-internal to
22260 load a file. Call put-unicode-property-internal where necessary.
22261 put-unicode-property-internal where necessary.
22262 (char-code-property-description):
22263 Call unicode-property-table-internal to load a file.
22264
22265 * international/charprop.el:
22266 * international/uni-bidi.el:
22267 * international/uni-category.el:
22268 * international/uni-combining.el:
22269 * international/uni-comment.el:
22270 * international/uni-decimal.el:
22271 * international/uni-decomposition.el:
22272 * international/uni-digit.el:
22273 * international/uni-lowercase.el:
22274 * international/uni-mirrored.el:
22275 * international/uni-name.el:
22276 * international/uni-numeric.el:
22277 * international/uni-old-name.el:
22278 * international/uni-titlecase.el:
22279 * international/uni-uppercase.el: Regenerate.
22280
22281 * loadup.el: Load international/charprop.el before
22282 international/characters.
22283
22284 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
22285
22286 * window.el (next-buffer, previous-buffer): Signal an error if
22287 called from a minibuffer window.
22288
22289 * bindings.el: Revert 2011-07-04 change.
22290
22291 2011-07-06 Richard Stallman <rms@gnu.org>
22292
22293 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
22294 (rmail-mime-insert-bulk, rmail-mime-insert-text):
22295 Treat markers like ints.
22296 (rmail-mime-entity): Doc fix.
22297
22298 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22299
22300 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
22301 defcustom again for backwards compatibility.
22302
22303 * simple.el (shell-command-on-region): Fill.
22304
22305 * dired-aux.el (dired-kill-line): Add a doc string.
22306
22307 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
22308 to "\\sw\\|\\s_" (bug#358).
22309
22310 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
22311 (dired-unmark-backward): Ditto.
22312 (dired-flag-backup-files): Ditto.
22313
22314 * dired-x.el (dired-mark-sexp): Ditto.
22315
22316 2011-07-06 Richard Stallman <rms@gnu.org>
22317
22318 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
22319 (rmail-mime-entity): New arg TRUNCATED.
22320 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
22321 New functions.
22322 (rmail-mime-save): Warn if entity is truncated.
22323 (rmail-mime-toggle-hidden): Likewise, for showing.
22324 (rmail-mime-process-multipart): Record when an entity is truncated.
22325
22326 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
22327 if ENTITY is a string.
22328
22329 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
22330
22331 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
22332 of faces when `M-C-x'-ing their definitions (bug#8378).
22333 Also clean up the code slightly.
22334
22335 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
22336 because that makes the colors go away.
22337
22338 * mail/sendmail.el (send-mail-function): Change the default to
22339 `sendmail-query-once'.
22340 (sendmail-query-once): Add an autoload cookie.
22341
22342 * net/network-stream.el (network-stream-open-starttls): Try using
22343 a plain connection even if the server offered STARTTLS, and we
22344 kinda wanted to use it, if Emacs doesn't have any STARTTLS
22345 capability. This should make smtpmail.el work in slightly more
22346 configurations.
22347
22348 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
22349
22350 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
22351 New defun.
22352 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
22353
22354 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
22355
22356 * progmodes/sql.el: Version 3.0
22357 (sql-product-alist): Add product :completion-object,
22358 :completion-column, and :statement attributes.
22359 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
22360 (sql-mode-syntax-table): Mark all punctuation.
22361 (sql-font-lock-keywords-builder): Temporarily remove fallback on
22362 ansi keywords.
22363 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
22364 (sql-mode-oracle-font-lock-keywords): Improve.
22365 (sql-oracle-show-reserved-words): New function for development.
22366 (sql-product-font-lock): Simplify for source code buffers.
22367 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
22368 New functions.
22369 (sql-highlight-product): Set product specific syntax table.
22370 (sql-mode-map): Add statement movement functions.
22371 (sql-ansi-statement-starters, sql-oracle-statement-starters):
22372 New variable.
22373 (sql-statement-regexp, sql-beginning-of-statement)
22374 (sql-end-of-statement, sql-signum): New functions.
22375 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
22376 (sql-show-sqli-buffer): Bug fix.
22377 (sql-interactive-mode): Store connection data as buffer local.
22378 (sql-connect): Add NEW-NAME parameter. Redesign interaction
22379 with sql-interactive-mode.
22380 (sql-save-connection): Save buffer local settings.
22381 (sql-connection-menu-filter): Change menu entry name.
22382 (sql-product-interactive): Bug fix.
22383 (sql-preoutput-hold): New variable.
22384 (sql-interactive-remove-continuation-prompt): Bug fixes.
22385 (sql-debug-redirect): New variable.
22386 (sql-str-literal): New function.
22387 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
22388 Redesign.
22389 (sql-oracle-save-settings, sql-oracle-restore-settings)
22390 (sql-oracle-list-all, sql-oracle-list-table): New functions.
22391 (sql-completion-object, sql-completion-column)
22392 (sql-completion-sqlbuf): New variables.
22393 (sql-build-completions-1, sql-build-completions)
22394 (sql-try-completion): New functions.
22395 (sql-read-table-name): Use them.
22396 (sql-contains-names): New buffer local variable.
22397 (sql-list-all, sql-list-table): Use it.
22398 (sql-oracle-completion-types): New variable.
22399 (sql-oracle-completion-object, sql-sqlite-completion-object)
22400 (sql-postgres-completion-object): New functions.
22401
22402 2011-07-06 Glenn Morris <rgm@gnu.org>
22403
22404 * window.el (pop-to-buffer): Doc fix.
22405
22406 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
22407
22408 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
22409
22410 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
22411
22412 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
22413
22414 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
22415
22416 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
22417
22418 * button.el (button): Inherit from link face. Suggested by Dan
22419 Nicolaescu.
22420
22421 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22422
22423 * progmodes/gdb-mi.el: Fit in 80 columns.
22424 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
22425 switch-to-buffer.
22426
22427 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
22428 if imenu is simply not configured (bug#8941).
22429
22430 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
22431
22432 * allout.el (allout-post-undo-hook): New allout outline-change
22433 event hook to signal undo activity.
22434 (allout-post-command-business): Run allout-post-undo-hook if an
22435 undo just occurred.
22436 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
22437 * allout-widgets.el (allout-widgets-after-undo-function):
22438 Ensure the integrity of the current item's decoration after it has been
22439 in the vicinity of an undo.
22440 (allout-widgets-mode): Include allout-widgets-after-undo-function
22441 on the new allout-post-undo-hook.
22442
22443 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22444
22445 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
22446 Let define-derived-mode define it.
22447 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
22448 cycles of abbrev-table inheritance (bug#8998).
22449
22450 2011-07-05 Roland Winkler <winkler@gnu.org>
22451
22452 * textmodes/bibtex.el: Add support for biblatex.
22453 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
22454 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
22455 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
22456 (bibtex-entry-alist, bibtex-field-alist): New variables.
22457 (bibtex-entry-field-alist): Obsolete alias for
22458 bibtex-BibTeX-entry-alist.
22459 (bibtex-entry-alist, bibtex-field-alist): New widgets.
22460 (bibtex-set-dialect): New command.
22461 (bibtex-entry-type, bibtex-entry-head)
22462 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
22463 Bind via bibtex-set-dialect.
22464 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
22465 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
22466 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
22467 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
22468 Define via bibtex-set-dialect.
22469 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
22470 Obey bibtex-no-opt-remove-re.
22471 (bibtex-vec-push, bibtex-vec-incr): New functions.
22472 (bibtex-format-entry, bibtex-field-list)
22473 (bibtex-print-help-message, bibtex-validate)
22474 (bibtex-search-entries): Use new format of bibtex-entry-alist.
22475
22476 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
22477
22478 * progmodes/compile.el (compilation-goto-locus):
22479 * net/tramp-cmds.el (tramp-append-tramp-buffers):
22480 * bs.el (bs-cycle-next, bs-cycle-previous):
22481 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
22482 * bindings.el (mode-line-other-buffer):
22483 * autoinsert.el (auto-insert):
22484 * arc-mode.el (archive-extract):
22485 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
22486
22487 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22488
22489 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
22490 Fix check of `emacs-lock-unlockable-modes'.
22491 Coerce true values of `emacs-lock--try-unlocking' to t.
22492
22493 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22494
22495 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
22496 * emacs-lock.el: New file.
22497
22498 2011-07-05 Julien Danjou <julien@danjou.info>
22499
22500 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
22501 than `boundp' to check if face is set.
22502
22503 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
22504
22505 * register.el (registerv-make):
22506 * window.el (window-min-height): Fix typos in docstrings.
22507
22508 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
22509
22510 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
22511 Update doc string.
22512
22513 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22514
22515 * server.el (server-execute): Catch quit and call
22516 `server-return-error' to pass the error back to emacsclient and
22517 close the connection (bug#8942).
22518
22519 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
22520
22521 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
22522 insecure exception for current topic. Also note that auto-saves
22523 are handled differently.
22524
22525 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
22526 State variables for tracking auto-save inhibition situation.
22527
22528 (allout-write-contents-hook-handler): Rename from
22529 'allout-write-file-hook-handler', and describe how it depends on
22530 write-contents-functions sensitivity to non-nil value to prevent
22531 file write.
22532
22533 (allout-auto-save-hook-handler): Remove. auto-save does not check
22534 this in individual buffers, only in the starting buffer, so this
22535 is not the right way for us to inhibit auto-save in a buffer
22536 according to its condition.
22537
22538 (allout-mode): Use new allout-write-contents-hook-handler, and
22539 only with write-contents-functions. Remove auto-save provisions -
22540 they're implemented elsewhere.
22541
22542 (allout-before-change-handler): If undo is in progress, note that
22543 for attention of allout-post-command-business.
22544
22545 (allout-post-command-business): If the command we're following was
22546 an undo, check for change in the status of encrypted items and
22547 adjust auto-save inhibitions accordingly.
22548
22549 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
22550 according to whether there are or aren't any plain-text topics
22551 pending encryption.
22552
22553 (allout-inhibit-auto-save-info-for-decryption):
22554 Adjust buffer-saved-size and some allout state to inhibit auto-saves
22555 if there are plain-text topics pending encryption.
22556
22557 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
22558 buffer-saved-size and some allout state to not inhibit auto-saves
22559 if there are no longer any plain-text topics pending encryption.
22560
22561 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
22562 No longer provide for exemption of the current topic.
22563
22564 2011-07-04 Juri Linkov <juri@jurta.org>
22565
22566 Add 7z operations to delete and save changed members (bug#8968).
22567 * arc-mode.el (archive-7z-expunge, archive-7z-update):
22568 New defcustoms.
22569 (archive-7z-write-file-member): New function.
22570 (archive-7z-summarize): Fix the number of dashes in the
22571 listing output.
22572
22573 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22574
22575 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
22576 (bug#8958).
22577
22578 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
22579
22580 * bindings.el: Ignore next-buffer and previous-buffer in
22581 minibuffer-local-map.
22582
22583 * font-lock.el (font-lock-builtin-face): Change light background
22584 color to dark slate blue (Bug#6693).
22585
22586 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
22587
22588 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
22589
22590 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
22591
22592 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
22593 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
22594 Add switch-to-buffer.
22595
22596 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22597
22598 * isearch.el (isearch-search-fun-function): Clarify further the
22599 meaning of the function returned.
22600
22601 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
22602
22603 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
22604
22605 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
22606 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
22607 Use it.
22608 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
22609 `tramp-default-remote-path' does not exist.
22610 (tramp-send-command-and-read): New optional argument NOERROR.
22611 (tramp-open-connection-setup-interactive-shell)
22612 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
22613 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
22614 (tramp-process-sentinel): Flush also process' connection property.
22615 (tramp-sh-handle-start-file-process): Do not set process
22616 sentinel. It is done now ...
22617 (tramp-maybe-open-connection): ... here. (Bug#8929)
22618
22619 2011-07-04 MON KEY <monkey@sandpframing.com>
22620
22621 * play/animate.el (animate-string): Doc fixes and allow changing
22622 the buffer name (bug#5417).
22623
22624 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
22625
22626 * play/animate.el (animation-buffer-name): Rename from *animate*.
22627
22628 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
22629
22630 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
22631 This is simpler and helps future-proof the code.
22632 (timer-until): Use time-subtract and float-time.
22633 (timer--time-less-p): Use time-less-p.
22634
22635 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
22636
22637 * type-break.el (timep): Use the value of `float-time' to avoid a
22638 byte-compiler warning.
22639
22640 * server.el (server-eval-and-print): Return any result, even nil.
22641
22642 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
22643
22644 * type-break.el: Accept time formats that the builtins accept.
22645 (timep, type-break-time-difference): Accept any format that
22646 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
22647 This is simpler and helps future-proof the code.
22648 (type-break-time-difference): Round rather than ignoring
22649 subseconds components.
22650
22651 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22652
22653 * info.el (Info-apropos-matches): Make non-interactive, since it
22654 doesn't seem to do anything useful as a command (bug#8829).
22655
22656 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
22657
22658 * frame.el (frame-background-mode, frame-set-background-mode):
22659 Move from faces.el.
22660 (frame-default-terminal-background): New function.
22661
22662 * custom.el (custom-push-theme): Don't record faces in `changed'
22663 theme; this doesn't work correctly for per-frame face settings.
22664 (disable-theme): Use face-set-after-frame-default to reset faces.
22665 (custom--frame-color-default): New function.
22666
22667 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22668
22669 * dired.el (dired-flagging-regexp): Remove unused variable
22670 (bug#8769).
22671
22672 2011-03-29 Kevin Ryde <user42@zip.com.au>
22673
22674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22675 `perl-Test2' extend to match possible "fail #N" rep count
22676 (bug#8377).
22677
22678 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22679
22680 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
22681 `smtpmail-via-smtp' now returns the error instead of nil.
22682
22683 * isearch.el (isearch-search-fun-function): Clarify the doc string
22684 (bug#8101).
22685
22686 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
22687
22688 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
22689 unnecessary spaces (bug#8987).
22690
22691 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22692
22693 * net/network-stream.el (open-network-stream): Use the
22694 :end-of-capability command thoughout.
22695
22696 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
22697
22698 * net/network-stream.el (open-network-stream): Add the
22699 :end-of-capability command parameter, used by pop3.el.
22700
22701 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
22702
22703 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
22704
22705 * fringe.el (fringe-query-style): Remove redundant text " (type ?
22706 for list)" (bug#6475).
22707
22708 * files.el (file-expand-wildcards): Ignore non-readable
22709 sub-directories while trying to find matches instead of signaling
22710 an error (bug#6297).
22711
22712 * man.el (Man-reference-regexp): Allow matching possible
22713 word-wrapped references (bug#6289).
22714
22715 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
22716 for consistency with the other vc buffers (bug#6197).
22717 (vc-checkin): Ditto.
22718
22719 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
22720
22721 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
22722
22723 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22724
22725 * custom.el (defcustom): Clarify that :set is only used in the
22726 Customize user interface (bug#6089).
22727
22728 * progmodes/flymake.el (flymake-mode): If the buffer isn't
22729 associated with a file, refuse to run instead of erroring out
22730 (bug#6084).
22731
22732 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
22733 the doc string, since it appears that using `fill-column' always
22734 controls the width (bug#7845).
22735
22736 * simple.el (shell-command-on-region): Say where the error output
22737 went if `shell-command-default-error-buffer' is set (bug#6857).
22738
22739 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
22740
22741 * allout.el (allout-yank-processing): Adjust cursor position for
22742 backwards-deleted space.
22743
22744 (allout-rebullet-heading): Register changes with
22745 allout-exposure-changed-hook, so the modified topic is properly
22746 decorated.
22747
22748 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22749
22750 * minibuffer.el (completion-in-region): Document PREDICATE
22751 (bug#7136).
22752
22753 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22754 of keyword/argument pairs (bug#6904).
22755
22756 * replace.el (multi-occur):
22757 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22758
22759 2011-07-02 Drew Adams <drew.adams@oracle.com>
22760
22761 * dired.el (dired-mark-if): Make the message about whether it's
22762 marking or unmarking clearer (bug#8523).
22763
22764 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22765
22766 * disp-table.el (display-table-print-array): New function.
22767 (describe-display-table): Use it to print the vectors more pretty
22768 (Bug#8859).
22769
22770 2011-07-02 Martin Rudalics <rudalics@gmx.at>
22771
22772 * window.el (window-state-get-1): Don't assign clone numbers.
22773 Add clone-of item to list of window parameters.
22774 (window-state-put-2): Don't process clone numbers.
22775 (display-buffer-alist): Fix doc-string.
22776
22777 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
22778
22779 * subr.el (remq): Don't allocate if it's not needed.
22780 (keymap--menu-item-binding, keymap--menu-item-with-binding)
22781 (keymap--merge-bindings): New functions.
22782 (keymap-canonicalize): Use them to refine the canonicalization.
22783 * minibuffer.el (minibuffer-local-completion-map)
22784 (minibuffer-local-must-match-map): Move initialization from C.
22785 (minibuffer-local-filename-completion-map): Move initialization from C;
22786 don't inherit from anything here.
22787 (minibuffer-local-filename-must-match-map): Make obsolete.
22788 (completing-read-default): Use make-composed-keymap to combine
22789 minibuffer-local-filename-completion-map with either
22790 minibuffer-local-must-match-map or
22791 minibuffer-local-filename-completion-map.
22792
22793 2011-07-01 Glenn Morris <rgm@gnu.org>
22794
22795 * type-break.el (type-break-time-sum): Use dolist.
22796
22797 * textmodes/flyspell.el (flyspell-word-search-backward):
22798 Replace CL function.
22799
22800 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22801
22802 * mouse.el (mouse--strip-first-event): New function.
22803 (function-key-map): Use it to map fringe clicks to normal clicks
22804 by default.
22805
22806 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22807 (vc-bzr-revision-completion-table): Add support for annotate and date.
22808
22809 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22810 inherit from parent.
22811
22812 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22813
22814 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22815 (dired-show-file-type): Doc fixup (bug#8818).
22816
22817 * dired.el (dired-mode): Fix up the doc string as suggested by
22818 Drew Adams (bug#8817).
22819
22820 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22821 cookie, since the manual says that it should be possible to add
22822 this function to `find-file-hook' (bug#8709).
22823
22824 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22825
22826 * progmodes/cfengine.el: Moved all cfengine3.el functionality
22827 here. Noted Ted Zlatanov as the maintainer.
22828 (cfengine-common-settings, cfengine-common-syntax): New functions
22829 to set up common things between `cfengine-mode' and
22830 `cfengine3-mode'.
22831 (cfengine3-mode): New mode.
22832 (cfengine3-defuns cfengine3-defuns-regex
22833 (cfengine3-class-selector-regex cfengine3-category-regex)
22834 (cfengine3-vartypes cfengine3-font-lock-keywords)
22835 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22836 (cfengine3-indent-line): Add from cfengine3.el.
22837
22838 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
22839
22840 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22841
22842 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22843
22844 2011-07-01 Martin Rudalics <rudalics@gmx.at>
22845
22846 * window.el (same-window-buffer-names, same-window-regexps)
22847 (same-window-p, special-display-frame-alist)
22848 (special-display-popup-frame, special-display-function)
22849 (special-display-buffer-names, special-display-regexps)
22850 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22851 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22852 (split-window-preferred-function, split-height-threshold)
22853 (split-width-threshold, even-window-heights)
22854 (display-buffer-mark-dedicated, window-splittable-p)
22855 (split-window-sensibly, window-safely-shrinkable-p):
22856 Un-obsolete.
22857 (display-buffer): Don't spread args with function specifier
22858 because special-display-popup-frame won't like it.
22859
22860 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
22861
22862 Time-stamp simplifications and fixes.
22863 These improve accuracy slightly, and future-proof the code
22864 against some potential changes to current-time format.
22865
22866 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22867 by using time-since and float-time.
22868
22869 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22870 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
22871 + NNN microseconds".
22872
22873 * type-break.el (type-break-time-sum): Rewrite using time-add.
22874
22875 * play/hanoi.el (hanoi-current-time-float): Remove.
22876 All uses replaced by float-time.
22877
22878 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22879 This yields a more-accurate answer.
22880 (rng-time-to-float): Remove; no longer needed.
22881
22882 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22883
22884 * calendar/timeclock.el (timeclock-seconds-to-time):
22885 Defalias to seconds-to-time, since they're the same thing.
22886
22887 * emacs-lisp/elp.el (elp-elapsed-time):
22888 * emacs-lisp/benchmark.el (benchmark-elapse):
22889 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22890
22891 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22892
22893 * window.el (bury-buffer): Don't iconify the only frame.
22894 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22895 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
22896
22897 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
22898
22899 * eshell/em-smart.el (eshell-smart-display-navigate-list):
22900 Add mouse-yank-primary.
22901
22902 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
22903
22904 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22905
22906 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
22907
22908 * emacs-lisp/find-func.el (find-library--load-name): New fun.
22909 (find-library-name): Use it to find relative load names when provided
22910 absolute file name (bug#8803).
22911
22912 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22913
22914 * textmodes/flyspell.el (flyspell-word): Consider words that
22915 differ only in case as potential doublons (bug#5687).
22916
22917 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22918 Remove two rather uninteresting debugging-like messages to make
22919 debbugs.el more silent.
22920
22921 * comint.el (comint-password-prompt-regexp): Accept "Response" as
22922 a password-like phrase.
22923
22924 2011-06-30 Masatake YAMATO <yamato@redhat.com>
22925
22926 * progmodes/cc-guess.el: New file.
22927
22928 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22929
22930 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22931 derived from `c-basic-common-init'.
22932
22933 * progmodes/cc-mode.el (top-level): Require cc-guess.
22934 (c-basic-common-init): Use `cc-choose-style-for-mode'.
22935
22936 2011-06-30 Lawrence Mitchell <wence@gmx.li>
22937
22938 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22939
22940 2011-06-30 Alan Mackenzie <acm@muc.de>
22941
22942 * progmodes/cc-engine.el (c-guess-continued-construct):
22943 Correct the handling of template-args-cont, particularly for when font
22944 lock is disabled. Name this case as "CASE G".
22945
22946 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
22947
22948 * allout.el (allout-yank-processing): Fix injection of extra space
22949 between bullet and non-whitespace character in first topic when
22950 pasting, ensuring that the actual spacing in the pasted topic
22951 following the bullet char is preserved. This extra space was
22952 causing pasted encrypted topics to get a decrypted status even
22953 when the content was actually still encrypted. Now the decryption
22954 status from before the paste is preserved.
22955
22956 (allout-flag-region): Set all allout overlays so they evaporate
22957 when reduced to zero length (evanescent), to prevent overlay
22958 leakage.
22959
22960 2011-06-30 Glenn Morris <rgm@gnu.org>
22961
22962 * w32-fns.el (w32-charset-info-alist): Declare.
22963
22964 * find-dired.el (find-grep-options): Simplify.
22965
22966 * term/ns-win.el (ns-set-resource): Declare.
22967
22968 * ses.el (row, col): Declare dynamic variables honestly.
22969
22970 * textmodes/reftex-parse.el (index-tags): Declare.
22971
22972 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
22973
22974 * cus-edit.el (customize-push-and-save): New function.
22975
22976 * files.el (hack-local-variables-confirm): Use it.
22977
22978 * custom.el (load-theme): New arg NO-CONFIRM.
22979 Use customize-push-and-save (Bug#8720).
22980 (custom-enabled-themes): Doc fix.
22981
22982 * cus-theme.el (customize-create-theme)
22983 (custom-theme-merge-theme): Callers to load-theme changed.
22984
22985 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
22986
22987 * thingatpt.el (thing-at-point-short-url-regexp): Require that
22988 short URLs have at least one dot in them (bug #7614).
22989
22990 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22991 nil, because using a pty is apparently too slow (bug #895).
22992
22993 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
22994
22995 * mail/sendmail.el (sendmail-query-once): New function.
22996 (sendmail-query-once-function): New variable.
22997
22998 2011-06-29 Glenn Morris <rgm@gnu.org>
22999
23000 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
23001
23002 * ses.el (top-level): Require cl when compiling.
23003 (ses-set-localvars): Fix error statement.
23004 Call it at compile time to silence a storm of warnings.
23005
23006 2011-06-29 Martin Rudalics <rudalics@gmx.at>
23007
23008 * window.el (normalize-live-buffer): Rename to
23009 window-normalize-buffer.
23010 (normalize-live-frame): Rename to window-normalize-frame.
23011 (normalize-any-window): Rename to window-normalize-any-window.
23012 (normalize-live-window): Rename to window-normalize-live-window.
23013 (make-window-atom): Rename to window-make-atom.
23014 (window-resize-reset): Rename to window--resize-reset.
23015 (window-resize-reset-1): Rename to window--resize-reset-1.
23016 (resize-mini-window): Rename to window--resize-mini-window.
23017 (resize-subwindows-skip-p): Rename to
23018 window--resize-subwindows-skip-p.
23019 (resize-subwindows-normal): Rename to
23020 window--resize-subwindows-normal.
23021 (resize-subwindows): Rename to window--resize-subwindows.
23022 (resize-other-windows): Rename to window--resize-siblings.
23023 (resize-this-window): Rename to window--resize-this-window.
23024 (resize-root-window): Rename to window--resize-root-window.
23025 (resize-root-window-vertically): Rename to
23026 window--resize-root-window-vertically.
23027 (normalize-buffer-to-display): Rename to
23028 window-normalize-buffer-to-display.
23029 (normalize-buffer-to-switch-to): Rename to
23030 window-normalize-buffer-to-switch-to.
23031 Correspondingly update all callers of the functions listed
23032 above.
23033 (display-buffer-alist, display-buffer-normalize-arguments)
23034 (display-buffer-normalize-options, display-buffer)
23035 (display-buffer-alist-set): Use "function" instead of
23036 "fun-with-args".
23037
23038 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
23039
23040 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
23041 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
23042 debbugs.gnu.org. Mention acknowledgment email.
23043
23044 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
23045
23046 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
23047 buffer multibyteness, since it shouldn't matter.
23048
23049 2011-06-28 Martin Rudalics <rudalics@gmx.at>
23050
23051 * window.el (display-buffer-in-side-window): Handle dedicated
23052 windows as in display-buffer-reuse-window.
23053 (display-buffer-normalize-alist): Use value of override
23054 specifier.
23055 (display-buffer-normalize-specifiers): Use value of
23056 other-window-means-other-frame specifier.
23057 (display-buffer-alist): Rewrite some texts in widgets.
23058 (display-buffer): Spread arguments when calling function
23059 specified by fun-with-args.
23060
23061 2011-06-28 Deniz Dogan <deniz@dogan.se>
23062
23063 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
23064 Unnest `let'.
23065
23066 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
23067 selectors (Bug#5732).
23068 (css-proprietary-nmstart-re): Use `regexp-opt'.
23069
23070 2011-06-27 Jari Aalto <jari.aalto@cante.net>
23071
23072 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
23073 (eshell-ls-date-format): New defcustom.
23074 (eshell-ls-file): Use it.
23075
23076 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23077
23078 * help-fns.el (describe-variable): Fix message for terminal-local vars.
23079
23080 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
23081
23082 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
23083 (ange-ftp-make-tmp-name): New arg.
23084 (ange-ftp-file-local-copy): Use it.
23085
23086 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
23087
23088 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
23089 no-conversion (Bug#8870).
23090
23091 2011-06-27 Martin Rudalics <rudalics@gmx.at>
23092
23093 * window.el (window-right, window-left, window-child)
23094 (window-child-count, window-last-child)
23095 (window-iso-combination-p, walk-window-tree-1)
23096 (window-atom-check-1, window-tree-1, delete-window)
23097 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
23098 new naming conventions - window-vchild, window-hchild,
23099 window-next and window-prev are now called window-top-child,
23100 window-left-child, window-next-sibling and window-prev-sibling
23101 respectively.
23102 (resize-window-reset): Rename to window-resize-reset.
23103 (resize-window-reset-1): Rename to window-resize-reset-1.
23104 (resize-window): Rename to window-resize.
23105 (window-min-height, window-min-width)
23106 (resize-mini-window, resize-this-window, resize-root-window)
23107 (resize-root-window-vertically, adjust-window-trailing-edge)
23108 (enlarge-window, shrink-window, maximize-window)
23109 (minimize-window, delete-window, quit-restore-window)
23110 (split-window, balance-windows, balance-windows-area-adjust)
23111 (balance-windows-area, window-state-put-2)
23112 (display-buffer-even-window-sizes, display-buffer-set-height)
23113 (display-buffer-set-width, set-window-text-height)
23114 (fit-window-to-buffer): Rename all "resize-window" prefixed
23115 calls to use the "window-resize" prefix convention.
23116 (display-buffer-alist): Fix symbol for label specifier.
23117 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
23118 corresponding specifier.
23119 Reported by Juanma Barranquero <lekktu@gmail.com>.
23120
23121 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23122
23123 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
23124 convention.
23125 (ses-call-printer): Does not pass an empty string to formatter when the
23126 cell is empty to keep from barking printer Calc math-format-value.
23127
23128 2011-06-27 Richard Stallman <rms@gnu.org>
23129
23130 * battery.el (battery-mode-line-limit): New variable.
23131 (battery-update): Handle it.
23132
23133 * mail/rmailmm.el (rmail-mime-process-multipart):
23134 Handle truncated messages.
23135
23136 2011-06-27 Glenn Morris <rgm@gnu.org>
23137
23138 * progmodes/flymake.el (flymake-err-line-patterns):
23139 Allow for column numbers in the ant/javac pattern. (Bug#8866)
23140
23141 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
23142
23143 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
23144 (ses--clean-!, ses--clean-_): New functions.
23145 (ses-range): Add configurability of readout order, and conversion
23146 to Calc vector.
23147
23148 * ses.el (ses-repair-cell-reference-all): New function.
23149 (ses-cell-symbol): Set macro as safe, so that it can be used in
23150 formulas.
23151
23152 * ses.el: Update cycle detection algorithm.
23153 (ses-localvars): Add ses--Dijkstra-attempt-nb and
23154 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
23155 (ses-set-localvars): New function.
23156 (ses-make-cell): Add property-list as a cell element.
23157 (ses-cell-property-get-fun, ses-cell-property-get)
23158 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
23159 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
23160 New functions.
23161 (ses-cell-property-set, ses-cell-property-pop)
23162 (ses-cell-property-get-handle): New macro.
23163 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
23164 New aliases, used for code readability.
23165 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
23166 cycle detection.
23167 (ses-self-reference-early-detection): New defcustom.
23168 (ses-formula-references): Robustify against self-referring cells.
23169 (ses-mode): Use ses-set-localvars.
23170 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
23171 before lauching the update processing.
23172 (ses-initialize-Dijkstra-attempt): New function.
23173 (ses-recalculate-cell): Update for cycle detection based on
23174 Dijkstra algorithm.
23175
23176 * ses.el: Fix commenting and indenting convention.
23177
23178 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
23179
23180 * bs.el (bs-cycle-next): Complete last change.
23181
23182 2011-06-27 Drew Adams <drew.adams@oracle.com>
23183
23184 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
23185
23186 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
23187
23188 * net/network-stream.el (network-stream-open-starttls):
23189 Don't re-get capabilities unless we've reestablished connection.
23190 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
23191
23192 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
23193 to binary to possibly avoid line encoding issues on Windows (among
23194 other things).
23195
23196 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23197
23198 * net/network-stream.el (open-network-stream): Return an :error
23199 saying what the problem was, if possible.
23200
23201 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
23202 server.
23203
23204 * net/network-stream.el (network-stream-open-starttls): If we
23205 wanted to use STARTTLS, and the server offered it, but we weren't
23206 able to because we had no STARTTLS support, then close the connection.
23207 (open-network-stream): Return an :error element, if present.
23208
23209 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23210
23211 * hl-line.el (hl-line-sticky-flag): Doc fix.
23212 (global-hl-line-sticky-flag): New option (Bug#8323).
23213 (global-hl-line-highlight): Obey it.
23214
23215 * vc/vc.el (vc-revert-show-diff): Default to t.
23216
23217 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
23218
23219 * allout-widgets.el (allout-widgets-post-command-business):
23220 Stop decorating intermediate isearch matches. They're not being
23221 undecorated when an isearch is continued past, and isearch
23222 automatically collapses them. This leads to "widget leaks", where
23223 decorated items accumulate in collapsed areas. Lines with lots of
23224 hidden widgets can slow down cursor travel, substantially.
23225 Too much complicated machinery would be needed to ensure undecoration,
23226 so we're doing without this nicety.
23227
23228 (allout-widgets-tally-string): Don't try to do a hash-table-count
23229 of allout-widgets-tally when it's nil. This eliminates spurious "Error
23230 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
23231 *Messages* when allout-widgets-maintain-tally is t.
23232
23233 2011-06-26 Martin Rudalics <rudalics@gmx.at>
23234
23235 * window.el (display-buffer-normalize-argument): Rename to
23236 display-buffer-normalize-arguments. Handle special meaning of
23237 LABEL argument. Respect special-display-function when popping up
23238 a new frame. Fix code searching for a window showing the buffer
23239 on another frame.
23240 (display-buffer-normalize-specifiers):
23241 Call display-buffer-normalize-arguments.
23242 (display-buffer-in-window): Don't undedicate the window if its
23243 buffer remains the same.
23244 Reported by Drew Adams <drew.adams@oracle.com>.
23245 (display-buffer-alist): Add choice for same-window macro
23246 specfier.
23247 (display-buffer): Mention special meaning of LABEL argument in
23248 doc-string. Fix quoting. Don't pop up a new frame even as
23249 fallback.
23250
23251 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
23252
23253 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
23254 avoid deleting the current window in some cases (bug#8911).
23255
23256 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
23257
23258 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
23259 (Bug#8934)
23260
23261 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
23262
23263 * net/network-stream.el (network-stream-open-starttls):
23264 Use built-in TLS support if `gnutls-available-p' is true.
23265 (network-stream-open-tls): Ditto.
23266
23267 2011-06-26 Leo Liu <sdl.web@gmail.com>
23268
23269 * register.el (registerv): New struct.
23270 (registerv-make): New function.
23271 (jump-to-register, describe-register-1, insert-register):
23272 Support the jump-func, print-func and insert-func slot of a registerv
23273 struct. (Bug#8415)
23274
23275 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
23276
23277 * vc/vc.el (vc-revert-show-diff): New defcustom.
23278 (vc-diff-internal): New arg specifying diff buffer.
23279 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
23280 reuse an existing *vc-diff* buffer (Bug#8927).
23281
23282 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
23283
23284 2011-06-26 Glenn Morris <rgm@gnu.org>
23285
23286 * progmodes/f90.el (f90-critical-indent): New option.
23287 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
23288 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
23289 (f90-mode): Doc fix.
23290 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
23291 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
23292 (f90-beginning-of-block, f90-next-block, f90-indent-region)
23293 (f90-match-end): Handle block, critical.
23294
23295 2011-06-25 Glenn Morris <rgm@gnu.org>
23296
23297 * calendar/diary-lib.el (diary-included-files): Doc fix.
23298 (diary-include-files): New function, extracted from
23299 diary-include-other-diary-files and diary-mark-included-diary-files.
23300 (diary-include-other-diary-files, diary-mark-included-diary-files):
23301 Just call diary-include-files.
23302 (diary-mark-entries): Reset diary-included-files on first call.
23303
23304 * calendar/diary-lib.el (diary-mark-entries)
23305 (diary-mark-included-diary-files):
23306 Visit included diary-files in temp buffers.
23307
23308 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
23309 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
23310 (f90-start-block-re, f90-imenu-generic-expression)
23311 (f90-looking-at-program-block-start, f90-no-block-limit):
23312 Add support for submodules.
23313
23314 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
23315 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
23316
23317 2011-06-25 Eli Zaretskii <eliz@gnu.org>
23318
23319 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
23320 buffer-file-type before setting its value, to avoid disastrous
23321 global effects on decoding files for DOS/Windows systems. (Bug#8780)
23322
23323 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23324
23325 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
23326
23327 * ses.el (ses-unload-function):
23328 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
23329
23330 * proced.el (proced-unload-function):
23331 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
23332
23333 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
23334
23335 * server.el (server-create-window-system-frame): Add parameters arg.
23336 (server-process-filter): Doc fix. Handle frame-parameters.
23337
23338 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
23339
23340 Fix bug#8730, bug#8781.
23341
23342 * loadhist.el (unload--set-major-mode): New function.
23343 (unload-feature): Use it.
23344
23345 * progmodes/python.el (python-after-info-look): Add autoload cookie.
23346 (python-unload-function): New function.
23347
23348 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
23349
23350 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
23351
23352 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
23353
23354 * net/browse-url.el (browse-url-firefox-program): Add icecat to
23355 the candidates list.
23356
23357 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
23358
23359 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
23360
23361 2011-06-23 Richard Stallman <rms@gnu.org>
23362
23363 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
23364 (rmail-variables): Set next-error-move-function.
23365 (rmail-what-message): Take argument POS.
23366 (rmail-next-error-move): New function.
23367
23368 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
23369
23370 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
23371 messages for adjacent non-terminals.
23372
23373 2011-06-23 Richard Stallman <rms@gnu.org>
23374
23375 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
23376 (rmail-show-message-1): Preserve buffer modified flag.
23377 (rmail-start-mail): Don't specify use of rmail-mail-return;
23378 that's done by mail-bury now.
23379 (rmail-mail-return): Handle arg NEWBUF.
23380
23381 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
23382
23383 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
23384 SIZE is a number.
23385
23386 2011-06-23 Martin Rudalics <rudalics@gmx.at>
23387
23388 * window.el (get-lru-window, get-mru-window)
23389 (get-largest-window): Never return a minibuffer window.
23390 (display-buffer-pop-up-window): Fix a bug that could lead to
23391 reusing the minibuffer window.
23392 (display-buffer): Pass original specifier argument to
23393 display-buffer-function instead of the normalized one.
23394 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
23395
23396 2011-06-22 Leo Liu <sdl.web@gmail.com>
23397
23398 * minibuffer.el (completing-read-function)
23399 (completing-read-default): Move from minibuf.c.
23400
23401 2011-06-22 Richard Stallman <rms@gnu.org>
23402
23403 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
23404 to Rmail even if not started by a special Rmail command.
23405
23406 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
23407 Copy the buffer currently showing just one message.
23408
23409 2011-06-22 Roland Winkler <winkler@gnu.org>
23410
23411 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
23412 (bibtex-clean-entry): First delete the old key so that a
23413 customized algorithm for generating the new key does not get
23414 confused by the old key.
23415 (bibtex-url): Obey regexp of first step.
23416 (bibtex-search-entries): Do not use add-to-list with local
23417 list-var.
23418
23419 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23420
23421 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
23422 stored a user name, then query for the password first, instead of
23423 waiting for SMTP to give an error message and the trying again.
23424
23425 2011-06-22 Lawrence Mitchell <wence@gmx.li>
23426
23427 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
23428 BUFFER in call-process.
23429
23430 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
23431
23432 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
23433 QUIT twice.
23434 (smtpmail-try-auth-methods): Require user name and password from
23435 auth-source.
23436
23437 2011-06-22 Martin Rudalics <rudalics@gmx.at>
23438
23439 * window.el (display-buffer-default-specifiers)
23440 (display-buffer-alist): Remove entries for pop-up-frame-alist.
23441 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
23442 (split-window): Normalize SIDE argument (Bug#8916).
23443
23444 * frame.el (pop-up-frame-alist, pop-up-frame-function)
23445 (special-display-frame-alist, special-display-popup-frame):
23446 Remove duplicate declarations. These are now in window.el.
23447
23448 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
23449
23450 * mail/smtpmail.el (smtpmail-via-smtp):
23451 Set :use-starttls-if-possible so that we always use STARTTLS if the
23452 server supports it. SMTP servers that support STARTTLS commonly
23453 require it.
23454
23455 * net/network-stream.el (network-stream-open-starttls): Support
23456 upgrading to STARTTLS always, even if we don't have built-in support.
23457 (open-network-stream): Add the :always-query-capabilities keyword.
23458
23459 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
23460 upgrades with `open-network-stream', and rely solely on
23461 auth-source for all credentials. Big changes throughout the file,
23462 but in particular:
23463 (smtpmail-auth-credentials): Remove.
23464 (smtpmail-starttls-credentials): Remove.
23465 (smtpmail-via-smtp): Check for servers saying they want AUTH after
23466 MAIL FROM, too.
23467
23468 * net/network-stream.el (network-stream-open-starttls):
23469 Provide support for client certificates both for external and built-in
23470 STARTTLS.
23471 (auth-source): Require.
23472 (open-network-stream): Document the :client-certificate keyword.
23473 (network-stream-certificate): Change cert-cert to cert and
23474 cert-key to key.
23475
23476 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
23477
23478 * net/tramp-cache.el (top): Don't load the persistency file when
23479 "emacs -Q" has been called.
23480
23481 2011-06-21 Tim Harper <timcharper@gmail.com>
23482
23483 * term/ns-win.el (ns-initialize-window-system):
23484 Set application-specific `ApplePressAndHoldEnabled' system
23485 resource to NO as it is not yet supported by the NS port.
23486
23487 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
23488
23489 * misc.el (list-dynamic-libraries--refresh): Compute header here...
23490 (list-dynamic-libraries): ...not here.
23491
23492 2011-06-21 Leo Liu <sdl.web@gmail.com>
23493
23494 * subr.el (sha1): Implement sha1 using secure-hash.
23495
23496 2011-06-21 Martin Rudalics <rudalics@gmx.at>
23497
23498 * window.el (display-buffer-alist): In default value do not
23499 enforce searching a window on any but the selected frame.
23500 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
23501 (display-buffer-select-window): Remove function.
23502 (display-buffer-in-window): When a window on another frame gets
23503 reused, do not select it any more but just raise its frame if
23504 necessary (Bug#8851) and (Bug#8856).
23505 (display-buffer-normalize-options): Handle pop-up-frames related
23506 options more faithfully.
23507 (pop-to-buffer): Don't rely on `display-buffer' selecting the
23508 window if it is on another frame.
23509 (display-buffer-alist, display-buffer-default-specifiers):
23510 Don't make new frame unsplittable by default.
23511 (display-buffer-normalize-argument): Fix doc-string typo and use
23512 'same-frame-other-window instead of 'other-window when associating
23513 with display-buffer-macro-specifiers.
23514
23515 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
23516
23517 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
23518 New functions.
23519 (5x5-mode-map, 5x5-mode-menu): Bind them.
23520 (5x5-draw-grid): Tweak the solver's rendering.
23521
23522 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23523
23524 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
23525 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
23526
23527 2011-06-21 Drew Adams <drew.adams@oracle.com>
23528
23529 * menu-bar.el: Use function variable instead of switch-to-buffer.
23530 (menu-bar-select-buffer-function): New variable.
23531 (menu-bar-update-buffers): Use it (bug#8876).
23532
23533 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
23534
23535 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
23536 variable's status.
23537
23538 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
23539
23540 * x-dnd.el (x-dnd-version-from-flags)
23541 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
23542 and long as number (Bug#8899).
23543 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
23544
23545 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
23546
23547 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
23548 (completion-try-completion, completion-all-completions): Compute the
23549 metadata argument if it's missing; make it optional (bug#8795).
23550
23551 * wid-edit.el: Use lex-bind and move towards completion-at-point.
23552 (widget-complete): Use new :completion-function property.
23553 (widget-completions-at-point): New function.
23554 (default): Use :completion-function instead of :complete.
23555 (widget-default-completions): Rename from widget-default-complete;
23556 Rewrite.
23557 (widget-string-complete, widget-file-complete, widget-color-complete):
23558 Remove functions.
23559 (file, symbol, function, variable, coding-system, color):
23560 * international/mule-cmds.el (default-input-method, charset)
23561 (language-info-custom-alist):
23562 * cus-edit.el (face): Use new property :completions.
23563
23564 * progmodes/pascal.el (pascal-completions-at-point): New function.
23565 (pascal-mode): Use it.
23566 (pascal-mode-map): Use completion-at-point.
23567 (pascal-toggle-completions): Make obsolete.
23568 (pascal-complete-word, pascal-show-completions):
23569 * progmodes/octave-mod.el (octave-complete-symbol):
23570 Redefine as obsolete alias.
23571 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
23572 Signal absence of completion info for old Octave,
23573 (inferior-octave-complete): Redefine as obsolete alias.
23574 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
23575 (meta-completions-at-point): Rename from meta-complete-symbol and
23576 adapt it for use on completion-at-point-functions.
23577 (meta-common-mode): Use it.
23578 (meta-looking-at-backward, meta-match-buffer): Remove.
23579 (meta-complete-symbol): Redefine as obsolete alias.
23580 (meta-common-mode-map): Use completion-at-point.
23581 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
23582 (makefile-mode-map): Use completion-at-point.
23583 (makefile-completions-at-point): Rename from makefile-complete and
23584 adapt it for use on completion-at-point-functions.
23585 (makefile-mode): Use it.
23586 (makefile-complete): Redefine as obsolete alias.
23587
23588 2011-06-20 Deniz Dogan <deniz@dogan.se>
23589
23590 * net/rcirc.el: Delete trailing whitespaces once and for all.
23591
23592 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
23593
23594 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
23595
23596 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
23597
23598 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
23599
23600 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
23601
23602 2011-06-19 Martin Rudalics <rudalics@gmx.at>
23603
23604 * window.el (display-buffer-other-window-means-other-frame):
23605 Call display-buffer-normalize-alist.
23606 (display-buffer-normalize-specifiers-1): Rename to
23607 display-buffer-normalize-argument. New argument other-frame.
23608 Rewrite.
23609 (display-buffer-normalize-specifiers-2): Rename to
23610 display-buffer-normalize-options.
23611 (display-buffer-normalize-alist-1): New function.
23612 (display-buffer-normalize-specifiers-3): Rename to
23613 display-buffer-normalize-alist.
23614 Call display-buffer-normalize-alist-1.
23615 (display-buffer-normalize-options-inhibit): New variable.
23616 (display-buffer-normalize-specifiers): Rewrite calling
23617 display-buffer-normalize-alist,
23618 display-buffer-normalize-argument, and
23619 display-buffer-normalize-options. Don't call the latter if
23620 display-buffer-normalize-options-inhibit is non-nil.
23621 (frame-auto-delete): New option.
23622 (window-deletable-p): Use frame-auto-delete.
23623 (window-list-no-nils, window-state-ignored-parameters)
23624 (window-state-get-1, window-state-get, window-state-put-list)
23625 (window-state-put-1, window-state-put-2, window-state-put):
23626 New functions.
23627 (display-buffer-normalize-options): Move special-display-p group
23628 after pop-up-frame group (Bug#8851) and (Bug#8856).
23629
23630 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
23631
23632 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
23633 groups (Bug#8776).
23634 (rx-submatch-n): New function.
23635 (rx): Document it.
23636
23637 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
23638 (Bug#8768).
23639
23640 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
23641
23642 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
23643
23644 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
23645 anytime existing face settings are present (Bug#8889).
23646
23647 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
23648 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
23649 Remove unused argument.
23650
23651 2011-06-18 Martin Rudalics <rudalics@gmx.at>
23652
23653 * window.el (display-buffer-default-specifiers):
23654 Remove pop-up-frame. Add pop-up-window-min-height,
23655 pop-up-window-min-width, and another reuse-window specifier
23656 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
23657 (display-buffer-normalize-specifiers-2):
23658 Handle split-height-threshold and split-width-threshold also when
23659 pop-up-windows is unset. Add a reuse-window specifier for the
23660 case popping up a new window fails.
23661 (special-display-popup-frame): Remove double quoting.
23662 (display-buffer-normalize-specifiers-1): Fix thinko.
23663
23664 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
23665
23666 * shell.el (shell-completion-vars): Set pcomplete-termination-string
23667 according to comint-completion-addsuffix.
23668
23669 * pcomplete.el: Convert to lexical binding and fix bug#8819.
23670 (pcomplete-suffix-list): Mark as obsolete.
23671 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
23672 pcomplete-seen in the closure.
23673 (pcomplete-comint-setup): Setup completion-at-point as well.
23674 (pcomplete--entries): New function.
23675 (pcomplete--env-regexp): New var.
23676 (pcomplete-entries): Rewrite to work with partial-completion and
23677 without relying on pcomplete-suffix-list.
23678 (pcomplete-pare-list): Remove, unused.
23679
23680 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23681
23682 * window.el (display-buffer-alist): Set pop-up-window-min-height
23683 and pop-up-window-min-width in default value. Reported by
23684 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
23685 other-window-means-other-frame.
23686 (display-buffer-macro-specifiers): Comment out entry for
23687 other-window specifier.
23688 (display-buffer-other-window-means-other-frame): New function.
23689 (display-buffer-normalize-specifiers-1): New arguments
23690 buffer-name and label. Treat other-window case specially.
23691 (display-buffer-normalize-specifiers-2): Treat other-window case
23692 specially.
23693 (display-buffer-normalize-specifiers-3): New function.
23694 (display-buffer-normalize-specifiers):
23695 Call display-buffer-normalize-specifiers-3.
23696
23697 2011-06-17 Martin Rudalics <rudalics@gmx.at>
23698
23699 * window.el (same-window-p): Fix two typos introduced when
23700 adding with-no-warnings.
23701 (display-buffer-normalize-specifiers-1): Don't check
23702 pop-up-frames for 'unset initialization.
23703 (display-buffer-normalize-specifiers-2): Major rewrite using
23704 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
23705 (pop-up-frames, display-buffer-reuse-frames)
23706 (display-buffer-mark-dedicated): Don't initialize to 'unset.
23707 Suggested by David Engster <deng@randomsample.de>.
23708 (even-window-heights): Initialize to 'unset.
23709 (display-buffer-alist-set): Handle new 'unset initializations.
23710 (display-buffer-macro-specifiers): Don't pop up a new frame in the
23711 other window case.
23712
23713 2011-06-16 Martin Rudalics <rudalics@gmx.at>
23714
23715 * window.el (display-buffer-normalize-specifiers-1):
23716 Respect current value of pop-up-frames for most reasonable values of
23717 second argument of display-buffer (Bug#8865).
23718 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
23719 (switch-to-buffer-other-window-same-frame)
23720 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
23721 Adams (Bug#8875).
23722 (display-buffer): Don't check noninteractive when calling
23723 display-buffer-pop-up-frame.
23724 (display-buffer-pop-up-frame): Never pop up a frame in
23725 noninteractive mode (Bug#8857).
23726 (enlarge-window, shrink-window): Don't report an error when the
23727 window can't be resized as requested (Bug#8862).
23728
23729 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23730
23731 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
23732
23733 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
23734
23735 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
23736
23737 2011-06-15 Alan Mackenzie <acm@muc.de>
23738
23739 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
23740 for declarators, disable knr checking to speed up for normal files.
23741 2: Refactor, replacing a sequence of nested if forms by a cond form.
23742
23743 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
23744
23745 * net/network-stream.el (open-network-stream): Add the keyword
23746 :always-query-capabilities for the case where you want to force a
23747 `plain' network connection, but the protocol still requires the
23748 capabilitiy command (i.e., SMTP and EHLO).
23749
23750 * subr.el (process-live-p): Rename from `process-alive-p' for
23751 consistency with other `-live-p' functions.
23752
23753 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
23754
23755 * window.el (same-window-buffer-names, same-window-regexps)
23756 (special-display-frame-alist, special-display-popup-frame)
23757 (special-display-function, special-display-buffer-names)
23758 (special-display-regexps, pop-up-frame-alist)
23759 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23760 (pop-up-windows, split-window-preferred-function)
23761 (split-height-threshold, split-width-threshold, even-window-heights)
23762 (display-buffer-mark-dedicated): Don't encourage the use of
23763 display-buffer-alist from Elisp code.
23764
23765 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
23766
23767 * progmodes/python.el (python-mode): Derive from prog-mode.
23768 * progmodes/ps-mode.el (ps-mode):
23769 * progmodes/mixal-mode.el (mixal-mode):
23770 * progmodes/cfengine.el (cfengine-mode):
23771 * progmodes/ld-script.el (ld-script-mode): Likewise.
23772
23773 2011-06-15 Martin Rudalics <rudalics@gmx.at>
23774
23775 * window.el (display-buffer-alist): Trim default value to avoid
23776 popping up a new frame (Bug#8857) or reusing an arbitrary window
23777 on another frame.
23778 (display-buffer): Do not fall back on popping up a new frame in
23779 batch mode (Bug#8857).
23780
23781 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
23782
23783 * cus-theme.el (describe-theme-1): Use custom-theme-p.
23784 (custom-theme-summary): New function.
23785 (customize-themes): Use it.
23786
23787 2011-06-13 Glenn Morris <rgm@gnu.org>
23788
23789 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23790
23791 2011-06-13 Martin Rudalics <rudalics@gmx.at>
23792
23793 * help.el (help-window): Remove variable.
23794 (help-window-point-marker, temp-buffer-max-height)
23795 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23796 (help-print-return-message): Don't set help-window.
23797 (resize-temp-buffer-window): Rewrite cod eand doc-string.
23798 (help-window-setup-finish): Remove.
23799 (help-window-display-message, help-window-setup)
23800 (with-help-window): Major rewrite based on new
23801 display-buffer-window variable.
23802
23803 * help-mode.el (help-mode-finish): Remove help-window related
23804 code.
23805
23806 * view.el (view-exits-all-viewing-windows): Remove reference to
23807 view-return-to-alist in doc-string.
23808 (view-return-to-alist): Make obsolete.
23809 (view-buffer): Call pop-to-buffer-same-window and remove
23810 undo-window code.
23811 (view-buffer-other-window): Call pop-to-buffer-other-window and
23812 simplify code. Ignore second argument.
23813 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23814 simplify code. Ignore second argument.
23815 (view-return-to-alist-update): Make obsolete.
23816 (view-mode-enter): Rename second argument to QUIT-RESTORE.
23817 Rewrite using quit-restore window parameters.
23818 (view-mode-exit): Rename second argument to EXIT-ONLY.
23819 Rewrite using quit-restore-window.
23820 (View-exit, View-exit-and-edit, View-leave, View-quit)
23821 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23822 appropriate arguments.
23823 (view-end-message): Use quit-restore window parameter.
23824
23825 * window.el (display-buffer-function): Rewrite doc-string.
23826 (display-buffer-window, display-buffer-alist): New variables.
23827 (display-buffer-split-specifiers)
23828 (display-buffer-side-specifiers)
23829 (display-buffer-macro-specifiers): New constants.
23830 (display-buffer-even-window-sizes, display-buffer-set-height)
23831 (display-buffer-set-width, display-buffer-select-window)
23832 (display-buffer-in-window, display-buffer-reuse-window)
23833 (display-buffer-split-window-1, display-buffer-split-window)
23834 (display-buffer-split-atom-window, display-buffer-pop-up-window)
23835 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23836 (display-buffer-in-side-window, normalize-buffer-to-display)
23837 (display-buffer-normalize-specifiers-1)
23838 (display-buffer-normalize-specifiers-2)
23839 (display-buffer-normalize-specifiers, display-buffer-frame):
23840 New functions.
23841 (display-buffer): Major rewrite.
23842 (display-buffer-other-window, display-buffer-other-frame)
23843 (pop-to-buffer, switch-to-buffer-other-window)
23844 (switch-to-buffer-other-frame): Rewrite.
23845 (display-buffer-same-window, display-buffer-same-frame)
23846 (display-buffer-same-frame-other-window)
23847 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23848 (pop-to-buffer-other-window)
23849 (pop-to-buffer-same-frame-other-window)
23850 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23851 (switch-to-buffer-other-window-same-frame): New functions.
23852 (same-window-p, special-display-p): Rewrite disabling warnings.
23853 Make obsolete.
23854 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23855 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23856 Make obsolete
23857 (same-window-buffer-names, same-window-regexps)
23858 (special-display-frame-alist, special-display-popup-frame)
23859 (special-display-function, special-display-buffer-names)
23860 (special-display-regexps, pop-up-frame-alist)
23861 (pop-up-frame-function, split-window-preferred-function)
23862 (split-height-threshold, split-width-threshold)
23863 (even-window-heights): Make obsolete.
23864
23865 2011-06-12 Glenn Morris <rgm@gnu.org>
23866
23867 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
23868 Misc simplifications.
23869
23870 2011-06-12 Martin Rudalics <rudalics@gmx.at>
23871
23872 * window.el (window-safely-shrinkable-p): Restore function which
23873 was inadvertently removed in change from 2011-06-11. Declare as
23874 obsolete.
23875
23876 * calendar/calendar.el (calendar-generate-window):
23877 Use window-iso-combined-p instead of combination of one-window-p and
23878 window-safely-shrinkable-p.
23879
23880 2011-06-12 Glenn Morris <rgm@gnu.org>
23881
23882 * progmodes/fortran.el (fortran-mode-syntax-table):
23883 * progmodes/f90.el (f90-mode-syntax-table):
23884 Set % to punctuation. (Bug#8820)
23885 (f90-find-tag-default): Remove, no longer needed.
23886
23887 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
23888
23889 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23890
23891 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
23892
23893 * image.el (image-animated-p): Return animation delay in seconds.
23894 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23895 (image-animate-timeout): Remove DELAY argument. Don't assume
23896 every subimage has the same delay; get it from image-animated-p.
23897 (image-animate): Caller changed.
23898
23899 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
23900
23901 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23902 to ignored backtrace functions.
23903
23904 2011-06-11 Glenn Morris <rgm@gnu.org>
23905
23906 * calendar/appt.el (appt-disp-window-function): Doc fix.
23907 (appt-check): Handle overlapping appointments. (Bug#8337)
23908
23909 2011-06-11 Martin Rudalics <rudalics@gmx.at>
23910
23911 * window.el (window-tree-1, window-tree): New functions, moving
23912 the latter to window.el.
23913 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23914 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23915 (bw-refresh-edges): Remove.
23916 (balance-windows-1, balance-windows-2): New functions.
23917 (balance-windows): Rewrite in terms of window tree functions,
23918 balance-windows-1 and balance-windows-2.
23919 (bw-adjust-window): Remove.
23920 (balance-windows-area-adjust): New function with functionality of
23921 bw-adjust-window but using resize-window.
23922 (set-window-text-height): Rewrite doc-string.
23923 Use normalize-live-window and resize-window.
23924 (enlarge-window-horizontally, shrink-window-horizontally):
23925 Rename argument to DELTA.
23926 (window-buffer-height): New function.
23927 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23928 Rewrite using new window resize routines.
23929 (kill-buffer-and-window, mouse-autoselect-window-select):
23930 Use ignore-errors instead of condition-case.
23931 (quit-window): Call delete-frame instead of delete-windows-on
23932 for the only buffer on frame.
23933
23934 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23935
23936 * loadup.el (top-level): Load window before files for the sake
23937 of replace-buffer-in-windows.
23938
23939 * files.el (read-buffer-to-switch)
23940 (switch-to-buffer-other-window)
23941 (switch-to-buffer-other-frame, display-buffer-other-frame):
23942 Move to window.el.
23943
23944 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23945 (previous-buffer): Move to window.el.
23946
23947 * bindings.el (unbury-buffer): Move to window.el.
23948
23949 * window.el (delete-other-windows-vertically): Move after
23950 definition of delete-other-windows.
23951 (other-window, delete-windows-on, replace-buffer-in-windows):
23952 Move here from window.c.
23953 (record-window-buffer, unrecord-window-buffer)
23954 (set-window-buffer-start-and-point, switch-to-prev-buffer)
23955 (switch-to-next-buffer): New functions.
23956 (get-next-valid-buffer, last-buffer, next-buffer): Move here
23957 from simple.el. Call switch-to-next-buffer.
23958 (previous-buffer): Move here from simple.el.
23959 Call switch-to-prev-buffer.
23960 (bury-buffer): Move here from buffer.c. Switch to previous
23961 buffer when window cannot be deleted.
23962 (unbury-buffer): Move here from bindings.el.
23963 (ctl-x-map): Move binding for other-window from window.c to
23964 here.
23965 (read-buffer-to-switch, switch-to-buffer-other-window)
23966 (switch-to-buffer-other-frame): Move here from files.el.
23967 (normalize-buffer-to-switch-to): New functions.
23968 (switch-to-buffer): Move here from buffer.c.
23969 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23970
23971 2011-06-10 Martin Rudalics <rudalics@gmx.at>
23972
23973 * window.el (window-min-height, window-min-width): Move here
23974 from window.c. Add defcustoms and rewrite doc-strings.
23975 (resize-mini-window, resize-window): New functions.
23976 (adjust-window-trailing-edge, enlarge-window, shrink-window):
23977 Move here from window.c.
23978 (maximize-window, minimize-window): New functions.
23979 (delete-window, delete-other-windows, split-window): Move here
23980 from window.c.
23981 (window-split-min-size): New function.
23982 (split-window-keep-point): Mention split-window-above-each-other
23983 instead of split-window-vertically.
23984 (split-window-above-each-other, split-window-vertically):
23985 Rename split-window-vertically to split-window-above-each-other
23986 and provide defalias for old definition.
23987 (split-window-side-by-side, split-window-horizontally):
23988 Rename split-window-horizontally to split-window-side-by-side
23989 and provide defalias for the old definition.
23990 (ctl-x-map): Move bindings for delete-window,
23991 delete-other-windows and enlarge-window here from window.c.
23992 Replace bindings for split-window-vertically and
23993 split-window-horizontally by bindings for
23994 split-window-above-each-other and split-window-side-by-side.
23995
23996 * cus-start.el (all): Remove entries for window-min-height and
23997 window-min-width. Add entries for window-splits and
23998 window-nest.
23999
24000 2011-06-09 Glenn Morris <rgm@gnu.org>
24001
24002 * calendar/appt.el (appt-mode-line): New function.
24003 (appt-check, appt-disp-window): Use it.
24004
24005 * files.el (hack-one-local-variable-eval-safep):
24006 Allow minor-modes with explicit +/-1 arguments.
24007
24008 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
24009
24010 * term/xterm.el (xterm): Add defgroup.
24011 (xterm-extra-capabilities): Add defcustom to supply known xterm
24012 capabilities, skip querying them, or query them (default).
24013 (terminal-init-xterm): Use it.
24014 (terminal-init-xterm-modify-other-keys): New function to set up
24015 modifyOtherKeys support to simplify `terminal-init-xterm'.
24016
24017 2011-06-09 Martin Rudalics <rudalics@gmx.at>
24018
24019 * window.el (resize-window-reset, resize-window-reset-1)
24020 (resize-subwindows-skip-p, resize-subwindows-normal)
24021 (resize-subwindows, resize-other-windows, resize-this-window)
24022 (resize-root-window, resize-root-window-vertically)
24023 (window-deletable-p, window-or-subwindow-p)
24024 (frame-root-window-p): New functions.
24025
24026 2011-06-09 Glenn Morris <rgm@gnu.org>
24027
24028 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
24029 (ange-ftp-get-files): Use it.
24030
24031 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
24032
24033 * mail/sendmail.el (mail-recover-1, mail-recover):
24034 * files.el (recover-file, recover-session):
24035 Handle dired-listing-switches not being just a single short option.
24036
24037 2011-06-09 Glenn Morris <rgm@gnu.org>
24038
24039 * calendar/appt.el (appt-display-message, appt-disp-window):
24040 Handle lists of appointments.
24041
24042 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24043
24044 * window.el (one-window-p): Move down in code.
24045 Rewrite doc-string.
24046 (window-current-scroll-bars): Rewrite doc-string.
24047 Normalize live window argument.
24048 (walk-windows, get-window-with-predicate, count-windows):
24049 Rewrite doc-string. Use window-list-1.
24050 (window-in-direction-2, window-in-direction, get-mru-window):
24051 New functions.
24052
24053 2011-06-08 Reuben Thomas <rrt@sc3d.org>
24054
24055 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
24056 Doc fix (Bug#8713).
24057
24058 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
24059
24060 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
24061
24062 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
24063
24064 * loadhist.el (unload-feature-special-hooks):
24065 Add `comint-output-filter-functions'.
24066
24067 2011-06-08 Ivan Kanis <gnu@kanis.fr>
24068
24069 * calendar/appt.el (appt-check): Move some initializations into the let.
24070
24071 2011-06-08 Martin Rudalics <rudalics@gmx.at>
24072
24073 * window.el (window-height): Defalias to window-total-height.
24074 (window-width): Defalias to window-body-width.
24075
24076 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
24077
24078 * image-mode.el (image-toggle-animation): New command.
24079 (image-mode-map): Bind it to RET.
24080 (image-mode): Update message.
24081 (image-toggle-display-image): Avoid a spurious cache flush.
24082 (image-transform-rotation): Doc fix.
24083 (image-transform-properties): Return quickly in the normal case.
24084 (image-animate-loop): Rename from image-animate-max-time.
24085
24086 * image.el (image-animate-max-time): Move to image-mode.el.
24087 (create-animated-image): Remove unnecessary function.
24088 (image-animate): Rename from image-animate-start. New arg.
24089 (image-animate-stop): Remove; just use image-animate-timer.
24090 (image-animate-timer): Use car-safe.
24091 (image-animate-timeout): Rename argument.
24092
24093 2011-06-07 Martin Rudalics <rudalics@gmx.at>
24094
24095 * window.el (get-lru-window, get-largest-window): Move here from
24096 window.c. Rename first argument to ALL-FRAMES.
24097 Rephrase doc-strings.
24098 (get-buffer-window-list): Rewrite using window-list-1.
24099 Rephrase doc-string.
24100 (window-safe-min-height, window-safe-min-width): New constants.
24101 (window-size-ignore, window-min-size, window-min-size-1)
24102 (window-sizable, window-sizable-p, window-size-fixed-1)
24103 (window-size-fixed-p, window-min-delta-1, window-min-delta)
24104 (window-max-delta-1, window-max-delta, window-resizable)
24105 (window-resizable-p, window-total-height, window-total-width)
24106 (window-body-width): New functions.
24107 (window-full-height-p, window-full-width-p): Rewrite using
24108 window-total-size.
24109 (window-body-height): Rewrite using window-body-size.
24110
24111 2011-06-06 Martin Rudalics <rudalics@gmx.at>
24112
24113 * window.el (window-right, window-left, window-child)
24114 (window-child-count, window-last-child, window-any-p)
24115 (normalize-live-buffer, normalize-live-frame)
24116 (normalize-any-window, normalize-live-window)
24117 (window-iso-combination-p, window-iso-combined-p)
24118 (window-iso-combinations)
24119 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
24120 (windows-with-parameter, window-with-parameter)
24121 (window-atom-root, make-window-atom, window-atom-check-1)
24122 (window-atom-check, window-side-check, window-check):
24123 New functions.
24124 (ignore-window-parameters, window-sides, window-sides-vertical)
24125 (window-sides-slots): New variables.
24126 (window-size-fixed): Move down in code. Minor doc-string fix.
24127
24128 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
24129
24130 * comint.el (comint-dynamic-complete-as-filename)
24131 (comint-dynamic-complete-filename): Correctly call
24132 completion-in-region.
24133
24134 2011-06-05 Deniz Dogan <deniz@dogan.se>
24135
24136 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
24137 in last change.
24138
24139 2011-06-05 Deniz Dogan <deniz@dogan.se>
24140
24141 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
24142 (rcirc): Use it to prompt for encryption.
24143
24144 2011-06-05 Roland Winkler <winkler@gnu.org>
24145
24146 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
24147 (bibtex-search-entries): New command bound to C-c C-a.
24148 (bibtex-display-entries): New function.
24149
24150 2011-06-05 Roland Winkler <winkler@gnu.org>
24151
24152 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
24153 (bibtex-insert-kill): After yanking insert newline if necessary.
24154 (bibtex-initialize): Call bibtex-string-files-init only once.
24155 (bibtex-mode): Do not call easy-menu-add.
24156 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
24157 (bibtex-yank): Set arg properly if nil.
24158
24159 2011-06-05 Roland Winkler <winkler@gnu.org>
24160
24161 * textmodes/bibtex.el (bibtex-search-entry-globally):
24162 New variable.
24163 (bibtex-search-entry): Use it.
24164
24165 2011-06-05 Roland Winkler <winkler@gnu.org>
24166
24167 * textmodes/bibtex.el (bibtex-entry-format): New option
24168 sort-fields.
24169 (bibtex-format-entry, bibtex-reformat): Honor this option.
24170 (bibtex-parse-entry): Return fields in proper order.
24171
24172 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
24173
24174 * doc-view.el (doc-view-remove-if): Move computation of result out
24175 of `dolist' to silence misleading lexical-binding warning.
24176
24177 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
24178
24179 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
24180 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
24181
24182 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24183
24184 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
24185 "SunOS 5.10".
24186
24187 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
24188
24189 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
24190 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
24191 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
24192 (tramp-parse-putty):
24193 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
24194 (tramp-completion-function-alist-ssh)
24195 (tramp-completion-function-alist-telnet)
24196 (tramp-completion-function-alist-su)
24197 (tramp-completion-function-alist-putty): Set `tramp-autoload'
24198 cookie.
24199
24200 * net/tramp-ftp.el:
24201 * net/tramp-sh.el:
24202 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
24203 load "tramp.el" `tramp-set-completion-function'.
24204
24205 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
24206
24207 * shell.el: Require and use pcomplete.
24208 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
24209 (shell-completion-vars): Set pcomplete-default-completion-function.
24210
24211 2011-06-04 Deniz Dogan <deniz@dogan.se>
24212
24213 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
24214 `memq' (Bug#8799).
24215
24216 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24217
24218 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
24219
24220 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
24221
24222 * bs.el (bs--mark-unmark, bs--nth-wrapper):
24223 * mpc.el (mpc-select-extend, mpc-songpointer-context):
24224 * vc/log-view.el (log-view-beginning-of-defun):
24225 * vc/smerge-mode.el (smerge-apply-resolution-patch)
24226 (smerge-refine-forward, smerge-refine-chopup-region):
24227 Silence warning for unused `dotimes' counter variables.
24228
24229 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
24230
24231 * net/tramp.el (tramp-with-progress-reporter): Rename from
24232 with-progress-reporter. Use `declare'.
24233 * net/tramp-smb.el:
24234 * net/tramp-sh.el:
24235 * net/tramp-gvfs.el: Update all uses.
24236
24237 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
24238
24239 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
24240 buffer isn't killed before making it current.
24241
24242 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24243
24244 Silence various byte-compiler warnings.
24245 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
24246 `access-type' and new obsolescence format.
24247 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
24248 new format.
24249 (byte-compile-check-variable): New `access-type' argument.
24250 Only warn if the access-type is obsolete.
24251 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24252 (byte-compile-variable-set): Adjust callers.
24253 * help-fns.el (describe-variable): Adjust to new obsolescence format.
24254 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
24255 setting it as obsolete.
24256 * simple.el (minibuffer-completing-symbol):
24257 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
24258 access as obsolete.
24259 * minibuffer.el (minibuffer-completing-file-name): Don't make it
24260 obsolete yet.
24261 * international/quail.el (quail-mouse-choose-completion): Remove unused
24262 code referring to obsolete var.
24263 (quail-choose-completion-string): Remove.
24264 * server.el (server-clients-with, server-kill-buffer-query-function)
24265 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
24266 * proced.el (proced-send-signal):
24267 * emacs-lisp/lisp.el (lisp-complete-symbol):
24268 Replace completion-annotate-function with completion-extra-properties.
24269
24270 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
24271
24272 * simple.el (goto-line): Use read-number.
24273 (overriding-map-is-bound): Remove.
24274 (saved-overriding-map): Change default.
24275 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
24276 Take the map as argument.
24277 (universal-argument, negative-argument, digit-argument): Use it.
24278 (restore-overriding-map): Adjust.
24279 (do-auto-fill): Use fill-forward-paragraph.
24280 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
24281
24282 * minibuffer.el (minibuffer-inactive-mode-map): New var.
24283 (minibuffer-inactive-mode): New major mode.
24284 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
24285 the *Messages* buffer" hack.
24286 (mouse-popup-menubar): Don't burp if the event is a normal key.
24287
24288 Miscellaneous tweaks.
24289 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
24290 lexical scoping as in subr.el's dolist and dotimes.
24291 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
24292 Silence compiler warning.
24293 * thingatpt.el (forward-whitespace): Trivial coding style fix.
24294 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
24295 * international/ccl.el (ccl-compile): Trivial simplification.
24296 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
24297 * emacs-lisp/testcover.el (testcover-end): Remove spurious
24298 `printflag' argument.
24299 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
24300 Purecopy the whole obsolescence data.
24301
24302 2011-06-01 Leo Liu <sdl.web@gmail.com>
24303
24304 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
24305 improve doc-string as suggested by Marco Pessotto
24306 <melmothx@gmail.com>.
24307 (rcirc-print): Fix last change.
24308
24309 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24310
24311 * minibuffer.el (complete-with-action): Return nil for the metadata and
24312 boundaries of non-functional tables.
24313 (completion-table-dynamic): Return nil for the metadata.
24314 (completion-table-with-terminator): Add default case, using
24315 complete-with-action.
24316 (completion--metadata): New function.
24317 (completion-all-sorted-completions, minibuffer-completion-help): Use it
24318 to try and avoid pathological performance problems.
24319 (completion--embedded-envvar-table): Return `category' metadata.
24320
24321 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
24322
24323 * subr.el (process-alive-p): New tiny convenience function.
24324
24325 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24326
24327 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
24328 content but also its previous major mode.
24329
24330 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
24331
24332 * emacs-lisp/debug.el (debug): Restore the previous content of the
24333 *Backtrace* buffer when we exit with C-M-c.
24334
24335 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
24336
24337 * minibuffer.el: Add metadata method to completion tables.
24338 (completion-category-overrides): New defcustom.
24339 (completion-metadata, completion--field-metadata)
24340 (completion-metadata-get, completion--styles)
24341 (completion--cycle-threshold): New functions.
24342 (completion-try-completion, completion-all-completions):
24343 Add `metadata' argument to choose completion-styles.
24344 (completion--do-completion): Use metadata to choose cycling.
24345 (completion-all-sorted-completions): Use metadata for sorting.
24346 Remove :completion-cycle-penalty which is not needed any more.
24347 (completion--try-word-completion): Add `metadata' argument.
24348 (minibuffer-completion-help): Check metadata for annotation function
24349 and sorting.
24350 (completion-file-name-table): Return `category' metadata.
24351 (minibuffer-completing-file-name): Make obsolete.
24352 * simple.el (minibuffer-completing-symbol): Make obsolete.
24353 * icomplete.el (icomplete-completions): Pass new `metadata' param to
24354 completion-try-completion.
24355
24356 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
24357
24358 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
24359
24360 2011-05-30 Leo Liu <sdl.web@gmail.com>
24361
24362 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
24363 (rcirc-print): Decode all incoming messages (bug#8744).
24364 (rcirc-decode-coding-system): Allow value nil for automatic coding
24365 system detection.
24366
24367 2011-06-01 Glenn Morris <rgm@gnu.org>
24368
24369 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
24370
24371 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24372
24373 * image.el (image-animate-max-time): Allow nil and t values.
24374 Default to nil.
24375 (create-animated-image): Doc fix.
24376 (image-animate-start): Remove second arg; just use
24377 image-animate-max-time.
24378 (image-animate-timeout): Doc fix. Args changed.
24379
24380 * image-mode.el (image-toggle-display-image): Ensure that the
24381 image spec passed to the animate timer is the same object as in
24382 the buffer's display property (Bug#6981).
24383 (image-transform-properties): Doc fix.
24384
24385 * image.el (image-animate-max-time): Default to nil.
24386
24387 2011-05-29 Martin Rudalics <rudalics@gmx.at>
24388
24389 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
24390 entire buffer list (Bug#8184).
24391
24392 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24393
24394 * image.el (imagemagick-types-inhibit)
24395 (imagemagick-register-types): Doc fix.
24396
24397 2011-05-29 Deniz Dogan <deniz@dogan.se>
24398
24399 * net/rcirc.el (rcirc): Use the user's stored encryption method by
24400 default.
24401
24402 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
24403
24404 * select.el: Don't perform clipboard-manager saving in hooks;
24405 leave the hooks empty.
24406
24407 2011-05-28 Leo Liu <sdl.web@gmail.com>
24408
24409 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
24410 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
24411 (occur-edit-mode): New major mode (Bug#8463).
24412 (occur-after-change-function): New function.
24413 (occur-engine): Give Occur tags a read-only property.
24414
24415 2011-05-28 Kevin Ryde <user42@zip.com.au>
24416
24417 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
24418
24419 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24420
24421 * bindings.el (help-echo): Make the initial non-indicator dash
24422 empty on graphical terminals (Bug#7295).
24423
24424 * files.el (auto-mode-alist): Move config rule after the
24425 in-stripping one (Bug#8547).
24426
24427 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
24428
24429 * startup.el (normal-splash-screen): Remove gratuitous mode-line
24430 setting (Bug#8740).
24431
24432 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
24433
24434 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
24435 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
24436 (Bug#8539).
24437
24438 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24439
24440 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
24441
24442 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
24443
24444 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
24445 (hs-hide-block-at-point, hs-find-block-beginning)
24446 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
24447 (Bug#8279).
24448
24449 2011-05-28 Glenn Morris <rgm@gnu.org>
24450
24451 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
24452
24453 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
24454
24455 * help-fns.el (describe-function-1): If the function is a derived
24456 major mode, print the parent mode.
24457
24458 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
24459 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
24460
24461 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
24462
24463 * minibuffer.el (completion--capf-wrapper): Check applicability before
24464 returning non-nil for non-exclusive completion data.
24465 * progmodes/etags.el (tags-completion-at-point-function):
24466 * info-look.el (info-lookup-completions-at-point): Mark as
24467 non-exclusive.
24468 (info-complete): Adjust accordingly.
24469
24470 * info-look.el: Convert to lexical-binding and completion-at-point.
24471 (info-lookup-completions-at-point): New function.
24472 (info-complete): Use it and completion-in-region.
24473
24474 2011-05-28 Drew Adams <drew.adams@oracle.com>
24475
24476 * isearch.el: Let M-e start with point at the first mismatched char.
24477 (isearch-fail-pos): New function.
24478 (isearch-edit-string): Use it.
24479
24480 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24481
24482 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24483
24484 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
24485
24486 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
24487 traversal functions for avl-trees.
24488 (avl-tree--stack): New struct.
24489 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
24490 (avl-tree-enter): Add optional `updatefun' arg.
24491 (avl-tree--do-enter): Add optional `updatefun' arg.
24492 Change return value.
24493 (avl-tree-delete): Add optional `test' and `nilflag' args.
24494 (avl-tree--do-delete): Add `test' and `nilflag' args.
24495 Change return value.
24496 (avl-tree-member): Add optional `nilflag'
24497 (avl-tree-member-p): New function.
24498 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
24499 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
24500 (avl-tree-stack-empty-p): New functions.
24501
24502 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
24503 avl-tree--del-balance1 and make it work both ways.
24504 (avl-tree--del-balance2): Remove.
24505 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
24506 make it work both ways.
24507 (avl-tree--enter-balance2): Remove.
24508 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
24509 New macros.
24510 (avl-tree--mapc, avl-tree-map): Add direction argument.
24511
24512 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
24513
24514 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
24515
24516 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
24517
24518 * select.el: Support clipboard managers with built-in function
24519 x-clipboard-manager-save, via delete-frame-functions and
24520 kill-emacs-hook.
24521 (xselect-convert-to-targets): Add MULTIPLE target to list.
24522 (xselect-convert-to-save-targets): New function.
24523
24524 2011-05-27 Kenichi Handa <handa@m17n.org>
24525
24526 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
24527 let-binding rfc2047-encode-encoded-words to nil.
24528
24529 2011-05-27 Glenn Morris <rgm@gnu.org>
24530
24531 * mail/emacsbug.el: Don't require url-util.
24532
24533 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
24534
24535 * files.el (set-auto-mode):
24536 Also respect mode: entries at the end of the file. (Bug#8586)
24537
24538 2011-05-26 Glenn Morris <rgm@gnu.org>
24539
24540 * files.el (hack-local-variables-prop-line, hack-local-variables):
24541 Downcase mode names, as seems to be traditional.
24542 (hack-local-variables, hack-local-variables-apply): Doc fixes.
24543
24544 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
24545 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
24546
24547 2011-05-25 Julien Danjou <julien@danjou.info>
24548
24549 * textmodes/rst.el (rst-define-level-faces): Do not define face
24550 symbol if it is already defined.
24551
24552 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
24553
24554 * play/5x5.el (5x5-new-game, 5x5-randomize):
24555 Reset 5x5-solver-output to nil when a new grid is cast.
24556 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
24557 these debugging traces, as defmacro breaks the compiled code.
24558
24559 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
24560
24561 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
24562
24563 2011-05-24 Leo Liu <sdl.web@gmail.com>
24564
24565 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
24566 (vc-bzr-sha1): Adapt.
24567
24568 * sha1.el: Remove. Function `sha1' is now builtin.
24569
24570 * bindings.el: Provide sha1 feature.
24571
24572 2011-05-24 Kenichi Handa <handa@m17n.org>
24573
24574 * mail/sendmail.el: Require `rfc2047'.
24575 (mail-insert-from-field): Do not perform RFC2047 encoding.
24576 (mail-encode-header): New function.
24577 (sendmail-send-it): Set buffer-file-coding-system of the work
24578 buffer to the return value of select-message-coding-system.
24579 Call mail-encode-header.
24580
24581 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
24582
24583 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
24584
24585 * mail/supercite.el (sc-default-cite-frame):
24586 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
24587
24588 2011-05-24 Glenn Morris <rgm@gnu.org>
24589
24590 * progmodes/python.el (brm-menu): Declare.
24591
24592 * emulation/viper.el (viper-set-hooks): Declare.
24593
24594 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
24595 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
24596 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
24597 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
24598 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
24599 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
24600
24601 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
24602
24603 Add an :exit-function for completion-at-point.
24604
24605 * minibuffer.el (completion--done): New fun.
24606 (completion--do-completion): Use it. New arg `expect-exact'.
24607 (minibuffer-complete, minibuffer-complete-word): Don't output message,
24608 since completion--do-completion does it for us now.
24609 (minibuffer-force-complete): Use completion--done and
24610 completion--replace. Handle sole-completion case with more care.
24611 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
24612 (completion-extra-properties): New var.
24613 (completion-annotate-function): Make obsolete.
24614 (minibuffer-completion-help): Adjust accordingly.
24615 Use completion-list-insert-choice-function.
24616 (completion-at-point, completion-help-at-point):
24617 Bind completion-extra-properties.
24618 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
24619 * simple.el (completion-list-insert-choice-function): New var.
24620 (completion-setup-function): Preserve it.
24621 (choose-completion): Pay attention to it, shuffle the code a bit.
24622 (choose-completion-string): New arg `insert-function'.
24623
24624 * textmodes/bibtex.el: Convert to lexical binding.
24625 (bibtex-mode-map): Use completion-at-point.
24626 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
24627 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
24628 (bibtex-complete): Define as obsolete alias.
24629 (bibtex-complete-internal): Remove.
24630 (bibtex-format-entry): Remove unused sub-group in regexp.
24631 * shell.el (shell--command-completion-data)
24632 (shell-environment-variable-completion):
24633 * pcomplete.el (pcomplete-completions-at-point):
24634 * comint.el (comint--complete-file-name-data): Use :exit-function
24635 instead of completion-table-with-terminator so it also works for
24636 choose-completion.
24637
24638 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24639
24640 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
24641
24642 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
24643 (bug#8710).
24644
24645 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
24646
24647 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
24648
24649 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
24650 customization variable and implement: If non-nil, auto-fill will
24651 be inhibited while on topic's header line.
24652
24653 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
24654
24655 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
24656 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
24657 always have a solution in grid size = 5 cases.
24658 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
24659 (5x5-solver-output, 5x5-log-buffer): New vars.
24660 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
24661 Make these variables buffer local to achieve 5x5 multi-session-ness.
24662 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
24663 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
24664 (5x5-solve-suggest): New funs.
24665 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
24666 randomize a grid so that we ensure that there is always a solution.
24667 (5x5-make-random-grid): Allow other movement than flipping.
24668
24669 2011-05-23 Kevin Ryde <user42@zip.com.au>
24670
24671 * emacs-lisp/advice.el (ad-read-advised-function):
24672 Use `function-called-at-point' as the default, if it has
24673 advice and passes PREDICATE.
24674
24675 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
24676
24677 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
24678 byte-compile-lambda if it's actually a lambda.
24679
24680 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
24681 Fix function quoting. Use backquote better.
24682
24683 2011-05-22 Yuanle Song <sylecn@gmail.com>
24684
24685 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
24686 matching (Bug#8516).
24687
24688 2011-05-22 Jari Aalto <jari.aalto@cante.net>
24689
24690 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
24691 different face (Bug#8178).
24692
24693 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
24694
24695 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
24696 defface (Bug#8144).
24697
24698 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
24699
24700 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24701 funcall as well (bug#8712). Warn when performing those conversions.
24702 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
24703
24704 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
24705
24706 2011-05-22 Glenn Morris <rgm@gnu.org>
24707
24708 * files.el (hack-local-variables-prop-line): Small simplifications.
24709 (hack-local-variables, hack-local-variables-prop-line):
24710 If MODE-ONLY, return the mode, rather than just `t'.
24711
24712 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
24713
24714 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
24715
24716 2011-05-21 Glenn Morris <rgm@gnu.org>
24717
24718 * files.el (hack-local-variables-prop-line, hack-local-variables):
24719 If only interested in the mode, don't bother doing the other stuff.
24720
24721 * image-mode.el (image-after-revert-hook):
24722 Redraw all frames on which the image is visible. (Bug#8567)
24723
24724 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
24725
24726 * wid-edit.el (widget-checklist-match-inline):
24727 Fix 2011-04-19 change. (Bug#8649)
24728
24729 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
24730
24731 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
24732 Also allow singlespace after single-letter capitals followed by a dot.
24733
24734 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
24735 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
24736
24737 2011-05-20 Nix <nix@esperi.org.uk>
24738
24739 * files.el (basic-save-buffer-2):
24740 Fix handling of break-hardlink-on-save with non-existent files.
24741
24742 2011-05-19 Deniz Dogan <deniz@dogan.se>
24743
24744 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
24745 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
24746
24747 2011-05-19 Glenn Morris <rgm@gnu.org>
24748
24749 * progmodes/f90.el (f90-type-def-re):
24750 Handle "type, bind(c)". (Bug#8691)
24751
24752 * emacs-lisp/autoload.el (batch-update-autoloads):
24753 Set autoload-excludes by parsing loadup.el rather than Makefiles.
24754
24755 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
24756
24757 * net/tramp.el (tramp-process-actions): Set "first-password-request"
24758 property for the correct connection in case of multihops.
24759
24760 2011-05-18 Glenn Morris <rgm@gnu.org>
24761
24762 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24763 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24764
24765 Rationalize calendar handling of day and month abbrev-arrays.
24766 * calendar/calendar.el (calendar-customized-p): New function.
24767 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24768 (calendar-day-name-array, calendar-month-name-array): Doc fix.
24769 Add :set function.
24770 (calendar-abbrev-length, calendar-day-abbrev-array)
24771 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24772 (calendar-day-abbrev-array, calendar-month-abbrev-array):
24773 Elements may no longer be nil.
24774 (calendar-day-name, calendar-month-name):
24775 Update for changed nature of abbrev arrays.
24776 * calendar/diary-lib.el (diary-name-pattern):
24777 Update for changed nature of abbrev arrays.
24778 (diary-mark-entries-1): Update calendar-make-alist calls.
24779 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24780 * calendar/cal-html.el (cal-html-day-abbrev-array):
24781 Simply inherit from calendar-day-abbrev-array.
24782
24783 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24784
24785 * progmodes/grep.el (grep-mode): Disable default
24786 compilation-directory-matcher setting (bug#8684).
24787
24788 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
24789
24790 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24791 instead of "head" and "tail". There were problems with SunOS 5.9,
24792 and it performs better.
24793
24794 2011-05-17 Glenn Morris <rgm@gnu.org>
24795
24796 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24797
24798 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24799 Replace obsolete function.
24800
24801 * shell.el (pcomplete-parse-arguments-function): Declare.
24802
24803 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24804 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24805 (appt-check): Doc fixes.
24806 (appt-disp-window-function, appt-delete-window-function):
24807 Remove needless special case in custom :type.
24808 (appt-display-count): Default to 0, not nil.
24809 (appt-check): Reset appt-display-count to 0, not nil.
24810
24811 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
24812
24813 * progmodes/python.el (python-font-lock-keywords):
24814 Add the Python 3.X keyword "nonlocal" (bug#8639).
24815
24816 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
24817
24818 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24819
24820 2011-05-16 Kevin Ryde <user42@zip.com.au>
24821
24822 * info-look.el (makefile-automake-mode): New setups, looking in
24823 automake manual, then makefile-mode.
24824 (makefile-mode): Remove automake manual, have it just in
24825 makefile-automake-mode since there's various things different or
24826 not relevant to plain make.
24827 (makefile-mode): Remove "other-modes" non-existent automake-mode,
24828 believe a hypothetical automake-mode would go to makefile-mode,
24829 not the other way around.
24830
24831 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
24832
24833 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24834 hunk-end tags (Bug#8672).
24835
24836 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24837 vc-annotate-show-diff-revision-at-line (Bug#8671).
24838
24839 2011-05-14 Glenn Morris <rgm@gnu.org>
24840
24841 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24842 in the middle of an existing one with multiple authors. (Bug#8645)
24843 (change-log-font-lock-keywords): Also handle multiple author lines
24844 with leading tabs. (Bug#8644)
24845
24846 * calendar/appt.el (appt-check): Rename some local variables.
24847 Some simplification/reordering.
24848
24849 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24850 (feedmail-sendmail-f-doesnt-sell-me-out)
24851 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24852 (feedmail-debug-sit-for, feedmail-queue-express-hook)
24853 (feedmail-queue-runner-message-sender): Set :version.
24854 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24855 (bbdb-dwim-net-address, vm-mail): Declare.
24856 (feedmail-binmail-gnulinuxish-template):
24857 Rename from feedmail-binmail-linuxish-template.
24858 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24859 Use insert-buffer-substring.
24860
24861 2011-05-14 Bill Carpenter <bill@carpenter.org>
24862
24863 * mail/feedmail.el (feedmail-patch-level): Increase.
24864 (feedmail-debug): New custom group.
24865 (feedmail-confirm-outgoing-timeout)
24866 (feedmail-sendmail-f-doesnt-sell-me-out)
24867 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24868 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24869 (feedmail-sender-line, feedmail-from-line)
24870 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24871 (feedmail-spray-this-address)
24872 (feedmail-spray-address-fiddle-plex-list)
24873 (feedmail-queue-use-send-time-for-date)
24874 (feedmail-queue-use-send-time-for-message-id)
24875 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24876 (feedmail-buffer-eating-function):
24877 Doc fixes.
24878 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24879 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24880 (feedmail-message-action-scroll-down): New functions.
24881 (feedmail-queue-directory, feedmail-queue-draft-directory):
24882 Use expand-file-name.
24883 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24884 Remove C-v help entry.
24885 (feedmail-queue-buffer-file-name): New variable.
24886 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24887 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24888 (feedmail-message-action-send-strong, feedmail-message-action-edit)
24889 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24890 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24891 (feedmail-message-action-toggle-spray)
24892 (feedmail-run-the-queue-no-prompts)
24893 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24894 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24895 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24896 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24897 (feedmail-envelope-deducer, feedmail-fiddle-from)
24898 (feedmail-fiddle-sender, feedmail-default-date-generator)
24899 (feedmail-fiddle-date, feedmail-fiddle-message-id)
24900 (feedmail-fiddle-spray-address)
24901 (feedmail-fiddle-list-of-spray-fiddle-plexes)
24902 (feedmail-fiddle-list-of-fiddle-plexes)
24903 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24904 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24905 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24906 Change default. Doc fix.
24907 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24908 (feedmail-binmail-linuxish-template): New constant.
24909 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
24910 Respect feedmail-sendmail-f-doesnt-sell-me-out.
24911 (feedmail-send-it): Add debug call.
24912 Use feedmail-queue-buffer-file-name, and
24913 feedmail-send-it-immediately-wrapper.
24914 (feedmail-message-action-send): Add debug call.
24915 Use feedmail-send-it-immediately-wrapper.
24916 (feedmail-queue-express-to-queue): Add debug call.
24917 Run feedmail-queue-express-hook.
24918 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
24919 (feedmail-message-action-help-blat):
24920 Rename from feedmail-queue-send-edit-prompt-help-first.
24921 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
24922 Check line-endings. Handle errors better.
24923 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24924 Doc fix. Add debug call.
24925 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
24926 Use feedmail-queue-send-edit-prompt-inner.
24927 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24928 (feedmail-queue-send-edit-prompt-inner): New function, extracted
24929 from feedmail-queue-send-edit-prompt.
24930 (feedmail-queue-send-edit-prompt-help)
24931 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24932 (feedmail-tidy-up-slug): Add debug call.
24933 Respect feedmail-queue-slug-suspect-regexp.
24934 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24935 (feedmail-dump-message-to-queue): Add debug call.
24936 Expand queue-directory.
24937 (feedmail-dump-message-to-queue): Change message slightly.
24938 Use feedmail-say-chatter.
24939 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
24940 (feedmail-send-it-immediately-wrapper): New function.
24941 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
24942 Insert empty string rather than newline. Handle full-frame case.
24943 Use catch/throw. Use feedmail-say-chatter.
24944 (feedmail-fiddle-from): Try mail-host-address.
24945 (feedmail-default-message-id-generator): Doc fix.
24946 Bind system-time-locale. Handle missing end.
24947 (feedmail-fiddle-x-mailer): Add debug call.
24948 Handle feedmail-x-mailer-line being nil.
24949 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24950 Add debug call. Use buffer-substring-no-properties.
24951 (feedmail-say-debug, feedmail-say-chatter): New functions.
24952 (feedmail-find-eoh): Give an explicit error.
24953
24954 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
24955
24956 * net/newst-treeview.el (newsticker-treeview-face): Change default
24957 family from helvetica to sans.
24958 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24959 etc/images/newsticker.
24960
24961 * net/newst-reader.el (newsticker-feed-face): Change default
24962 family from helvetica to sans.
24963
24964 * net/newst-plainview.el (newsticker-new-item-face)
24965 (newsticker-old-item-face, newsticker-immortal-item-face)
24966 (newsticker-obsolete-item-face, newsticker-date-face)
24967 (newsticker-statistics-face): Change default family from
24968 helvetica to sans.
24969 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24970 etc/images/newsticker.
24971
24972 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24973 (newsticker--process-auto-mark-filter-match): Tell user about
24974 auto-marking.
24975
24976 2011-05-13 Didier Verna <didier@xemacs.org>
24977
24978 Common Lisp indentation improvements on defmethod and lambda-lists.
24979 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24980 TODO entries.
24981 (lisp-lambda-list-keyword-parameter-indentation)
24982 (lisp-lambda-list-keyword-parameter-alignment)
24983 (lisp-lambda-list-keyword-alignment): New customizable user options.
24984 (lisp-indent-defun-method): Improve docstring.
24985 (extended-loop-p): Fix comment.
24986 (lisp-indent-lambda-list-keywords-regexp): New variable.
24987 (lisp-indent-lambda-list): New function.
24988 (lisp-indent-259): Use it.
24989 (lisp-indent-defmethod): Support for more than one
24990 method qualifier and properly indent methods lambda-lists.
24991 (defgeneric): Provide a missing common-lisp-indent-function property.
24992
24993 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
24994
24995 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24996 bounds for the empty string (bug#8667).
24997
24998 2011-05-13 Glenn Morris <rgm@gnu.org>
24999
25000 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
25001
25002 * mail/sendmail.el (sendmail-program): Try executable-find first.
25003 (sendmail-send-it): `sendmail-program' cannot be unbound.
25004
25005 * calendar/appt.el (appt-make-list): Simplify.
25006 (appt-time-msg-list): Doc fix.
25007 (appt-check): Change mode-line message at the time of the appointment.
25008
25009 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
25010
25011 * progmodes/ld-script.el (ld-script-keywords)
25012 (ld-script-builtins): Update keywords list.
25013
25014 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25015
25016 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
25017
25018 * shell.el (shell-completion-vars): New function.
25019 (shell-mode):
25020 * simple.el (read-shell-command): Use it.
25021 (blink-matching-open): No need for " [...]" in minibuffer-message.
25022
25023 2011-05-12 Glenn Morris <rgm@gnu.org>
25024
25025 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
25026 (appt-check): Simplify.
25027
25028 2011-05-12 Eli Zaretskii <eliz@gnu.org>
25029
25030 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
25031 literal "/dev/null".
25032
25033 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25034
25035 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
25036 Fix typo.
25037
25038 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
25039
25040 * progmodes/which-func.el (which-function):
25041 Use add-log-current-defun instead of add-log-current-defun-function,
25042 which might not be defined (Bug#8260).
25043
25044 2011-05-12 Glenn Morris <rgm@gnu.org>
25045
25046 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
25047 Let byte-compile-initial-macro-environment always take precedence.
25048
25049 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
25050
25051 * net/rcirc.el: Add support for SSL/TLS connections.
25052 (rcirc-server-alist): New field `encryption'.
25053 (rcirc): Check `encryption' settings.
25054 (rcirc-connect): New arg `encryption'. Use open-network-stream.
25055 Merge make-local-variable into `set'.
25056 (rcirc--connection-open-p): New function.
25057 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
25058 the process is not a network process (e.g. running gnutls-cli).
25059 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
25060 Make rcirc-(en|de)code-coding-system local here.
25061 (rcirc-mode): Merge make-local-variable into `set'.
25062 (rcirc-parent-buffer): Make permanent buffer-local.
25063 (rcirc-multiline-minor-mode): Don't do it here.
25064 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
25065 there's no server buffer.
25066
25067 2011-05-11 Glenn Morris <rgm@gnu.org>
25068
25069 * newcomment.el (comment-kill): Prefix "unused" local.
25070
25071 * term/w32console.el (get-screen-color): Declare.
25072
25073 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
25074 Handle symbol elements of byte-compile-initial-macro-environment.
25075
25076 2011-05-10 Leo Liu <sdl.web@gmail.com>
25077
25078 * bookmark.el (bookmark-bmenu-mode-map):
25079 Bind bookmark-bmenu-search to `/'.
25080
25081 * mail/footnote.el: Convert to utf-8 encoding.
25082 (footnote-unicode-string, footnote-unicode-regexp): New variable.
25083 (Footnote-unicode): New function.
25084 (footnote-style-alist): Add unicode style to the list.
25085 (footnote-style): Doc fix.
25086
25087 2011-05-10 Jim Meyering <meyering@redhat.com>
25088
25089 Fix doubled-word typos.
25090 * international/quail.el (quail-insert-kbd-layout): and and -> and
25091 * kermit.el: and and -> and
25092 * net/ldap.el (ldap-search-internal): to to -> to
25093 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
25094 * progmodes/js.el (js-mode): and and -> and
25095 * textmodes/artist.el (artist-move-to-xy): at at -> at
25096 (artist-draw-region-trim-line-endings): if if -> if
25097 And Safetyc -> Safety.
25098 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
25099
25100 2011-05-10 Glenn Morris <rgm@gnu.org>
25101 Stefan Monnier <monnier@iro.umontreal.ca>
25102
25103 * files.el (hack-one-local-variable-eval-safep):
25104 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
25105
25106 2011-05-10 Glenn Morris <rgm@gnu.org>
25107
25108 * calendar/diary-lib.el (diary-list-entries-hook)
25109 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
25110 (diary-nongregorian-marking-hook, diary-list-entries)
25111 (diary-include-other-diary-files, diary-mark-entries)
25112 (diary-mark-included-diary-files): Doc fixes.
25113
25114 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25115
25116 * misc.el: Require tabulated-list.el during compilation.
25117
25118 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25119
25120 * progmodes/compile.el (compilation-start):
25121 Run compilation-filter-hook for the async case too.
25122 (compilation-filter-hook): Doc fix.
25123
25124 2011-05-09 Deniz Dogan <deniz@dogan.se>
25125
25126 * wdired.el: Remove outdated installation comment. Fix usage
25127 comment.
25128
25129 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
25130
25131 * misc.el: Implement new command `list-dynamic-libraries'.
25132 (list-dynamic-libraries--loaded-only-p): New variable.
25133 (list-dynamic-libraries--refresh): New function.
25134 (list-dynamic-libraries): New command.
25135
25136 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
25137
25138 * progmodes/compile.el (compilation-error-regexp-alist-alist):
25139 Fix the ant regexp to handle end-line and end-column info from jikes.
25140 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
25141 higher priority to avoid clobbering by gnu.
25142
25143 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25144
25145 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
25146 if the face has existing theme settings (Bug#8454).
25147
25148 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
25149
25150 * progmodes/perl-mode.el (perl-imenu-generic-expression):
25151 Only match variables declared via `my' or `our' (Bug#8261).
25152
25153 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
25154 special file names `.' and `..' (Bug#8259).
25155
25156 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
25157
25158 * progmodes/grep.el (grep-mode-font-lock-keywords):
25159 Remove buffer-changing entries.
25160 (grep-filter): New function.
25161 (grep-mode): Add it to compilation-filter-hook.
25162
25163 * progmodes/compile.el (compilation-filter-hook)
25164 (compilation-filter-start): New defvars.
25165 (compilation-filter): Call compilation-filter-hook prior to
25166 updating the process mark.
25167
25168 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
25169
25170 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
25171
25172 2011-05-07 Eli Zaretskii <eliz@gnu.org>
25173
25174 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
25175 mailclient-send-it even if window-system is nil. (Bug#8595)
25176
25177 * term/w32console.el (terminal-init-w32console):
25178 Call get-screen-color and use its output to set the frame
25179 background-mode. (Bug#8597)
25180
25181 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
25182
25183 Make bytecomp.el understand that defmethod defines funs (bug#8631).
25184 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
25185 New functions.
25186 (defgeneric, eieio--defmethod): Use them.
25187 (eieio-defgeneric): Remove.
25188 (defmethod): Call defgeneric in a way visible to the byte-compiler.
25189
25190 2011-05-07 Glenn Morris <rgm@gnu.org>
25191
25192 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
25193 Use let rather than let*.
25194 (timeclock-find-discrep): Remove unused local.
25195
25196 * calendar/diary-lib.el (diary-comment-start): Doc fix.
25197
25198 * calendar/appt.el (appt-time-msg-list): Doc fix.
25199
25200 2011-05-06 Noah Friedman <friedman@splode.com>
25201
25202 * apropos.el (apropos-print-doc): Only use
25203 emacs-lisp-docstring-fill-column when it is bound to an integer,
25204 per that variable's documentation.
25205
25206 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
25207
25208 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
25209 and warnings are not silently discarded (e.g. use -d instead of -P).
25210
25211 2011-05-06 Glenn Morris <rgm@gnu.org>
25212
25213 * calendar/appt.el (appt-message-warning-time): Doc fix.
25214 (appt-warning-time-regexp): New option.
25215 (appt-make-list): Respect appt-message-warning-time.
25216
25217 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
25218 New options.
25219 (diary-add-to-list): Strip comments from the displayed string.
25220 (diary-mode): Set comment-start and comment-end.
25221
25222 * vc/diff-mode.el (smerge-refine-subst): Declare.
25223 (diff-refine-hunk): Don't require smerge-mode when compiling.
25224
25225 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
25226
25227 * simple.el (list-processes): Return nil as the docstring says.
25228
25229 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25230
25231 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
25232 to "".
25233 (ange-ftp-write-region, ange-ftp-insert-file-contents)
25234 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
25235 determining of binary transfer. (Bug#7383)
25236
25237 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
25238
25239 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25240 Fix port computation bug. (Bug#8618)
25241
25242 2011-05-05 Glenn Morris <rgm@gnu.org>
25243
25244 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
25245
25246 * simple.el (shell-dynamic-complete-functions)
25247 (comint-dynamic-complete-functions): Declare.
25248
25249 * net/network-stream.el (gnutls-negotiate):
25250 * simple.el (tabulated-list-print): Fix declarations.
25251
25252 * progmodes/gud.el (syntax-symbol, syntax-point):
25253 Remove unnecessary and incorrect declarations.
25254
25255 * emacs-lisp/check-declare.el (check-declare-scan):
25256 Handle byte-compile-initial-macro-environment in bytecomp.el.
25257
25258 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
25259
25260 Fix earlier half-done eieio-defmethod change (bug#8338).
25261 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
25262 Streamline and change calling convention.
25263 (defmethod): Adjust accordingly and simplify.
25264 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
25265 new eieio--defmethod.
25266 (slot-boundp): Minor CSE simplification.
25267
25268 2011-05-05 Milan Zamazal <pdm@zamazal.org>
25269
25270 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
25271 (glasses-make-readable): Use glasses-separate-capital-groups.
25272
25273 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
25274
25275 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
25276 (warning-series): Doc fix.
25277 (display-warning): Don't try to create the buffer if we just found it.
25278
25279 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
25280
25281 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
25282 (autoload-find-generated-file): New function.
25283 (generate-file-autoloads): Bind generated-autoload-file to
25284 buffer-file-name.
25285 (update-file-autoloads, update-directory-autoloads):
25286 Use autoload-find-generated-file. If called interactively, prompt for
25287 output file (Bug#7989).
25288 (batch-update-autoloads): Doc fix.
25289
25290 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
25291
25292 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
25293
25294 2011-05-04 Glenn Morris <rgm@gnu.org>
25295
25296 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
25297 function, so it follows changes in calendar-date-style.
25298 (diary-fancy-date-matcher): New function.
25299 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
25300 (diary-fancy-font-lock-fontify-region-function):
25301 Use diary-fancy-date-pattern as a function.
25302
25303 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
25304 non-numbers for `year' etc pseudo-variables. (Bug#8583)
25305
25306 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
25307
25308 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
25309 instead of positional arguments. Allow :keylist and :crlfiles
25310 arguments.
25311 (open-gnutls-stream): Call it.
25312
25313 * net/network-stream.el (network-stream-open-starttls): Adjust to
25314 call `gnutls-negotiate' with :process and :hostname arguments.
25315
25316 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
25317
25318 * minibuffer.el (completion--message): New function.
25319 (completion--do-completion, minibuffer-complete)
25320 (minibuffer-force-complete, minibuffer-complete-word): Use it.
25321 (completion--do-completion): Don't ignore completion-auto-help when in
25322 icomplete-mode.
25323
25324 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
25325 internal encoding (e.g. tibetan zero is not whitespace).
25326 (global-whitespace-mode): Prefer save-current-buffer.
25327 (whitespace-trailing-regexp): Remove useless save-match-data.
25328 (whitespace-empty-at-bob-regexp): Minor simplification.
25329
25330 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
25331
25332 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
25333
25334 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
25335
25336 * textmodes/ispell.el (ispell-add-per-file-word-list):
25337 Use `concat' to create string for insertion.
25338
25339 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25340
25341 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
25342 Avoid open-line which runs post-self-insert-hook.
25343 (bibtex-fill-entry): Remove unused `end' var.
25344
25345 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
25346
25347 * textmodes/ispell.el (ispell-add-per-file-word-list):
25348 Protect against `nil' value of `comment-start' (Bug#8579).
25349
25350 2011-05-03 Leo Liu <sdl.web@gmail.com>
25351
25352 * isearch.el (isearch-yank-pop): New command.
25353 (isearch-mode-map): Bind it to `M-y'.
25354 (isearch-forward): Mention it.
25355
25356 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
25357
25358 * simple.el (minibuffer-complete-shell-command): Remove.
25359 (minibuffer-local-shell-command-map): Use completion-at-point.
25360 (read-shell-command): Setup completion vars here instead.
25361 (read-expression-map): Bind TAB to symbol completion.
25362
25363 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
25364 error directly rather via storing it into `results'.
25365
25366 2011-05-02 Leo Liu <sdl.web@gmail.com>
25367
25368 * vc/diff.el: Fix description.
25369
25370 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
25371
25372 * server.el (server-eval-at): New function.
25373
25374 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
25375
25376 * net/network-stream.el (open-network-stream): Take a :nowait
25377 parameter and pass it on to `make-network-process'.
25378 (network-stream-open-plain): Ditto.
25379
25380 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
25381
25382 * faces.el (face-spec-set-match-display): Don't match toolkit
25383 options on terminal frames.
25384
25385 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
25386
25387 * progmodes/pascal.el: Use lexical binding.
25388 (pascal-mode-map): Remove author preferences.
25389
25390 * pcomplete.el (pcomplete-std-complete): Don't abuse
25391 completion-at-point.
25392
25393 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25394
25395 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
25396 removing code that has been dead since 1991 or so.
25397
25398 * startup.el (command-line): When warning about "_emacs", use a
25399 delayed warning to allow the user to filter it out.
25400
25401 2011-04-28 Deniz Dogan <deniz@dogan.se>
25402
25403 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
25404 user has not joined.
25405
25406 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25407
25408 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
25409 aren't any completions at point.
25410
25411 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
25412
25413 * subr.el (display-delayed-warnings): New function.
25414 (delayed-warnings-hook): New variable.
25415
25416 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
25417
25418 * minibuffer.el (completion-at-point, completion-help-at-point):
25419 Don't presume that a given completion-at-point-function will always
25420 use the same calling convention.
25421
25422 * pcomplete.el (pcomplete-completions-at-point):
25423 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
25424 pcomplete-seen is non-nil.
25425 (pcomplete-comint-setup): Also recognize the new comint/shell
25426 completion functions.
25427 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
25428 pcomplete-seen is non-nil.
25429
25430 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
25431
25432 * calendar/icalendar.el (diary-lib): Add require statement.
25433 (icalendar--create-uid): Read out a uid from a text-property on
25434 the first character in the entry. This allows for code to add its
25435 own uid to the entry.
25436 (icalendar--convert-float-to-ical): Add export of
25437 `diary-float'-entries save for those with the optional DAY
25438 argument.
25439
25440 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
25441
25442 * subr.el (shell-quote-argument): Use alternate escaping strategy
25443 when we spot a variable reference in a string.
25444
25445 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25446
25447 * cus-start.el (all): Define customization for debug-on-event.
25448
25449 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
25450
25451 * subr.el (shell-quote-argument): Escape correctly under Windows.
25452
25453 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25454
25455 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
25456
25457 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
25458
25459 * net/tramp.el (tramp-process-actions): Add POS argument.
25460 Delete region between POS and (pos).
25461
25462 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25463 Use `nil' position in `tramp-process-actions' call.
25464 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
25465
25466 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
25467 position in `tramp-process-actions' call.
25468
25469 * net/trampver.el: Update release number.
25470
25471 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
25472
25473 * custom.el (defcustom): Obey lexical-binding.
25474
25475 Fix octave-inf completion problems reported by Alexander Klimov.
25476 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
25477 Inherit from octave-mode-syntax-table.
25478 (inferior-octave-mode): Set info-lookup-mode.
25479 (inferior-octave-completion-at-point): New function.
25480 (inferior-octave-complete): Use it and completion-in-region.
25481 (inferior-octave-dynamic-complete-functions): Use it as well, and use
25482 comint-filename-completion.
25483 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
25484 symbol elements which shouldn't be word elements.
25485 (octave-font-lock-keywords, octave-beginning-of-defun)
25486 (octave-function-header-regexp): Adjust regexps accordingly.
25487 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
25488
25489 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
25490
25491 * net/gnutls.el (gnutls-errorp): Declare before first use.
25492
25493 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
25494
25495 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
25496 verify-error, and verify-hostname-error parameters. Check whether
25497 default trustfile exists before going to use it. Add missing
25498 argument to gnutls-message-maybe call. Return value.
25499 Reported by Claudio Bley <claudio.bley@gmail.com>.
25500 (open-gnutls-stream): Add usage example.
25501
25502 * net/network-stream.el (network-stream-open-starttls): Give host
25503 parameter to `gnutls-negotiate'.
25504 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
25505 * subr.el (shell-quote-argument): Escape correctly under Windows.
25506
25507 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
25508
25509 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
25510 Use correct match group (bug#8438).
25511
25512 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25513
25514 * emacs-lisp/package.el (package-built-in-p): Fix typo.
25515 (package-menu--generate): New arg specifying packages to show.
25516 (package-menu-refresh, package-menu-execute, list-packages):
25517 Callers changed.
25518 (package-show-package-list): New function, replacing deleted
25519 package--list-packages (renamed because it is non-internal).
25520
25521 * finder.el (finder-list-matches): Use package-show-package-list
25522 instead of deleted package--list-packages.
25523
25524 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
25525 Based on a previous implementation by Juanma Barranquero (Bug#8366).
25526 (vc-annotate-mode-map): Bind it to RET.
25527
25528 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
25529
25530 * progmodes/etags.el (next-file): Don't use set-buffer to change
25531 buffers (Bug#8478).
25532
25533 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
25534
25535 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
25536
25537 * apropos.el (apropos-label-face): Avoid variable-pitch face.
25538 (apropos-accumulator): Doc fix.
25539 (apropos-function, apropos-macro, apropos-command)
25540 (apropos-variable, apropos-face, apropos-group, apropos-widget)
25541 (apropos-plist): Add face property.
25542 (apropos-symbols-internal): Fix indentation.
25543 (apropos-print): Simplify help, and recognize apropos-multi-type.
25544 (apropos-print-doc): Use button-type-get to extract the button's
25545 face property. Fill docstring (Bug#8352).
25546
25547 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
25548
25549 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
25550
25551 * play/mpuz.el (mpuz-silent): Doc fix.
25552 (mpuz-mode-map): Use mapc.
25553 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
25554 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
25555 Fix typos in docstrings.
25556
25557 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
25558 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
25559
25560 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
25561
25562 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
25563
25564 * minibuffer.el (completion--do-completion): Avoid the "Next char
25565 not unique" prompt if icomplete-mode is enabled (Bug#5849).
25566
25567 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
25568 mouse-2 into unread-command-events, it is interpreted correctly.
25569
25570 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
25571 (image-toggle-display): Doc fix.
25572
25573 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
25574
25575 * textmodes/page.el (what-page): Use line-number-at-pos to
25576 calculate line number (Bug#6825).
25577
25578 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25579
25580 * eshell/esh-mode.el (find-tag-interactive): Declare function.
25581 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
25582 Pass argument NO-DEFAULT to `find-tag-interactive'.
25583
25584 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
25585
25586 Lexical-binding cleanup.
25587
25588 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
25589 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
25590 * progmodes/ada-prj.el (ada-prj-initialize-values)
25591 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
25592 (ada-prj-show-value):
25593 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
25594 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
25595 (antlr-invalidate-context-cache, antlr-options-menu-filter)
25596 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
25597 * progmodes/bug-reference.el (bug-reference-push-button):
25598 * progmodes/fortran.el (fortran-line-length):
25599 * progmodes/glasses.el (glasses-change):
25600 * progmodes/octave-mod.el (octave-fill-paragraph):
25601 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
25602 (python-pdbtrack-grub-for-buffer, python-sentinel):
25603 * progmodes/sql.el (sql-save-connection):
25604 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
25605 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
25606 Mark unused parameters.
25607
25608 * progmodes/compile.el (compilation--flush-directory-cache)
25609 (compilation--flush-parse, compile-internal): Mark unused parameters.
25610 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
25611 (compilation-next-error-function): Remove unused variable `timestamp'.
25612
25613 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
25614 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
25615
25616 * progmodes/dcl-mode.el (dcl-end-of-command):
25617 Remove unused variable `start'.
25618 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
25619 (dcl-option-value-basic, dcl-option-value-offset)
25620 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
25621 Mark unused parameters.
25622 (dcl-save-local-variable): Remove unused variable `val'.
25623 (mode): Declare.
25624
25625 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
25626 Mark unused parameters.
25627 (delphi-ignore-changes): Move before first use.
25628 (delphi-charset-token-at): Remove unused variable `start'.
25629 (delphi-else-start): Remove unused variable `if-count'.
25630 (delphi-comment-block-start, delphi-comment-block-end):
25631 Remove unused variable `kind'.
25632 (delphi-indent-line): Remove unused variable `new-point'.
25633
25634 * progmodes/ebrowse.el (ebrowse-files-list)
25635 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
25636 Mark unused parameters. Don't quote `lambda'.
25637 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
25638 Don't quote `lambda'.
25639 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
25640 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
25641 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
25642 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
25643 Use `ignore-errors'.
25644 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
25645 (ebrowse-view/find-file-and-search-pattern)
25646 (ebrowse-view/find-member-declaration/definition):
25647 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
25648 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
25649 Rename parameter PREFIX-ARG to PREFIX.
25650 (ebrowse-tags-read-name): Remove unused variables `start' and
25651 `member-info'.
25652 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
25653 to `tags-file'.
25654
25655 * progmodes/etags.el (local-find-tag-hook): Declare.
25656 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
25657 Mark unused parameters.
25658
25659 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
25660 (executable-interpret): Mark unused parameter.
25661
25662 * progmodes/flymake.el (flymake-process-sentinel)
25663 (flymake-after-change-function)
25664 (flymake-create-temp-with-folder-structure)
25665 (flymake-get-include-dirs-dot): Mark unused parameters.
25666 (flymake-safe-delete-directory): Remove unused variable `err'.
25667
25668 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
25669 (speedbar-timer-fn, speedbar-line-text)
25670 (speedbar-change-expand-button-char, speedbar-delete-subblock)
25671 (speedbar-center-buffer-smartly): Declare functions.
25672 (gdb-find-watch-expression): Remove unused variable `array'.
25673 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
25674 (gdb-starting): Mark unused parameters.
25675 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
25676 (gdb-table-string): Remove unused variable `res'.
25677 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
25678 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
25679 (gdb-display-buffer): Remove unused variable `cur-size'.
25680
25681 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
25682 allow lexical-binding compilation.
25683 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
25684 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
25685 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
25686 Mark unused parameters.
25687 (gud-gdb-marker-filter): Remove unused variable `match'.
25688 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
25689 lambda expressions and funcall them, instead of using `fset'.
25690
25691 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
25692 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
25693
25694 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
25695 variable `header-beg'; use `let'.
25696
25697 * progmodes/icon.el (indent-icon-exp): Remove unused variables
25698 `restart', `last-sexp' and `at-do'.
25699
25700 * progmodes/js.el (js--debug): Mark unused parameter.
25701 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
25702 (js--splice-into-items): Remove unused variable `item'.
25703 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
25704
25705 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
25706 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
25707 (makefile-complete): Remove unused variable `try'.
25708 (makefile-fill-paragraph, makefile-match-function-end):
25709 Mark unused parameters.
25710
25711 * progmodes/octave-inf.el (inferior-octave-complete):
25712 Remove unused variable `proc'.
25713 (inferior-octave-output-digest): Mark unused parameter.
25714
25715 * progmodes/perl-mode.el (perl-calculate-indent):
25716 Remove unused variable `err'.
25717
25718 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
25719 (prolog-indent-line): Mark unused parameters.
25720 (prolog-indent-line): Remove unused variable `beg'.
25721
25722 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
25723 (reporter-dont-compact-list): Declare.
25724
25725 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
25726 Remove unused variable `char'.
25727 (sh-debug): Mark unused parameter.
25728 (sh-get-indent-info): Remove unused variable `start'.
25729 (sh-calculate-indent): Remove unused variable `var'.
25730
25731 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
25732 (simula-electric-keyword): Remove unused variable `null'.
25733 (simula-search-backward, simula-search-forward): Remove unused
25734 variables `begin' and `end'.
25735
25736 * progmodes/vera-mode.el (vera-guess-basic-syntax):
25737 Remove unused variable `pos'.
25738 (vera-electric-tab, vera-comment-uncomment-region):
25739 Mark unused parameters.
25740 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
25741
25742 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
25743
25744 * emacs-lisp/package.el (package--builtins, package-alist)
25745 (package-load-descriptor, package-built-in-p, package-activate)
25746 (define-package, package-installed-p)
25747 (package-compute-transaction, package-buffer-info)
25748 (package--push): Doc fix. Distinguish more clearly between
25749 version strings and version lists.
25750
25751 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
25752
25753 Lexical-binding cleanup.
25754
25755 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25756 (5x5-make-mutate-best):
25757 * play/fortune.el (fortune-in-buffer):
25758 * play/gomoku.el (gomoku-init-display):
25759 * play/solitaire.el (solitaire, solitaire-do-check):
25760 * play/tetris.el (tetris-default-update-speed-function):
25761 Mark unused parameters.
25762
25763 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25764 (bubbles--shift): Remove unused variable `char-org'.
25765 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
25766 (bubbles--show-images): Remove unused variable `char'.
25767
25768 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25769 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25770 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25771 (decipher-analyze-buffer): Use ?\s.
25772 (decipher-make-checkpoint): Remove unused variable `mapping'.
25773
25774 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25775
25776 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25777 Remove unused variable `result'; use `let'.
25778
25779 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25780 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25781 (gametree-children-shown-p, gametree-compute-reduced-score):
25782 Use `ignore-errors'.
25783
25784 * play/handwrite.el (ps-lpr-switches): Declare.
25785 (handwrite): Remove unused variables `pmin' and `lastp'.
25786
25787 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25788
25789 * play/landmark.el (landmark-init-display)
25790 (landmark-update-naught-weights): Mark unused parameters.
25791 (landmark-y): Remove unused variable `noise'. Simplify.
25792 (landmark-human-plays): Remove unused variable `score'.
25793
25794 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25795 (mpuz-try-proposal): Remove unused variable `game'.
25796
25797 * play/zone.el (life-patterns): Declare.
25798
25799 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
25800
25801 * vc/vc.el (ediff-vc-internal): Declare function.
25802
25803 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25804
25805 * shell.el: Use lexical-binding and std completion UI.
25806 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25807 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25808 comint-preoutput-filter-functions rather than on
25809 comint-output-filter-functions.
25810 (shell-command-completion, shell--command-completion-data)
25811 (shell-filename-completion, shell-environment-variable-completion)
25812 (shell-c-a-p-replace-by-expanded-directory): New functions.
25813 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25814 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25815 (shell-dynamic-complete-environment-variable): Use them.
25816 (shell-dynamic-complete-as-environment-variable)
25817 (shell-dynamic-complete-as-command): Remove.
25818 (shell-match-partial-variable): Match past point.
25819 * comint.el: Clean up use of completion-at-point-functions.
25820 (comint-completion-at-point): New function.
25821 (comint-mode): Use it completion-at-point-functions.
25822 (comint-dynamic-complete): Make it obsolete.
25823 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25824 (comint-c-a-p-replace-by-expanded-history): New function.
25825 (comint-dynamic-complete-functions)
25826 (comint-replace-by-expanded-history): Use it.
25827 * minibuffer.el (completion-table-with-terminator): Allow dynamic
25828 termination strings. Try harder to avoid second try-completion.
25829 (completion-in-region-mode-map): Disable bindings that don't work yet.
25830
25831 * comint.el: Use lexical-binding. Require CL.
25832 (comint-dynamic-complete-functions): Use comint-filename-completion.
25833 (comint-completion-addsuffix): Tweak custom type.
25834 (comint-filename-completion, comint--common-suffix)
25835 (comint--common-quoted-suffix, comint--table-subvert)
25836 (comint--complete-file-name-data): New functions.
25837 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25838 (comint-dynamic-list-filename-completions): Use them.
25839 (comint-dynamic-simple-complete): Make obsolete.
25840
25841 * minibuffer.el (completion-in-region-mode):
25842 Keep completion-in-region-mode--predicate global.
25843 (completion-in-region--postch):
25844 Assume completion-in-region-mode--predicate is not null.
25845
25846 * progmodes/flymake.el (flymake-start-syntax-check-process):
25847 Obey `dir'. Simplify.
25848
25849 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25850 we're in VC after all.
25851
25852 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
25853
25854 * vc/vc.el (vc-diff-build-argument-list-internal)
25855 (vc-version-ediff, vc-ediff): New commands.
25856 (vc-version-diff): Use vc-diff-build-argument-list-internal.
25857
25858 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
25859
25860 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25861 add sanity check.
25862
25863 * obsolete/erc-hecomplete.el: Make obsolete.
25864 * obsolete/: Standardize obsolescence info in the header.
25865
25866 2011-04-20 Glenn Morris <rgm@gnu.org>
25867
25868 * calendar/solar.el (solar-horizontal-coordinates):
25869 Use the longitude argument rather than `calendar-longitude'.
25870 (solar-date-next-longitude): Remove unused locals.
25871
25872 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
25873
25874 * whitespace.el: New version 13.2.1.
25875
25876 2011-04-20 felix <EmacsWiki> (tiny change)
25877
25878 * whitespace.el (global-whitespace-mode): Keep highlight when
25879 switching between major modes on a file.
25880
25881 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
25882
25883 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25884 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25885 multi-line comments as well.
25886
25887 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
25888
25889 Lexical-binding cleanup.
25890
25891 * arc-mode.el (archive-mode-revert):
25892 * cmuscheme.el (scheme-interactively-start-process):
25893 * custom.el (custom-initialize-delay):
25894 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25895 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25896 * emacs-lock.el (emacs-lock-clear-sentinel):
25897 * ezimage.el (defezimage):
25898 * follow.el (follow-avoid-tail-recenter):
25899 * fringe.el (set-fringe-mode-1):
25900 * generic-x.el (bat-generic-mode-compile):
25901 * help-mode.el (help-info-variable, help-do-xref)
25902 (help-mode-revert-buffer):
25903 * help.el (view-emacs-todo):
25904 * iswitchb.el (iswitchb-completion-help):
25905 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25906 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25907 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25908 * locate.el (locate-update):
25909 * longlines.el (longlines-encode-region)
25910 (longlines-after-change-function):
25911 * outline.el (outline-isearch-open-invisible):
25912 * ps-def.el (declare-function, charset-dimension, char-width)
25913 (encode-char):
25914 * ps-mule.el (ps-mule-plot-string):
25915 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25916 (recentf-edit-list-select, recentf-edit-list-validate)
25917 (recentf-open-files-action):
25918 * rect.el (delete-whitespace-rectangle-line)
25919 (rectangle-number-line-callback):
25920 * register.el (window-configuration-to-register)
25921 (frame-configuration-to-register):
25922 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25923 * select.el (xselect-convert-to-string, xselect-convert-to-length)
25924 (xselect-convert-to-targets, xselect-convert-to-delete)
25925 (xselect-convert-to-filename, xselect-convert-to-charpos)
25926 (xselect-convert-to-lineno, xselect-convert-to-colno)
25927 (xselect-convert-to-os, xselect-convert-to-host)
25928 (xselect-convert-to-user, xselect-convert-to-class)
25929 (xselect-convert-to-name, xselect-convert-to-integer)
25930 (xselect-convert-to-atom, xselect-convert-to-identity):
25931 * subr.el (declare, ignore, process-kill-without-query)
25932 (text-clone-maintain):
25933 * terminal.el (te-get-char, te-tic-sentinel):
25934 * tool-bar.el (tool-bar-make-keymap):
25935 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25936 * type-break.el (type-break-mode, type-break-noninteractive-query):
25937 * view.el (View-back-to-mark):
25938 * wid-browse.el (widget-browse-action, widget-browse-widget)
25939 (widget-browse-widgets, widget-browse-sexp):
25940 * widget.el (define-widget-keywords):
25941 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25942 Mark unused parameters.
25943
25944 * align.el (align-adjust-col-for-rule): Mark unused parameter.
25945 (align-areas): Remove unused variable `look'.
25946 (align-region): Remove unused variables `real-end' and `pos-list'.
25947
25948 * apropos.el (apropos-score-doc): Remove unused variable `i'.
25949
25950 * bindings.el (mode-line-modified, mode-line-remote):
25951 Mark unused parameters.
25952 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25953
25954 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25955 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25956
25957 * comint.el (comint-history-isearch-pop-state)
25958 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25959 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25960 (comint-substitute-in-file-name): Doc fix.
25961
25962 * completion.el (cmpl-statistics-block): Mark unused parameter.
25963 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25964 (save-completions-to-file, load-completions-from-file):
25965 Remove unused local variable `e'.
25966
25967 * composite.el (compose-chars): Remove unused variable `len'.
25968 (lgstring-insert-glyph): Remove unused variable `g'.
25969 (compose-glyph-string): Remove unused variables `ascent',
25970 `descent', `lbearing' and `rbearing'.
25971 (compose-glyph-string-relative): Remove unused variables
25972 `lbearing', `rbearing' and `wadjust'.
25973 (compose-gstring-for-graphic): Remove unused variables `header',
25974 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
25975 (compose-gstring-for-terminal): Remove unused variables `header'
25976 and `nchars'. Use `let', not `let*'.
25977
25978 * cus-edit.el (Custom-set, Custom-save, custom-reset)
25979 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25980 (Custom-buffer-done, custom-buffer-create-internal)
25981 (custom-browse-visibility-action, custom-browse-group-tag-action)
25982 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25983 (widget-magic-mouse-down-action, custom-toggle-parent)
25984 (custom-add-parent-links, custom-toggle-hide-variable)
25985 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25986 (custom-toggle-hide-face, face, hook, custom-group-link-action)
25987 (custom-face-menu-create, custom-variable-menu-create, get)
25988 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25989 (custom-reset-standard-save-and-update): Remove unused variable `value'.
25990 (customize-apropos): Remove unused variable `tests'.
25991 (custom-group-value-create): Remove unused variable `hidden-p'.
25992 (sort-fold-case): Declare.
25993
25994 * cus-theme.el (custom-reset-standard-faces-list)
25995 (custom-reset-standard-variables-list): Declare.
25996 (customize-create-theme, custom-theme-revert, custom-theme-write)
25997 (custom-theme-choose-mode, customize-themes, custom-theme-save):
25998 Mark unused parameters.
25999
26000 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
26001
26002 * delim-col.el (delimit-columns-max): Move defvar before first use.
26003
26004 * descr-text.el (describe-char-categories): Don't quote `lambda'.
26005 (describe-char): Don't quote `lambda'. Mark unused parameter.
26006
26007 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
26008 (auto-insert): Declare.
26009 (desktop-restore-file-buffer): Rename desktop-* parameters;
26010 mark unused ones.
26011 (desktop-create-buffer): Rename desktop-* parameters and bind them.
26012 (desktop-buffer): Rename desktop-* parameters.
26013
26014 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
26015 (dframe-reposition-frame-xemacs, dframe-help-echo)
26016 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
26017 Mark unused parameters.
26018
26019 * dired-aux.el (backup-extract-version-start, overwrite-query)
26020 (overwrite-backup-query, rename-regexp-query)
26021 (rename-non-directory-query): Declare.
26022 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
26023 (dired-add-entry): Remove unused variable `orig-file-name'.
26024 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
26025 Use parameter PRESERVE-TIME instead of accessing dynamic variable
26026 `dired-copy-preserve-time' directly.
26027 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
26028 (dired-insert-subdir-newpos): Rename unused variable `pos'.
26029
26030 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
26031 (dired-virtual-revert, dired-make-relative-symlink):
26032 Mark unused parameters.
26033 (manual-program): Declare.
26034 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
26035 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
26036 wrapped in `with-no-warnings' to avoid replacing one warning by another.
26037
26038 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
26039
26040 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
26041
26042 * echistory.el (electric-history-in-progress, Helper-return-blurb):
26043 Declare.
26044
26045 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
26046
26047 * electric.el (Electric-command-loop): Rename parameter
26048 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
26049
26050 * expand.el (expand-in-literal): Remove unused variable `here'.
26051
26052 * facemenu.el (facemenu-add-new-color):
26053 Remove unused variable `docstring'.
26054
26055 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
26056 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
26057 (face-attr-construct): Mark unused parameter. Doc fix.
26058 (read-color): Remove unused variable `hex-string'.
26059
26060 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
26061 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
26062 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
26063 (display-buffer-other-frame): Remove unused variable `old-window'.
26064 (kill-buffer-hook): Declare.
26065 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
26066 Mark unused parameters.
26067 (after-find-file): Pass 1 to `auto-save-mode', not t.
26068
26069 * files-x.el (auto-insert): Declare.
26070 (modify-file-local-variable-prop-line): Remove unused variable `val'.
26071
26072 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
26073 variable `buf'. Mark unused parameter.
26074 (find-lisp-insert-directory): Mark unused parameter.
26075
26076 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
26077 (format-encode-region): Remove unused variables `cur-buf' and `result'.
26078 (format-common-tail): Remove, unused.
26079 (format-deannotate-region): Remove unused variable `loc'.
26080 (format-annotate-region): Remove unused variable `p'.
26081 (format-annotate-single-property-change): Remove unused variables
26082 `default' and `tail'.
26083
26084 * forms.el (read-file-filter): Declare.
26085 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
26086
26087 * frame.el (frame-creation-function-alist): Mark unused parameter.
26088 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
26089
26090 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
26091 Remove unused parameters.
26092 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
26093 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
26094
26095 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
26096 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
26097 (hfy-prepare-tag-map): Mark unused parameters.
26098 (htmlfontify-buffer): Use `called-interactively-p'.
26099
26100 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
26101 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
26102 (ibuffer-do-occur): Mark unused parameters.
26103 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
26104 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
26105
26106 * ibuffer.el: Don't quote `lambda'.
26107 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
26108 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
26109 Mark unused parameters.
26110
26111 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
26112 (ido-completing-read): Mark unused parameters.
26113 (ido-copy-current-word): Mark unused parameters;
26114 remove unused variable `name'.
26115 (ido-sort-merged-list): Remove unused parameter `dirs'.
26116
26117 * ielm.el (ielm-input-sender): Mark unused parameter.
26118 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
26119 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
26120 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
26121 `ielm-string' as a dynamic variable accessible from the IELM prompt.
26122 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
26123
26124 * image-dired.el (image-dired-display-thumbs): Remove unused
26125 variables `curr-file' and `count'.
26126 (image-dired-remove-tag): Remove unused variable `start'.
26127 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
26128 variable `curr-file'
26129 (image-dired-rotate-original): Remove unused variable `temp-file'.
26130 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
26131 Remove unused variable `file'.
26132 (image-dired-gallery-generate): Remove unused variable `curr'.
26133 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
26134
26135 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
26136
26137 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
26138
26139 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
26140
26141 * isearch.el (minibuffer-history-symbol): Declare.
26142 (isearch-edit-string): Remove unused variable `err'.
26143 (isearch-message-prefix, isearch-message-suffix):
26144 Mark unused parameters.
26145
26146 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
26147
26148 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
26149
26150 * makesum.el (double-column): Remove unused variable `cnt'.
26151
26152 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
26153 (ido-ignore-item-temp-list): Declare.
26154
26155 * mouse-drag.el (mouse-drag-throw): Remove unused variables
26156 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
26157 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
26158 (mouse-drag-drag): Remove unused variables `mouse-delta' and
26159 `mouse-col-delta'.
26160
26161 * mouse-sel.el (mouse-extend-internal):
26162 Remove unused variable `orig-window-frame'.
26163
26164 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
26165 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
26166 Move declarations before first use.
26167 (pcomplete-opt): Mark unused parameters; doc fix.
26168
26169 * proced.el (proced-revert): Mark unused parameter.
26170 (proced-send-signal): Remove unused variable `err'.
26171
26172 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
26173 Rename parameter PREFIX-ARG to ARG.
26174 (ps-basic-plot-string, ps-basic-plot-whitespace):
26175 Mark unused parameters.
26176
26177 * replace.el (replace-count): Define.
26178 (occur-revert-function): Mark unused parameters.
26179 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
26180 (isearch-case-fold-search, isearch-string): Declare.
26181 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
26182 bind `case-fold-search'. Remove unused variables `beg' and `end',
26183 and simplify.
26184 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
26185 COUNT and bind `replace-count'.
26186 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
26187 to COUNT.
26188
26189 * savehist.el (print-readably, print-string-length): Declare.
26190
26191 * shadowfile.el (shadow-expand-cluster-in-file-name):
26192 Remove unused variable `cluster'.
26193 (shadow-copy-file): Remove unused variable `i'.
26194 (shadow-noquery, shadow-clusters, shadow-site-cluster)
26195 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
26196 (shadow-define-literal-group, shadow-define-regexp-group)
26197 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
26198
26199 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
26200 (shell): Use `called-interactively-p'.
26201 (shell-directory-tracker): Remove unused variable `chdir-failure'.
26202
26203 * simple.el (compilation-context-lines, comint-file-name-quote-list)
26204 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
26205 (delete-backward-char): Remove unused variable `ocol'.
26206 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
26207 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
26208 (event-apply-hyper-modifier, event-apply-shift-modifier)
26209 (event-apply-control-modifier, event-apply-meta-modifier):
26210 Mark unused parameters.
26211 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
26212 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
26213
26214 * speedbar.el (speedbar-ignored-directory-expressions)
26215 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
26216 (speedbar-find-file, speedbar-dir-follow)
26217 (speedbar-directory-buttons-follow, speedbar-tag-find)
26218 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
26219 (speedbar-buffers-line-directory, speedbar-buffer-click):
26220 Mark unused parameters.
26221 (speedbar-tag-file): Remove unused variable `mode'.
26222 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
26223
26224 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
26225
26226 * talk.el (talk): Remove unused variable `display'.
26227
26228 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
26229 (tar-write-region-annotate): Mark unused parameter.
26230
26231 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
26232 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
26233 Declare them, wrapped in `with-no-warnings' to avoid replacing one
26234 warning by another.
26235
26236 * time-stamp.el (time-stamp-string-preprocess):
26237 Remove unused variable `require-padding'.
26238
26239 * tree-widget.el (widget-glyph-enable): Declare.
26240 (tree-widget-action): Mark unused parameter.
26241
26242 * w32-fns.el (x-get-selection): Mark unused parameter.
26243 (autoload-make-program, generated-autoload-file): Declare.
26244
26245 * wdired.el (wdired-revert): Mark unused parameters.
26246 (wdired-xcase-word): Remove unused variable `err'.
26247
26248 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
26249 (whitespace-help-scroll): Remove unused variable `data-help'.
26250
26251 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
26252 (widget-image-insert, widget-after-change, default)
26253 (widget-default-format-handler, widget-default-notify)
26254 (widget-default-prompt-value, widget-info-link-action)
26255 (widget-url-link-action, widget-function-link-action)
26256 (widget-variable-link-action, widget-file-link-action)
26257 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
26258 (widget-field-prompt-internal, widget-field-action, widget-field-match)
26259 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
26260 (widget-insert-button-action, widget-delete-button-action, visibility)
26261 (widget-documentation-link-action, widget-documentation-string-action)
26262 (widget-const-prompt-value, widget-regexp-match, symbol)
26263 (widget-coding-system-prompt-value)
26264 (widget-key-sequence-value-to-external, sexp)
26265 (widget-sexp-value-to-internal, character, vector, cons)
26266 (widget-choice-prompt-value, widget-boolean-prompt-value)
26267 (widget-color--choose-action): Mark unused parameters.
26268 (widget-item-match-inline, widget-choice-match-inline)
26269 (widget-checklist-match, widget-checklist-match-inline)
26270 (widget-group-match): Rename parameter VALUES to VALS.
26271 (widget-field-value-set): Remove unused variable `size'.
26272 (widget-color-action): Remove unused variables `value' and `start'.
26273
26274 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
26275 variable `dir'. Doc fix.
26276 (windmove-find-other-window): Don't pass it.
26277
26278 * window.el (count-windows): Mark unused parameter.
26279 (bw-adjust-window): Remove unused variable `err'.
26280
26281 * woman.el (woman-file-name): Remove unused variable `default'.
26282 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
26283 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
26284 (global-font-lock-mode): Declare.
26285 (woman-decode-region): Mark unused parameter.
26286 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
26287
26288 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
26289 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
26290 (x-dnd-handle-moz-url): Remove unused variable `title'.
26291 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
26292
26293 * xml.el (xml-parse-tag, xml-parse-attlist):
26294 Remove unused variable `pos'.
26295
26296 2011-04-19 Glenn Morris <rgm@gnu.org>
26297
26298 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
26299 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
26300 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
26301 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
26302 * calendar/cal-html.el (cal-html-insert-minical):
26303 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
26304 (calendar-mark-date-pattern):
26305 Prefix "unused" locals.
26306
26307 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
26308 optional argument `style'.
26309
26310 * calendar/appt.el (appt-make-list):
26311 * calendar/cal-china.el (calendar-chinese-date-string):
26312 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
26313 (diary-hebrew-yahrzeit):
26314 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
26315 * calendar/calendar.el (calendar-generate-window):
26316 * calendar/time-date.el (time-to-days):
26317 Remove unused local variables.
26318
26319 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
26320
26321 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
26322 glyphless-char-display table.
26323 (tabulated-list-glyphless-char-display): New var.
26324
26325 2011-04-18 Sam Steingold <sds@gnu.org>
26326
26327 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
26328 to acknowledgments.
26329
26330 2011-04-17 Glenn Morris <rgm@gnu.org>
26331
26332 * calendar/diary-lib.el (diary-sexp-entry):
26333 * calendar/holidays.el (holiday-sexp):
26334 Set debug-on-error rather than the removed stack-trace-on-error.
26335
26336 2011-04-16 Glenn Morris <rgm@gnu.org>
26337
26338 * progmodes/f90.el: Use lexical-binding.
26339 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
26340
26341 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26342
26343 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
26344 (mail-mode): Setup mailalias completion here instead.
26345 * mail/mailalias.el: Use lexical-binding.
26346 (pattern, mailalias-done): Declare dynamic.
26347 (mail-completion-at-point-function): New function, from mail-complete.
26348 (mail-complete): Use it.
26349 (mail-completion-expand): New function.
26350 (mail-get-names): Use it.
26351 (mail-directory, mail-directory-process, mail-directory-stream):
26352 Don't use `pattern' for lexically bound arg.
26353
26354 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
26355
26356 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
26357 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
26358 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
26359
26360 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
26361 (byte-save-window-excursion, byte-temp-output-buffer-setup)
26362 (byte-interactive-p): Define them again, for use when inlining
26363 old code.
26364
26365 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
26366
26367 * loadup.el: Use `string-to-number', not `string-to-int'.
26368
26369 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
26370
26371 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
26372 gud-gdb-complete-command.
26373 (gud-gdb-completions): New function, from gud-gdb-complete-command.
26374 (gud-gdb-completion-at-point): New function.
26375 (gud-gdb-completions): Remove.
26376
26377 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
26378
26379 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
26380 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
26381 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
26382 whether `executable-find' is bound.
26383
26384 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
26385
26386 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
26387
26388 * minibuffer.el (completion-in-region-mode-predicate)
26389 (completion-in-region-mode--predicate): New vars.
26390 (completion-in-region, completion-in-region--postch)
26391 (completion-in-region-mode): Use them.
26392 (completion--capf-wrapper): Also return the hook function.
26393 (completion-at-point, completion-help-at-point):
26394 Adjust and provide a predicate.
26395
26396 Preserve arg names for advice of subr and lexical functions (bug#8457).
26397 * help-fns.el (help-function-arglist): Consolidate the subr and
26398 new-byte-code cases. Add argument `preserve-names' to extract names
26399 from the docstring when needed.
26400 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
26401 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
26402 (ad-arglist): Use help-function-arglist's new arg.
26403 (ad-definition-type): Use cond.
26404
26405 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
26406
26407 * autorevert.el (auto-revert-handler):
26408 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
26409 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
26410 Don't quote lambda.
26411
26412 * image-mode.el (image-transform-set-scale):
26413 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
26414
26415 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
26416
26417 * net/network-stream.el (network-stream-open-starttls): Only do
26418 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
26419 Upgrades via gnutls-cli are too slow to be done opportunistically.
26420
26421 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
26422
26423 * dframe.el (dframe-current-frame): Remove spurious quote.
26424
26425 2011-04-12 Glenn Morris <rgm@gnu.org>
26426
26427 * calendar/cal-tex.el (cal-tex-end-document):
26428 Try to automatically use latin1 input if needed.
26429
26430 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
26431 Don't try to cons a mark onto an empty element.
26432
26433 2011-04-11 Leo Liu <sdl.web@gmail.com>
26434
26435 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
26436 buffers.
26437 (ido-kill-buffer-at-head): Support killing virtual buffers.
26438
26439 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
26440
26441 * minibuffer.el (completion-show-inline-help): New var.
26442 (completion--do-completion, minibuffer-complete)
26443 (minibuffer-force-complete, minibuffer-complete-word):
26444 Inhibit minibuffer messages if completion-show-inline-help is nil.
26445
26446 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
26447 to avoid interference from inline help (Bug#5849).
26448
26449 2011-04-10 Leo Liu <sdl.web@gmail.com>
26450
26451 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
26452 Fix typo.
26453
26454 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
26455
26456 * image-mode.el (image-toggle-display-image): Signal an error if
26457 not in Image mode.
26458 (image-transform-mode, image-transform-resize)
26459 (image-transform-set-rotation): Doc fix.
26460 (image-transform-set-resize): Delete.
26461 (image-transform-set-scale, image-transform-fit-to-height)
26462 (image-transform-fit-to-width): Handle image-toggle-display-image
26463 and image-transform-resize directly.
26464
26465 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
26466
26467 * doc-view.el (doc-view-fit-width-to-window)
26468 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
26469 New functions for fitting the shown image to the Emacs window size.
26470 (doc-view-mode-map): Add bindings for the new functions.
26471
26472 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
26473
26474 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
26475 Fix typo in docstring.
26476
26477 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26478
26479 * files.el (file-size-human-readable): Produce one digit after
26480 decimal, like "ls -lh" does.
26481
26482 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
26483 the file size representation.
26484
26485 * simple.el (list-processes): If async subprocesses are not
26486 available, error out with a clear error message.
26487
26488 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
26489
26490 * help.el (help-form-show): New function, to be called from C.
26491 Put help-form output in a buffer named differently than *Help*.
26492
26493 2011-04-08 Eli Zaretskii <eliz@gnu.org>
26494
26495 * files.el (file-size-human-readable): New function.
26496
26497 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
26498 computing the representation inline. Don't require `cl'.
26499
26500 2011-04-08 Glenn Morris <rgm@gnu.org>
26501
26502 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
26503
26504 * net/browse-url.el (browse-url-firefox):
26505 Test system-type, not system-configuration.
26506
26507 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
26508 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
26509 Use log-edit-empty-buffer-p. (Bug#7598)
26510
26511 * net/rlogin.el (rlogin-process-connection-type): Simplify.
26512 (rlogin-mode-map): Initialize in the defvar.
26513 (rlogin): Use ignore-errors.
26514
26515 * replace.el (occur-mode-map): Some fixes for menu items.
26516
26517 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
26518
26519 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
26520
26521 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26522
26523 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
26524 issuing unused warnings.
26525
26526 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
26527 macro directly.
26528
26529 * simple.el: Lisp reimplement of list-processes. Based on an
26530 earlier reimplementation by Leo Liu, but using tabulated-list.el.
26531 (process-menu-mode): New major mode.
26532 (list-processes--refresh, list-processes):
26533 (process-menu-visit-buffer): New functions.
26534
26535 * files.el (save-buffers-kill-emacs): Don't assume any return
26536 value of list-processes, which is undocumented anyway.
26537
26538 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
26539
26540 * emacs-lisp/tabulated-list.el: New file.
26541
26542 * emacs-lisp/package.el: Use Tabulated List mode.
26543 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
26544 (package-menu-mode): Derive from tabulated-list-mode. Set up the
26545 table format using Tabulated List mode variables.
26546 (package--push): New macro, replacing package-list-maybe-add.
26547 (package-menu--generate): Use package--push. Renamed from
26548 package--generate-package-list.
26549 (package-menu-refresh, list-packages): Use it.
26550 (package-menu--print-info): Rename from package-print-package.
26551 Return insertion data instead of inserting it directly.
26552 (package-menu-describe-package, package-menu-execute):
26553 Use tabulated-list-get-id.
26554 (package-menu-mark-delete, package-menu-mark-install)
26555 (package-menu-mark-unmark, package-menu-backup-unmark)
26556 (package-menu-mark-obsolete-for-deletion):
26557 Use tabulated-list-put-tag.
26558 (package--list-packages, package-menu-revert)
26559 (package-menu-get-package, package-menu-get-version)
26560 (package-menu-sort-by-column): Functions deleted.
26561 (package-menu-package-list, package-menu-sort-key): Vars deleted.
26562 (package-menu--status-predicate, package-menu--version-predicate)
26563 (package-menu--name-predicate)
26564 (package-menu--description-predicate): Handle arguments in the
26565 Tabulated List format.
26566 (package-list-packages-no-fetch): Call list-packages.
26567
26568 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
26569
26570 * files.el (after-find-file-from-revert-buffer): Remove variable.
26571 (after-find-file): Don't bind it.
26572 (revert-buffer-in-progress-p): New variable.
26573 (revert-buffer): Bind it.
26574 Pass nil for `after-find-file-from-revert-buffer'.
26575
26576 * saveplace.el (save-place-find-file-hook): Use new variable
26577 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
26578
26579 2011-04-06 Glenn Morris <rgm@gnu.org>
26580
26581 * Makefile.in (AUTOGEN_VCS): New variable.
26582 (autoloads): Use $AUTOGEN_VCS.
26583
26584 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
26585 * calendar/calendar.el (calendar-mode-map):
26586 Check for toolkit scroll bars. (Bug#8305)
26587
26588 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26589
26590 * minibuffer.el (completion-in-region--postch)
26591 (completion-in-region-mode): Remove unnecessary messages.
26592
26593 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
26594
26595 * font-lock.el (font-lock-refresh-defaults):
26596 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
26597 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
26598
26599 * info.el (Info-directory-list, Info-read-node-name-2)
26600 (Info-split-parameter-string): Doc fixes.
26601 (Info-virtual-nodes): Reflow docstring.
26602 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
26603 (Info-apropos-toc-nodes, info-finder, Info-get-token)
26604 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
26605 Fix typos in docstrings.
26606 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
26607 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
26608 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
26609 (Info-restore-desktop-buffer): Mark unused parameters.
26610 (Info-directory-find-file, Info-directory-find-node)
26611 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
26612 (Info-virtual-index-find-node, Info-apropos-find-file)
26613 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
26614 Mark unused parameters; fix typos in docstrings.
26615 (Info-virtual-index): Remove unused local variable `nodename'.
26616
26617 2011-04-05 Deniz Dogan <deniz@dogan.se>
26618
26619 * net/rcirc.el: Update my e-mail address.
26620 (rcirc-mode-map): Remove M-o binding.
26621
26622 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
26623
26624 * startup.el (command-line): Save the cursor's theme-face
26625 directly, instead of using face-override-spec.
26626
26627 * custom.el (load-theme): Minor optimization in assigning faces.
26628
26629 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26630
26631 * help-fns.el (describe-variable): Complete all variables having
26632 documentation, including keywords.
26633 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
26634
26635 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
26636
26637 Convert to lexical-binding.
26638
26639 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
26640 (bs--get-marked-string, bs--get-modified-string)
26641 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
26642 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
26643 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
26644
26645 * ehelp.el (electric-help-execute-extended)
26646 (electric-help-ctrl-x-prefix):
26647 * hexl.el (hexl-revert-buffer-function):
26648 * linum.el (linum-after-change, linum-after-scroll):
26649 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
26650
26651 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
26652
26653 2011-04-04 Daiki Ueno <ueno@unixuser.org>
26654
26655 * epa-dired.el:
26656 * epa-mail.el:
26657 * epa-hook.el:
26658 * epa-file.el:
26659 * epa.el:
26660 * epg.el: Use lexical binding.
26661
26662 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
26663
26664 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
26665
26666 * textmodes/flyspell.el (flyspell-word): Recognize default
26667 dictionary case for flyspell-mark-duplications-exceptions.
26668 Use regexp matching for languages.
26669 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
26670 default dictionary (Bug#7926).
26671
26672 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
26673
26674 * emacs-lisp/package.el (package--with-work-buffer):
26675 Recognize https URLs.
26676
26677 * net/network-stream.el: Move from gnus/proto-stream.el.
26678 Change prefix to network-stream throughout.
26679 (open-protocol-stream): Merge into open-network-stream, leaving
26680 open-protocol-stream as an alias. Handle nil BUFFER args.
26681
26682 * subr.el (open-network-stream): Move to net/network-stream.el.
26683
26684 2011-04-02 Glenn Morris <rgm@gnu.org>
26685
26686 * find-dired.el (find-exec-terminator): New option.
26687 (find-ls-option): Test for -ls support.
26688 (find-ls-subdir-switches): Test for -b in find-ls-option.
26689 (find-dired, find-grep-dired): Doc fixes.
26690 (find-dired): Use find-exec-terminator.
26691
26692 * find-dired.el (find-ls-option, find-ls-subdir-switches)
26693 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
26694 (find-name-arg): Remove purecopy.
26695
26696 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
26697 (grep-compute-defaults): Check for `-exec COMMAND +' support.
26698 Set grep-find-use-xargs, grep-find-command, and grep-find-template
26699 accordingly. Don't add the null-device if not needed.
26700
26701 * files.el (save-some-buffers): Doc fix.
26702
26703 2011-04-02 Eli Zaretskii <eliz@gnu.org>
26704
26705 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
26706
26707 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
26708
26709 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
26710 Use `dolist' rather than `mapcar'.
26711
26712 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
26713
26714 Add lexical binding.
26715
26716 * subr.el (apply-partially): Use new closures rather than CL.
26717 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
26718 (dolist, dotimes): Use slightly different expansion for lexical code.
26719 (functionp): Move to C.
26720 (letrec): New macro.
26721 (with-wrapper-hook): Use it and apply-partially instead of CL.
26722 (eval-after-load): Preserve lexical-binding.
26723 (save-window-excursion, with-output-to-temp-buffer): Turn them
26724 into macros.
26725
26726 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
26727
26728 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
26729 than the arglist.
26730 (help-add-fundoc-usage): Don't add `Not documented'.
26731 (help-function-arglist): Handle closures, subroutines, and new
26732 byte-code-functions.
26733 (help-make-usage): Remove leading underscores.
26734 (describe-function-1): Handle closures.
26735 (describe-variable): Use special-variable-p for completion.
26736
26737 * files.el (lexical-binding): Declare safe.
26738
26739 * emacs-lisp/pcase.el: Don't use destructuring-bind.
26740 (pcase--memoize): Rename from pcase-memoize. Change weakness.
26741 (pcase): Add `let' pattern.
26742 Change memoization so it actually works.
26743 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
26744 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
26745 <let>: New case.
26746
26747 * emacs-lisp/macroexp.el: Use lexical binding.
26748 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
26749 Don't convert ' to #' without checking that it's indeed quoting
26750 a lambda.
26751
26752 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
26753 Use eval-sexp-add-defvars.
26754 (eval-sexp-add-defvars): New fun.
26755
26756 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26757
26758 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26759 Don't autoload.
26760 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26761 than the internal `byte-compile-lambda'.
26762 (defmethod): Don't hide code under quotes.
26763 (eieio-defmethod): New `code' argument.
26764
26765 * emacs-lisp/eieio-comp.el: Remove.
26766
26767 * emacs-lisp/edebug.el (edebug-eval-defun)
26768 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26769 (edebug-toggle): Avoid `eval'.
26770
26771 * emacs-lisp/disass.el (disassemble-internal): Handle new
26772 `closure' objects.
26773 (disassemble-1): Handle new byte codes.
26774
26775 * emacs-lisp/cl.el (pushnew): Silence warning.
26776
26777 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26778 (cl-byte-compile-throw): Remove.
26779 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26780
26781 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26782 closures.
26783
26784 * emacs-lisp/cconv.el: New file.
26785
26786 * emacs-lisp/bytecomp.el: Use lexical binding instead of
26787 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
26788 (byte-compile-initial-macro-environment):
26789 Handle declare-function here.
26790 (byte-compile--lexical-environment): New var.
26791 (byte-stack-ref, byte-stack-set, byte-discardN)
26792 (byte-discardN-preserve-tos): New lap codes.
26793 (byte-interactive-p): Don't use any more.
26794 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26795 New macros.
26796 (byte-compile-lapcode): Use them and handle new lap codes.
26797 (byte-compile-obsolete): Remove.
26798 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26799 (byte-compile-arglist-warn): Check late def of inlinable funs.
26800 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26801 since they should have been expanded by now.
26802 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26803 (byte-compile-from-buffer): Remove unused second arg.
26804 (byte-compile-preprocess): New function.
26805 (byte-compile-toplevel-file-form): New function to distinguish
26806 file-form calls from outside from file-form calls from hunk-handlers.
26807 (byte-compile-file-form): Simplify.
26808 (byte-compile-file-form-defsubst): Remove.
26809 (byte-compile-file-form-defmumble): Simplify now that
26810 byte-compile-lambda always returns a byte-code-function.
26811 (byte-compile): Preprocess.
26812 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26813 Remove, not used any more.
26814 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26815 (byte-compile-make-args-desc): New funs.
26816 (byte-compile-lambda): Handle lexical functions. Always return
26817 a byte-code-function.
26818 (byte-compile-reserved-constants): New var, to make up room for
26819 closed-over variables.
26820 (byte-compile-constants-vector): Obey it.
26821 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26822 (byte-compile-macroexpand-declare-function): New function.
26823 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26824 byte-code-functions.
26825 (byte-compile-form): Check obsolescence here.
26826 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26827 (byte-compile-variable-ref): Remove.
26828 (byte-compile-dynamic-variable-op): New fun.
26829 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26830 (byte-compile-variable-set): New funs.
26831 (byte-compile-discard): Add 2 args.
26832 (byte-compile-stack-ref, byte-compile-stack-set)
26833 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26834 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26835 macroexpand-all instead.
26836 (byte-compile-quote-form): Remove.
26837 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26838 (byte-compile-bind, byte-compile-unbind): New funs.
26839 (byte-compile-let): Handle let* and lexical binding.
26840 (byte-compile-let*): Remove.
26841 (byte-compile-catch, byte-compile-unwind-protect)
26842 (byte-compile-track-mouse, byte-compile-condition-case):
26843 Handle a new :fun-body form, used for lexical scoping.
26844 (byte-compile-save-window-excursion)
26845 (byte-compile-with-output-to-temp-buffer): Remove.
26846 (byte-compile-defun): Simplify.
26847 (byte-compile-stack-adjustment): New fun.
26848 (byte-compile-out): Use it.
26849 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26850
26851 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26852 handler any more.
26853
26854 * emacs-lisp/byte-opt.el: Use lexical binding.
26855 (byte-inline-lapcode): Remove (to bytecomp).
26856 (byte-compile-inline-expand): Pay attention to inlining to/from
26857 lexically bound code.
26858 (byte-compile-unfold-lambda): Don't handle byte-code-functions
26859 any more.
26860 (byte-optimize-form-code-walker): Don't handle save-window-excursion
26861 any more and don't call compiler-macros.
26862 (byte-compile-splice-in-already-compiled-code): Remove.
26863 (byte-code): Don't inline any more.
26864 (disassemble-offset): Receive `bytes' as argument rather than via
26865 dynamic scoping.
26866 (byte-compile-tag-number): Declare before first use.
26867 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26868 `return' even if make-spliceable.
26869 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26870 obsolete interactive-p.
26871 (byte-optimize-lapcode): Optimize new lap-codes.
26872 Don't trip up on new form of `byte-constant' lap code.
26873
26874 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26875
26876 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26877
26878 * custom.el (custom-initialize-default, custom-declare-variable):
26879 Use `defvar'.
26880
26881 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26882 New variables.
26883 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26884 (COMPILE_FIRST): Add macroexp and cconv.
26885 * makefile.w32-in: Mirror changes in Makefile.in.
26886
26887 * vc/cvs-status.el:
26888 * vc/diff-mode.el:
26889 * vc/log-edit.el:
26890 * vc/log-view.el:
26891 * vc/smerge-mode.el:
26892 * textmodes/bibtex-style.el:
26893 * textmodes/css-mode.el:
26894 * startup.el:
26895 * uniquify.el:
26896 * minibuffer.el:
26897 * newcomment.el:
26898 * reveal.el:
26899 * server.el:
26900 * mpc.el:
26901 * emacs-lisp/smie.el:
26902 * doc-view.el:
26903 * dired.el:
26904 * abbrev.el: Use lexical binding.
26905
26906 2011-04-01 Eli Zaretskii <eliz@gnu.org>
26907
26908 * info.el (info-display-manual): New function.
26909
26910 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
26911
26912 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26913
26914 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
26915
26916 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26917 an entry for that server in rcirc-authinfo. (Bug#8385)
26918
26919 2011-03-31 Glenn Morris <rgm@gnu.org>
26920
26921 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26922
26923 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26924
26925 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
26926
26927 * progmodes/python.el (python-default-interpreter)
26928 (python-python-command-args, python-jython-command-args)
26929 (python-which-shell, python-which-args, python-which-bufname)
26930 (python-file-queue, python-comint-output-filter-function)
26931 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26932 variables and functions.
26933
26934 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
26935
26936 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26937 (completion-in-region-mode): New minor mode.
26938 (completion-in-region): Use it.
26939 (completion-in-region--data, completion-in-region-mode-map): New vars.
26940 (completion-in-region--postch): New function.
26941 (completion--capf-misbehave-funs, completion--capf-safe-funs):
26942 New vars.
26943 (completion--capf-wrapper): New function.
26944 (completion-at-point): Use it to track well-behavedness of
26945 hook functions.
26946 (completion-help-at-point): New command.
26947
26948 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
26949
26950 * vc/add-log.el (add-change-log-entry): Don't use whitespace
26951 syntax class to search for whitespace on a single line
26952 (Message-ID: <4D938140.4030905@redhat.com>).
26953
26954 2011-03-30 Leo Liu <sdl.web@gmail.com>
26955
26956 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26957 New commands.
26958 (edit-abbrevs-map): Bind them here.
26959 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
26960
26961 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
26962
26963 * allout.el (allout-hide-by-annotation, allout-flag-region):
26964 Reduce possibility of overlay leakage by making them volatile.
26965
26966 * allout-widgets.el (allout-widgets-tally): Define as nil so the
26967 hash is not shared between buffers. Mode initialization is
26968 responsible for giving it a useful starting value.
26969 (allout-item-span): Reduce possibility of overlay leakage by
26970 making them volatile.
26971 (allout-widgets-count-buttons-in-region): Add diagnostic function
26972 for tracking down button overlay leaks.
26973
26974 2011-03-29 Leo Liu <sdl.web@gmail.com>
26975
26976 * ido.el (ido-read-internal): Use the default history var
26977 minibuffer-history if no HISTORY is specified.
26978
26979 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
26980
26981 * net/imap.el (imap-shell-open, imap-process-connection-type):
26982 Use imap-process-connection-type for 'shell' streams as well as
26983 Kerberos, SSL, other subprocesses.
26984
26985 2011-03-28 Leo Liu <sdl.web@gmail.com>
26986
26987 * abbrev.el (abbrev-table-empty-p): New function.
26988 (prepare-abbrev-list-buffer): Place empty abbrev tables after
26989 nonempty ones. (Bug#5937)
26990
26991 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
26992
26993 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26994
26995 2011-03-27 Leo Liu <sdl.web@gmail.com>
26996
26997 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26998 for foreground and background colors.
26999 (ansi-color-make-color-map): Adapt.
27000
27001 2011-03-25 Leo Liu <sdl.web@gmail.com>
27002
27003 * midnight.el (midnight-time-float): Remove. Note it calculates
27004 the microsecond component incorrectly and seconds-to-time does the
27005 same job.
27006 Remove redundant (require 'timer).
27007
27008 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
27009 (ido-completions): Remove unused arguments. (Bug#8329)
27010
27011 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
27012
27013 * minibuffer.el (completion--flush-all-sorted-completions):
27014 Remove itself from hook.
27015 (completion-at-point): Let the functions perform the completion
27016 immediately and return nil or t.
27017 * comint.el (comint-dynamic-complete-functions): Now identical to
27018 completion-at-point-functions.
27019 (comint-dynamic-list-input-ring): Remove unused var `index'.
27020 (comint--match-partial-filename, comint--unquote&expand-filename):
27021 New funs, split from comint-match-partial-filename.
27022 (comint-dynamic-complete): Use completion-at-point.
27023 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
27024
27025 2011-03-24 Drew Adams <drew.adams@oracle.com>
27026
27027 * thingatpt.el: Support `defun'.
27028
27029 2011-03-23 Leo Liu <sdl.web@gmail.com>
27030
27031 * abbrevlist.el: Move to obsolete/abbrevlist.el.
27032
27033 * help-mode.el (help-mode-finish): Tweak regexp.
27034
27035 2011-03-23 Glenn Morris <rgm@gnu.org>
27036
27037 * eshell/esh-opt.el (eshell-eval-using-options):
27038 Do not bind unused local variable `eshell-option-stub'.
27039
27040 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
27041
27042 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27043
27044 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
27045 keymap variable in `with-no-warnings' to avoid a warning when the
27046 keymap has been already `defconst'ed.
27047
27048 2011-03-22 Leo Liu <sdl.web@gmail.com>
27049
27050 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
27051 encode all chars in abbrevs; otherwise use emacs-mule or
27052 utf-8-emacs. (Bug#8308)
27053
27054 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
27055
27056 * simple.el (backward-delete-char-untabify):
27057 Avoid warning about using `delete-backward-char'.
27058
27059 * image.el (image-type-file-name-regexps): Make it variable.
27060 `imagemagick-register-types' modifies it, and the user may want
27061 to add new extensions for known image types.
27062 (imagemagick-register-types): Throw error if not using ImageMagick.
27063
27064 2011-03-22 Leo Liu <sdl.web@gmail.com>
27065
27066 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
27067 located before rcirc-prompt-end-marker.
27068 (rcirc-complete): Error if point is not after rcirc prompt.
27069 Handle the case when table is nil.
27070 (rcirc-user-authenticated): Define to fix compiler warning.
27071
27072 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
27073
27074 * custom.el (custom--inhibit-theme-enable): Make it affect only
27075 custom-theme-set-variables and custom-theme-set-faces.
27076 (provide-theme): Ignore custom--inhibit-theme-enable.
27077 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
27078 (custom-enabling-themes): Delete variable.
27079 (enable-theme): Accept only loaded themes as arguments.
27080 Ignore the special custom-enabled-themes variable.
27081 (custom-enabled-themes): Forbid themes from setting this.
27082 Eliminate use of custom-enabling-themes.
27083 (custom-push-theme): Quote "changed" custom var entry.
27084
27085 2011-03-21 Leo Liu <sdl.web@gmail.com>
27086
27087 * ido.el (ido-read-internal): Add ido-selected to history instead
27088 of user input.
27089
27090 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
27091
27092 * subr.el (deferred-action-list, deferred-action-function):
27093 Mark obsolete.
27094
27095 2011-03-21 Leo Liu <sdl.web@gmail.com>
27096
27097 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
27098 change on 2011-02-13 (bug#8309).
27099
27100 * minibuffer.el (read-file-name-function): Change default value.
27101 (read-file-name--defaults): Rename from read-file-name-defaults.
27102 (read-file-name-default): Rename from read-file-name.
27103 (read-file-name): Call read-file-name-function.
27104
27105 2011-03-21 Glenn Morris <rgm@gnu.org>
27106
27107 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
27108 Doc fixes.
27109
27110 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
27111
27112 * cus-theme.el: Add missing provide statement.
27113 (customize-create-theme): Extract theme value correctly.
27114 (custom-theme-visit-theme): Autoload.
27115 (customize-create-theme): Prompt before inserting default faces.
27116
27117 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
27118
27119 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
27120 units and musical notes.
27121
27122 2011-03-20 Leo Liu <sdl.web@gmail.com>
27123
27124 * ido.el (ido-read-internal): Use completing-read-default.
27125 (ido-completing-read): Fix compatibility with completing-read.
27126
27127 2011-03-20 Christian Ohler <ohler@gnu.org>
27128
27129 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
27130 (ert-delete-all-tests): Use `called-interactively-p' rather than
27131 `interactive-p'.
27132 (ert--make-xrefs-region): Respect END.
27133
27134 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27135
27136 * dired-aux.el (dired-create-directory): Signal an error if the
27137 directory already exists (Bug#8246).
27138
27139 * facemenu.el (list-colors-display): Call list-faces-display
27140 inside with-help-window.
27141 (list-colors-print): Use display property to align the final
27142 column, instead of checking window-width.
27143
27144 2011-03-19 Eli Zaretskii <eliz@gnu.org>
27145
27146 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
27147 windows-nt systems.
27148 (emerge-protect-metachars): Quote correctly for ms-dos and
27149 windows-nt systems.
27150
27151 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
27152
27153 * info.el (info-initialize): Replace all uses of `:' with
27154 path-separator for compatibility with non-Unix systems.
27155 Cache quoting of path-separator. (Bug#8258)
27156
27157 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
27158
27159 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
27160 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
27161 (mouse-avoidance-mode): Fix typos in docstrings.
27162
27163 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
27164
27165 * startup.el (package-subdirectory-regexp): Move from package.el.
27166 Omit \\` and \\', and let callers add them.
27167
27168 * emacs-lisp/package.el (package-strip-version)
27169 (package-load-all-descriptors): Add \\` and \\' to
27170 package-subdirectory-regexp before using it.
27171 (package-untar-buffer): New arg DIR; ensure that file untars only
27172 into this expected directory. Remove superfluous delete-region.
27173 (package-unpack): Caller changed.
27174 (package-tar-file-info): Use package-subdirectory-regexp.
27175
27176 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
27177
27178 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
27179 diff-mode-shared-map (bug#8284).
27180 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
27181
27182 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
27183
27184 * calendar/time-date.el (format-seconds): Use assoc instead of
27185 assoc-string, since assoc-string doesn't exist in XEmacs.
27186
27187 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
27188
27189 * custom.el (custom-known-themes): Reflow docstring.
27190 (custom-theme-load-path): Fix typo in docstring.
27191 (load-theme): Fix typo in error message.
27192 (custom-available-themes, custom-variable-theme-value):
27193 Use `let', not `let*'.
27194
27195 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
27196
27197 * calc/README: Mention inclusion of musical notes.
27198
27199 * calc/calc-units.el (calc-lu-quant): Rename from
27200 `calc-logunits-quantity'.
27201 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
27202 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
27203 (calc-db): Rename from `calc-dblevel'.
27204 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
27205 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
27206 (calc-np): Rename from `calc-nplevel'.
27207 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
27208 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
27209 (calc-lu-plus): Rename from `calc-logunits-add'.
27210 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
27211 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
27212 (calc-lu-minus): Rename from `calc-logunits-sub'.
27213 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
27214 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
27215 (calc-lu-times): Rename from `calc-logunits-mul'.
27216 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
27217 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
27218 (calc-lu-divide): Rename from `calc-logunits-div'.
27219 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
27220 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
27221
27222 * calc/calc-ext.el (calc-init-extensions): Update the names of the
27223 functions being autoloaded.
27224
27225 * calc/calc.el (calc-lu-power-reference): Rename from
27226 `calc-logunits-power-reference'.
27227 (calc-lu-field-reference): Rename from
27228 `calc-logunits-field-reference'.
27229
27230 * calc/calc-help.el (calc-l-prefix-help):
27231 Mention musical note functions.
27232
27233 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
27234
27235 * minibuffer.el (completion-all-sorted-completions):
27236 Use :completion-cycle-penalty text property if present.
27237
27238 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
27239
27240 * allout.el (allout-yank-processing): Adjust for new rebulleting
27241 regime so bullet being yanked is used without prompting the user
27242 for a choice.
27243
27244 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27245
27246 * startup.el (command-line): Warn the user that _emacs is deprecated.
27247
27248 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
27249
27250 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
27251 (delphi-verbose, delphi-comment-face, delphi-string-face)
27252 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
27253 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
27254 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
27255 (delphi-new-comment-line, delphi-font-lock-defaults)
27256 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
27257 Fix typos in docstrings.
27258
27259 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
27260
27261 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
27262 Invert the roles of character and string values for INSTEAD, so a
27263 string is used for the more common case of a defaulting prompt.
27264
27265 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27266
27267 * progmodes/ruby-mode.el (ruby-backward-sexp):
27268 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
27269 * play/gamegrid.el (gamegrid-make-face):
27270 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
27271 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
27272 * notifications.el (notifications-notify):
27273 * net/xesam.el (xesam-search-engines):
27274 * net/quickurl.el (quickurl-list-insert):
27275 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
27276
27277 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
27278
27279 * startup.el (command-line): Update package subdirectory regexp.
27280
27281 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27282
27283 * allout.el (allout-abbreviate-flattened-numbering)
27284 (allout-mode-deactivate-hook): Fix up obsolescence "date".
27285
27286 * subr.el (read-char-choice): Only show the cursor after the prompt,
27287 not after the answer.
27288
27289 2011-03-15 Kevin Ryde <user42@zip.com.au>
27290
27291 * help-fns.el (variable-at-point): Skip leading quotes, if any
27292 (bug#8253).
27293
27294 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
27295
27296 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
27297 warning message.
27298
27299 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
27300
27301 * shell.el (shell): When called interactively, offer to change the
27302 shell file name on remote hosts.
27303
27304 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
27305
27306 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
27307 integration for LDAP parameters. The host, base, user or binddn,
27308 and secret tokens can be specified in a netrc file, for instance.
27309 This is optional because an `auth-source' parameter must be
27310 specified in the search attributes.
27311
27312 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
27313
27314 * help.el (describe-mode): Link to the mode's definition (bug#8185).
27315
27316 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27317
27318 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
27319 into declaration. Remove redundant and harmful binding.
27320
27321 2011-03-12 Eli Zaretskii <eliz@gnu.org>
27322
27323 * files.el (file-ownership-preserved-p): Pass `integer' as an
27324 explicit 2nd argument to `file-attributes'. If the file's owner
27325 is the Administrators group on Windows, and the current user is
27326 Administrator, consider that a match.
27327
27328 * server.el (server-ensure-safe-dir): Consider server directory
27329 safe on MS-Windows if its owner is the Administrators group while
27330 the current Emacs user is Administrator. Use `=' to compare
27331 numerical UIDs, since they could be integers or floats.
27332
27333 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
27334
27335 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
27336
27337 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
27338
27339 Sync with Tramp 2.2.1.
27340
27341 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
27342
27343 * net/trampver.el: Update release number.
27344
27345 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
27346
27347 * progmodes/compile.el (compilation--previous-directory): Fix up
27348 various nil/dead-marker mismatches (bug#8014).
27349 (compilation-directory-properties, compilation-error-properties):
27350 Don't call it at a position past the one we're about to change.
27351
27352 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
27353 Disable obsolescence warnings in the file that declares it.
27354
27355 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
27356
27357 * allout-widgets.el (allout-widgets-tally):
27358 Initialize allout-widgets-tally as a hash table rather than nil to
27359 prevent mode-line redisplay warnings. Also, clarify the module
27360 description and fix a comment typo.
27361
27362 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
27363
27364 * help-fns.el (describe-variable): Don't complete keywords.
27365 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
27366
27367 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
27368
27369 * emacs-lisp/package.el (package-version-join): Impose a standard
27370 string representation for pre/alpha/beta version lists.
27371 (package-unpack-single): Standardize the directory name by passing
27372 it through package-version-join.
27373 (package-strip-rcs-id): Accept any version string that does not
27374 signal an error in version-to-list.
27375
27376 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
27377
27378 * simple.el (delete-trailing-whitespace): Return nil for the
27379 benefit of `write-file-functions'.
27380
27381 2011-03-10 Glenn Morris <rgm@gnu.org>
27382
27383 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
27384
27385 * vc/vc-git.el (vc-git-program): New option.
27386 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
27387 (vc-git--call): Use it.
27388
27389 * eshell/esh-util.el (eshell-condition-case): Doc fix.
27390
27391 * cus-edit.el (Custom-newline): If no button at point, look
27392 for a subgroup button at start-of-line. (Bug#2298)
27393
27394 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
27395
27396 2011-03-10 Julien Danjou <julien@danjou.info>
27397
27398 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
27399 `cursor-type' is nil.
27400
27401 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
27402
27403 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
27404
27405 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
27406
27407 * allout.el: Change so yank of distinctive-bullet items
27408 preserves the existing header prefix, rebulleting it if necessary,
27409 rather than replacing it. This is necessary for proper operation
27410 of cooperative addons like allout-widgets.
27411 (allout-make-topic-prefix, allout-rebullet-heading):
27412 Change SOLICIT arg to INSTEAD, and interpret additionally a string
27413 value as alternate bullet to be used, instead of prompting the user
27414 for a bullet character.
27415
27416 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
27417
27418 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
27419 Do not use `tramp-file-name-port', because this returns also
27420 `tramp-default-port'.
27421
27422 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
27423
27424 * net/rcirc.el (rcirc-handler-001): Remove useless
27425 with-rcirc-process-buffer.
27426 (rcirc-check-auth-status): Swap arguments to string-match.
27427
27428 2011-03-09 Glenn Morris <rgm@gnu.org>
27429
27430 * shell.el (shell-mode):
27431 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
27432
27433 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
27434 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
27435
27436 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27437
27438 * emacs-lisp/package.el (package-refresh-contents)
27439 (package-menu-execute): Use condition-case-no-debug.
27440
27441 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
27442
27443 * simple.el (shell-command-to-string): Use `process-file'.
27444
27445 * emacs-lisp/package.el (package-tar-file-info): Handle also
27446 remote files.
27447
27448 * emacs-lisp/package-x.el (package-upload-buffer-internal):
27449 Use `equal' for upload base check.
27450
27451 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
27452
27453 * textmodes/texinfo.el (texinfo-environments):
27454 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
27455
27456 2011-03-08 Glenn Morris <rgm@gnu.org>
27457
27458 * cus-start.el (cursor-in-non-selected-windows):
27459 Fix :set quoting oddness. (Bug#8192)
27460
27461 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
27462 in some setf expressions. (Bug#2159)
27463
27464 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
27465
27466 * custom.el (custom-available-themes): Return themes in
27467 alphabetical order.
27468
27469 See ChangeLog.15 for earlier changes.
27470
27471 ;; Local Variables:
27472 ;; coding: utf-8
27473 ;; End:
27474
27475 Copyright (C) 2011-2013 Free Software Foundation, Inc.
27476
27477 This file is part of GNU Emacs.
27478
27479 GNU Emacs is free software: you can redistribute it and/or modify
27480 it under the terms of the GNU General Public License as published by
27481 the Free Software Foundation, either version 3 of the License, or
27482 (at your option) any later version.
27483
27484 GNU Emacs is distributed in the hope that it will be useful,
27485 but WITHOUT ANY WARRANTY; without even the implied warranty of
27486 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27487 GNU General Public License for more details.
27488
27489 You should have received a copy of the GNU General Public License
27490 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.